From 882342b685fbb7ba64beb1e19892da815eb99f17 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Wed, 20 Dec 2023 13:16:07 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9C=8B=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/main.ts | 3 + src/permission.ts | 3 +- src/router/modules/remaining.ts | 39 ++ src/views/wms/board/productShippingBoard.vue | 529 ++++++++++++++++++ .../wms/board/productionMaterialBoard.vue | 529 ++++++++++++++++++ src/views/wms/board/productionPlanBoard.vue | 529 ++++++++++++++++++ src/views/wms/board/purchaseArrivalBoard.vue | 528 +++++++++++++++++ 8 files changed, 2160 insertions(+), 1 deletion(-) create mode 100644 src/views/wms/board/productShippingBoard.vue create mode 100644 src/views/wms/board/productionMaterialBoard.vue create mode 100644 src/views/wms/board/productionPlanBoard.vue create mode 100644 src/views/wms/board/purchaseArrivalBoard.vue diff --git a/package.json b/package.json index 62dc38833..cf2eff10c 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@form-create/designer": "^3.1.3", "@form-create/element-ui": "^3.1.24", "@iconify/iconify": "^3.1.1", + "@kjgl77/datav-vue3": "^1.7.1", "@videojs-player/vue": "^1.0.0", "@vueuse/core": "^10.4.1", "@wangeditor/editor": "^5.1.23", diff --git a/src/main.ts b/src/main.ts index f040f2b43..5ba59e543 100644 --- a/src/main.ts +++ b/src/main.ts @@ -42,6 +42,8 @@ import Logger from '@/utils/Logger' import VueDOMPurifyHTML from 'vue-dompurify-html' // 解决v-html 的安全隐患 +import DataVVue3 from '@kjgl77/datav-vue3' + // 创建实例 const setupAll = async () => { const app = createApp(App) @@ -63,6 +65,7 @@ const setupAll = async () => { await router.isReady() app.use(VueDOMPurifyHTML) + app.use(DataVVue3) app.mount('#app') app.config.warnHandler = () => null; diff --git a/src/permission.ts b/src/permission.ts index 0698dc880..199606f26 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -19,7 +19,8 @@ const whiteList = [ '/auth-redirect', '/bind', '/register', - '/oauthLogin/gitee' + '/oauthLogin/gitee', + '/board/purchaseArrivalBoard' ] // 路由加载前 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 2c2ecf253..c1ce9f31c 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -362,7 +362,46 @@ const remainingRouter: AppRouteRecordRaw[] = [ // activeMenu: '/wms/itempackaging-manage/itempackaging' // } // } + ] + }, + { + path: '/board/purchaseArrivalBoard', + component: () => import('@/views/wms/board/purchaseArrivalBoard.vue'), + name: 'PurchaseArrivalBoard', + meta: { + hidden: true, + title: '采购到货看版', + noTagsView: true + } + },{ + path: '/board/productionMaterialBoard', + component: () => import('@/views/wms/board/productionMaterialBoard.vue'), + name: 'ProductionMaterialBoard', + meta: { + hidden: true, + title:'生产叫料看板', + noTagsView: true + } + },{ + path: '/board/productionPlanBoard', + component: () => import('@/views/wms/board/productionPlanBoard.vue'), + name: 'ProductionPlanBoard', + meta: { + hidden: true, + title:'生产计划看板', + noTagsView: true + } + }, + { + path: '/board/productShippingBoard', + component: () => import('@/views/wms/board/productShippingBoard.vue'), + name: 'ProductShippingBoard', + meta: { + hidden: true, + title: '成品发运看板', + noTagsView: true + } } ] diff --git a/src/views/wms/board/productShippingBoard.vue b/src/views/wms/board/productShippingBoard.vue new file mode 100644 index 000000000..1cab4c850 --- /dev/null +++ b/src/views/wms/board/productShippingBoard.vue @@ -0,0 +1,529 @@ + + + + + + diff --git a/src/views/wms/board/productionMaterialBoard.vue b/src/views/wms/board/productionMaterialBoard.vue new file mode 100644 index 000000000..ea7a661f8 --- /dev/null +++ b/src/views/wms/board/productionMaterialBoard.vue @@ -0,0 +1,529 @@ + + + + + + diff --git a/src/views/wms/board/productionPlanBoard.vue b/src/views/wms/board/productionPlanBoard.vue new file mode 100644 index 000000000..2b2eca1dd --- /dev/null +++ b/src/views/wms/board/productionPlanBoard.vue @@ -0,0 +1,529 @@ + + + + + +> diff --git a/src/views/wms/board/purchaseArrivalBoard.vue b/src/views/wms/board/purchaseArrivalBoard.vue new file mode 100644 index 000000000..63f1514b6 --- /dev/null +++ b/src/views/wms/board/purchaseArrivalBoard.vue @@ -0,0 +1,528 @@ + + + + +