From 72a17635abc143c268aabb34fe504757d63e189e Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Tue, 15 Jul 2025 15:07:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96=EF=BC=8C?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BB=98=E5=88=B6=EF=BC=88=E8=B4=A7=E5=93=81?= =?UTF-8?q?=E8=B0=83=E6=8B=A8=EF=BC=8C=E8=B4=A7=E5=93=81=E7=9B=98=E7=82=B9?= =?UTF-8?q?=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 44 +- src/views/canteen/dish/menu/detail.vue | 8 +- src/views/canteen/dish/menu/edit.vue | 3 +- .../stockManage/goodsTransfer/detail.vue | 293 ++++++++ .../stockManage/goodsTransfer/edit.vue | 683 ++++++++++++++++++ .../stockManage/goodsTransfer/index.vue | 345 +++++++++ .../stockManage/inventoryCount/edit.vue | 30 +- .../stockManage/warehouseOut/edit.vue | 2 +- .../supplierManage/goodsSupplier/index.vue | 29 +- .../supplierManage/supplierList/index.vue | 4 +- 10 files changed, 1404 insertions(+), 37 deletions(-) create mode 100644 src/views/foodManage/stockManage/goodsTransfer/detail.vue create mode 100644 src/views/foodManage/stockManage/goodsTransfer/edit.vue create mode 100644 src/views/foodManage/stockManage/goodsTransfer/index.vue diff --git a/src/router/index.js b/src/router/index.js index 6d2edd98..51995136 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -142,6 +142,26 @@ export const constantRoutes = [ }, ] }, + {//供应链-生产计划新增详情 + path: '/foodManage/purchaseManage', + component: Layout, + hidden: true, + redirect: 'noredirect', + children: [ + { + path: 'productionPlanDetail', + component: () => import('@/views/foodManage/purchaseManage/productionPlan/detail'), + name: 'ProductionPlanDetail', + meta: { title: '生产计划详情', icon: '' } + }, + { + path: 'productionPlanEdit', + component: () => import('@/views/foodManage/purchaseManage/productionPlan/edit'), + name: 'ProductionPlanEdit', + meta: { title: '生产计划新增/编辑', icon: '' } + }, + ] + }, {//供应链-采购计划新增详情 path: '/foodManage/purchaseManage', component: Layout, @@ -152,13 +172,13 @@ export const constantRoutes = [ path: 'planDetail', component: () => import('@/views/foodManage/purchaseManage/purchasePlan/detail'), name: 'PlanDetail', - meta: { title: '计划详情', icon: '' } + meta: { title: '采购计划详情', icon: '' } }, { path: 'planEdit', component: () => import('@/views/foodManage/purchaseManage/purchasePlan/edit'), name: 'PlanEdit', - meta: { title: '计划新增/编辑', icon: '' } + meta: { title: '采购计划新增/编辑', icon: '' } }, ] }, @@ -291,6 +311,26 @@ export const constantRoutes = [ }, ] }, + {//供应链-库存管理-货品调拨 + path: '/foodManage/stockManage', + component: Layout, + hidden: true, + redirect: 'noredirect', + children: [ + { + path: 'goodsTransferDetail', + component: () => import('@/views/foodManage/stockManage/goodsTransfer/detail'), + name: 'GoodsTransferDetail', + meta: { title: '货品调拨详情', icon: '' } + }, + { + path: 'goodsTransferEdit', + component: () => import('@/views/foodManage/stockManage/goodsTransfer/edit'), + name: 'GoodsTransferEdit', + meta: { title: '货品调拨新增/编辑', icon: '' } + }, + ] + }, {//供应链-领料管理-领料单新增详情 path: '/foodManage/pickManage', component: Layout, diff --git a/src/views/canteen/dish/menu/detail.vue b/src/views/canteen/dish/menu/detail.vue index fd564166..4307b0ca 100644 --- a/src/views/canteen/dish/menu/detail.vue +++ b/src/views/canteen/dish/menu/detail.vue @@ -1409,11 +1409,11 @@ export default { "recipeId": this.dialogQueryParams.recipeId } getMenuRecipeTemplateDetailApi(param).then((response) => { - if(response.length>0){ - for (let i = 0; i < response.length; i++) { + if(response.data.length>0){ + for (let i = 0;i < response.data.length;i++) { this.dialogDetailList.forEach(item=>{ - if(item.mealtimeType==response[i].mealtimeType){ - item.dishesList = response[i].dishesList; + if(item.mealtimeType==response.data[i].mealtimeType){ + item.dishesList = response.data[i].dishesList; } }) } diff --git a/src/views/canteen/dish/menu/edit.vue b/src/views/canteen/dish/menu/edit.vue index dbc3970a..061898a2 100644 --- a/src/views/canteen/dish/menu/edit.vue +++ b/src/views/canteen/dish/menu/edit.vue @@ -1628,7 +1628,8 @@ export default { } getMenuRecipeTemplateDetailApi(param).then((response) => { if(response.data.length>0){ - for (let i = 0; i < response.data.length; i++) { + for (let i = 0;i < response.data.length;i++) { + console.log(this.dialogDetailList) this.dialogDetailList.forEach(item=>{ if(item.mealtimeType==response.data[i].mealtimeType){ item.dishesList = response.data[i].dishesList; diff --git a/src/views/foodManage/stockManage/goodsTransfer/detail.vue b/src/views/foodManage/stockManage/goodsTransfer/detail.vue new file mode 100644 index 00000000..eef83b38 --- /dev/null +++ b/src/views/foodManage/stockManage/goodsTransfer/detail.vue @@ -0,0 +1,293 @@ + + + + \ No newline at end of file diff --git a/src/views/foodManage/stockManage/goodsTransfer/edit.vue b/src/views/foodManage/stockManage/goodsTransfer/edit.vue new file mode 100644 index 00000000..280d25c7 --- /dev/null +++ b/src/views/foodManage/stockManage/goodsTransfer/edit.vue @@ -0,0 +1,683 @@ + + + + \ No newline at end of file diff --git a/src/views/foodManage/stockManage/goodsTransfer/index.vue b/src/views/foodManage/stockManage/goodsTransfer/index.vue new file mode 100644 index 00000000..953cc882 --- /dev/null +++ b/src/views/foodManage/stockManage/goodsTransfer/index.vue @@ -0,0 +1,345 @@ + + + diff --git a/src/views/foodManage/stockManage/inventoryCount/edit.vue b/src/views/foodManage/stockManage/inventoryCount/edit.vue index 686350ca..ff72f9c2 100644 --- a/src/views/foodManage/stockManage/inventoryCount/edit.vue +++ b/src/views/foodManage/stockManage/inventoryCount/edit.vue @@ -24,7 +24,7 @@ > - + @@ -55,7 +55,7 @@
添加货品 - 导入库存盘点 + 删除
@@ -70,37 +70,43 @@ + - + - - - - - - - - + + + + + + + - + - + - - - + + + @@ -263,8 +263,7 @@