feat: support dropship pallet loading
This commit is contained in:
@@ -91,6 +91,10 @@ export interface LoadingItem {
|
||||
chineseName: string | null
|
||||
englishName: string | null
|
||||
goodsImageUrl: string | null
|
||||
unitType: 'PACKAGE' | 'SEALED_PALLET'
|
||||
palletId: string | null
|
||||
palletNo: string | null
|
||||
indivisible: boolean
|
||||
packageCount: number
|
||||
palletCount: number
|
||||
grossWeightKg: number
|
||||
@@ -240,6 +244,9 @@ function normalizeItem(raw: LoadingItem): LoadingItem {
|
||||
orderId: requiredId(raw.orderId),
|
||||
inboundId: requiredId(raw.inboundId),
|
||||
inboundDetailId: requiredId(raw.inboundDetailId),
|
||||
palletId: optionalId(raw.palletId),
|
||||
palletNo: raw.palletNo || null,
|
||||
indivisible: Boolean(raw.indivisible),
|
||||
productQuantity: String(raw.productQuantity ?? '0'),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user