From d07e48c4af1a8d276bd7c5711851488973a11d3f Mon Sep 17 00:00:00 2001 From: liufumingren Date: Thu, 8 Oct 2026 00:59:56 +0800 Subject: [PATCH] =?UTF-8?q?feat(order):=20=E8=AE=A2=E5=8D=95=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E5=8F=B0=E5=88=97=E8=A1=A8=E4=B8=8E=E8=AE=A2=E5=8D=95?= =?UTF-8?q?=E5=AF=BC=E5=87=BA=E5=A2=9E=E5=8A=A0=E5=A4=8D=E6=A0=B8=E6=97=B6?= =?UTF-8?q?=E9=97=B4=20recheck=5Ftime?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 列表字段 ORDER_LIST_BASE_ATTRIBUTES 增加 recheck_time,工作台列表返回复核时间 - 订单导出 waybill/item 两种模式列配置增加「复核时间」列(recheck_status 后) - 导出行映射 commonFields 增加 recheck_time 格式化输出(空值输出空白) --- app/service/systemMethods/order/base.js | 2 +- app/service/systems/order_export.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/service/systemMethods/order/base.js b/app/service/systemMethods/order/base.js index 7636e13..832fe6f 100644 --- a/app/service/systemMethods/order/base.js +++ b/app/service/systemMethods/order/base.js @@ -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', ]; diff --git a/app/service/systems/order_export.js b/app/service/systems/order_export.js index b036e18..fa3fc63 100644 --- a/app/service/systems/order_export.js +++ b/app/service/systems/order_export.js @@ -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),