feat(first-leg): reorder pickup choices and collect optional courier tracking

This commit is contained in:
2026-10-19 17:40:25 +08:00
parent 17580fb0a2
commit d910b24755
8 changed files with 52 additions and 7 deletions
@@ -120,6 +120,7 @@ function savePayload(draft: FirstLegOrderDraft, warehouse: ClientWarehouse, cust
productImageFileId: item.productImageFileId || undefined,
})),
pickupMethod: draft.pickupMethod,
expressTrackingNo: draft.pickupMethod === 'SELF_EXPRESS' ? draft.trackingNumber.trim() || undefined : undefined,
receivingWarehouseId: warehouse.id,
receivingWarehouseName: warehouse.name,
channelCode: draft.channelCode,