From 6d009a31a0c36cf8aa5d19ab4b1d8c217b680d34 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 13 May 2024 17:22:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=84=A6=E7=82=B9=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/WarehouseManage/CheckDtl.vue | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pages/WarehouseManage/CheckDtl.vue b/pages/WarehouseManage/CheckDtl.vue index 7abdcde..b4381ee 100644 --- a/pages/WarehouseManage/CheckDtl.vue +++ b/pages/WarehouseManage/CheckDtl.vue @@ -9,8 +9,8 @@ @@ -113,7 +113,6 @@ }, data() { return { - focusedStatus: true, modelShow: false, value: '1', val0: '', @@ -144,6 +143,9 @@ this.checkCode = option.checkcode // this._checkQueryDtl() }, + mounted () { + this.$refs.scanChild.handleFocus() + }, methods: { goIn () { uni.navigateTo({ @@ -197,7 +199,7 @@ this.val1 = '' this.val2 = '' this.val3 = '' - this.focusedStatus = true + this.$refs.scanChild.handleFocus() uni.showToast({ title: res.message, icon: 'none' @@ -218,7 +220,7 @@ this.val1 = '' this.val2 = '' this.val3 = '' - this.focusedStatus = true + this.$refs.scanChild.handleFocus() uni.showToast({ title: res.message, icon: 'none'