From 36b0d5dc55d24726b63d9d5b4f50bc2d4e423418 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 19 四月 2023 09:19:34 +0800
Subject: [PATCH] 修改按钮4.19.1

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

diff --git a/force-app/main/default/lwc/lexAgencyAuthorize/lexAgencyAuthorize.js b/force-app/main/default/lwc/lexAgencyAuthorize/lexAgencyAuthorize.js
index 6cd891a..30da2db 100644
--- a/force-app/main/default/lwc/lexAgencyAuthorize/lexAgencyAuthorize.js
+++ b/force-app/main/default/lwc/lexAgencyAuthorize/lexAgencyAuthorize.js
@@ -4,7 +4,7 @@
  * @Author: chen jing wu
  * @Date: 2023-04-12 14:51:44
  * @LastEditors: chen jing wu
- * @LastEditTime: 2023-04-13 09:54:19
+ * @LastEditTime: 2023-04-19 09:11:02
  */
 import { api, wire,LightningElement } from 'lwc';
 import { CurrentPageReference } from "lightning/navigation";
@@ -101,10 +101,10 @@
         } else if (this.sapSendOK == '1') {
             this.showToast("宸茬粡涓婁紶SAP銆佷笉鑳藉仛鎺堟潈鐢宠浜嗭紒","error");
             return;
-        } else if (this.oppOrderType != '' && this.ifHave170 == true) {
+        } else if (this.oppOrderType != undefined && this.ifHave170 == true) {
             this.showToast("鑰楁潗涓嶅彲涓�170浜у搧鍚屾椂瀛樺湪锛�","error");
             return;
-        } else if (this.oppOrderType != '' && this.ifHaveAH == true) {
+        } else if (this.oppOrderType != undefined && this.ifHaveAH == true) {
             this.showToast("鑰楁潗涓嶅彲涓庡ゥ杈変骇鍝佸悓鏃跺瓨鍦紒","error");
             return;
         } else if (this.cntLostCancelDraft > 0) {
@@ -114,7 +114,7 @@
         } else if (this.cntLostCancelReport - this.cntLostCancelDraft > 0) {
             this.showToast('璇环鏈夊凡鎻愪氦鐨勫彇娑�/澶卞崟鎶ュ憡銆�',"error");
             return;
-        } else if (this.estimationId == '' || this.detailNum == 0) {
+        } else if (this.estimationId == undefined || this.detailNum == 0) {
             this.showToast('鎶ヤ环鏈畬鎴愶紝璇峰厛鎶ヤ环銆�',"error");
             return;
         } else if (this.estimationDecision == '1') {

--
Gitblit v1.9.1