From 6e454c8c1add1d654334df3089770245f043bb2e Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期二, 18 七月 2023 20:30:38 +0800
Subject: [PATCH] 调拨发货 收货 耗材页面 分单 备品出借 应答沟通:To:备品中心/To:申请者 耗材 应答沟通-To:备品中心/To:申请者 备品出借的应答沟通 耗材申请的应答沟通

---
 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