diff --git a/src/api/foodManage/purchaseManage.js b/src/api/foodManage/purchaseManage.js index 2c2ba16f..72a2b8a0 100644 --- a/src/api/foodManage/purchaseManage.js +++ b/src/api/foodManage/purchaseManage.js @@ -88,4 +88,64 @@ export function delPurchaseContractApi(data) { //"merchant-id":"378915229716713472", } }) +} + + + +//获取采购计划分页列表 +export function purchasePlanPageApi(data) { + return request({ + url: '/smart-canteen/ims_purchase_plan/list', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data:data, + params:{ + pageNum:data.pageNum, + pageSize:data.pageSize + } + }) +} +//获取采购计划分页详情 +export function getPurchasePlanInfoApi(data) { + return request({ + url: '/smart-canteen/ims_purchase_plan/'+data.planId, + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + } + }) +} +// 新增采购计划 +export function addPurchasePlanApi(data) { + return request({ + url: '/smart-canteen/ims_purchase_plan', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} +// 修改采购计划 +export function editPurchasePlanApi(data) { + return request({ + url: '/smart-canteen/ims_purchase_plan/edit', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} +// 删除采购计划 +export function delPurchasePlanApi(data) { + return request({ + url: '/smart-canteen/ims_purchase_plan/del/'+data.planIds, + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + } + }) } \ No newline at end of file diff --git a/src/views/canteen/accountCenter/account/consume/index.vue b/src/views/canteen/accountCenter/account/consume/index.vue index 17491900..6a1392ee 100644 --- a/src/views/canteen/accountCenter/account/consume/index.vue +++ b/src/views/canteen/accountCenter/account/consume/index.vue @@ -78,6 +78,7 @@ 消费退款 --> +