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-col>
</el-row> </el-row>
<el-divider content-position="left" class="customer_divider_text">产品信息</el-divider> <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 :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 type="selection" width="80" align="center" />
<el-table-column label="序号" align="center" prop="index" width="50"/> <el-table-column label="序号" align="center" prop="index" width="50"/>
@ -143,7 +132,6 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<el-row :gutter="8"> <el-row :gutter="8">
<el-col :span="24"> <el-col :span="24">
<el-divider content-position="center">询价附件</el-divider> <el-divider content-position="center">询价附件</el-divider>
@ -394,7 +382,7 @@
<script> <script>
import { getPriceVerification, commitHj, rejectHj } from "@/api/priceVerification/priceVerification"; import { getPriceVerification, commitHj, rejectHj } from "@/api/priceVerification/priceVerification";
import { getToken } from "@/utils/auth"; 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"; import elDragDialog from "@/directive/dialog/dragDialog";
@ -457,6 +445,7 @@ export default {
quotProject: null, quotProject: null,
quotHjRemark: null quotHjRemark: null
}; };
this.quotMaterialList = [];
this.quotXjFileList = []; this.quotXjFileList = [];
this.quotHjFileList = []; this.quotHjFileList = [];
@ -480,6 +469,11 @@ export default {
this.reset(); this.reset();
getPriceVerification(quotHjId).then(response => { getPriceVerification(quotHjId).then(response => {
this.form = response.data; this.form = response.data;
getQuot(this.form.quotId).then(response => {
this.quotMaterialList = response.data.quotMaterialList;
});
this.open = true; this.open = true;
this.title = "核价单信息"; this.title = "核价单信息";
this.getQuotXjFileList(); this.getQuotXjFileList();