From d485a1c879587e90a62de19dad3b19b65b702869 Mon Sep 17 00:00:00 2001 From: guoshuang Date: Tue, 31 Dec 2024 14:34:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E9=A2=86=E6=96=99=E6=8F=90?= =?UTF-8?q?=E7=A4=BA=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/wms/Raw/ProductionREQ/index.vue | 4 ++-- src/pages/wms/Raw/ProductionREQ/model.ts | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/wms/Raw/ProductionREQ/index.vue b/src/pages/wms/Raw/ProductionREQ/index.vue index f64d7f9..19125c4 100644 --- a/src/pages/wms/Raw/ProductionREQ/index.vue +++ b/src/pages/wms/Raw/ProductionREQ/index.vue @@ -353,14 +353,14 @@ export default class ProductionREQ extends BasePage { this.isdisabled = false; if (this.model.SubmitCode == '200') { (this.$refs.uToast as any).show({ - title: '成功', + title: this.model.Submitmsg, type: 'success', }); this.mepty(); //this.getlist(); } else { (this.$refs.uToast as any).show({ - title: '失败', + title: this.model.Submitmsg, type: 'error', }); //this.getlist(); diff --git a/src/pages/wms/Raw/ProductionREQ/model.ts b/src/pages/wms/Raw/ProductionREQ/model.ts index 70d3622..e6e3e87 100644 --- a/src/pages/wms/Raw/ProductionREQ/model.ts +++ b/src/pages/wms/Raw/ProductionREQ/model.ts @@ -71,11 +71,13 @@ export class ProductionREQ extends VuexModule { const SubmitCode = result.code; return { SubmitCode }; } + Submitmsg: any = ''; @MutationAction async out(params: any) { const result: any = await http.post(url.lanjuwms.raw.ProductionREQ.NewConMaterialOutSCNew, params); const SubmitCode = result.code; - return { SubmitCode }; + const Submitmsg = result.msg; + return { SubmitCode, Submitmsg }; } warehouselist: any = []; @MutationAction