From de636dc350fd9f156a9efd2ab617d29dff4b7328 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Wed, 16 Jul 2025 14:37:00 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/foodManage/purchaseManage.js | 10 ++ src/router/index.js | 8 +- src/views/canteen/dish/menu/index.vue | 2 +- .../pickManage/materialPicking/detail.vue | 2 +- .../pickManage/materialPicking/edit.vue | 2 +- .../purchaseManage/productionPlan/index.vue | 125 ++++++++++++------ .../purchaseManage/purchasePlan/detail.vue | 4 +- .../purchaseManage/purchasePlan/edit.vue | 27 ++-- .../purchaseManage/purchasePlan/index.vue | 6 +- src/views/system/user/index.vue | 4 +- 10 files changed, 125 insertions(+), 65 deletions(-) diff --git a/src/api/foodManage/purchaseManage.js b/src/api/foodManage/purchaseManage.js index 03b46b51..3c3dea6b 100644 --- a/src/api/foodManage/purchaseManage.js +++ b/src/api/foodManage/purchaseManage.js @@ -44,6 +44,16 @@ export function drpWareHousePageApi(data) { }) } +//获取菜品原料反算接口dishes/convert +export function dishesConvertApi(data) { + return request({ + url: '/smart-canteen/cook_dishes/dishes/convert', + method: 'post', + data: data + }) +} + + // -------------采购合同--------------- //获取采购合同分页列表 diff --git a/src/router/index.js b/src/router/index.js index 51995136..9b3050db 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -169,15 +169,15 @@ export const constantRoutes = [ redirect: 'noredirect', children: [ { - path: 'planDetail', + path: 'purchasePlanDetail', component: () => import('@/views/foodManage/purchaseManage/purchasePlan/detail'), - name: 'PlanDetail', + name: 'purchasePlanDetail', meta: { title: '采购计划详情', icon: '' } }, { - path: 'planEdit', + path: 'purchasePlanEdit', component: () => import('@/views/foodManage/purchaseManage/purchasePlan/edit'), - name: 'PlanEdit', + name: 'PurchasePlanEdit', meta: { title: '采购计划新增/编辑', icon: '' } }, ] diff --git a/src/views/canteen/dish/menu/index.vue b/src/views/canteen/dish/menu/index.vue index bd615029..587832ef 100644 --- a/src/views/canteen/dish/menu/index.vue +++ b/src/views/canteen/dish/menu/index.vue @@ -402,7 +402,7 @@ // this.menuTypeList.push(item) // } // }) - this.menuTypeList = [{bindType: 7,id: 2,name: "智慧餐台/消费机"},{bindType: 1,id: 6,name: "移动端当餐点餐"},{bindType: 2,id: 7,name: "移动端预订餐"},{bindType: 3,id: 8,name: "移动端一周菜谱"}] + this.menuTypeList = [{bindType: 7,id: 2,name: "智慧餐台/消费机"},{bindType: 2,id: 7,name: "移动端预订餐"},{bindType: 3,id: 8,name: "移动端一周菜谱"}] this.bindType = this.menuTypeList[0].bindType // }); }, diff --git a/src/views/foodManage/pickManage/materialPicking/detail.vue b/src/views/foodManage/pickManage/materialPicking/detail.vue index 4b35bf4b..c0bafeb7 100644 --- a/src/views/foodManage/pickManage/materialPicking/detail.vue +++ b/src/views/foodManage/pickManage/materialPicking/detail.vue @@ -77,7 +77,7 @@