feat(shipping-notice): 添加货代履约策略管理功能,支持策略创建、发布及版本控制,增强订单冻结和预约管理逻辑

This commit is contained in:
hugo committed 2026-07-23 12:06:34 +08:00
1 parent abd8fc1e16
commit d62f5107b2
82 files changed
+4914 -514

No files matched your search

@@ -151,6 +151,17 @@ export function mapServerCandidate(remote: ShippingNoticeCandidateResponse): Shi
matchType: item.match_type,
matchedFields: listSafe(item.matched_fields),
createdAt: item.created_at,
reservationDifferences: (item.reservation_differences || []).map((difference) => ({
reservationId: difference.reservation_id,
previous: {
partNumber: difference.previous.part_number,
qty: difference.previous.qty,
},
proposed: {
partNumber: difference.proposed.part_number,
qty: difference.proposed.qty,
},
})),
})),
allowedActions: (remote.duplicate.allowed_actions || []) as ShippingDuplicateAction[],
}