This commit is contained in:
xd 2024-06-11 17:27:43 +08:00
parent e22655dc4d
commit b3f45dd7c4
1 changed files with 7 additions and 13 deletions

View File

@ -67,17 +67,6 @@
</el-col>
</el-row>
<el-divider content-position="left" class="customer_divider_text">产品信息</el-divider>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button type="primary" icon="el-icon-plus" size="mini" @click="handleAddQuotMaterial" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null">添加</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="danger" icon="el-icon-delete" size="mini" @click="handleDeleteQuotMaterial" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null">删除</el-button>
</el-col>
<el-col :span="1.5">
<el-button type="info" plain icon="el-icon-upload2" size="mini" @click="handleImport" v-if="this.form.quotApprovalStatus == '0' || this.form.quotApprovalStatus == null">导入</el-button>
</el-col>
</el-row>
<el-table :data="quotMaterialList" height="300px" show-summary :summary-method="getSummaries" :row-class-name="rowQuotMaterialIndex" ref="quotMaterial">
<el-table-column type="selection" width="80" align="center" />
<el-table-column label="序号" align="center" prop="index" width="50"/>
@ -143,7 +132,6 @@
</el-table-column>
</el-table>
<el-row :gutter="8">
<el-col :span="24">
<el-divider content-position="center">询价附件</el-divider>
@ -394,7 +382,7 @@
<script>
import { getPriceVerification, commitHj, rejectHj } from "@/api/priceVerification/priceVerification";
import { getToken } from "@/utils/auth";
import { quotFileList, quotFileDelete} from "@/api/quot/quot";
import {getQuot, quotFileList, quotFileDelete} from "@/api/quot/quot";
/** 弹窗放大、拖拽 */
import elDragDialog from "@/directive/dialog/dragDialog";
@ -457,6 +445,7 @@ export default {
quotProject: null,
quotHjRemark: null
};
this.quotMaterialList = [];
this.quotXjFileList = [];
this.quotHjFileList = [];
@ -480,6 +469,11 @@ export default {
this.reset();
getPriceVerification(quotHjId).then(response => {
this.form = response.data;
getQuot(this.form.quotId).then(response => {
this.quotMaterialList = response.data.quotMaterialList;
});
this.open = true;
this.title = "核价单信息";
this.getQuotXjFileList();