This commit is contained in:
xd 2024-04-21 13:50:23 +08:00
parent ad9b83de4e
commit 356798b340
5 changed files with 38 additions and 51 deletions

View File

@ -181,7 +181,7 @@ public class QuotController extends BaseController
/** /**
* 删除附件列表 * 删除附件列表
*/ */
@PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list')") @PreAuthorize("@ss.hasAnyPermi('quot:quot:list,jsqr:jsqr:list,priceVerification:priceVerification:list')")
@PostMapping("/quotFileDelete") @PostMapping("/quotFileDelete")
public AjaxResult quotFileDelete(QuotFile quotFile) { public AjaxResult quotFileDelete(QuotFile quotFile) {
String fileId = quotFile.getFileId(); String fileId = quotFile.getFileId();

View File

@ -120,17 +120,10 @@
</div> </div>
</template> </template>
<style> <style>
<!-- 日期空间宽度设置 --> /* 日期空间宽度设置 */
:deep(.el-p .el-input__wrapper){ :deep(.el-p .el-input__wrapper){
width: 100% !important; width: 100% !important;
} }
<!-- 弹窗底部内容样式 -->
.dialog-footer {
padding: 10px 20px 20px;
text-align: right;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
</style> </style>
<script> <script>
import { getPriceVerification, commitHj, rejectHj } from "@/api/priceVerification/priceVerification"; import { getPriceVerification, commitHj, rejectHj } from "@/api/priceVerification/priceVerification";
@ -205,7 +198,8 @@ export default {
//- //-
commitHj(this.form).then(response => { commitHj(this.form).then(response => {
this.open = false; this.open = false;
this.getList(); this.$modal.msgSuccess("提交成功");
this.$emit('refreshList');
}) })
}, },

View File

@ -561,6 +561,13 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="8">
<el-col :span="24">
<el-form-item label="备注" prop="quotHjRemark">
<el-input type="textarea" autosize v-model="form.quotHjRemark" :disabled="true"/>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="8"> <el-row :gutter="8">
<el-col :span="24"> <el-col :span="24">
<el-form-item label="核价附件"></el-form-item> <el-form-item label="核价附件"></el-form-item>
@ -624,7 +631,7 @@
</el-tab-pane> </el-tab-pane>
</el-tabs> </el-tabs>
<!-- 特缆中压低压其他协助反馈附件对话框 --> <!-- 特缆中压低压其他协助反馈附件对话框 -->
<el-dialog class="fkfjDialog" :title="addFileTitle" :visible.sync="addFileOpen" width="800px" append-to-body> <el-dialog custom-class="fkfjDialog" :title="addFileTitle" :visible.sync="addFileOpen" width="800px" append-to-body>
<!--<el-upload class="upload-demo" <!--<el-upload class="upload-demo"
ref="upload" ref="upload"
name="quotFile" name="quotFile"
@ -679,7 +686,7 @@
</div> </div>
</template> </template>
<style> <style>
/*弹窗设置*/ /* 弹窗设置 */
.el-dialog__body { .el-dialog__body {
padding: 10px 10px; padding: 10px 10px;
color: #606266; color: #606266;
@ -694,21 +701,19 @@
height: 100%; height: 100%;
overflow-y: auto; overflow-y: auto;
} }
<!-- 特缆中压低压其他协助反馈附件对话框设置 -->
.fkfjDialog .el-dialog__body { /* 日期控件宽度设置 */
padding: 10px 10px;
color: #606266;
font-size: 14px;
word-break: break-all;
overflow-y: auto; /* 自动显示垂直滚动条 */
height: 300px;
max-height: 380px; /* 设置最大高度,根据需要调整 */
}
<!-- 日期空间宽度设置 -->
:deep(.el-p .el-input__wrapper){ :deep(.el-p .el-input__wrapper){
width: 100% !important; width: 100% !important;
} }
</style> </style>
<style>
/* 特缆、中压、低压、其他协助反馈附件对话框设置 */
.fkfjDialog .el-dialog__body{
height: 280px;
max-height: 300px; /* 设置最大高度,根据需要调整 */
}
</style>
<script> <script>
import { listQuot, getQuot, delQuot, addQuot, updateQuot, quotFileList, quotFileDelete, commitQuot, commitJsQuot, commitHjQuot, feedbackQuot, rejectQuot } from "@/api/quot/quot"; import { listQuot, getQuot, delQuot, addQuot, updateQuot, quotFileList, quotFileDelete, commitQuot, commitJsQuot, commitHjQuot, feedbackQuot, rejectQuot } from "@/api/quot/quot";
import { getToken } from "@/utils/auth"; import { getToken } from "@/utils/auth";

View File

@ -95,28 +95,6 @@
<jsqrDialog ref="jsqrDialog" @refreshList="getList"></jsqrDialog> <jsqrDialog ref="jsqrDialog" @refreshList="getList"></jsqrDialog>
</div> </div>
</template> </template>
<style>
/*弹窗设置*/
.el-dialog__body {
padding: 10px 10px;
color: #606266;
font-size: 14px;
word-break: break-all;
overflow-y: auto; /* 自动显示垂直滚动条 */
height: 500px;
max-height: 580px; /* 设置最大高度,根据需要调整 */
}
.fkfjDialog .el-dialog__body {
padding: 10px 10px;
color: #606266;
font-size: 14px;
word-break: break-all;
overflow-y: auto; /* 自动显示垂直滚动条 */
height: 300px;
max-height: 380px; /* 设置最大高度,根据需要调整 */
}
</style>
<script> <script>
import { listJsqr} from "@/api/technicalConfirm/technicalConfirm"; import { listJsqr} from "@/api/technicalConfirm/technicalConfirm";
// //

View File

@ -667,12 +667,22 @@
</div> </div>
</template> </template>
<style> <style>
<!-- 弹窗底部内容样式 --> /* 弹窗设置 */
.dialog-footer { .el-dialog__body {
padding: 10px 20px 20px; padding: 10px 10px;
text-align: right; color: #606266;
-webkit-box-sizing: border-box; font-size: 14px;
box-sizing: border-box; word-break: break-all;
overflow-y: auto; /* 自动显示垂直滚动条 */
height: 500px;
max-height: 580px; /* 设置最大高度,根据需要调整 */
}
</style>
<style>
/* 特缆、中压、低压、其他协助反馈附件对话框设置 */
.fkfjDialog .el-dialog__body{
height: 280px;
max-height: 300px; /* 设置最大高度,根据需要调整 */
} }
</style> </style>
<script> <script>