From 40bd291dbc4b21e4c6dede5937db30eb61d77841 Mon Sep 17 00:00:00 2001 From: 黄千龙 <huangqianlong@prec-tech.com> Date: 星期二, 28 三月 2023 10:25:38 +0800 Subject: [PATCH] 上限合同NewPaymentPlanLoad页面 --- force-app/main/default/pages/NewPaymentPlanLoad.page | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/pages/NewPaymentPlanLoad.page b/force-app/main/default/pages/NewPaymentPlanLoad.page index a29fa40..3f262df 100644 --- a/force-app/main/default/pages/NewPaymentPlanLoad.page +++ b/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%;"> -- Gitblit v1.9.1