|
@@ -137,7 +137,7 @@ const loadSummary = useDebounceFn(async () => {
|
|
|
totalDailyFuel: data?.totalDailyFuel || 0,
|
|
totalDailyFuel: data?.totalDailyFuel || 0,
|
|
|
cumulativeMixSand: data?.cumulativeMixSand || 0,
|
|
cumulativeMixSand: data?.cumulativeMixSand || 0,
|
|
|
cumulativeLiquidVolume: data?.cumulativeLiquidVolume || 0,
|
|
cumulativeLiquidVolume: data?.cumulativeLiquidVolume || 0,
|
|
|
- utilizationRate: Number(data?.utilizationRate || 0)
|
|
|
|
|
|
|
+ utilizationRate: Number(data?.utilizationRate || 0) * 100
|
|
|
}
|
|
}
|
|
|
} finally {
|
|
} finally {
|
|
|
summaryLoading.value = false
|
|
summaryLoading.value = false
|
|
@@ -177,7 +177,9 @@ function handleCurrentChange(value) {
|
|
|
|
|
|
|
|
function formatCellValue(row, prop) {
|
|
function formatCellValue(row, prop) {
|
|
|
if (prop === 'utilizationRate') {
|
|
if (prop === 'utilizationRate') {
|
|
|
- return row[prop] === null || row[prop] === undefined ? '-' : `${Number(row[prop]).toFixed(2)}%`
|
|
|
|
|
|
|
+ return row[prop] === null || row[prop] === undefined
|
|
|
|
|
+ ? '-'
|
|
|
|
|
+ : `${(Number(row[prop]) * 100).toFixed(2)}%`
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const value = row[prop]
|
|
const value = row[prop]
|