From 9668e0f946a7180d8a81841a338060dd59eb0f4f Mon Sep 17 00:00:00 2001 From: zhouyahui Date: Tue, 21 Aug 2018 12:08:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=9E=8D=E8=B5=84=E9=A2=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);