| | |
| | | </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> |
| | |
| | | <text class="label">最近更新时间</text> |
| | | <text class="value">{{ detail.updateTime || '-' }}</text> |
| | | </view> |
| | | <view class="detail-row"> |
| | | <text class="label">备注</text> |
| | | <text class="value">{{ detail.remark || '-' }}</text> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | const d = typeof raw === "object" ? raw : {}; |
| | | return { |
| | | index: d.index ?? 1, |
| | | parentName: d.parentName, |
| | | productName: d.productName, |
| | | model: d.model, |
| | | unit: d.unit, |
| | |
| | | unLockedQuantity: d.unLockedQuantity ?? (d.qualitity - (d.lockedQuantity || 0)), |
| | | updateTime: d.updateTime, |
| | | typeLabel: "合格库存", |
| | | remark: d.remark, |
| | | }; |
| | | } |
| | | |