采购询价
This commit is contained in:
parent
976beeaf38
commit
915f43bc0b
|
|
@ -71,7 +71,14 @@
|
||||||
<span v-if="scope.row.bidStatus==3">已选中</span>
|
<span v-if="scope.row.bidStatus==3">已选中</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="操作" align="center" width="180" class-name="small-padding fixed-width">
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<el-button
|
||||||
|
size="mini"
|
||||||
|
@click="handleBid(scope.row)"
|
||||||
|
>确认选中</el-button>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -83,7 +90,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="width: 100%;height: 400px;overflow-y: auto;">
|
<div style="width: 100%;height: 400px;overflow-y: auto;">
|
||||||
<el-table v-loading="loading" :data="materialList" ref="multipleTable" height="380" :row-key="(row)=>{return row.materialId}" @selection-change="handleSelectionChange">
|
<el-table v-loading="loading" :data="materialList" ref="multipleTable" height="380">
|
||||||
<!-- <el-table-column type="selection" width="50" align="center" :reserve-selection="true" /> -->
|
<!-- <el-table-column type="selection" width="50" align="center" :reserve-selection="true" /> -->
|
||||||
<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="" :show-overflow-tooltip="true" /> -->
|
||||||
|
|
@ -115,9 +122,7 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { getGoodsInquirySupplierInfoApi } from "@/api/foodManage/purchaseManage";
|
import { getGoodsInquirySupplierInfoApi,getGoodsInquiryDetailInfoApi,editInquirySupplierApi } from "@/api/foodManage/purchaseManage";
|
||||||
// import { goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
|
|
||||||
import { getGoodsInquiryDetailInfoApi } from "@/api/foodManage/purchaseManage";
|
|
||||||
export default {
|
export default {
|
||||||
name: "GoodsInquiryCheckPrice",
|
name: "GoodsInquiryCheckPrice",
|
||||||
dicts: [],
|
dicts: [],
|
||||||
|
|
@ -202,7 +207,7 @@ export default {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
//选中
|
//选中供应商-获取报价货品明细
|
||||||
handleCurrentChange(row){
|
handleCurrentChange(row){
|
||||||
console.log(row)
|
console.log(row)
|
||||||
let param = {
|
let param = {
|
||||||
|
|
@ -216,15 +221,17 @@ export default {
|
||||||
// this.baseInfo.arrivalTime=this.materialList[0].arrivalTime
|
// this.baseInfo.arrivalTime=this.materialList[0].arrivalTime
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
//确认选中报价供应商
|
||||||
|
handleBid(row){
|
||||||
|
console.log(row)
|
||||||
|
let param = {
|
||||||
// 多选框选中数据
|
"inquiryId": this.baseInfo.inquiryId,
|
||||||
handleSelectionChange(selection) {
|
"supplierId":row.supplierId
|
||||||
// this.batchIds1 = selection.map(item => item.tradeId)
|
}
|
||||||
// this.single = selection.length !== 1
|
editInquirySupplierApi(param).then((response) => {
|
||||||
// this.multiple = !selection.length
|
console.log('response',response);
|
||||||
|
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
//日期
|
//日期
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue