| | |
| | | } |
| | | checkedAssets=NumberSort; |
| | | //2021-11-30 fy add LJPH-C8W8FV 置顶 end |
| | | System.debug('thh:' + checkedAssets); |
| | | } |
| | | |
| | | // |
| | |
| | | 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(); |
| | |
| | | // return returnValue; |
| | | // 2021-09-10 tcm 排序逻辑调整 end |
| | | } |
| | | } |
| | | } |