Commit cce1778a authored by 1105332245's avatar 1105332245

总计

parent 7f9072fe
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</a-popconfirm> </a-popconfirm>
</template> </template>
<template slot="footer"> <template slot="footer">
<div class="total">总计: <span>{{totalMoney}}</span></div> <div class="total">总计: <span>{{form.chargeAmount||0}}</span></div>
</template> </template>
</a-table> </a-table>
<!--分页--> <!--分页-->
...@@ -204,15 +204,7 @@ export default { ...@@ -204,15 +204,7 @@ export default {
computed: { computed: {
...mapState({ ...mapState({
userInfo: (state) => state.common.userInfo userInfo: (state) => state.common.userInfo
}),
//总计
totalMoney(){
let money = 0;
this.dataList.forEach(item => {
money += item.paidAmount;
}) })
return money;
}
}, },
filters: { filters: {
payStyleFilters(value) { payStyleFilters(value) {
......
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