feat(freight-rpa): 库存/收料改名在手/入站,报表归属RPA,类名统一FreightRpa

把 shipping 侧 inventory/receipt 词根迁到 onhand/inbound,29 张表与
枚举/权限/前端/i18n 同步改名;在手与入站报表配置及文件改由 freight_rpa
持有,发货与调拨仅按 source_code 消费;ORM 类加 FreightRpa 前缀,
上传动作改为 freight_rpa_upload。含类名与上传动作改名规格文档。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
hugoandCursor committed 2026-10-19 10:46:06 +08:00
1 parent ffc0d4a430
commit 39fe3c05f2
453 files changed
+17945 -8646

No files matched your search

@@ -296,8 +296,8 @@ export function normalizeLifecycleStatus(
const HUMAN_ACTION_CODES = new Set([
'confirm_customer', 'resolve_field_conflicts', 'adjudicate_duplicate',
'open_order_review', 'open_order_processing', 'enter_manual_review',
'open_inventory_match_review', 'rematch', 'match_inventory',
'open_shortage_review', 'upload_inventory_file', 'open_manual_upload',
'open_onhand_match_review', 'rematch', 'match_inventory',
'open_shortage_review', 'upload_onhand_file', 'open_manual_upload',
'wait_manual_upload', 'retry', 'retry_parse', 'retry_failed_documents',
'retry_failed_attachments', 'open_profile_review',
]);
@@ -308,7 +308,7 @@ const PROCESSING_LIFECYCLES = new Set([
'layout_parsing',
'extracting',
'building_order',
'inventory_matching',
'onhand_matching',
'generating_excel',
'upload_rpa_pending',
'upload_rpa_running',
@@ -337,7 +337,7 @@ export function mapLifecycleToNodeStatus(
status === 'layout_parsing'
|| status === 'extracting'
|| status === 'building_order'
|| status === 'inventory_matching'
|| status === 'onhand_matching'
|| status === 'generating_excel'
) {
return 'running';