From 2d0c3e982b4dbd9192a6d717488653a54afebcb2 Mon Sep 17 00:00:00 2001
From: 黄千龙 <huangqianlong@prec-tech.com>
Date: 星期四, 13 四月 2023 17:15:29 +0800
Subject: [PATCH] QIS按钮(发送QIS到SPO,OCSM服务本部收到实物)
---
force-app/main/default/lwc/oshRecieved/oshRecieved.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/lwc/oshRecieved/oshRecieved.js b/force-app/main/default/lwc/oshRecieved/oshRecieved.js
index b8a7590..12ad641 100644
--- a/force-app/main/default/lwc/oshRecieved/oshRecieved.js
+++ b/force-app/main/default/lwc/oshRecieved/oshRecieved.js
@@ -33,7 +33,7 @@
}).then(result => {
this.IsLoading = false;
this.qisReportId = result.Id;
- this.qisStatus = result.QIStatus;
+ this.qisStatus = result.qIStatus;
console.log('this.qisStatus='+this.qisStatus);
if (this.qisStatus!='OSH妫�娴嬬敵璇�' && this.qisStatus!='瀹屾瘯') {
const evt = new ShowToastEvent({
@@ -42,6 +42,8 @@
variant: 'error'
});
this.dispatchEvent(evt);
+ this.dispatchEvent(new CloseActionScreenEvent());
+ return;
}else{
this.updateQisSubmit();
}
--
Gitblit v1.9.1