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 + "");