首页报表优化
This commit is contained in:
parent
2dacef722a
commit
d97746dada
src/views/dashboard
|
@ -87,7 +87,7 @@ export default {
|
|||
}).forEach(item => {
|
||||
sum += item[key] == null ? 0 : item[key];
|
||||
})
|
||||
list.push(sum);
|
||||
list.push(sum.toFixed(2));
|
||||
}
|
||||
return list;
|
||||
},
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
end-placeholder="结束日期"
|
||||
@change="getData"
|
||||
:picker-options="pickerOptions"
|
||||
:clearable="false"
|
||||
/>
|
||||
</el-row>
|
||||
<daily-profit-report :bill-data="billData" width="100%" height="250px"/>
|
||||
|
|
Loading…
Reference in New Issue
Block a user