diff --git a/src/components/card/point-detail-card.vue b/src/components/card/point-detail-card.vue index eeecd07..cf557dc 100644 --- a/src/components/card/point-detail-card.vue +++ b/src/components/card/point-detail-card.vue @@ -62,19 +62,25 @@ const getStorageStatusTag = (location: StorageLocationInfo) => { if (location.is_occupied) { tags.push({ text: '已占用', color: 'error' }); } else { - tags.push({ text: '空闲', color: 'success' }); + tags.push({ text: '未占用', color: 'success' }); } if (location.is_locked) { tags.push({ text: '已锁定', color: 'warning' }); + } else { + tags.push({ text: '未锁定', color: 'success' }); } if (location.is_disabled) { tags.push({ text: '已禁用', color: 'error' }); + } else { + tags.push({ text: '未禁用', color: 'success' }); } if (location.is_empty_tray) { - tags.push({ text: '空托盘', color: 'processing' }); + tags.push({ text: '空托盘', color: 'success' }); + } else { + tags.push({ text: '非空托盘', color: 'warning' }); } return tags; @@ -185,9 +191,8 @@ const getStorageStatusTag = (location: StorageLocationInfo) => { align-items: center; justify-content: space-between; margin-bottom: 8px; - padding: 8px; + padding: 16px; border-radius: 4px; - border: 1px solid get-color(border1); &:last-child { margin-bottom: 0;