修改综合融资额问题

This commit is contained in:
zhulianghua 2018-07-25 16:07:59 +08:00
parent c12ebf6a58
commit 305aa58382

View File

@ -802,7 +802,7 @@ function getRatioByMoney(e){
//¼ÆËã×ÛºÏÈÚ×ʶî
var firstPaymentRatio = getItemValue(0, 0, "FIRST_PAYMENT_RATIO_0");
var ratio = 100 - Number(firstPaymentRatio);
if(ratio > 0 && allMoney != 0) {
if(ratio > 0) {
cleanLeaseMoney = equipAmt * (ratio / 100) + Number(allMoney);
setItemValue(0, 0, "RENT_RATIO", ((cleanLeaseMoney / equipAmt) * 100).toFixed(6));
setItemValue(0, 0, "CLEAN_LEASE_MONEY", cleanLeaseMoney);