前端问题修改

This commit is contained in:
cwchen 2025-01-24 17:52:04 +08:00
parent f8f12c72a6
commit 8531b2c65b
1 changed files with 3 additions and 3 deletions

View File

@ -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 = {