From 99f4df4fa37075ff41b68f74921527e30f0c525b Mon Sep 17 00:00:00 2001 From: zwl <1051256694@qq.com> Date: 星期一, 01 九月 2025 11:01:14 +0800 Subject: [PATCH] 新增AGV补空托盘 --- pages/pakin/pakin.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue index 1e1d3d6..2eb054b 100644 --- a/pages/pakin/pakin.vue +++ b/pages/pakin/pakin.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> @@ -172,10 +172,11 @@ }, // barcode input 浜嬩欢 barcodeInput() { + this.barcode = this.barcode.replace(/^\{|\}$/g, '') // 涓嶈缃畾鏃跺櫒 浼氬嚭鐜版壂鍏ョ殑瀛楃涓蹭笉鍏� setTimeout(() => { var len = this.barcode.length - if (len != 8) { + if (len != 3) { uni.showToast({ title: '鎵樼洏鐮佹湁璇閲嶈瘯', icon: "none", -- Gitblit v1.9.1