buli
2023-06-05 0f44cb1a0b7b36860e9ce81c1eac9e395d87f0b4
force-app/main/default/pages/NewPaymentPlanLoad.page
@@ -78,7 +78,16 @@
      //XLIU-CEP8WW LY 20220905 start
      var saveBT = '{!PageMCEElement.old_Is_RecognitionModel__c}';
      var payment = j$(escapeVfId('allPage:allForm:allBlock:paymentPlan:Term_Of_Payment__c')).val();
      // var Uplimit = j$(escapeVfId('allPage:allForm:allBlock:paymentPlan:Upperlimit')).val();
      var Uplimit = '{!UpperLimitPrice}';
      console.log('Uplimit='+Uplimit);
      if (saveBT =='true' && payment=='多次付款'){
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:bottom:PrintButton')).attr("disabled", true);
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:bottom:PrintButton')).attr("class", true);
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:PrintButton')).attr("disabled", true);
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:PrintButton')).attr("class", true);
      }
      if (Uplimit =='true'){
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:bottom:PrintButton')).attr("disabled", true);
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:bottom:PrintButton')).attr("class", true);
         j$(escapeVfId('allPage:allForm:allBlock:allButtons:PrintButton')).attr("disabled", true);
@@ -345,6 +354,7 @@
      <apex:selectList label="付款方式:" style="margin-right:3px" size="1" id="Term_Of_Payment__c" value="{!PageMCEElement.Term_Of_Payment__c}" onchange="ChangeTermofPaymentPlanJS();">
           <apex:selectOptions value="{!Term_Of_Payment}"/>
        </apex:selectList>
<!--         <apex:input id = "Upperlimit" style="display:none" value="{!PageMCEElement.agree_Upper_limit__c}"/> -->
        <apex:outputPanel style="display: {!IF(Check_Of_Payment, '', 'none')}" >
           <h2 style="margin-left:4%;">一次性付款:</h2>
           <p style="margin-left:4%;">