1.修改商务条件综合首付款金额计算错误问题。

This commit is contained in:
zhangbb 2019-01-18 15:18:26 +08:00
parent d34510fd95
commit e073f08330

View File

@ -894,6 +894,7 @@ function getRatioByMoney(e){
// var firstPayment = Number(getItemValue(0, 0, "FIRST_PAYMENT"));
if(allMoney != 0 ) {
setItemValue(0, 0, "ALL_FIRST_PAYMENT", firstPayment + "");
setItemValue(0, 0, "FIRST_PAYMENT", firstPayment + "");
setItemValue(0, 0, "ALL_FIRST_PAYMENT_RATIO", ((firstPayment / allMoney) * 100).toFixed(6));
setItemValue(0, 0, "ALL_FIRST_PAYMENT_RATIO_0", ((firstPayment / allMoney) * 100).toFixed(6));
}