Commit 83185981 authored by 姜登's avatar 姜登

number

parent 28978386
Pipeline #22327 passed with stage
in 2 seconds
...@@ -119,7 +119,7 @@ class UserDetailService extends Service { ...@@ -119,7 +119,7 @@ class UserDetailService extends Service {
} else { } else {
listMap.set(detail[i].day, { money: parseFloat(detail[i].cost), amount: detail[i].pull_volume }); listMap.set(detail[i].day, { money: parseFloat(detail[i].cost), amount: detail[i].pull_volume });
} }
ret.overview.use_money += Number(parseFloat(detail[i].cost).toFixed(2)); ret.overview.use_money = Number((ret.overview.use_money + parseFloat(detail[i].cost)).toFixed(2));
ret.overview.use_amount += detail[i].pull_volume; ret.overview.use_amount += detail[i].pull_volume;
} }
if (listMap.size > 0) { if (listMap.size > 0) {
......
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