From d40b08fe2f48cf6efef4b8be8c75461f2fb2015d Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 26 六月 2024 14:42:12 +0800 Subject: [PATCH] # --- pages/pakin/pakin.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/pages/pakin/pakin.vue b/pages/pakin/pakin.vue index 8af03fd..e185d06 100644 --- a/pages/pakin/pakin.vue +++ b/pages/pakin/pakin.vue @@ -198,7 +198,8 @@ }, // 鍟嗗搧鍏夋爣娓呯┖閲嶇疆 focuss() { - this.focus = false; + this.barcodeFocus = false; + this.matFocus = false; setTimeout(() => { this.matnr = ''; this.matFocus = true; @@ -312,6 +313,7 @@ if (add) { this.dataList.unshift(mat) } + this.$forceUpdate() // 寮哄埗鍒锋柊 }, // 淇敼鎵瑰彿 revise(item, i) { -- Gitblit v1.9.1