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:
commit
3131b07dca
|
|
@ -187,13 +187,28 @@ export function getGoodsInquiryDetailInfoApi(data) {
|
|||
// 删除采购询价
|
||||
export function delGoodsInquiryApi(data) {
|
||||
return request({
|
||||
url: '/smart-canteen/ims_purchase_inquiry/del/'+data.inquiryIds,
|
||||
url: '/smart-canteen/ims_inquiry/del/'+data.inquiryId,
|
||||
method: 'post',
|
||||
headers: {
|
||||
//"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
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// -------------生产计划---------------
|
||||
//获取生产计划分页列表
|
||||
|
|
|
|||
|
|
@ -339,7 +339,7 @@ export default {
|
|||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
this.$modal.confirm('是否确认删除数据项?').then(function() {
|
||||
return delGoodsInquiryApi({inquiryIds:[row.inquiryId]});
|
||||
return delGoodsInquiryApi({inquiryId:row.inquiryId});
|
||||
}).then(() => {
|
||||
this.getList();
|
||||
this.$modal.msgSuccess("删除成功");
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
</el-table-column>
|
||||
<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="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">
|
||||
<template slot-scope="scope">
|
||||
<span>{{ (scope.row.bidTotalPrice/100).toFixed(2) }}</span>
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
<script>
|
||||
import { systemAreaTreeApi } from "@/api/base/stall";
|
||||
import { drpWareHousePageApi } from "@/api/foodManage/stockManage";
|
||||
import { goodsInquiryPageApi,delGoodsInquiryApi } from "@/api/foodManage/purchaseManage";
|
||||
import { goodsInquiryPageApi,delGoodsInquiryApi,goodsInquiryQuotePageApi } from "@/api/foodManage/purchaseManage";
|
||||
|
||||
export default {
|
||||
name: "",
|
||||
|
|
@ -223,7 +223,7 @@ export default {
|
|||
param.endDateTime=undefined;
|
||||
}
|
||||
console.log("param",param)
|
||||
goodsInquiryPageApi(param).then(response => {
|
||||
goodsInquiryQuotePageApi(param).then(response => {
|
||||
this.tableListData = response.rows;
|
||||
this.total = Number(response.total);
|
||||
this.loading = false;
|
||||
|
|
|
|||
Loading…
Reference in New Issue