111
沙世明
2022-11-22 928399eceec50e3d37ea08669a12789a9410a9d2
force-app/main/default/classes/NewPaymentPlanLoadController.cls
@@ -104,7 +104,7 @@
         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)) {
@@ -205,17 +205,12 @@
   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;
   }
@@ -446,12 +441,14 @@
            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 += '、';