From 3ccb07acf6a7cfd6e3fe34da4dbfe8cb5e2d1882 Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Tue, 3 Nov 2026 13:08:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=AE=A2=E5=8D=95=E5=AF=BC=E5=87=BA):=20?= =?UTF-8?q?=E5=AE=9E=E6=94=B6=E6=95=B0=E9=87=8F=E5=88=97=E8=AF=BB=E5=8F=96?= =?UTF-8?q?=E6=8C=81=E4=B9=85=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/exportColumnPresets.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/exportColumnPresets.ts b/src/utils/exportColumnPresets.ts index 0cda33f..67b640a 100644 --- a/src/utils/exportColumnPresets.ts +++ b/src/utils/exportColumnPresets.ts @@ -280,6 +280,8 @@ export type DeliveryExportRow = { base_unit?: string | null; weigh_qty_base?: number | null; delivery_qty?: number | null; + received_qty?: number | null; + received_unit?: string | null; box_no?: string; box_count?: number | null; processing_method?: string; @@ -421,7 +423,7 @@ export const DELIVERY_ITEM_COLUMNS: ExportColumnDef[] = [ label: '实收数量', group: 'item', defaultSelected: true, - getValue: () => '', + getValue: (r) => fmtQty(r.received_qty ?? r.delivery_qty), }, { id: 'item_remark',