订单导出excel增加备注、买、卖家留言

This commit is contained in:
liufumingren 2026-07-06 17:17:50 +08:00
parent 70ad3153a1
commit 525e222351

View File

@ -61,6 +61,9 @@ const ORDER_EXPORT_COLUMNS = Object.freeze([
{ header: '复核完成状态', key: 'recheck_status', width: 16 },
{ header: '配货状态', key: 'post_status', width: 14 },
{ header: '打包状态', key: 'pack_status', width: 14 },
{ header: '备注', key: 'remark', width: 30 },
{ header: '买家留言', key: 'buyer_message', width: 30 },
{ header: '卖家留言', key: 'seller_message', width: 30 },
{ header: '归档时间', key: 'archive_time', width: 20 },
]);
@ -107,6 +110,9 @@ const ORDER_EXPORT_ITEM_COLUMNS = Object.freeze([
{ header: '复核完成状态', key: 'recheck_status', width: 16 },
{ header: '配货状态', key: 'post_status', width: 14 },
{ header: '打包状态', key: 'pack_status', width: 14 },
{ header: '备注', key: 'remark', width: 30 },
{ header: '买家留言', key: 'buyer_message', width: 30 },
{ header: '卖家留言', key: 'seller_message', width: 30 },
{ header: '归档时间', key: 'archive_time', width: 20 },
]);
@ -412,6 +418,9 @@ class OrderExportService extends OrderBaseService {
items_weight: this.normalizeExportCellValue(safeOrderRow.items_weight),
total_amount: this.normalizeExportCellValue(safeOrderRow.total_amount),
got_amount: this.normalizeExportCellValue(safeOrderRow.got_amount),
remark: this.normalizeExportCellValue(safeOrderRow.remark),
buyer_message: this.normalizeExportCellValue(safeOrderRow.buyer_message),
seller_message: this.normalizeExportCellValue(safeOrderRow.seller_message),
create_at: formatDateSafe(safeOrderRow.create_at),
pay_time: formatDateSafe(safeOrderRow.pay_time),
delivery_time: formatDateSafe(safeOrderRow.delivery_time),