From 50ce6a5e5ae7ac6ce3e6281acca9a0db568306e6 Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期三, 23 八月 2023 14:54:59 +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 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js b/force-app/main/default/lwc/lexOCMSubmit/lexOCMSubmit.js
index d6c2e68..092e3fe 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 : '宸茬粡鎻愪氦',
@@ -93,7 +92,7 @@
return;
}
this.updateQisSubmit();
- if (this.isaohuiproduct == 'true') {
+ if (this.isaohuiproduct) {
this.dispatchEvent(new CloseActionScreenEvent());
this.updateRecordView(this.recordId);
}
@@ -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