feat(shipping-notice): 新增临时库存管理功能,支持创建会话、获取分析结果及字段映射建议
This commit is contained in:
1 parent
46eb63f5bb
commit
e9bdd81f1a
320 files changed
+28361
-10487
No files matched your search
@@ -111,11 +111,9 @@ function deriveCurrentIndex(task: ShippingTaskStepperSource | null | undefined):
|
||||
if (processStatus === 'waiting_upload' || processStatus === 'upload_failed' || hasExport) return 5;
|
||||
if (processStatus === 'matched') return 4;
|
||||
if (reviewStatus === 'shortage_review' || pendingReason === 'shortage_review' || pendingReason === 'shortage') return 4;
|
||||
if (reviewStatus === 'align_review' || pendingReason === 'align_review') return 3;
|
||||
if (processStatus === 'inventory_ready' || matchStatus) return 4;
|
||||
if (
|
||||
processStatus === 'waiting_inventory'
|
||||
|| pendingReason === 'map_infer'
|
||||
|| pendingReason === 'rpa_pending'
|
||||
|| pendingReason === 'inv_unavail'
|
||||
|| pendingReason === 'rpa_exhausted'
|
||||
@@ -167,7 +165,6 @@ export function buildShippingWorkflowSteps(
|
||||
|| pendingReason === 'inventory_source_unresolved'
|
||||
))
|
||||
|| (index === 2 && (pendingReason === 'inv_unavail' || pendingReason === 'rpa_exhausted'))
|
||||
|| (index === 3 && (reviewStatus === 'align_review' || pendingReason === 'align_review'))
|
||||
|| (index === 4 && (reviewStatus === 'shortage_review' || pendingReason === 'shortage_review' || pendingReason === 'shortage'))
|
||||
|| (index === 6 && processStatus === 'upload_failed')
|
||||
) {
|
||||
|
||||
Reference in new issue
Block a user