| | |
| | | |
| | | PageMCEElement = PageMCE[0]; |
| | | //HWAG-BHT7XX 2019/11/26 START |
| | | agreeUpperLimit = PageMCE[0].agree_Upper_limit__c ; |
| | | agreeUpperLimit = PageMCE[0].URF_Contract__c ; |
| | | //HWAG-BHT7XX 2019/11/26 END |
| | | // fxk 2021/8/31 点检次数必须选 Star |
| | | // if (PageMCEElement.Inspection_Time__c == null || ''.equals(PageMCEElement.Inspection_Time__c) || '0'.equals(PageMCEElement.Inspection_Time__c)) { |
| | |
| | | public List<SelectOption> getTerm_Of_Payment() { |
| | | List<SelectOption> options = new List<SelectOption>(); |
| | | options.add(new SelectOption('一次性付款', '一次性付款')); |
| | | //URF限次合同2期 LY 20220811 start |
| | | //if (!PageMCEElement.old_Is_RecognitionModel__c){ |
| | | if (!PageMCEElement.URF_Contract__c){ |
| | | //URF限次合同2期 LY 20220811 end |
| | | options.add(new SelectOption('多次付款', '多次付款')); |
| | | } |
| | | //URF限次合同2期 LY 20220811 start |
| | | // if (PageMCEElement.URF_Contract__c || PageMCEElement.old_Is_RecognitionModel__c){ |
| | | // options.add(new SelectOption('一次性付款', '一次性付款')); |
| | | // }else { |
| | | // options.add(new SelectOption('一次性付款', '一次性付款')); |
| | | // options.add(new SelectOption('多次付款', '多次付款')); |
| | | // } |
| | | //URF限次合同2期 LY 20220811 end |
| | | return options; |
| | | } |
| | | |
| | |
| | | if (PageMCEElement.Engineer_Name__c == null || ''.equals(PageMCEElement.Engineer_Name__c)) { |
| | | requiredInput += '工程师姓名'; |
| | | } |
| | | if (PageMCEElement.Phone_Number__c == null || ''.equals(PageMCEElement.Phone_Number__c)) { |
| | | if (!''.equals(requiredInput)) { |
| | | requiredInput += '、'; |
| | | } |
| | | requiredInput += '手机号码'; |
| | | } |
| | | //URF限次合同2期 LY 20220920 start |
| | | // if (PageMCEElement.Phone_Number__c == null || ''.equals(PageMCEElement.Phone_Number__c)) { |
| | | // if (!''.equals(requiredInput)) { |
| | | // requiredInput += '、'; |
| | | // } |
| | | // requiredInput += '手机号码'; |
| | | // } |
| | | //URF限次合同2期 LY 20220920 end |
| | | if (PageMCEElement.Small_Repair_Time__c == null || ''.equals(PageMCEElement.Small_Repair_Time__c)) { |
| | | if (!''.equals(requiredInput)) { |
| | | requiredInput += '、'; |