采购询价

This commit is contained in:
zzyuan 2025-07-21 17:11:59 +08:00
parent 976beeaf38
commit 915f43bc0b
1 changed files with 22 additions and 15 deletions

View File

@ -71,7 +71,14 @@
<span v-if="scope.row.bidStatus==3">已选中</span>
</template>
</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>
</div>
</div>
@ -83,7 +90,7 @@
</div>
</div>
<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 label="序号" align="center" width="80" type="index" />
<!-- <el-table-column label="图片" align="center" prop="" :show-overflow-tooltip="true" /> -->
@ -115,9 +122,7 @@
</template>
<script>
import { getGoodsInquirySupplierInfoApi } from "@/api/foodManage/purchaseManage";
// import { goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
import { getGoodsInquiryDetailInfoApi } from "@/api/foodManage/purchaseManage";
import { getGoodsInquirySupplierInfoApi,getGoodsInquiryDetailInfoApi,editInquirySupplierApi } from "@/api/foodManage/purchaseManage";
export default {
name: "GoodsInquiryCheckPrice",
dicts: [],
@ -202,7 +207,7 @@ export default {
this.loading = false;
});
},
//
//-
handleCurrentChange(row){
console.log(row)
let param = {
@ -216,15 +221,17 @@ export default {
// this.baseInfo.arrivalTime=this.materialList[0].arrivalTime
});
},
//
handleBid(row){
console.log(row)
let param = {
"inquiryId": this.baseInfo.inquiryId,
"supplierId":row.supplierId
}
editInquirySupplierApi(param).then((response) => {
console.log('response',response);
//
handleSelectionChange(selection) {
// this.batchIds1 = selection.map(item => item.tradeId)
// this.single = selection.length !== 1
// this.multiple = !selection.length
});
},
//