细节优化

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