Commit cff745de authored by 18083's avatar 18083

提前结清资管费

parent 69115d29
...@@ -248,7 +248,7 @@ ...@@ -248,7 +248,7 @@
var fund_possession_time = record.get('fund_possession_time')||0; var fund_possession_time = record.get('fund_possession_time')||0;
var btb_int_rate = record.get('btb_int_rate')||0; var btb_int_rate = record.get('btb_int_rate')||0;
var asset_possession_cost_result =value-sum_unreceived_principal*fund_possession_time*btb_int_rate/360; var asset_possession_cost_result =value-sum_unreceived_principal*fund_possession_time*btb_int_rate/360;
if(asset_possession_cost_result<0|| value == NaN || value == undefined) { if(asset_possession_cost_result<0|| asset_possession_cost_result == NaN || asset_possession_cost_result == undefined) {
record.set('asset_possession_cost', 0); record.set('asset_possession_cost', 0);
}else{ }else{
record.set('asset_possession_cost', asset_possession_cost_result); record.set('asset_possession_cost', asset_possession_cost_result);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment