refactor(shipping-notice): 重构货代发货通知状态管理,移除废弃的process_status字段
统一货代发货通知的业务阶段为四个标准阶段:接收解析、订单复核、发货准备、上传完成 设置 ui_state 为前端唯一状态数据源,不再依赖 process_status 驱动业务流程 删除 shipping_notices 表的废弃 process_status 列及对应复合索引,新增数据库迁移脚本 替换全栈代码中所有对 process_status 的引用为生命周期、上传状态等领域字段 更新相关文档、测试用例与前端展示逻辑适配新的状态管理规则
This commit is contained in:
1 parent
6684e7181a
commit
5ef8329bd8
178 files changed
+5091
-1734
No files matched your search
@@ -558,6 +558,7 @@
|
||||
"resolveFailed": "解決衝突失敗,請重新整理後再試"
|
||||
},
|
||||
"shippingNoticeUi": {
|
||||
"stage": {"intakeParse": "接收解析", "orderReview": "訂單複核", "fulfillmentPrep": "發貨準備", "uploadComplete": "上傳完成"},
|
||||
"rpaModeBrowser": "真實 RPA",
|
||||
"rpaModeMock": "Mock RPA",
|
||||
"rpaModeUnknown": "RPA 模式未知",
|
||||
@@ -2579,6 +2580,33 @@
|
||||
},
|
||||
"shippingProcessing": {
|
||||
"batchStatusTitle": "批次處理狀態",
|
||||
"batchWorkbench": {
|
||||
"overview": {
|
||||
"totalFiles": "總檔案",
|
||||
"processing": "處理中",
|
||||
"completed": "已完成",
|
||||
"needsAction": "需處理",
|
||||
"completion": "完成 {percent}%",
|
||||
"processedOfTotal": "已處理 {completed}/{total}"
|
||||
},
|
||||
"groups": {
|
||||
"failed": "異常 · {count} 個檔案",
|
||||
"waitingHuman": "識別結果待確認 · {count} 個檔案",
|
||||
"processing": "處理中 · {count} 個檔案",
|
||||
"failedFallback": "失敗",
|
||||
"waitingFallback": "需確認",
|
||||
"processingFallback": "處理中"
|
||||
},
|
||||
"artifacts": {
|
||||
"title": "本批產物",
|
||||
"downloadAll": "批次下載本批 Excel",
|
||||
"download": "下載",
|
||||
"empty": "暫無可下載產物",
|
||||
"downloadFailed": "本批有 {count} 個產物下載失敗,請逐項重試",
|
||||
"singleDownloadFailed": "下載本批產物失敗"
|
||||
},
|
||||
"fileProcessing": "檔案處理中"
|
||||
},
|
||||
"batchFilesTotal": "共 {count} 個檔案",
|
||||
"batchComplete": "完成",
|
||||
"batchProcessed": "已處理",
|
||||
@@ -2595,8 +2623,9 @@
|
||||
"parsingAttachments": "正在解析附件",
|
||||
"emailMeta": "附件處理 · 系統處理中",
|
||||
"batchFilesUnavailable": "檔案明細暫不可用,請開啟批次工作台查看。",
|
||||
"openBatchWorkbench": "開啟批次工作台",
|
||||
"panelTitle": "本次處理中",
|
||||
"openBatchWorkbench": "開啟批次進度中心",
|
||||
"closeWorkbench": "關閉批次工作台",
|
||||
"panelTitle": "批次進度中心",
|
||||
"pendingMaterials": "待處理材料",
|
||||
"orderTasks": "訂單任務",
|
||||
"groupNeedsAction": "需要你處理 · {count} 個任務",
|
||||
@@ -2645,6 +2674,7 @@
|
||||
"status": {
|
||||
"processing": "處理中",
|
||||
"waiting_review": "待複核",
|
||||
"waiting_human": "待人工處理",
|
||||
"blocked": "已阻斷",
|
||||
"automating": "自動推進中",
|
||||
"completed": "已完成",
|
||||
|
||||
@@ -289,7 +289,7 @@
|
||||
"poll_freight_upload_rpa": "重新整理貨代上傳進度",
|
||||
"retry_freight_upload_rpa": "重試貨代上傳 RPA",
|
||||
"regenerate_manual_upload_todo": "重新產生待上傳待辦",
|
||||
"mark_manual_uploaded": "人工上傳登記"
|
||||
"mark_manual_uploaded": "確認已人工上傳"
|
||||
},
|
||||
"reasons": {
|
||||
"freeze_not_ready": "訂單尚未滿足建單/凍結條件",
|
||||
@@ -426,7 +426,6 @@
|
||||
"line_index": "行號",
|
||||
"field_code": "欄位",
|
||||
"request_id": "請求編號",
|
||||
"process_status": "處理狀態",
|
||||
"match_status": "匹配狀態",
|
||||
"task_no": "任務編號",
|
||||
"has_inventory_lines": "是否已有庫存行",
|
||||
@@ -445,7 +444,7 @@
|
||||
"openTask": "打開任務",
|
||||
"openProcessingHint": "單票校對、改單與履約登記請在訂單處理工作台完成。",
|
||||
"openProcessingUnavailable": "暫無法定位識別任務,請從原對話打開訂單處理工作台。",
|
||||
"progressSummary": "目前:{stage} · {current}/{total}",
|
||||
"progressSummary": "目前階段:{stage}",
|
||||
"progressBlocker": "目前阻斷:{reason}",
|
||||
"intakeParseBadge": "材料解析",
|
||||
"buckets": {
|
||||
|
||||
Reference in new issue
Block a user