问题修改
This commit is contained in:
parent
78b92fa238
commit
f8f12c72a6
|
|
@ -619,7 +619,7 @@ function initOneCharts(list) {
|
||||||
// 租赁金额(运输车辆)
|
// 租赁金额(运输车辆)
|
||||||
function initTwoCharts(obj) {
|
function initTwoCharts(obj) {
|
||||||
const dataInfo = {
|
const dataInfo = {
|
||||||
status: '¥' + obj.payMoney,
|
status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'),
|
||||||
value: obj.progress
|
value: obj.progress
|
||||||
}
|
}
|
||||||
const color = '#3592FE'
|
const color = '#3592FE'
|
||||||
|
|
@ -770,7 +770,7 @@ function initTwoCharts(obj) {
|
||||||
// 租赁金额(吊车)
|
// 租赁金额(吊车)
|
||||||
function initThreeCharts(obj) {
|
function initThreeCharts(obj) {
|
||||||
const dataInfo = {
|
const dataInfo = {
|
||||||
status: '¥' + obj.payMoney,
|
status: '¥' + ((obj.payMoney + '').indexOf('.') > -1 ? obj.payMoney :obj.payMoney + '.00'),
|
||||||
value: obj.progress
|
value: obj.progress
|
||||||
}
|
}
|
||||||
const color = '#3592FE'
|
const color = '#3592FE'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue