feat(订单导出): 实收数量列读取持久字段
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user