From fd1234ddc5be42b9ec2fad9d9286cd2aa58eb0ef Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期二, 11 四月 2023 14:29:54 +0800
Subject: [PATCH] Merge branch 'LEX_dev' of http://47.92.229.245:8089/r/lightningupdate into LEX_dev

---
 force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js b/force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js
index d6c2e68..814dd7b 100644
--- a/force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js
+++ b/force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js
@@ -16,6 +16,7 @@
 	qisStatus;
 	contractnumber;
 	isaohuiproduct;
+    err;
 	@wire(CurrentPageReference)
      getStateParameters(currentPageReference) {
              console.log(111);
@@ -38,12 +39,10 @@
         }).then(result => {
             this.IsLoading = false;
             this.qisReportId = result.Id;
-            this.qisStatus = result.QIStatus;
-            this.QISInstallDate = result.QISInstallDate;
+            this.qisStatus = result.qIStatus;
+            this.QISInstallDate = result.qISInstallDate;
             this.contractnumber = result.contractnumber;
             this.isaohuiproduct = result.isaohuiproduct;
-            console.log('this.qisStatus='+this.qisStatus);
-            console.log('this.isaohuiproduct='+this.isaohuiproduct);
          	if (this.qisStatus!='鑽夋涓�' && this.qisStatus!='鍙栨秷') {
          		const evt = new ShowToastEvent({
                         title : '宸茬粡鎻愪氦',
@@ -116,9 +115,10 @@
         		}).then(result =>{
         			console.log('result'+result);
         			if (result!='鎴愬姛') {
+                        this.err = result;
         				const evt = new ShowToastEvent({
 	                        title : '鏇存柊澶辫触',
-	                        message: result,
+	                        message: this.err,
 	                        variant: 'error'
                     	});
                     	this.dispatchEvent(evt);

--
Gitblit v1.9.1