From ffee9cf95ba62dc86680ddfe4bbfc7fcb51ef1bf Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 07 四月 2022 16:04:01 +0800
Subject: [PATCH] 先款后修20220407

---
 force-app/main/default/classes/SelectAssetEstimateVMController.cls |   17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/force-app/main/default/classes/SelectAssetEstimateVMController.cls b/force-app/main/default/classes/SelectAssetEstimateVMController.cls
index 5b7e6ea..8a50dbe 100644
--- a/force-app/main/default/classes/SelectAssetEstimateVMController.cls
+++ b/force-app/main/default/classes/SelectAssetEstimateVMController.cls
@@ -1060,7 +1060,6 @@
         }
         checkedAssets=NumberSort;
         //2021-11-30 fy add LJPH-C8W8FV 缃《 end
-        System.debug('thh:' + checkedAssets);
     }
     
     //
@@ -2544,14 +2543,16 @@
             t = this.estimate.Contract_Start_Date__c.addMonths(Integer.valueOf(this.estimate.Contract_Range__c));
             t = t.addDays(-1);
             this.estimate.Contract_End_Date__c = t;
+            //浠ユ彁浜ゆ姤浠风殑鏃剁偣锛岄攣瀹氱粡閿�鍟嗙殑鍏堟鐘舵�侊紝decide鏃朵笉鍐嶆洿鏂扮粡閿�鍟嗙殑鎬ц川 thh 20220407 start
             //add      wangweipeng                   2021/12/26                     start
-            if(String.isNotBlank(this.estimate.Dealer__c)){
-                checkDealerId = this.estimate.Dealer__c;
-                onChDealerUpdate();
-            }else{
-                this.estimate.Is_RecognitionModel__c = false;
-            }
+            // if(String.isNotBlank(this.estimate.Dealer__c)){
+            //     checkDealerId = this.estimate.Dealer__c;
+            //     onChDealerUpdate();
+            // }else{
+            //     this.estimate.Is_RecognitionModel__c = false;
+            // }
             //add      wangweipeng                   2021/12/26                     end
+            //浠ユ彁浜ゆ姤浠风殑鏃剁偣锛岄攣瀹氱粡閿�鍟嗙殑鍏堟鐘舵�侊紝decide鏃朵笉鍐嶆洿鏂扮粡閿�鍟嗙殑鎬ц川 thh 20220407 end
             System.debug('---------345----'+this.estimate.Dealer__c+'-------'+this.estimate.Dealer__r.FirstParagraphEnd__c);
             // 浣嶇疆璋冩暣 鍦�1951 line
             // Date createdDate = this.estimate.CreatedDate == null ? System.today() : this.estimate.CreatedDate.date();
@@ -3545,4 +3546,4 @@
     // return returnValue;
     // 2021-09-10 tcm 鎺掑簭閫昏緫璋冩暣 end
     }
-    }
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.9.1