From be8dc1e5c21fccf84cf25497d55e5261e93fbb35 Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期三, 02 八月 2023 17:01:29 +0800
Subject: [PATCH] 签收单 验收确认(经销商) 修改
---
force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js b/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
index d87684e..4598166 100644
--- a/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
+++ b/force-app/main/default/lwc/lexLostSubmitApproval/lexLostSubmitApproval.js
@@ -69,7 +69,7 @@
showToast(msg,type) {
const event = new ShowToastEvent({
- title: '',
+ // title: '',
message: msg,
variant: type
});
@@ -87,12 +87,15 @@
recordId: this.recordId
}).then(result=>{
if(result != '1'){
- this.showToast(result,"error");
+ this.showToast(result,"warning");
return
}
this.updateRecordView(this.recordId);
// this.showToast("鎻愪氦鎴愬姛","success");
this.dispatchEvent(new CloseActionScreenEvent());
})
+ .finally(()=>{
+ window.location.reload();
+ })
}
}
\ No newline at end of file
--
Gitblit v1.9.1