feat(order): 订单工作台列表与订单导出增加复核时间 recheck_time
- 列表字段 ORDER_LIST_BASE_ATTRIBUTES 增加 recheck_time,工作台列表返回复核时间 - 订单导出 waybill/item 两种模式列配置增加「复核时间」列(recheck_status 后) - 导出行映射 commonFields 增加 recheck_time 格式化输出(空值输出空白)
This commit is contained in:
parent
6094f4720d
commit
d07e48c4af
@ -46,7 +46,7 @@ const ORDER_LIST_BASE_ATTRIBUTES = [
|
||||
'wave_scan_result',
|
||||
'post_status', 'storage_status', 'pick_status', 'pack_status',
|
||||
'inspection_status', 'print_status', 'confirm_print_status', 'claim_status',
|
||||
'outbound_status', 'lock_status', 'intercept_status', 'basket_number', 'recheck_status',
|
||||
'outbound_status', 'lock_status', 'intercept_status', 'basket_number', 'recheck_status', 'recheck_time',
|
||||
'create_channel',
|
||||
'store_id',
|
||||
];
|
||||
|
||||
@ -64,6 +64,7 @@ const ORDER_EXPORT_COLUMNS = Object.freeze([
|
||||
{ header: '出库状态', key: 'outbound_status', width: 14 },
|
||||
{ header: '复核状态', key: 'inspection_status', width: 14 },
|
||||
{ header: '复核完成状态', key: 'recheck_status', width: 16 },
|
||||
{ header: '复核时间', key: 'recheck_time', width: 20 },
|
||||
{ header: '配货状态', key: 'post_status', width: 14 },
|
||||
{ header: '打包状态', key: 'pack_status', width: 14 },
|
||||
{ header: '备注', key: 'remark', width: 30 },
|
||||
@ -115,6 +116,7 @@ const ORDER_EXPORT_ITEM_COLUMNS = Object.freeze([
|
||||
{ header: '出库状态', key: 'outbound_status', width: 14 },
|
||||
{ header: '复核状态', key: 'inspection_status', width: 14 },
|
||||
{ header: '复核完成状态', key: 'recheck_status', width: 16 },
|
||||
{ header: '复核时间', key: 'recheck_time', width: 20 },
|
||||
{ header: '配货状态', key: 'post_status', width: 14 },
|
||||
{ header: '打包状态', key: 'pack_status', width: 14 },
|
||||
{ header: '备注', key: 'remark', width: 30 },
|
||||
@ -480,6 +482,7 @@ class OrderExportService extends OrderBaseService {
|
||||
outbound_status: translateStatus('outbound_status', safeOrderRow.outbound_status),
|
||||
inspection_status: translateStatus('inspection_status', safeOrderRow.inspection_status),
|
||||
recheck_status: translateStatus('recheck_status', safeOrderRow.recheck_status),
|
||||
recheck_time: formatDateSafe(safeOrderRow.recheck_time),
|
||||
post_status: translateStatus('post_status', safeOrderRow.post_status),
|
||||
pack_status: translateStatus('pack_status', safeOrderRow.pack_status),
|
||||
archive_time: formatDateSafe(safeOrderRow.archive_time),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user