综合融资额计算

This commit is contained in:
zhouyahui 2018-07-18 09:23:22 +08:00
parent 709191935f
commit 01c9ecbd39

View File

@ -790,7 +790,8 @@ function getRatioByMoney(e){
var firstPaymentRatio = getItemValue(0, 0, "FIRST_PAYMENT_RATIO_0");
var ratio = 100 - Number(firstPaymentRatio);
if(ratio > 0 && allMoney != 0) {
cleanLeaseMoney = allMoney * (ratio / 100);
//cleanLeaseMoney = allMoney * (ratio / 100);
cleanLeaseMoney = allMoney-equipAmt*firstPaymentRatio/100;
setItemValue(0, 0, "RENT_RATIO", ((cleanLeaseMoney / equipAmt) * 100).toFixed(6));
setItemValue(0, 0, "CLEAN_LEASE_MONEY", cleanLeaseMoney);
}