修改综合融资额问题
This commit is contained in:
parent
c113858772
commit
6da3f91c7d
@ -832,9 +832,10 @@ function getRatioByMoney(e){
|
||||
//¼ÆËã×ÛºÏÈÚ×ʶî
|
||||
if(e.id == "FIRST_PAYMENT") {
|
||||
firstPaymentRatio = Number(getItemValue(0, 0, "FIRST_PAYMENT"))/Number(equipAmt)*100;
|
||||
}
|
||||
}
|
||||
var ratio = 100 - Number(firstPaymentRatio);
|
||||
cleanLeaseMoney = equipAmt - Number(getItemValue(0, 0, "FIRST_PAYMENT")) + Number(allMoney);
|
||||
var firstPayment = equipAmt * Number(firstPaymentRatio) / 100;
|
||||
cleanLeaseMoney = equipAmt - firstPayment + Number(allMoney);
|
||||
setItemValue(0, 0, "RENT_RATIO", ((cleanLeaseMoney / equipAmt) * 100).toFixed(6) + "");
|
||||
setItemValue(0, 0, "CLEAN_LEASE_MONEY", cleanLeaseMoney + "");
|
||||
allMoney = eval(allMoney + "+" + equipAmt);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user