From 959de5d7850bfc1cdf01cd0387ec52f9cf23ec2c Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 07 四月 2022 16:00:32 +0800
Subject: [PATCH] 先款后修20220407需求上线

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

diff --git a/force-app/main/default/classes/SelectAssetEstimateVMController.cls b/force-app/main/default/classes/SelectAssetEstimateVMController.cls
index 49e425a..9a02fd2 100644
--- a/force-app/main/default/classes/SelectAssetEstimateVMController.cls
+++ b/force-app/main/default/classes/SelectAssetEstimateVMController.cls
@@ -44,6 +44,7 @@
     //HWAG-B399Q8 2018/08/20  妫�楠屾槸鍚︽樉绀�'璇锋彁浜ゅ緟瀹℃壒' start
     public Boolean IS_Clone_After_Decide { get; set; }
     //HWAG-B399Q8 2018/08/20  妫�楠屾槸鍚︽樉绀�'璇锋彁浜ゅ緟瀹℃壒' end
+    
     static {
         recordNum = new List<SelectOption>();
         recordNum.add(new SelectOption('10', '10'));
@@ -2405,14 +2406,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();
@@ -3391,4 +3394,4 @@
     // return returnValue;
     // 2021-09-10 tcm 鎺掑簭閫昏緫璋冩暣 end
     }
-    }
\ No newline at end of file
+}
\ No newline at end of file

--
Gitblit v1.9.1