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:
commit
976beeaf38
|
|
@ -151,7 +151,7 @@ export function getGoodsInquirySupplierInfoApi(data) {
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
//获取报价供应商详情对比-查看报价
|
//获取报价供应商详情对比-查看报价{inquiryId}
|
||||||
export function getGoodsInquiryQuoteInfoApi(data) {
|
export function getGoodsInquiryQuoteInfoApi(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/smart-canteen/ims_inquiry/qouteCheckInfo',
|
url: '/smart-canteen/ims_inquiry/qouteCheckInfo',
|
||||||
|
|
@ -162,7 +162,7 @@ export function getGoodsInquiryQuoteInfoApi(data) {
|
||||||
data: data
|
data: data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 选中供应商-查看报价
|
// 选中供应商-查看报价 {InquirySupplier类}
|
||||||
export function editInquirySupplierApi(data) {
|
export function editInquirySupplierApi(data) {
|
||||||
return request({
|
return request({
|
||||||
url: '/smart-canteen/ims_inquiry/supplier',
|
url: '/smart-canteen/ims_inquiry/supplier',
|
||||||
|
|
|
||||||
|
|
@ -60,12 +60,17 @@
|
||||||
<div style="width: 100%;height: 250px;overflow-y: auto;">
|
<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 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" width="80" type="index" />
|
||||||
<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="" :show-overflow-tooltip="true" />
|
<el-table-column label="供应商评分" align="center" prop="supplierScore" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="报价总金额" align="center" prop="" :show-overflow-tooltip="true" />
|
<el-table-column label="报价总金额" align="center" prop="quoteAmount" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="报价时间" align="center" prop="" :show-overflow-tooltip="true" />
|
<el-table-column label="报价时间" align="center" prop="quoteTime" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="交货日期" align="center" prop="" :show-overflow-tooltip="true" />
|
<el-table-column label="交货日期" align="center" prop="arrivalTime" :show-overflow-tooltip="true" />
|
||||||
<el-table-column label="中选状态" align="center" prop="" :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>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -110,8 +115,8 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getGoodsInquiryInfoApi } from "@/api/foodManage/purchaseManage";
|
import { getGoodsInquirySupplierInfoApi } from "@/api/foodManage/purchaseManage";
|
||||||
import { goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
|
// import { goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
|
||||||
import { getGoodsInquiryDetailInfoApi } from "@/api/foodManage/purchaseManage";
|
import { getGoodsInquiryDetailInfoApi } from "@/api/foodManage/purchaseManage";
|
||||||
export default {
|
export default {
|
||||||
name: "GoodsInquiryCheckPrice",
|
name: "GoodsInquiryCheckPrice",
|
||||||
|
|
@ -132,7 +137,7 @@ export default {
|
||||||
},
|
},
|
||||||
baseInfo:{},
|
baseInfo:{},
|
||||||
supplierList:[],
|
supplierList:[],
|
||||||
materialLis:[],
|
materialList:[],
|
||||||
openDialog:false,
|
openDialog:false,
|
||||||
materialTreeOptions:[],
|
materialTreeOptions:[],
|
||||||
// 查询参数
|
// 查询参数
|
||||||
|
|
@ -178,21 +183,21 @@ export default {
|
||||||
inquiryId:this.goodsInquiryData.inquiryId
|
inquiryId:this.goodsInquiryData.inquiryId
|
||||||
}
|
}
|
||||||
//查询
|
//查询
|
||||||
getGoodsInquiryInfoApi(param).then((response) => {
|
getGoodsInquirySupplierInfoApi(param).then((response) => {
|
||||||
this.baseInfo = response.data;
|
this.baseInfo = response.data;
|
||||||
console.log("this.baseInfo",this.baseInfo)
|
// console.log("this.baseInfo",this.baseInfo)
|
||||||
this.materialList = this.baseInfo.detailList;
|
// this.materialList = this.baseInfo.detailList;
|
||||||
this.getSupplierPrice()
|
this.supplierList=this.baseInfo.supplierList;
|
||||||
|
// this.getSupplierPrice()
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//获取已报价供应商
|
//获取已报价供应商
|
||||||
getSupplierPrice(){
|
getSupplierPrice(){
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
let param = {
|
let param = {
|
||||||
"inquiryId": this.baseInfo.inquiryId,
|
"inquiryId": this.baseInfo.inquiryId
|
||||||
"inquiryCode": this.baseInfo.inquiryCode,
|
|
||||||
}
|
}
|
||||||
getGoodsInquirySupplierInfoApi(param).then(response => {
|
goodsInquiryQuotePageApi(param).then(response => {
|
||||||
this.supplierList = response.rows;
|
this.supplierList = response.rows;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue