From 330ff9489c8874d8029b409622ae92384619892c Mon Sep 17 00:00:00 2001 From: xiangxy Date: Wed, 15 May 2024 16:05:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BA=9F=E5=8C=85=E6=9D=90?= =?UTF-8?q?=E4=BD=8D=E5=BC=82=E5=B8=B8=E5=87=BA=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 ++++++ pages/home/home.vue | 21 +++++++++++++--- pages/modules/error-outstore.vue | 43 ++++++++++++++++++++++++++++++++ utils/getData1.js | 9 +++++++ 4 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 pages/modules/error-outstore.vue diff --git a/pages.json b/pages.json index f634fd3..1860990 100644 --- a/pages.json +++ b/pages.json @@ -83,6 +83,13 @@ ,{ "path" : "pages/modules/taskmanage", "style" : + { + "navigationStyle": "custom" + } + } + ,{ + "path" : "pages/modules/error-outstore", + "style" : { "navigationStyle": "custom" } diff --git a/pages/home/home.vue b/pages/home/home.vue index 8372317..e4a3ed7 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -36,6 +36,18 @@ }; }, created () { + this.menuList = [ + // {id: '1', name: '人工排产', icon: 'RF01', path: '/pages/modules/man-paichan'}, + // {id: '2', name: '涂线板', icon: 'RF02', path: '/pages/modules/wire-board'}, + // {id: '3', name: '物料库存', icon: 'RF03', path: '/pages/modules/mater-inventory'} + {id: '1', name: '原材料入库', icon: 'RF03', path: '/pages/modules/rawmater-instore'}, + {id: '2', name: '原材料出库', icon: 'RF07', path: '/pages/modules/rawmater-outstore'}, + {id: '3', name: '搬运任务', icon: 'RF01', path: '/pages/modules/carry-task'}, + {id: '4', name: '组盘解绑', icon: 'RF04', path: '/pages/modules/zupan-unbind'}, + {id: '5', name: '指令管理', icon: 'RF02', path: '/pages/modules/zlmanage'}, + {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'}, + {id: '7', name: '异常出库', icon: 'RF10', path: '/pages/modules/error-outstore'} + ] if (this.roles === 'A1,A2,') { this.menuList = [ // {id: '1', name: '人工排产', icon: 'RF01', path: '/pages/modules/man-paichan'}, @@ -46,7 +58,8 @@ {id: '3', name: '搬运任务', icon: 'RF01', path: '/pages/modules/carry-task'}, {id: '4', name: '组盘解绑', icon: 'RF04', path: '/pages/modules/zupan-unbind'}, {id: '5', name: '指令管理', icon: 'RF02', path: '/pages/modules/zlmanage'}, - {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'} + {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'}, + {id: '7', name: '异常出库', icon: 'RF10', path: '/pages/modules/error-outstore'} ] } if (this.roles === 'A1,') { @@ -54,7 +67,8 @@ {id: '1', name: '原材料入库', icon: 'RF03', path: '/pages/modules/rawmater-instore'}, {id: '2', name: '原材料出库', icon: 'RF07', path: '/pages/modules/rawmater-outstore'}, {id: '5', name: '指令管理', icon: 'RF02', path: '/pages/modules/zlmanage'}, - {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'} + {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'}, + {id: '7', name: '异常出库', icon: 'RF10', path: '/pages/modules/error-outstore'} ] } if (this.roles === 'A2,') { @@ -62,7 +76,8 @@ {id: '3', name: '搬运任务', icon: 'RF01', path: '/pages/modules/carry-task'}, {id: '4', name: '组盘解绑', icon: 'RF04', path: '/pages/modules/zupan-unbind'}, {id: '5', name: '指令管理', icon: 'RF02', path: '/pages/modules/zlmanage'}, - {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'} + {id: '6', name: '任务管理', icon: 'RF09', path: '/pages/modules/taskmanage'}, + {id: '7', name: '异常出库', icon: 'RF10', path: '/pages/modules/error-outstore'} ] } this.$store.dispatch('setPublicObj', '') diff --git a/pages/modules/error-outstore.vue b/pages/modules/error-outstore.vue new file mode 100644 index 0000000..58d1ddc --- /dev/null +++ b/pages/modules/error-outstore.vue @@ -0,0 +1,43 @@ + + + + + diff --git a/utils/getData1.js b/utils/getData1.js index ed86a2d..4588487 100644 --- a/utils/getData1.js +++ b/utils/getData1.js @@ -77,3 +77,12 @@ export const zpjb = (stray, mtray) => request({ mother_tray: mtray } }) + +/** + * 异常出库 + */ +// 废包材位异常出库 +export const ycck = () => request({ + url:'api/pda/ycck', + data: {} +})