From 095c3f7601f23ac6852a02f879a8afaf9dd33a0a Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 04 七月 2024 08:02:06 +0800 Subject: [PATCH] # --- pages/stock/restock.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/stock/restock.vue b/pages/stock/restock.vue index 867d921..b111f98 100644 --- a/pages/stock/restock.vue +++ b/pages/stock/restock.vue @@ -4,7 +4,7 @@ <view class="item"> <view class="code-decs">鎵樼洏鐮�:</view> <input type="text" placeholder=" 鎵爜 / 杈撳叆" v-model="barcode" :focus="barcodeFocus" - @input="search()"> + @input="barcodeInput()"> </view> <view class="item"> <view class="code-decs">鐗╂枡鐮�:</view> @@ -190,7 +190,9 @@ }) }, - + barcodeInput() { + this.focuss() + }, // 鎵樼洏鐮佹湁璇噸缃� barcodeFocuss() { let that = this; @@ -202,14 +204,12 @@ }, // 鍟嗗搧鍏夋爣娓呯┖閲嶇疆 focuss() { - // #ifdef APP let that = this; - that.focus = false; + that.matFocus = false; setTimeout(() => { that.matnr = ''; - that.focus = true; + that.matFocus = true; }, 100); - // #endif }, // 鎼滅储鐗╂枡 findMat() { @@ -364,7 +364,7 @@ combConfirm(type) { this.msgType = type this.title = '璀﹀憡' - this.content = '鏄惁纭鐩樼偣!' + this.content = '鏄惁纭琛ヨ揣!' this.$refs.combConfirm.open() }, combClose() { -- Gitblit v1.9.1