From a8e17feaaaafd549c81ea7e18f5c968af28d9391 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 09 七月 2024 14:01:13 +0800 Subject: [PATCH] 工单清理,检测线段 --- 代码管理/太重PDA/pages/unpacking/unpacking.vue | 27 +++++++++++++++++++++++---- 1 files changed, 23 insertions(+), 4 deletions(-) diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/unpacking/unpacking.vue" "b/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/unpacking/unpacking.vue" index 015e165..bed2c0c 100644 --- "a/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/unpacking/unpacking.vue" +++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/\345\244\252\351\207\215PDA/pages/unpacking/unpacking.vue" @@ -53,6 +53,7 @@ cacheName: '', stationNo: '', stationName: '', + barcode2:'', istrue: true, cacheshow: false, stationshow: false, @@ -100,9 +101,27 @@ }, ///鏉$爜 barcodeInput: function(e) { - this.barcode = e.detail.value; - console.log(this.barcode); - console.log(uni.getStorageSync('jo_user')); + //this.from_address = e.detail.value; + this.$u.post("/api/Towms/GetStation", { + MainData: { + from_address: this.barcode, + //to_address:this.to_address, + //creator: uni.getStorageSync('jo_user').userName + } + }).then(res => { + console.log(res) + if (res.status) { + this.barcode2=this.barcode; + this.barcode = res.code; + //this.istrue = false; + //this.$t.message.toast(res.code); + } else { + this.istrue = true; + this.$t.message.toast(res.message); + } + }).catch(err => { + + }) }, //缂撳瓨鏋剁紪鍙� cacheConfirm(e) { @@ -130,7 +149,7 @@ // console.log(ip); this.$u.post("api/ToWms/agvTransferList", { MainData: { - sn: this.barcode, + sn: this.barcode2, jobID: this.jobID, // cacheNo: this.cacheNo, // address: this.stationNo, -- Gitblit v1.9.3