贾胜凯

This commit is contained in:
skjia 2025-07-21 15:50:55 +08:00
parent 2126b86e45
commit 2d668bcbcd
1 changed files with 31 additions and 26 deletions

View File

@ -60,12 +60,17 @@
<div style="width: 100%;height: 250px;overflow-y: auto;">
<el-table v-loading="loading" :data="supplierList" ref="multipleTable" height="200" highlight-current-row @current-change="handleCurrentChange">
<el-table-column label="序号" align="center" width="80" type="index" />
<el-table-column label="询价供应商" align="center" prop="" :show-overflow-tooltip="true" />
<el-table-column label="供应商评分" align="center" prop="" :show-overflow-tooltip="true" />
<el-table-column label="报价总金额" align="center" prop="" :show-overflow-tooltip="true" />
<el-table-column label="报价时间" align="center" prop="" :show-overflow-tooltip="true" />
<el-table-column label="交货日期" align="center" prop="" :show-overflow-tooltip="true" />
<el-table-column label="中选状态" align="center" prop="" :show-overflow-tooltip="true" />
<el-table-column label="询价供应商" align="center" prop="supplierName" :show-overflow-tooltip="true" />
<el-table-column label="供应商评分" align="center" prop="supplierScore" :show-overflow-tooltip="true" />
<el-table-column label="报价总金额" align="center" prop="quoteAmount" :show-overflow-tooltip="true" />
<el-table-column label="报价时间" align="center" prop="quoteTime" :show-overflow-tooltip="true" />
<el-table-column label="交货日期" align="center" prop="arrivalTime" :show-overflow-tooltip="true" />
<el-table-column label="中选状态" align="center" prop="bidStatus" :show-overflow-tooltip="true" >
<template slot-scope="scope">
<span v-if="scope.row.bidStatus!=3">未选中</span>
<span v-if="scope.row.bidStatus==3">已选中</span>
</template>
</el-table-column>
</el-table>
</div>
@ -111,9 +116,9 @@
</template>
<script>
import { getGoodsInquiryInfoApi } from "@/api/foodManage/purchaseManage";
import { goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
import { getGoodsInquiryDetailInfoApi } from "@/api/foodManage/purchaseManage";
import { getGoodsInquirySupplierInfoApi } from "@/api/foodManage/purchaseManage";
// import { goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
// import { getGoodsInquiryDetailInfoApi } from "@/api/foodManage/purchaseManage";
export default {
name: "GoodsInquiryCheckPrice",
dicts: [],
@ -179,21 +184,21 @@ export default {
inquiryId:this.goodsInquiryData.inquiryId
}
//
getGoodsInquiryInfoApi(param).then((response) => {
getGoodsInquirySupplierInfoApi(param).then((response) => {
this.baseInfo = response.data;
console.log("this.baseInfo",this.baseInfo)
// console.log("this.baseInfo",this.baseInfo)
this.materialList = this.baseInfo.detailList;
this.getSupplierPrice()
this.supplierList=this.baseInfo.supplierList;
// this.getSupplierPrice()
});
},
//
getSupplierPrice(){
this.loading = true;
let param = {
"inquiryId": this.baseInfo.inquiryId,
"inquiryCode": this.baseInfo.inquiryCode,
"inquiryId": this.baseInfo.inquiryId
}
getGoodsInquirySupplierInfoApi(param).then(response => {
goodsInquiryQuotePageApi(param).then(response => {
this.supplierList = response.rows;
this.loading = false;
});