Commit 7376616d73872e7d9ee9cd4e224f3fc9b6bceb81
1 parent
ad451a08
收入单位处理
Showing
1 changed file
with
3 additions
and
3 deletions
src/view/VHome.vue
... | ... | @@ -153,10 +153,10 @@ export default { |
153 | 153 | orgIds: this.GLOBAL.orignId |
154 | 154 | }).then((response)=>{ |
155 | 155 | let data = response.data.data |
156 | - this.incometotal = data.totalPay | |
156 | + this.incometotal = (data.totalPay/100).toFixed(0) | |
157 | 157 | this.barChartData = { |
158 | - seriesData:[data.aliPay,data.wxPay,data.otherPay], | |
159 | - total:1 | |
158 | + seriesData:[(data.aliPay/100).toFixed(0),(data.wxPay/100).toFixed(0),(data.otherPay/100).toFixed(0)], | |
159 | + total:(data.totalPay/100).toFixed(0) | |
160 | 160 | } |
161 | 161 | }).catch((response)=>{ |
162 | 162 | console.log(response); | ... | ... |