diff --git a/src/api/foodManage/purchaseManage.js b/src/api/foodManage/purchaseManage.js index 1fced7a2..03b46b51 100644 --- a/src/api/foodManage/purchaseManage.js +++ b/src/api/foodManage/purchaseManage.js @@ -105,6 +105,67 @@ export function delPurchaseContractApi(data) { } + + +// -------------生产计划--------------- +//获取生产计划分页列表 +export function productionPlanPageApi(data) { + return request({ + url: '/smart-canteen/ims_production_plan/list', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data:data, + params:{ + pageNum:data.pageNum, + pageSize:data.pageSize + } + }) +} +//获取生产计划分页详情 +export function getProductionPlanInfoApi(data) { + return request({ + url: '/smart-canteen/ims_production_plan/'+data.planId, + method: 'get', + headers: { + //"merchant-id":"378915229716713472", + } + }) +} +// 新增生产计划 +export function addProductionPlanApi(data) { + return request({ + url: '/smart-canteen/ims_production_plan', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} +// 修改生产计划 +export function editProductionPlanApi(data) { + return request({ + url: '/smart-canteen/ims_production_plan/edit', + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + }, + data: data + }) +} +// 删除生产计划 +export function delProductionPlanApi(data) { + return request({ + url: '/smart-canteen/ims_production_plan/del/'+data.planIds, + method: 'post', + headers: { + //"merchant-id":"378915229716713472", + } + }) +} + // -------------采购计划--------------- //获取采购计划分页列表 export function purchasePlanPageApi(data) { diff --git a/src/views/foodManage/purchaseManage/productionPlan/detail.vue b/src/views/foodManage/purchaseManage/productionPlan/detail.vue new file mode 100644 index 00000000..9adb80cb --- /dev/null +++ b/src/views/foodManage/purchaseManage/productionPlan/detail.vue @@ -0,0 +1,347 @@ + + + + \ No newline at end of file diff --git a/src/views/foodManage/purchaseManage/productionPlan/edit.vue b/src/views/foodManage/purchaseManage/productionPlan/edit.vue new file mode 100644 index 00000000..addf27ae --- /dev/null +++ b/src/views/foodManage/purchaseManage/productionPlan/edit.vue @@ -0,0 +1,924 @@ + + + + \ No newline at end of file diff --git a/src/views/foodManage/purchaseManage/productionPlan/index.vue b/src/views/foodManage/purchaseManage/productionPlan/index.vue new file mode 100644 index 00000000..30a47109 --- /dev/null +++ b/src/views/foodManage/purchaseManage/productionPlan/index.vue @@ -0,0 +1,432 @@ + + +