js字符类型修改成数字类型

master
zhengyongxing 4 years ago
parent 923851fea7
commit 10ddadece7

@ -509,7 +509,7 @@
}
}
var D_value = parseFloat(old_amount)-parseFloat(this_amount) + (withhold-oldwithhold);
var D_value = parseFloat(old_amount)-parseFloat(this_amount) + parseFloat(withhold-oldwithhold);
week_amount_find.find(".week_amount").text((parseFloat(week_amount) - D_value).toFixed(2));

@ -514,7 +514,7 @@
var this_amount = week_amount_find.find(".sum_money_span").text();
var D_value = parseFloat(old_amount)-parseFloat(this_amount) + (withhold-oldwithhold) ;
var D_value = parseFloat(old_amount)-parseFloat(this_amount) + parseFloat(withhold-oldwithhold) ;
week_amount_find.find(".week_amount").text((parseFloat(week_amount)-D_value).toFixed(2));
// week_amount_find.find(".week_amount_input").val((parseFloat(week_amount)-D_value- parseFloat(withhold)));

Loading…
Cancel
Save