Commit cce1778a authored by 1105332245's avatar 1105332245

总计

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