细节优化

This commit is contained in:
tx 2024-11-08 17:41:31 +08:00
parent b38b35154f
commit 23862df83a

View File

@ -90,8 +90,8 @@
<el-descriptions :column="3">
<el-descriptions-item label="总数">
<span
:style="{ color: deptInfo.vehicleVo.offlineDevices.length > 0 ? 'red' : 'gray' }">
{{ deptInfo.vehicleVo.offlineDevices.length }}
:style="{ color: deptInfo.vehicleVo.allOfflineNum > 0 ? 'red' : 'gray' }">
{{ deptInfo.vehicleVo.allOfflineNum }}
</span> |
<span >
{{ deptInfo.vehicleVo.allNum }}
@ -100,8 +100,8 @@
<el-descriptions-item label="仓库">
<span
:style="{ color: deptInfo.offlineStatusCount.inStashNum > 0 ? 'red' : 'gray' }">
{{ deptInfo.offlineStatusCount.inStashNum }}
:style="{ color: deptInfo.vehicleVo.allOfflineNum-deptInfo.vehicleVo.offlineNum > 0 ? 'red' : 'gray' }">
{{ deptInfo.vehicleVo.allOfflineNum-deptInfo.vehicleVo.offlineNum }}
</span> |
<span
>