feat(订单导出): 实收数量列读取持久字段
CI / server typecheck + tests (push) Canceled after 0s
CI / web typecheck + tests + miniprogram syntax (push) Canceled after 0s
CI / eslint (观察项,C7 骨架) (push) Canceled after 0s
CI / npm audit (critical 硬拦) (push) Canceled after 0s

This commit is contained in:
Ubuntu
2026-11-03 13:08:26 +08:00
parent 09e0d657ed
commit 3ccb07acf6
+3 -1
View File
@@ -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<DeliveryExportRow>[] = [
label: '实收数量',
group: 'item',
defaultSelected: true,
getValue: () => '',
getValue: (r) => fmtQty(r.received_qty ?? r.delivery_qty),
},
{
id: 'item_remark',