From fdef1f682351a5311fe96c5f0f1770a9623b985f Mon Sep 17 00:00:00 2001
From: zhangzhengmei <zhangzhengmei@prec-tech.com>
Date: 星期一, 17 四月 2023 16:42:16 +0800
Subject: [PATCH] 调拨申请->受理批量更新,取消,提交待审批 按钮修改

---
 force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js b/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
index 59e1cc3..edccdf5 100644
--- a/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
+++ b/force-app/main/default/lwc/lexVOCCheck/lexVOCCheck.js
@@ -52,8 +52,6 @@
         }).catch(error => {
             console.log("error");
             console.log(error);
-        }).finally(() => {
-            
         });
     }
 
@@ -95,11 +93,11 @@
                     personId:this.personId
                 }
             ).then(result =>{
-                if(result == null){
+                if(result){
+                    this.showToast(result,"error");
+                }else{
                     this.showToast("鎴愬姛","success");
                     this.updateRecordView(this.recordId);
-                }else {
-                    this.showToast(result,"error");
                 }
                 this.Isloading = false;   
                 this.dispatchEvent(new CloseActionScreenEvent());

--
Gitblit v1.9.1