From 4a1cde0ffa4d24d8ec7bf52d90a20a99f709c01b Mon Sep 17 00:00:00 2001 From: zhangbb Date: Wed, 4 Sep 2019 11:42:52 +0800 Subject: [PATCH] =?UTF-8?q?1.=E6=B1=BD=E8=BD=A6=E7=B1=BB=E4=BC=A0=E7=BB=9F?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0GPS=E5=92=8C=E8=81=94=E5=90=88=E5=87=BA?= =?UTF-8?q?=E8=B5=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LoanSimulation/LoanBasicInfoBusiness.jsp | 7 +++++-- .../WEB-INF/etc/app/component/component-config.xml | 6 +++--- WebContent/WEB-INF/etc/jbo/jbo_calc.xml | 13 ++++++++++--- 3 files changed, 18 insertions(+), 8 deletions(-) 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 @@ - + +