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 @@ - + - + - +