From 788597c775fcebce6ea9f5d9b4f9e58553da3455 Mon Sep 17 00:00:00 2001 From: yinq <1345442242@qq.com> Date: Mon, 16 Oct 2023 15:15:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?change=20-=20=E8=AE=A2=E5=8D=95BOM=E7=88=B6?= =?UTF-8?q?=E5=AD=90=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 14 + src/views/base/deviceLedger/index.vue | 20 +- src/views/base/materialInfo/index.vue | 64 ++-- src/views/base/orderBomInfo/childIndex.vue | 369 +++++++++++++++++++ src/views/base/orderBomInfo/index.vue | 392 ++++++++++++--------- src/views/base/spaceInfo/index.vue | 30 +- src/views/base/storeInfo/index.vue | 28 +- src/views/production/baseBomInfo/index.vue | 28 +- 8 files changed, 693 insertions(+), 252 deletions(-) create mode 100644 src/views/base/orderBomInfo/childIndex.vue diff --git a/src/router/index.js b/src/router/index.js index 8c4748c..8a907a2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -176,6 +176,20 @@ export const dynamicRoutes = [ }, ], }, + { + path: "/base/bom-info", + component: Layout, + hidden: true, + permissions: ["base:orderBomInfo:list"], + children: [ + { + path: "index/:materialCode(\\d+)", + component: () => import("@/views/base/orderBomInfo/childIndex"), + name: "childBom", + meta: { title: "查看订单子BOM信息", activeMenu: "/base/orderBomInfo" }, + }, + ], + }, ] // 防止连续点击多次路由报错 diff --git a/src/views/base/deviceLedger/index.vue b/src/views/base/deviceLedger/index.vue index 4398370..c91f171 100644 --- a/src/views/base/deviceLedger/index.vue +++ b/src/views/base/deviceLedger/index.vue @@ -247,15 +247,15 @@ > - - - {{dict.label}} - - + + + + + + + + +