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

@@ -35,7 +35,7 @@ describe('useShippingProcessingWorkItem', () => {
workItemNo: 'OT-20260905-DAC55F90',
sourceType: 'eml',
status: 'waiting_review',
stage: 'inventory_matching',
stage: 'onhand_matching',
progressVersion: 24,
lastActivityAt: '2026-09-05T11:25:45Z',
submissionNo: 'SOS-1',
@@ -43,11 +43,11 @@ describe('useShippingProcessingWorkItem', () => {
userStatus: 'waiting_human',
uiState: {
status: 'waiting_human',
stage: 'inventory_matching',
stage: 'onhand_matching',
lifecycleStage: 'fulfillment_prep',
lifecycleEntries: [],
blocking_reason: { code: 'inventory_shortage_review_required' },
primary_action: { code: 'retry_inventory_matching' },
primary_action: { code: 'retry_onhand_matching' },
secondary_actions: [],
},
sourceSummary: {
@@ -87,7 +87,7 @@ describe('useShippingProcessingWorkItem', () => {
expect(api!.projection.value?.workItemNo).toBe('OT-20260905-DAC55F90');
expect(api!.projection.value?.userStatus).toBe('waiting_human');
expect(api!.projection.value?.uiState?.lifecycleStage).toBe('fulfillment_prep');
expect(api!.projection.value?.uiState?.primary_action?.code).toBe('retry_inventory_matching');
expect(api!.projection.value?.uiState?.primary_action?.code).toBe('retry_onhand_matching');
expect(api!.error.value).toBeNull();
});
});