From 9f56d4f29496b0497e83a3accc53b39523ed5d80 Mon Sep 17 00:00:00 2001 From: zane Date: Fri, 11 Oct 2024 09:23:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/collect/relCode/operateRelCode.vue | 44 ++++---------------- src/views/collect/relCode/popRelCode.vue | 1 - 2 files changed, 7 insertions(+), 38 deletions(-) diff --git a/src/views/collect/relCode/operateRelCode.vue b/src/views/collect/relCode/operateRelCode.vue index 7143f071..4f6b5da8 100644 --- a/src/views/collect/relCode/operateRelCode.vue +++ b/src/views/collect/relCode/operateRelCode.vue @@ -12,10 +12,14 @@ - + @@ -297,11 +301,6 @@ detailList: [], checkPreInArray: [], errView: 0, - isCodeAlive: true, - isCheckResultAlive: true, - isBizDetailAlive: true, - isCodeDetailAlive: true, - isSickerAlive: true, actionEnable: false, formRules: { // productCode: [ @@ -433,35 +432,6 @@ refreshCodesPanel() { this.warnVisible = false; this.errVisible = false; - - this.isCodeAlive = false; - this.isBizDetailAlive = false; - this.isCodeDetailAlive = false; - this.isSickerAlive = false; - - this.$nextTick(() => { - //重新加载组件 - this.isCodeAlive = true; - this.isBizDetailAlive = true; - this.isCodeDetailAlive = true; - this.isSickerAlive = true; - - }); - - //选择性刷新 - if (this.isCheckResultAlive) { - this.isCheckResultAlive = false; - this.$nextTick(() => { - //重新加载组件 - this.isCheckResultAlive = true; - }); - } - }, - refreshOrder(orderQuery) { - this.relFormData = orderQuery; - this.scanCode = ""; - this.result = ""; - this.refreshCodesPanel() }, submit(val) { @@ -670,7 +640,7 @@ }, created() { - this.init() + this.init(); }, }; diff --git a/src/views/collect/relCode/popRelCode.vue b/src/views/collect/relCode/popRelCode.vue index 97c8db62..3d0d4951 100644 --- a/src/views/collect/relCode/popRelCode.vue +++ b/src/views/collect/relCode/popRelCode.vue @@ -1,7 +1,6 @@