diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfoBusiness.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfoBusiness.jsp index 80ecaa8a8..134aed524 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfoBusiness.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfoBusiness.jsp @@ -180,6 +180,7 @@ $(function(){ rentOrRateOption=$("#RENT_OR_RATE").children(); incomeNumberYear=$("#INCOME_NUMBER_YEAR").children(); adjustType=$("#ADJUST_TYPE").children(); + debugger; var fundRules=calcRules["fund"]; for(var key in fundRules){ $("#"+key).bind("change",function(){ @@ -191,7 +192,8 @@ $(function(){ }); } } - $("#EQUIP_AMT,#INSURANCE_PREMIUM,#EQUIP_END_VALUE,#OTHER_MONEY").bind("change",function(){ + + $("#EQUIP_AMT,#INSURANCE_PREMIUM,#EQUIP_END_VALUE,#OTHER_MONEY,#GPS_FEE,#PURCHASE_TAX").bind("change",function(){ getRatioByMoney(this); }); CalcControl.PeriodTypeView(); @@ -758,7 +760,7 @@ function getRatioByMoney(e){ var fundRules = calcRules["fund"]; var firstPayment = getItemValue(0,0,"FIRST_PAYMENT");//首付款 //计算总价款 - var allMoney = Number(equipAmt) + Number(getItemValue(0, 0, "INSURANCE_PREMIUM")) + Number(getItemValue(0, 0, "OTHER_MONEY")); + var allMoney = Number(equipAmt) + Number(getItemValue(0, 0, "INSURANCE_PREMIUM")) + Number(getItemValue(0, 0, "OTHER_MONEY")) + Number(getItemValue(0, 0, "GPS_FEE"))+ Number(getItemValue(0, 0, "PURCHASE_TAX"))- Number(getItemValue(0, 0, "UNITE_MONEY")); if(getItemValue(0, 0, "FIRST_PAYMENT_RATIO_0")) { var calcMoney = 0; if(fundRules["FIRST_PAYMENT"]["ratioFee"] == "EquipEndAmt"){//比例参照项 @@ -775,6 +777,7 @@ function getRatioByMoney(e){ setItemValue(0, 0, "TOTAL_ALL", allMoney + ""); for(var key in fundRules){ + debugger; if(key=="EQUIP_AMT"){ continue; } diff --git a/WebContent/WEB-INF/etc/app/component/component-config.xml b/WebContent/WEB-INF/etc/app/component/component-config.xml index 5410033a7..84c3417af 100644 --- a/WebContent/WEB-INF/etc/app/component/component-config.xml +++ b/WebContent/WEB-INF/etc/app/component/component-config.xml @@ -1096,8 +1096,8 @@ - - + + @@ -1107,4 +1107,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml index 5b497a11b..f00a9e851 100644 --- a/WebContent/WEB-INF/etc/jbo/jbo_calc.xml +++ b/WebContent/WEB-INF/etc/jbo/jbo_calc.xml @@ -761,7 +761,8 @@ - + + @@ -1053,6 +1054,8 @@ + + @@ -1384,6 +1387,8 @@ + + @@ -2694,7 +2699,8 @@ - + + @@ -3268,7 +3274,8 @@ - + +