贾胜凯
This commit is contained in:
parent
2126b86e45
commit
2d668bcbcd
|
|
@ -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>
|
||||||
|
|
@ -111,9 +116,9 @@
|
||||||
</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",
|
||||||
dicts: [],
|
dicts: [],
|
||||||
|
|
@ -179,21 +184,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