From 8531b2c65bd32cbae07d6f2ea456f0af5440dd30 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Fri, 24 Jan 2025 17:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=89=8D=E7=AB=AF=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/welcome/welcome_echarts.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 = {