From 7376616d73872e7d9ee9cd4e224f3fc9b6bceb81 Mon Sep 17 00:00:00 2001 From: liuqimichale <123456lq> Date: Sat, 16 Mar 2019 12:38:50 +0800 Subject: [PATCH] 收入单位处理 --- src/view/VHome.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/view/VHome.vue b/src/view/VHome.vue index 1cf8d1c..628b7cd 100644 --- a/src/view/VHome.vue +++ b/src/view/VHome.vue @@ -153,10 +153,10 @@ export default { orgIds: this.GLOBAL.orignId }).then((response)=>{ let data = response.data.data - this.incometotal = data.totalPay + this.incometotal = (data.totalPay/100).toFixed(0) this.barChartData = { - seriesData:[data.aliPay,data.wxPay,data.otherPay], - total:1 + seriesData:[(data.aliPay/100).toFixed(0),(data.wxPay/100).toFixed(0),(data.otherPay/100).toFixed(0)], + total:(data.totalPay/100).toFixed(0) } }).catch((response)=>{ console.log(response); -- libgit2 0.21.4