入库:
{formatDateTime(record.created_at)}
{record.status === 'using' && record.using_at && (
⏳ 使用中:
{formatDateTime(record.using_at)}
{usingDays !== null ? `(${usingDays.toFixed(1)} 天)` : ''}
)}
{record.mismatch_at && (
⚠️ 绑错:
{formatDateTime(record.mismatch_at)}
)}
{record.redeemed_at && (
✅ 发货:
{formatDateTime(record.redeemed_at)}
)}
{!record.redeemed_at && record.bound_at && (
🔗 绑定:
{formatDateTime(record.bound_at)}
)}
{!record.bound_at && !record.mismatch_at && record.claimed_at && (
📦 提货:
{formatDateTime(record.claimed_at)}
)}
)
},
},
{
title: '关联业务工单',
dataIndex: 'assigned_order_no',
width: 158,
render: (orderNo, record) => {
if (!orderNo) {
return
预期 UID:
{record.expected_uid || '-'}
扫码反查:
{record.actual_role_name ? `${record.actual_role_name} (${record.actual_role_id || '-'})` : '-'}
{isMismatch && record.mismatch_reason && (
{record.mismatch_reason}
)}
)
},
},
{
title: '备注',
width: 44,
align: 'center',
render: (_, record) => (
, label: '复制发货结果图' },
{ key: 'preview', icon:
, label: '预览高清大图' },
],
onClick: ({ key }) => {
if (key === 'copy') onCopyVoucher(record)
if (key === 'preview') onPreviewVoucher(record)
},
}}
>
}
loading={isCopying}
onClick={() => onCopyVoucher(record)}
style={{ width: 20, height: 20, padding: 0, fontSize: 11 }}
/>
}
onClick={() => onPreviewVoucher(record)}
style={{ width: 20, height: 20, padding: 0, fontSize: 11 }}
/>
)
},
},
{
title: '原始',
width: 44,
align: 'center',
render: (_, record) =>
record.raw_data ? (