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

@@ -474,7 +474,7 @@ describe('ShippingConversationProcessingCard', () => {
customerName: null, poNumber: 'PO-FIRST',
},
childOrderTasks: [{
orderTaskNo: 'OT-EML-WITH-CHILD-OT-C1', status: 'blocked', stage: 'inventory_matching',
orderTaskNo: 'OT-EML-WITH-CHILD-OT-C1', status: 'blocked', stage: 'onhand_matching',
customerName: null, poNumber: 'PO-SECOND', lastActivityAt: null,
}],
});
@@ -976,23 +976,23 @@ describe('ShippingConversationProcessingCard', () => {
status: 'waiting_review',
stage: 'waiting_review',
currentGate: {
gateCode: 'inventory_matching',
nextActionCode: 'open_inventory_match_review',
gateCode: 'onhand_matching',
nextActionCode: 'open_onhand_match_review',
blockingReasonCode: 'inventory_match_not_ready',
},
availableActions: ['open_inventory_match_review'],
availableActions: ['open_onhand_match_review'],
uiState: {
status: 'waiting_human',
stage: 'waiting_review',
lifecycleStage: 'order_review',
lifecycleEntries: [],
blocking_reason: { code: 'inventory_match_not_ready' },
primary_action: { code: 'open_inventory_match_review', i18nKey: null, parameters: {}, executionMode: 'immediate' },
primary_action: { code: 'open_onhand_match_review', i18nKey: null, parameters: {}, executionMode: 'immediate' },
secondary_actions: [],
},
}),
buildWorkItem('OT-PROC', {
stage: 'inventory_matching',
stage: 'onhand_matching',
}),
],
},
@@ -1006,7 +1006,7 @@ describe('ShippingConversationProcessingCard', () => {
expect(wrapper.findAll('[data-testid="shipping-processing-task-actions"]')).toHaveLength(0);
const task = wrapper.find('[data-testid="shipping-processing-task-OT-NEED"]');
expect(task.find('[data-testid="unified-action-primary"]').exists()).toBe(true);
expect(task.find('[data-testid="unified-action-primary"]').text()).toContain('open_inventory_match_review');
expect(task.find('[data-testid="unified-action-primary"]').text()).toContain('open_onhand_match_review');
await task.find('button').trigger('click');
await flushPromises();