From ff777cd28199571a5810b682b038b96d02d4d360 Mon Sep 17 00:00:00 2001 From: zjj <3272660260@qq.com> Date: 星期五, 07 三月 2025 16:24:48 +0800 Subject: [PATCH] # --- pages/pingku/POrderPakin.vue | 24 ++++---- pages/home/home.vue | 102 +++++++++++++++++----------------- pages/AGV/AGVStart.vue | 7 + pages/pingku/POrderPakinOut.vue | 37 ++++------- 4 files changed, 82 insertions(+), 88 deletions(-) diff --git a/pages/AGV/AGVStart.vue b/pages/AGV/AGVStart.vue index e48fca6..2eaaf8f 100644 --- a/pages/AGV/AGVStart.vue +++ b/pages/AGV/AGVStart.vue @@ -148,11 +148,14 @@ this.sta = 1040 }else if(this.stationCode.substring(0,1) == 'b'){ this.staList.push(2010) - this.staList.push(2000) + // this.staList.push(2000) this.sta = 2010 }else if(this.stationCode.substring(0,1) == 'c'){ this.staList.push(3010) - this.sta = 3010 + this.sta = 3010 + }else if(this.stationCode.substring(0,1) == 'd'){ + this.staList.push(2000) + this.sta = 2000 } diff --git a/pages/home/home.vue b/pages/home/home.vue index f99f4c7..1875f76 100644 --- a/pages/home/home.vue +++ b/pages/home/home.vue @@ -31,55 +31,55 @@ // cuIcon: 'pullup', // url: '/pakin/pakin' // }, - { - title: '璁㈠崟鍏ュ簱', - name: 'orderPakin', - color: 'red', - cuIcon: 'pullup', - url: '/order/orderList' - }, - { - title: '鎷f枡绔欏埌绔�', - name: 'leftover', - color: 'orange', - cuIcon: 'pullup', - url: '/pakin/leftovers' - }, + // { + // title: '璁㈠崟鍏ュ簱', + // name: 'orderPakin', + // color: 'red', + // cuIcon: 'pullup', + // url: '/order/orderList' + // }, + // { + // title: '鎷f枡绔欏埌绔�', + // name: 'leftover', + // color: 'orange', + // cuIcon: 'pullup', + // url: '/pakin/leftovers' + // }, - // { - // title: '骞冲簱鍏ュ簱', - // name: 'POrderPakin', - // color: 'purple', - // cuIcon: 'pullup', - // url: '/pingku/POrderList' - // }, - // { - // title: '骞冲簱鍑哄簱', - // name: 'POrderPakin', - // color: 'cyan', - // cuIcon: 'pullup', - // url: '/pingku/POrderListOut' - // }, { - title: '鍛煎彨Agv', - name: 'AGVStart', - color: 'green', - cuIcon: 'order', - url: '/AGV/AGVStart' + title: '骞冲簱鍏ュ簱', + name: 'POrderPakin', + color: 'purple', + cuIcon: 'pullup', + url: '/pingku/POrderList' }, { - title: 'Agv鍌ㄤ綅瑙g粦', - name: 'AGVUnbind', - color: 'orange', - cuIcon: 'order', - url: '/AGV/AGVUnbind' - },{ - title: '鐩樼偣', - name: 'stockCheck', - color: 'red', - cuIcon: 'post', - url: '/stock/stockCheck' + title: '骞冲簱鍑哄簱', + name: 'POrderPakin', + color: 'cyan', + cuIcon: 'pullup', + url: '/pingku/POrderListOut' }, + // { + // title: '鍛煎彨Agv', + // name: 'AGVStart', + // color: 'green', + // cuIcon: 'order', + // url: '/AGV/AGVStart' + // }, + // { + // title: 'Agv鍌ㄤ綅瑙g粦', + // name: 'AGVUnbind', + // color: 'orange', + // cuIcon: 'order', + // url: '/AGV/AGVUnbind' + // },{ + // title: '鐩樼偣', + // name: 'stockCheck', + // color: 'red', + // cuIcon: 'post', + // url: '/stock/stockCheck' + // }, // { // title: '缁勬墭涓婃灦', // name: 'putOn', @@ -108,13 +108,13 @@ // cuIcon: 'pulldown', // url: '/order/orderPutDown' // }, - // { - // title: '搴撳瓨鏌ヨ', - // name: 'stockQuery', - // color: 'green', - // cuIcon: 'check', - // url: '/stock/stockQuery' - // }, + { + title: '搴撳瓨鏌ヨ', + name: 'stockQuery', + color: 'green', + cuIcon: 'check', + url: '/stock/stockQuery' + }, // { // { diff --git a/pages/pingku/POrderPakin.vue b/pages/pingku/POrderPakin.vue index a4ec86a..967bf10 100644 --- a/pages/pingku/POrderPakin.vue +++ b/pages/pingku/POrderPakin.vue @@ -435,19 +435,19 @@ this.messageToggle('error') return; } - // for (var i = 0; i < that.dataList.length; i++) { - // if (that.dataList[i].review !== "宸插鏍�" ) { - // this.messageText = that.dataList[i].matnr + '鏈鏍�' - // this.messageToggle('error') - // return; - // } - // if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { - // this.messageText = that.dataList[i].matnr + '缁勬墭鏁伴噺涓嶈兘涓�0' - // this.messageToggle('error') - // return; - // } + for (var i = 0; i < that.dataList.length; i++) { + if (that.dataList[i].review !== "宸插鏍�" ) { + this.messageText = that.dataList[i].matnr + '鏈鏍�' + this.messageToggle('error') + return; + } + if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { + this.messageText = that.dataList[i].matnr + '缁勬墭鏁伴噺涓嶈兘涓�0' + this.messageToggle('error') + return; + } - // } + } uni.request({ url: that.baseUrl + '/mobile/pingKu/Shelves/auth', data: JSON.stringify({ diff --git a/pages/pingku/POrderPakinOut.vue b/pages/pingku/POrderPakinOut.vue index afb25d5..a9a7072 100644 --- a/pages/pingku/POrderPakinOut.vue +++ b/pages/pingku/POrderPakinOut.vue @@ -11,7 +11,7 @@ <view class="item"> <view class="code-decs">搴撲綅鐮�:</view> <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="locNo" :focus="barcodeFocus" - > + @input="barcodeInput()" > </view> <view class="item"> <view class="code-decs">鐗╂枡鐮�:</view> @@ -211,16 +211,7 @@ barcodeInput() { // 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏� setTimeout(() => { - var len = this.barcode.length - if (len >= 9 && len <=8) { - uni.showToast({ - title: '鎵樼洏鐮佹湁璇閲嶈瘯', - icon: "none", - position: 'top' - }); - this.barcodeFocuss() - return; - } + var len = this.barcode.length this.focuss() }, 200) }, @@ -435,19 +426,19 @@ this.messageToggle('error') return; } - // for (var i = 0; i < that.dataList.length; i++) { - // if (that.dataList[i].review !== "宸插鏍�" ) { - // this.messageText = that.dataList[i].matnr + '鏈鏍�' - // this.messageToggle('error') - // return; - // } - // if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { - // this.messageText = that.dataList[i].matnr + '缁勬墭鏁伴噺涓嶈兘涓�0' - // this.messageToggle('error') - // return; - // } + for (var i = 0; i < that.dataList.length; i++) { + if (that.dataList[i].review !== "宸插鏍�" ) { + this.messageText = that.dataList[i].matnr + '鏈鏍�' + this.messageToggle('error') + return; + } + if (that.dataList[i].anfme == 0 || that.dataList[i].anfme == '') { + this.messageText = that.dataList[i].matnr + '缁勬墭鏁伴噺涓嶈兘涓�0' + this.messageToggle('error') + return; + } - // } + } uni.request({ url: that.baseUrl + '/mobile/pingKu/unShelves/auth', data: JSON.stringify({ -- Gitblit v1.9.1