From f8f12c72a6a9b274483b7e73598dc93f3238cd33 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Fri, 24 Jan 2025 17:28:42 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- js/welcome/welcome_echarts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/welcome/welcome_echarts.js b/js/welcome/welcome_echarts.js index 24f82bc..218571c 100644 --- a/js/welcome/welcome_echarts.js +++ b/js/welcome/welcome_echarts.js @@ -619,7 +619,7 @@ function initOneCharts(list) { // 租赁金额(运输车辆) function initTwoCharts(obj) { const dataInfo = { - status: '¥' + obj.payMoney, + status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'), value: obj.progress } const color = '#3592FE' @@ -770,7 +770,7 @@ function initTwoCharts(obj) { // 租赁金额(吊车) function initThreeCharts(obj) { const dataInfo = { - status: '¥' + obj.payMoney, + status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'), value: obj.progress } const color = '#3592FE'