From 2cde39ceebc1f714557df78b2fc8a94f5775bc16 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Tue, 15 Jul 2025 15:38:10 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/foodManage/purchaseManage.js | 61 ++ .../purchaseManage/productionPlan/detail.vue | 347 +++++++ .../purchaseManage/productionPlan/edit.vue | 924 ++++++++++++++++++ .../purchaseManage/productionPlan/index.vue | 432 ++++++++ 4 files changed, 1764 insertions(+) create mode 100644 src/views/foodManage/purchaseManage/productionPlan/detail.vue create mode 100644 src/views/foodManage/purchaseManage/productionPlan/edit.vue create mode 100644 src/views/foodManage/purchaseManage/productionPlan/index.vue 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 @@ + + +