| | |
| | | </view> |
| | | <view class="section-body"> |
| | | <view class="detail-row"> |
| | | <text class="label">序号</text> |
| | | <text class="value">{{ detail.index ?? '-' }}</text> |
| | | <text class="label">产品类型</text> |
| | | <text class="value">{{ detail.parentName || '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="label">产品大类</text> |
| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="section-card"> |
| | | <view class="section-head"> |
| | | <view class="section-dot"></view> |
| | | <text class="section-title">其他信息</text> |
| | | </view> |
| | | <view class="section-body"> |
| | | <view class="detail-row"> |
| | | <text class="label">备注</text> |
| | | <text class="value value-num">{{ detail.remark ?? '-' }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view v-else class="empty"> |
| | | <text class="empty-text">暂无详情数据</text> |
| | |
| | | const d = typeof raw === 'object' ? raw : {} |
| | | return { |
| | | index: d.index ?? 1, |
| | | parentName: d.parentName, |
| | | productName: d.productName, |
| | | model: d.model, |
| | | unit: d.unit, |
| | | qualitity: d.qualitity, |
| | | lockedQuantity: d.lockedQuantity, |
| | | unLockedQuantity: d.unLockedQuantity, |
| | | updateTime: d.updateTime |
| | | updateTime: d.updateTime, |
| | | remark: d.remark, |
| | | } |
| | | } |
| | | |