feat(in-transit-transfer): 落地证据流重解析并纳入货代与排程配套改动

外部单号进入异动档自然键,圈档按 T-2 成熟封顶,当前归档可单独重解析。同批带上 Crane 禁整页刷新、ODM 白名单降级、排程抽屉与执行记录日期窗,以及 YAML 库存源下线。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-10-22 00:48:37 +08:00
1 parent 911afa0f73
commit 4c2a7e2a23
145 files changed
+11695 -4214

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@
### 3.x 货代发货通知库存源补充需求
- **核心目标**:在订单解析阶段即确定库存查询来源(`source_code`),避免 RPA 抓错库存池;用户仅需确认来源编码,站点与仓库由系统配置生成。
- **自动匹配**:根据发货通知目的地/港口/仓库线索与 `freight_rpa_sources.yaml` 规则自动 adjudicate;唯一命中则 `resolved` 并继续流程。
- **自动匹配**:根据发货通知目的地/港口/仓库线索与数据库库存源配置(`freight_rpa_sources` 表,管理端维护)自动 adjudicate;唯一命中则 `resolved` 并继续流程。
- **人工确认**:无法唯一命中时进入 `inventory_source_review` 检查点,用户在聊天区选择或输入线索确认 `source_code`。
- **硬阻断**:库存源未稳定(`resolved` / `user_confirmed`)时,RPA、库存匹配、Excel 生成、货代上传均不得执行。
- **身份校验**:关联库存快照时校验 `source_code`、`site_id`、`warehouse_id` 与任务一致。