fix(overseas-pda): stabilize receiving state flow
This commit is contained in:
@@ -15,6 +15,9 @@ export function normalizeReceivingInbound(value = {}) {
|
||||
export function normalizeReceivingCandidate(value = {}) {
|
||||
return {
|
||||
...value,
|
||||
containerNo: String(value.containerNo || '').trim(),
|
||||
planCount: number(value.planCount),
|
||||
inboundCodeCount: number(value.inboundCodeCount),
|
||||
destinationCodes: Array.isArray(value.destinationCodes) ? value.destinationCodes.filter(Boolean) : [],
|
||||
plannedPalletCount: number(value.plannedPalletCount),
|
||||
totalPackages: number(value.totalPackages),
|
||||
|
||||
Reference in New Issue
Block a user