From 31fed600bc2aaca42ca64b74b18e343a2bc17fdf Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期四, 20 四月 2023 17:36:17 +0800
Subject: [PATCH] 测试

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