Commit d966a78f36a4976bc42769500653dcc148ce94dd
1 parent
ec2e0b1a
金额 分处理成元
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/incomeOverview/index.vue
... | ... | @@ -44,7 +44,7 @@ |
44 | 44 | let data = response.data.data |
45 | 45 | this.incomeTotal = data.totalPay |
46 | 46 | //this.incomeTotal = common.formatNumToStr(this.incomeTotal) |
47 | - this.incomeTotal = common.formatNumToStr(Math.round(this.incomeTotal)/100) | |
47 | + this.incomeTotal = common.formatNumToStr(Math.round(this.incomeTotal/100)) | |
48 | 48 | this.barChartOption.barColor[0].value = Math.round(data.aliPay/100) |
49 | 49 | this.barChartOption.barColor[1].value = Math.round(data.wxPay/100) |
50 | 50 | this.barChartOption.barColor[2].value = Math.round(data.otherPay/100) | ... | ... |