From e8afde0f7886484caf8289b9ef18ef9827572d54 Mon Sep 17 00:00:00 2001 From: zhulianghua Date: Fri, 24 Aug 2018 20:06:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BB=BC=E5=90=88=E8=9E=8D?= =?UTF-8?q?=E8=B5=84=E9=A2=9D=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp index c14d1c969..e5ba455c1 100644 --- a/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp +++ b/WebContent/Accounting/LoanSimulation/LoanBasicInfo.jsp @@ -835,6 +835,9 @@ function getRatioByMoney(e){ } var ratio = 100 - Number(firstPaymentRatio); var firstPayment = equipAmt * Number(firstPaymentRatio) / 100; + if(Number(getItemValue(0, 0, "FIRST_PAYMENT")) != firstPayment) { + firstPayment = Number(getItemValue(0, 0, "FIRST_PAYMENT")); + } cleanLeaseMoney = equipAmt - firstPayment + Number(allMoney); setItemValue(0, 0, "RENT_RATIO", ((cleanLeaseMoney / equipAmt) * 100).toFixed(6) + ""); setItemValue(0, 0, "CLEAN_LEASE_MONEY", cleanLeaseMoney + "");