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:
zzyuan 2025-07-21 14:28:45 +08:00
commit 3131b07dca
3 changed files with 20 additions and 5 deletions

View File

@ -187,13 +187,28 @@ export function getGoodsInquiryDetailInfoApi(data) {
// 删除采购询价 // 删除采购询价
export function delGoodsInquiryApi(data) { export function delGoodsInquiryApi(data) {
return request({ return request({
url: '/smart-canteen/ims_purchase_inquiry/del/'+data.inquiryIds, url: '/smart-canteen/ims_inquiry/del/'+data.inquiryId,
method: 'post', method: 'post',
headers: { headers: {
//"merchant-id":"378915229716713472", //"merchant-id":"378915229716713472",
} }
}) })
} }
//获取采购报价分页列表
export function goodsInquiryQuotePageApi(data) {
return request({
url: '/smart-canteen/ims_quote/list',
method: 'post',
headers: {
//"merchant-id":"378915229716713472",
},
data:data,
params:{
pageNum:data.pageNum,
pageSize:data.pageSize
}
})
}
// -------------生产计划--------------- // -------------生产计划---------------
//获取生产计划分页列表 //获取生产计划分页列表

View File

@ -339,7 +339,7 @@ export default {
/** 删除按钮操作 */ /** 删除按钮操作 */
handleDelete(row) { handleDelete(row) {
this.$modal.confirm('是否确认删除数据项?').then(function() { this.$modal.confirm('是否确认删除数据项?').then(function() {
return delGoodsInquiryApi({inquiryIds:[row.inquiryId]}); return delGoodsInquiryApi({inquiryId:row.inquiryId});
}).then(() => { }).then(() => {
this.getList(); this.getList();
this.$modal.msgSuccess("删除成功"); this.$modal.msgSuccess("删除成功");

View File

@ -45,7 +45,7 @@
</el-table-column> </el-table-column>
<el-table-column label="报价开始时间" align="center" prop="startTime" :show-overflow-tooltip="true" /> <el-table-column label="报价开始时间" align="center" prop="startTime" :show-overflow-tooltip="true" />
<el-table-column label="报价结束时间" align="center" prop="endTime" :show-overflow-tooltip="true" /> <el-table-column label="报价结束时间" align="center" prop="endTime" :show-overflow-tooltip="true" />
<el-table-column label="决标时间" align="center" prop="areaName" :show-overflow-tooltip="true"/> <el-table-column label="决标时间" align="center" prop="bidTime" :show-overflow-tooltip="true"/>
<el-table-column label="决标总价(元)" align="center" prop="bidTotalPrice" :show-overflow-tooltip="true" width="120"> <el-table-column label="决标总价(元)" align="center" prop="bidTotalPrice" :show-overflow-tooltip="true" width="120">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ (scope.row.bidTotalPrice/100).toFixed(2) }}</span> <span>{{ (scope.row.bidTotalPrice/100).toFixed(2) }}</span>
@ -97,7 +97,7 @@
<script> <script>
import { systemAreaTreeApi } from "@/api/base/stall"; import { systemAreaTreeApi } from "@/api/base/stall";
import { drpWareHousePageApi } from "@/api/foodManage/stockManage"; import { drpWareHousePageApi } from "@/api/foodManage/stockManage";
import { goodsInquiryPageApi,delGoodsInquiryApi } from "@/api/foodManage/purchaseManage"; import { goodsInquiryPageApi,delGoodsInquiryApi,goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
export default { export default {
name: "", name: "",
@ -223,7 +223,7 @@ export default {
param.endDateTime=undefined; param.endDateTime=undefined;
} }
console.log("param",param) console.log("param",param)
goodsInquiryPageApi(param).then(response => { goodsInquiryQuotePageApi(param).then(response => {
this.tableListData = response.rows; this.tableListData = response.rows;
this.total = Number(response.total); this.total = Number(response.total);
this.loading = false; this.loading = false;