From 7f7c2174f905f1d8b83c038e3d92058a3e47a7ad Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期三, 29 五月 2024 13:34:12 +0800 Subject: [PATCH] # --- pages/pakin/pakin.vue | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue index a3625b9..5612110 100644 --- a/pages/pakin/pakin.vue +++ b/pages/pakin/pakin.vue @@ -223,18 +223,18 @@ }, 200) }, asBarcodeInput() { - this.asBarcode = this.asBarcode.replace(/\s+/g, '') + // this.asBarcode = this.asBarcode.replace(/\s+/g, '') setTimeout(() => { - var len = this.asBarcode.length - if (len != 12) { - uni.showToast({ - title: 'AS400鏈夎璇烽噸璇�', - icon: "none", - position: 'top' - }); - this.asBarcodeFocuss() - return; - } + // var len = this.asBarcode.length + // if (len != 12) { + // uni.showToast({ + // title: 'AS400鏈夎璇烽噸璇�', + // icon: "none", + // position: 'top' + // }); + // this.asBarcodeFocuss() + // return; + // } this.focuss() }, 200) }, @@ -258,11 +258,11 @@ }, // 鍟嗗搧鍏夋爣娓呯┖閲嶇疆 focuss() { - this.focus = false; + this.matFocus = false; setTimeout(() => { this.matnr = ''; this.matFocus = true; - }, 100); + }, 200); }, codeInput(code) { switch (code) { -- Gitblit v1.9.1