Merge branch 'bonus-jyy-smart-canteen' of http://192.168.0.75:3000/bonus/bonus-ui into bonus-jyy-smart-canteen

This commit is contained in:
zzyuan 2025-07-21 16:22:16 +08:00
commit 976beeaf38
2 changed files with 33 additions and 28 deletions

View File

@ -151,7 +151,7 @@ export function getGoodsInquirySupplierInfoApi(data) {
data: data
})
}
//获取报价供应商详情对比-查看报价
//获取报价供应商详情对比-查看报价{inquiryId}
export function getGoodsInquiryQuoteInfoApi(data) {
return request({
url: '/smart-canteen/ims_inquiry/qouteCheckInfo',
@ -162,7 +162,7 @@ export function getGoodsInquiryQuoteInfoApi(data) {
data: data
})
}
// 选中供应商-查看报价
// 选中供应商-查看报价 {InquirySupplier类}
export function editInquirySupplierApi(data) {
return request({
url: '/smart-canteen/ims_inquiry/supplier',

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>
@ -110,8 +115,8 @@
</template>
<script>
import { getGoodsInquiryInfoApi } from "@/api/foodManage/purchaseManage";
import { goodsInquiryQuotePageApi } 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",
@ -132,7 +137,7 @@ export default {
},
baseInfo:{},
supplierList:[],
materialLis:[],
materialList:[],
openDialog:false,
materialTreeOptions:[],
//
@ -178,21 +183,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)
this.materialList = this.baseInfo.detailList;
this.getSupplierPrice()
// console.log("this.baseInfo",this.baseInfo)
// this.materialList = this.baseInfo.detailList;
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;
});