首页报表优化

This commit is contained in:
墨大叔 2024-09-07 17:40:00 +08:00
parent 2dacef722a
commit d97746dada
2 changed files with 2 additions and 1 deletions

View File

@ -87,7 +87,7 @@ export default {
}).forEach(item => { }).forEach(item => {
sum += item[key] == null ? 0 : item[key]; sum += item[key] == null ? 0 : item[key];
}) })
list.push(sum); list.push(sum.toFixed(2));
} }
return list; return list;
}, },

View File

@ -11,6 +11,7 @@
end-placeholder="结束日期" end-placeholder="结束日期"
@change="getData" @change="getData"
:picker-options="pickerOptions" :picker-options="pickerOptions"
:clearable="false"
/> />
</el-row> </el-row>
<daily-profit-report :bill-data="billData" width="100%" height="250px"/> <daily-profit-report :bill-data="billData" width="100%" height="250px"/>