贾胜凯
This commit is contained in:
parent
2126b86e45
commit
2d668bcbcd
|
|
@ -58,15 +58,20 @@
|
|||
</div>
|
||||
</div>
|
||||
<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 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="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>
|
||||
</div>
|
||||
|
|
@ -86,7 +91,7 @@
|
|||
<el-table-column label="货品名称" align="center" prop="materialName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="货品类别" align="center" prop="materialTypeName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="计量单位" align="center" prop="unitName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
|
||||
<el-table-column label="货品规格" align="center" prop="size" :show-overflow-tooltip="true">
|
||||
</el-table-column>
|
||||
<el-table-column label="采购数量" align="center" prop="purNum" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="报价数量" align="center" prop="quoteNum" :show-overflow-tooltip="true" />
|
||||
|
|
@ -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: [],
|
||||
|
|
@ -121,11 +126,11 @@ export default {
|
|||
return {
|
||||
goodsInquiryData:{},//页面传参
|
||||
loading:false,
|
||||
loadingBtn:false,
|
||||
loadingBtn:false,
|
||||
treeAreaOptions:[],
|
||||
canteenOptions:[],
|
||||
supplierOptions:[],
|
||||
stallOptions:[],
|
||||
stallOptions:[],
|
||||
pickerOptions: {
|
||||
disabledDate(v) {
|
||||
return v.getTime() < (new Date().getTime() - 86400000);// - 86400000是否包括当天
|
||||
|
|
@ -179,22 +184,22 @@ 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,
|
||||
}
|
||||
getGoodsInquirySupplierInfoApi(param).then(response => {
|
||||
this.supplierList = response.rows;
|
||||
let param = {
|
||||
"inquiryId": this.baseInfo.inquiryId
|
||||
}
|
||||
goodsInquiryQuotePageApi(param).then(response => {
|
||||
this.supplierList = response.rows;
|
||||
this.loading = false;
|
||||
});
|
||||
},
|
||||
|
|
@ -204,11 +209,11 @@ export default {
|
|||
let param = {
|
||||
inquiryId:this.baseInfo.inquiryId,
|
||||
supplierId:row.supplierId
|
||||
}
|
||||
}
|
||||
//查询
|
||||
getGoodsInquiryDetailInfoApi(param).then((response) => {
|
||||
console.log('response',response);
|
||||
this.materialList = response.data;
|
||||
this.materialList = response.data;
|
||||
// this.baseInfo.arrivalTime=this.materialList[0].arrivalTime
|
||||
});
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue