From d78a337df4af502f6e886dd4cb1533f2ec02843c Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 04 十月 2023 22:59:44 +0800 Subject: [PATCH] # --- pages/tzsk/AGV/AGVPakinBing.vue | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/tzsk/AGV/AGVPakinBing.vue b/pages/tzsk/AGV/AGVPakinBing.vue index fe7b191..d3c5147 100644 --- a/pages/tzsk/AGV/AGVPakinBing.vue +++ b/pages/tzsk/AGV/AGVPakinBing.vue @@ -2,7 +2,7 @@ <view> <view class="code"> <view class="item"> - <view class="code-decs">鎵樼洏鐮�:</view> + <view class="code-decs">鏂欑鐮�:</view> <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus" @input="barcodeInput()"> </view> @@ -192,11 +192,12 @@ // barcode input 浜嬩欢 barcodeInput() { // 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏� + this.barcode = this.barcode.split('_')[1] setTimeout(() => { var len = this.barcode.length if (len != 10) { uni.showToast({ - title: '鎵樼洏鐮佹湁璇閲嶈瘯', + title: '鏂欑鐮佹湁璇閲嶈瘯', icon: "none", position: 'top' }); @@ -214,7 +215,7 @@ that.stationCodeFocus = true; }, 100); }, - // 鎵樼洏鐮佹湁璇噸缃� + // 鏂欑鐮佹湁璇噸缃� barcodeFocuss() { let that = this; that.barcodeFocus = false; -- Gitblit v1.9.1