| | |
| | | |
| | | <view class="item-details"> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">设备编号</text> |
| | | <text class="detail-value">{{ item.uniqueCode || '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">规格型号</text> |
| | | <text class="detail-value">{{ item.deviceModel || '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">设备类型</text> |
| | | <text class="detail-value">{{ item.type || '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">责任人</text> |
| | | <text class="detail-value">{{ item.responsiblePerson || '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">设备状态</text> |
| | | <text |
| | | class="detail-value" |
| | | :class="item.status === 1 ? 'status-enabled' : 'status-disabled'" |
| | | > |
| | | {{ item.status === 1 ? '启用' : '停用' }} |
| | | </text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="detail-label">供应商</text> |
| | |
| | | @import '@/styles/sales-common.scss'; |
| | | |
| | | // 设备台账特有样式(所有样式都已包含在公共样式中) |
| | | |
| | | .status-enabled { |
| | | color: #67c23a; |
| | | } |
| | | |
| | | .status-disabled { |
| | | color: #f56c6c; |
| | | } |
| | | </style> |