From 96c12066699a50280c8a7fd913aebaeb097c15aa Mon Sep 17 00:00:00 2001 From: yinq Date: Mon, 9 Sep 2024 17:37:45 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E7=94=9F=E4=BA=A7=E8=AE=A1?= =?UTF-8?q?=E5=88=92=E8=AF=A6=E6=83=85=E8=B7=B3=E8=BD=AC=E3=80=81=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E5=B7=A5=E5=8D=95=E8=AF=A6=E6=83=85=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 29 ++++++- src/views/ems/report/energyPreview/index.vue | 2 +- src/views/mes/base/baseDeviceLedger/index.vue | 32 +++---- src/views/mes/prod/prodOrderDetail/index.vue | 4 + src/views/mes/prod/prodOrderInfo/index.vue | 19 ++++- src/views/mes/prod/prodPlanErpInfo/index.vue | 6 +- src/views/mes/prod/prodPlanInfo/index.vue | 85 +++++++++++-------- 7 files changed, 119 insertions(+), 58 deletions(-) diff --git a/src/router/index.js b/src/router/index.js index 5cdad45..f28c12d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -241,7 +241,34 @@ export const dynamicRoutes = [ } ] }, - + { + path: '/mes/prodOrder-detail', + component: Layout, + hidden: true, + permissions: ['mes/prod:prodOrderDetail:list'], + children: [ + { + path: 'index/:orderCode', + component: () => import('@/views/mes/prod/prodOrderDetail/index'), + name: 'prodOrderDetail', + meta: { title: '订单明细', activeMenu: '/mes/prodOrderDetail' } + } + ] + }, + { + path: '/mes/prodPlan-erpInfo', + component: Layout, + hidden: true, + permissions: ['mes/prod:prodPlanErpInfo:list'], + children: [ + { + path: 'index/:planCode', + component: () => import('@/views/mes/prod/prodPlanErpInfo/index'), + name: 'prodPlanErpInfo', + meta: { title: '生产计划', activeMenu: '/mes/prodPlanErpInfo' } + } + ] + }, ] // 防止连续点击多次路由报错 diff --git a/src/views/ems/report/energyPreview/index.vue b/src/views/ems/report/energyPreview/index.vue index 5f6aa0a..6d25b8e 100644 --- a/src/views/ems/report/energyPreview/index.vue +++ b/src/views/ems/report/energyPreview/index.vue @@ -75,7 +75,7 @@ class="centered-image" src="@/assets/images/electricityIcon.svg" /> -
+
总耗量
diff --git a/src/views/mes/base/baseDeviceLedger/index.vue b/src/views/mes/base/baseDeviceLedger/index.vue index 40f477f..87470a3 100644 --- a/src/views/mes/base/baseDeviceLedger/index.vue +++ b/src/views/mes/base/baseDeviceLedger/index.vue @@ -9,8 +9,8 @@ - - + + - + - + @@ -131,7 +131,7 @@ - + - + - +