Commit 3c14375a authored by 李智书's avatar 李智书

1.班周消费报告页面修改

parent e21474a7
......@@ -479,8 +479,8 @@
let sum = 0,
obj = {};
this_.consume_prefs.forEach(ele => {
obj[ele.scene] = parseInt(ele.amount)
sum += parseInt(ele.amount);
obj[ele.scene] = parseFloat(ele.amount)
sum += parseFloat(ele.amount);
})
myChart.setOption({
......@@ -591,7 +591,7 @@
data: this_.consume_prefs.map((v, index) => {
console.log(this_.consume_prefs);
return {
value: parseInt(v.amount),
value: parseFloat(v.amount),
name: v.scene,
itemStyle: {
normal: {
......
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