From deccb99e1d6b3fc8d8a66ca41980e0962b716c8a Mon Sep 17 00:00:00 2001
From: zz <1842059105@qq.com>
Date: 星期二, 30 五月 2023 17:55:51 +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