diff --git a/js/welcome/welcome_echarts.js b/js/welcome/welcome_echarts.js index 218571c..466aeb2 100644 --- a/js/welcome/welcome_echarts.js +++ b/js/welcome/welcome_echarts.js @@ -619,8 +619,8 @@ function initOneCharts(list) { // 租赁金额(运输车辆) function initTwoCharts(obj) { const dataInfo = { - status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'), - value: obj.progress + status: '¥' + obj.payMoney, + value: ((obj.progress + '').indexOf('.') > -1 ? obj.progress :obj.progress + '.00') } const color = '#3592FE' const option = { @@ -771,7 +771,7 @@ function initTwoCharts(obj) { function initThreeCharts(obj) { const dataInfo = { status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'), - value: obj.progress + value: ((obj.progress + '').indexOf('.') > -1 ? obj.progress :obj.progress + '.00') } const color = '#3592FE' const option = {