From 176aa7e9ef2002158bcf5c1a8deb5423875f6aa0 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 03 四月 2024 09:20:03 +0800 Subject: [PATCH] # --- pages/tzsk/AGV/AGVPakinBing.vue | 7 ++----- 1 files changed, 2 insertions(+), 5 deletions(-) diff --git a/pages/tzsk/AGV/AGVPakinBing.vue b/pages/tzsk/AGV/AGVPakinBing.vue index 8db7e37..b81b91c 100644 --- a/pages/tzsk/AGV/AGVPakinBing.vue +++ b/pages/tzsk/AGV/AGVPakinBing.vue @@ -201,7 +201,7 @@ stationCodeInput() { setTimeout(() => { var len = this.stationCode.length - if (len != 15) { + if (len != 7) { this.stationCode = '' this.stationCodeFocus = true uni.showToast({ @@ -217,12 +217,9 @@ // barcode input 浜嬩欢 barcodeInput() { // 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏� - if (this.barcode.split('_')[1]) { - this.barcode = this.barcode.split('_')[1] - } setTimeout(() => { var len = this.barcode.length - if (len != 10) { + if (len != 6) { uni.showToast({ title: '鏂欑鐮佹湁璇閲嶈瘯', icon: "none", -- Gitblit v1.9.1