diff --git a/pages/bonus/index.vue b/pages/bonus/index.vue
index ab22769..05d15c5 100644
--- a/pages/bonus/index.vue
+++ b/pages/bonus/index.vue
@@ -9,7 +9,8 @@
- 昨日实发合计: {{toSum | toThousandthAndKeepDecimal}}
+ 本月合计: {{monthIncomeTotal | toThousandthAndKeepDecimal}}
+ 昨日合计: {{toSum | toThousandthAndKeepDecimal}}
@@ -93,7 +94,8 @@
page: {
pageSize: 50,
pageNum: 1,
- }
+ },
+ monthIncomeTotal: 0,
}
},
components: {
@@ -112,7 +114,9 @@
methods: {
getSum() {
api1.queryBonusTotal({}).then((res) => {
+ console.log(res, '....res====aa')
this.toSum = res.rows[0].realIncomeTotal
+ this.monthIncomeTotal = res.rows[0].monthIncomeTotal
})
},
bindPickerChange(e) {
@@ -148,12 +152,15 @@