fix(overseas-pda): stabilize receiving state flow

This commit is contained in:
2026-08-27 15:56:13 +08:00
parent 7624f83d1e
commit 3fdfcb659a
5 changed files with 26 additions and 10 deletions
+3
View File
@@ -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),