From 5c10c86068ce3023bb25144bc5614d49e61294cb Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Tue, 13 May 2025 18:09:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 32 +- pages/home/home.vue | 11 +- .../manage/{vehicle-unbind.vue => bcpjb.vue} | 42 +-- pages/manage/cbj-carry.vue | 274 ------------------ pages/manage/group-task.vue | 102 ------- pages/manage/hnby.vue | 100 +++++++ pages/manage/man-sort.vue | 115 -------- pages/manage/press-carry.vue | 156 ---------- pages/manage/{mater-scrap.vue => smck.vue} | 35 +-- pages/manage/{yzhnml-carry.vue => yzmlby.vue} | 2 +- utils/getData2.js | 140 ++------- 11 files changed, 155 insertions(+), 854 deletions(-) rename pages/manage/{vehicle-unbind.vue => bcpjb.vue} (66%) delete mode 100644 pages/manage/cbj-carry.vue delete mode 100644 pages/manage/group-task.vue create mode 100644 pages/manage/hnby.vue delete mode 100644 pages/manage/man-sort.vue delete mode 100644 pages/manage/press-carry.vue rename pages/manage/{mater-scrap.vue => smck.vue} (51%) rename pages/manage/{yzhnml-carry.vue => yzmlby.vue} (96%) diff --git a/pages.json b/pages.json index 76958a1..d9346fb 100644 --- a/pages.json +++ b/pages.json @@ -25,7 +25,7 @@ } } ,{ - "path" : "pages/manage/cbj-carry", + "path" : "pages/manage/smck", "style" : { "navigationStyle": "custom" @@ -33,23 +33,7 @@ } ,{ - "path" : "pages/manage/press-carry", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/mater-scrap", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/man-sort", + "path" : "pages/manage/hnby", "style" : { "navigationStyle": "custom" @@ -73,7 +57,7 @@ } ,{ - "path" : "pages/manage/yzhnml-carry", + "path" : "pages/manage/yzmlby", "style" : { "navigationStyle": "custom" @@ -81,15 +65,7 @@ } ,{ - "path" : "pages/manage/vehicle-unbind", - "style" : - { - "navigationStyle": "custom" - } - - } - ,{ - "path" : "pages/manage/group-task", + "path" : "pages/manage/bcpjb", "style" : { "navigationStyle": "custom" diff --git a/pages/home/home.vue b/pages/home/home.vue index b896f33..bb80cab 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -32,15 +32,12 @@ return { userName: '', menuList: [ - {id: 1, title: '拆包机搬运', icon: 'RF01', path: '/pages/manage/cbj-carry'}, - {id: 2, title: '压机搬运', icon: 'RF02', path: '/pages/manage/press-carry'}, - {id: 3, title: '物料报废', icon: 'RF03', path: '/pages/manage/mater-scrap'}, - {id: 4, title: '人工分拣', icon: 'RF04', path: '/pages/manage/man-sort'}, {id: 5, title: '任务管理', icon: 'RF05', path: '/pages/manage/task-manage'}, {id: 6, title: '指令管理', icon: 'RF06', path: '/pages/manage/inst-manage'}, - {id: 7, title: '压制混碾满料搬运', icon: 'RF07', path: '/pages/manage/yzhnml-carry'}, - {id: 8, title: '条码解绑', icon: 'RF08', path: '/pages/manage/vehicle-unbind'}, - {id: 9, title: '组盘查看', icon: 'RF09', path: '/pages/manage/group-task'} + {id: 4, title: '混碾搬运', icon: 'RF01', path: '/pages/manage/hnby'}, + {id: 3, title: '扫码出库', icon: 'RF07', path: '/pages/manage/smck'}, + {id: 7, title: '压制满料搬运', icon: 'RF02', path: '/pages/manage/yzmlby'}, + {id: 8, title: '半成品解绑', icon: 'RF08', path: '/pages/manage/bcpjb'} ], show: false, secM: [] diff --git a/pages/manage/vehicle-unbind.vue b/pages/manage/bcpjb.vue similarity index 66% rename from pages/manage/vehicle-unbind.vue rename to pages/manage/bcpjb.vue index c738ab3..a6055f8 100644 --- a/pages/manage/vehicle-unbind.vue +++ b/pages/manage/bcpjb.vue @@ -8,7 +8,7 @@ 区域 - + @@ -40,9 +40,9 @@ data() { return { title: '', - options1: [{value: 0, text: '困料区域', point: []}, {value: 1, text: '缓存货架区域', point: []}], + options1: [{value: 1, text: '缓存货架区域', point: []}], index1: '', - options2: [], + options2: this.generateArray('CRYHCHJ', '出入窑缓存货架'), index2: '', disabled: false }; @@ -50,37 +50,21 @@ onLoad (options) { this.title = options.title }, - created () { - let point1 = [] - for (let i = 0; i < 56; i++) { - if (i >= 9) { - point1.push({value: `KLHW${i+1}`, text: `困料货位${i+1}`}) - } else { - point1.push({value: `KLHW0${i+1}`, text: `困料货位0${i+1}`}) - } - } - let point2 = [] - for (let i = 0; i < 44; i++) { - if (i >= 9) { - point2.push({value: `HCHJ${i+1}`, text: `缓存货架${i+1}`}) - } else { - point2.push({value: `HCHJ0${i+1}`, text: `缓存货架0${i+1}`}) - } - } - this.options1[0].point = point1 - this.options1[1].point = point2 - }, methods: { - change (e) { - this.options1.map((el, i) => { - if (e === i) { - this.options2 = el.point - } - }) + generateArray(prefix, suffix) { + const array = [] + for (let i = 1; i <= 136; i++) { + array.push({ + value: `${prefix}${String(i).padStart(2, '0')}`, + text: `${suffix}${String(i).padStart(2, '0')}` + }) + } + return array }, clearUp () { this.index1 = '' this.index2 = '' + this.disabled = false }, async _vehicleUnbind () { this.disabled = true diff --git a/pages/manage/cbj-carry.vue b/pages/manage/cbj-carry.vue deleted file mode 100644 index 66a0736..0000000 --- a/pages/manage/cbj-carry.vue +++ /dev/null @@ -1,274 +0,0 @@ - - - - - diff --git a/pages/manage/group-task.vue b/pages/manage/group-task.vue deleted file mode 100644 index 3b008c4..0000000 --- a/pages/manage/group-task.vue +++ /dev/null @@ -1,102 +0,0 @@ - - - - - diff --git a/pages/manage/hnby.vue b/pages/manage/hnby.vue new file mode 100644 index 0000000..b0dcbfb --- /dev/null +++ b/pages/manage/hnby.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/pages/manage/man-sort.vue b/pages/manage/man-sort.vue deleted file mode 100644 index 659ca41..0000000 --- a/pages/manage/man-sort.vue +++ /dev/null @@ -1,115 +0,0 @@ - - - - - diff --git a/pages/manage/press-carry.vue b/pages/manage/press-carry.vue deleted file mode 100644 index 7f7b99f..0000000 --- a/pages/manage/press-carry.vue +++ /dev/null @@ -1,156 +0,0 @@ - - - - - diff --git a/pages/manage/mater-scrap.vue b/pages/manage/smck.vue similarity index 51% rename from pages/manage/mater-scrap.vue rename to pages/manage/smck.vue index 43777d3..e30dc6e 100644 --- a/pages/manage/mater-scrap.vue +++ b/pages/manage/smck.vue @@ -5,7 +5,7 @@ - 载具编码 + 扫码出库 - + + - - - - - - 确定是否执行物料报废? - - - - - - - - -