diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index 9691390e1..25139beac 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -834,7 +834,7 @@ function getRatioByMoney(e){ firstPaymentRatio = Number(getItemValue(0, 0, "FIRST_PAYMENT"))/Number(equipAmt)*100; } var ratio = 100 - Number(firstPaymentRatio); - cleanLeaseMoney = equipAmt * (ratio / 100) + Number(allMoney); + cleanLeaseMoney = equipAmt - Number(getItemValue(0, 0, "FIRST_PAYMENT")) + Number(allMoney); setItemValue(0, 0, "RENT_RATIO", ((cleanLeaseMoney / equipAmt) * 100).toFixed(6) + ""); setItemValue(0, 0, "CLEAN_LEASE_MONEY", cleanLeaseMoney + ""); allMoney = eval(allMoney + "+" + equipAmt);