From 43aac46c4c586d2a906a63ec1dcaac3a49350448 Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期二, 01 八月 2023 19:52:17 +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