feat(client): align account and order foundations

This commit is contained in:
2026-09-01 19:34:37 +08:00
parent c1e7ba411e
commit 1305ae4669
23 changed files with 602 additions and 258 deletions
@@ -183,9 +183,11 @@ function buildOrderDraft(row: QuickOrderRow, channel: QuickChannelOption): First
receivingWarehouseId: channel.warehouseId,
expectedDepartureDate: '',
shipperPartyId: '',
senderAddressId: '',
shipperPartySnapshot: null,
shipper: '',
consigneePartyId: '',
privateDestinationAddressId: '',
consigneePartySnapshot: row.destinationType === 'PRIVATE' && hasCompletePrivateContact(row)
? createConsigneeSnapshot(row) : null,
consignee: row.destinationType === 'PRIVATE' && hasCompletePrivateContact(row)
@@ -201,7 +203,7 @@ function buildOrderDraft(row: QuickOrderRow, channel: QuickChannelOption): First
channelName: channel.channelName,
pricingTaxMode,
taxMode: 'BUY_DECLARATION',
customsInspection: false,
customsInspection: null,
destinationType: row.destinationType,
amazonWarehouseCode: row.amazonWarehouseCode,
shipmentId: '',