From 76f201cd9b9f428d201306f85e0841648e8856df Mon Sep 17 00:00:00 2001 From: guoshuang Date: Mon, 12 Dec 2022 11:28:24 +0800 Subject: [PATCH] =?UTF-8?q?cosmoim-852=20fix=20=E6=88=90=E5=93=81=E5=85=A5?= =?UTF-8?q?=E5=BA=93bug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/login/login/index.vue | 2 +- src/pages/product/inbound/finishProductOffline/index.vue | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/login/login/index.vue b/src/pages/login/login/index.vue index 5f5223f..c1ad598 100644 --- a/src/pages/login/login/index.vue +++ b/src/pages/login/login/index.vue @@ -173,7 +173,7 @@ export default class LoginPage extends BasePage { //修改俄罗斯版本号 this.Version = '1.1.12'; } else { - this.Version = '1.0.45'; + this.Version = '1.0.46'; } console.log('////', this.Version); } diff --git a/src/pages/product/inbound/finishProductOffline/index.vue b/src/pages/product/inbound/finishProductOffline/index.vue index f075786..94780b9 100644 --- a/src/pages/product/inbound/finishProductOffline/index.vue +++ b/src/pages/product/inbound/finishProductOffline/index.vue @@ -158,7 +158,7 @@ export default class finishProductOfflineDom extends BasePage { await this.model.queryReturningTypeList(); this.form.aimWl = model.firstLocation; this.areaCode = model.firstLocation.areaCode; - console.log('this.areaCode', this.areaCode); + //console.log('this.areaCode', this.areaCode); } /** * 处理选择行 选中一条执行一次 @@ -257,6 +257,7 @@ export default class finishProductOfflineDom extends BasePage { this.customToast(this.$t('message.barcode') as string); return; } + console.log('扫描标志', this.model.searchCode); if (this.model.searchCode == '') { this.customToast(this.$t('message.barcode_PleaseScan') as string); return; @@ -315,6 +316,7 @@ export default class finishProductOfflineDom extends BasePage { this.materielList.push(this.model.materielList[0]); this.materielList[this.materielList.length - 1].locCode = this.form.aimWl.label; this.materielList[this.materielList.length - 1].index = this.materielList.length; + this.model.setSearchCode(); } else { let flag = 0; for (let i = 0; i < this.materielList.length; i++) { @@ -327,7 +329,9 @@ export default class finishProductOfflineDom extends BasePage { this.materielList.push(this.model.materielList[0]); this.materielList[this.materielList.length - 1].locCode = this.form.aimWl.label; this.materielList[this.materielList.length - 1].index = this.materielList.length; + this.model.setSearchCode(); } else { + this.model.setSearchCode(); this.customToast(this.$t('message.product_Tip7') as string); } }