From 521bb644177457834f9eac9f7cb96446529a14ea Mon Sep 17 00:00:00 2001 From: guoshuang Date: Wed, 25 Oct 2023 14:23:52 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E6=A3=80=E5=A2=9E=E5=8A=A0=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mes/ProductionQtyInsp/index.vue | 2 +- src/pages/mes/ProductionQtyInsp/model.ts | 5 +++-- src/pages/shouye/me.vue | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/pages/mes/ProductionQtyInsp/index.vue b/src/pages/mes/ProductionQtyInsp/index.vue index 53f5315..c785428 100644 --- a/src/pages/mes/ProductionQtyInsp/index.vue +++ b/src/pages/mes/ProductionQtyInsp/index.vue @@ -314,7 +314,7 @@ export default class productCheckReceipt extends BasePage { checkResult: this.productCodeList.value, }; await this.model.sendDestinationStations(params); - //this.uni.showToast({ title: '质检成功' }); + this.uni.showToast({ title: '质检完成' }); this.orderNo = ''; this.badMeg = ''; this.productCodeList = {}; diff --git a/src/pages/mes/ProductionQtyInsp/model.ts b/src/pages/mes/ProductionQtyInsp/model.ts index 07d98f8..40bd5cc 100644 --- a/src/pages/mes/ProductionQtyInsp/model.ts +++ b/src/pages/mes/ProductionQtyInsp/model.ts @@ -50,11 +50,12 @@ export class ProductionQtyInsp extends VuexModule { return { SubmitCode }; } //烘房出来下发搬运任务 + SubmitCodeone: any = ''; @MutationAction async sendDestinationStations(params: any) { const result: any = await http.post(url.lanjumes.product.sendDestinationStations, params); - const SubmitCode = result.code; - return { SubmitCode }; + const SubmitCodeone = result.code; + return { SubmitCodeone }; } @MutationAction async empty() { diff --git a/src/pages/shouye/me.vue b/src/pages/shouye/me.vue index 5e6d181..966ef35 100644 --- a/src/pages/shouye/me.vue +++ b/src/pages/shouye/me.vue @@ -95,7 +95,8 @@ export default class RawHome extends BasePage { async checkupdate() { try { this.checkversion = await model.checkupdate(); - let versionNumber = this.compareVersion(this.version, this.checkversion.Version); + const queryversion = this.checkversion.Version.match(/\d+\.\d+\.\d+/)[0]; + let versionNumber = this.compareVersion(this.version, queryversion); versionNumber = 1; if (versionNumber == -1) { // 版本更新提示