From 4995e9bf2fdd424a184e255051aa84dc33443b0c Mon Sep 17 00:00:00 2001 From: zhangxuanming <2260476558@qq.com> Date: Wed, 5 Feb 2025 16:51:02 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E9=A6=96=E9=A1=B5=E8=A1=A8?= =?UTF-8?q?=E6=A0=BC=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4=EF=BC=88=E8=B7=9F?= =?UTF-8?q?=E9=9A=8F=E9=A1=B5=E9=9D=A2=E5=A4=A7=E5=B0=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=EF=BC=89=E3=80=82=E5=AE=A2=E6=88=B7=E7=AE=A1=E7=90=86=E5=92=8C?= =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E7=AE=A1=E7=90=86TAB=E6=A0=8F?= =?UTF-8?q?=E9=87=8C=E9=9D=A2=E7=9A=84=E7=BC=96=E7=A0=81=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=B6=85=E9=93=BE=E6=8E=A5=EF=BC=8C=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/router/index.js | 44 ++- src/views/index.vue | 15 +- src/views/mes/md/client/components/item.vue | 19 +- .../mes/md/client/components/salesRecord.vue | 45 ++- src/views/mes/md/client/index.vue | 9 +- src/views/mes/md/mditem/form.vue | 272 ++++++++++++++++++ src/views/mes/md/vendor/components/item.vue | 30 +- .../mes/md/vendor/components/purchase.vue | 19 +- src/views/mes/md/vendor/index.vue | 6 +- src/views/mes/wm/itemrecpt/form.vue | 188 ++++++++++++ src/views/mes/wm/itemrecpt/index.vue | 1 - src/views/mes/wm/productsalse/form.vue | 175 +++++++++++ 12 files changed, 782 insertions(+), 41 deletions(-) create mode 100644 src/views/mes/md/mditem/form.vue create mode 100644 src/views/mes/wm/itemrecpt/form.vue create mode 100644 src/views/mes/wm/productsalse/form.vue diff --git a/src/router/index.js b/src/router/index.js index 8327082..6c6604f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -260,7 +260,49 @@ export const dynamicRoutes = [ meta: {title: '打印模板编辑',activeMenu: '/print/printtemplate/edit'} } ] - } + }, + { + path: '/mes/md/item', + component: Layout, + hidden: true, + permissions: ['mes:md:mditem:edit'], + children: [ + { + path: 'form', + component: () => import('@/views/mes/md/mditem/form.vue'), + name: 'itemForm', + meta: { title: '物料详情', activeMenu: '/mes/md/item/form' } + } + ] + }, + + { + path: '/mes/wm/purchaseInventory', + component: Layout, + hidden: true, + permissions: ['mes:wm:itemrecpt:edit'], + children: [ + { + path: 'form', + component: () => import('@/views/mes/wm/itemrecpt/form.vue'), + name: 'itemrecptForm', + meta: { title: '采购入库详情', activeMenu: '/mes/wm/itemrecpt/form' } + } + ] + }, + { + path: '/mes/wm/saleOutbound', + component: Layout, + hidden: true, + children: [ + { + path: 'form', + component: () => import('@/views/mes/wm/productsalse/form.vue'), + name: 'productsalseForm', + meta: { title: '销售出库详情', activeMenu: '/mes/wm/productsalse/form' } + } + ] + }, ] // 防止连续点击多次路由报错 diff --git a/src/views/index.vue b/src/views/index.vue index cf71a63..c7801e8 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -24,23 +24,18 @@ >{{scope.row.workorderCode}} - - + + - + - - - - - - + - +