feat(shipping): 新增货代发货批量自动处理与任务重试功能

本次提交完整实现货代发货通知的自动化批量处理能力:
1.  新增发货单票后台任务类型与专用worker队列,实现任务持久化调度
2.  实现发货批次后台编排器,支持上传后自动逐票推进解析、匹配、导出全流程
3.  新增单票重试、批次待处理重试的API与前端操作界面
4.  补充全量多语言翻译,新增重试、任务列表、状态展示相关文案
5.  优化上传交互逻辑,改为后台自动处理任务,无需手动触发解析指令
6.  修复文件检核工具无数据预检逻辑,避免创建空检核批次
7.  调整发货工作流细节,优化Excel生成幂等性与任务状态同步
8.  更新环境配置与API文档,修正货代工具接口地址端口
This commit is contained in:
hugo committed 2026-06-23 11:22:09 +08:00
1 parent 70e8f700ff
commit 08360a4142
40 files changed
+2515 -371

No files matched your search

+15
View File
@@ -80,7 +80,22 @@
"currentTask": "Current task {taskId}",
"batchProgress": "Item {index}/{total}",
"batchCurrentIndex": "Currently processing item {index}/{total}",
"batchSummaryLine": "Batch {total} items · Completed {completed} · In progress {running} · Pending {pending}",
"currentNotice": "Current notice",
"currentStepLabel": "Current",
"stepHeadline": "Step {current}/{total} · {label}",
"stepFraction": "Step {current}/{total}",
"stepNeedsConfirm": "Step {step} needs confirmation",
"taskListResume": "Task List / Resume",
"taskListTitle": "Task List",
"taskListHint": "Switching tasks also updates the top Stepper and available actions",
"expandTaskList": "Expand list",
"collapseTaskList": "Collapse list",
"currentFocus": "Current focus →",
"runningState": "In progress",
"pendingState": "Pending",
"completedState": "Completed",
"queuedState": "Queued",
"prevTask": "Previous",
"nextTask": "Next",
"collapseTasks": "Hide tasks",
+15
View File
@@ -80,7 +80,22 @@
"currentTask": "งานปัจจุบัน {taskId}",
"batchProgress": "รายการ {index}/{total}",
"batchCurrentIndex": "กำลังประมวลผลรายการที่ {index}/{total}",
"batchSummaryLine": "ชุดนี้ {total} รายการ · เสร็จแล้ว {completed} · กำลังดำเนินการ {running} · รอดำเนินการ {pending}",
"currentNotice": "ใบแจ้งปัจจุบัน",
"currentStepLabel": "ปัจจุบัน",
"stepHeadline": "ขั้นตอน {current}/{total} · {label}",
"stepFraction": "ขั้นตอน {current}/{total}",
"stepNeedsConfirm": "ขั้นตอน {step} รอยืนยัน",
"taskListResume": "รายการงาน / ดำเนินการต่อ",
"taskListTitle": "รายการงาน",
"taskListHint": "เมื่อสลับงาน Stepper ด้านบนและการดำเนินการจะอัปเดตพร้อมกัน",
"expandTaskList": "ขยายรายการ",
"collapseTaskList": "ย่อรายการ",
"currentFocus": "โฟกัสปัจจุบัน →",
"runningState": "กำลังดำเนินการ",
"pendingState": "รอยืนยัน",
"completedState": "เสร็จแล้ว",
"queuedState": "อยู่ในคิว",
"prevTask": "ก่อนหน้า",
"nextTask": "ถัดไป",
"collapseTasks": "ซ่อนงาน",
+19
View File
@@ -80,7 +80,26 @@
"currentTask": "当前任务 {taskId}",
"batchProgress": "第 {index}/{total} 票",
"batchCurrentIndex": "当前处理第 {index}/{total} 票",
"batchSummaryLine": "本批 {total} 笔 · 已完成 {completed} · 进行中 {running} · 待处理 {pending}",
"currentNotice": "当前通知",
"currentStepLabel": "当前",
"stepHeadline": "步骤 {current}/{total} · {label}",
"stepFraction": "步骤 {current}/{total}",
"stepNeedsConfirm": "步骤 {step} 待确认",
"taskListResume": "任务列表 / 续办",
"retryPendingTasks": "重试未完成票",
"retryPendingDone": "已重新提交未完成票",
"retryFailed": "重试失败",
"retrying": "重试中...",
"taskListTitle": "任务列表",
"taskListHint": "切换任务后,对话顶部 Stepper 与操作同步更新",
"expandTaskList": "展开列表",
"collapseTaskList": "收起列表",
"currentFocus": "当前聚焦 →",
"runningState": "进行中",
"pendingState": "待确认",
"completedState": "已完成",
"queuedState": "排队中",
"prevTask": "上一票",
"nextTask": "下一票",
"collapseTasks": "收起任务",
@@ -160,6 +160,10 @@
"loadFailed": "加载失败",
"openChat": "在 Chat 中继续",
"download": "下载 Excel",
"retryCurrentTask": "重试当前票",
"retryCurrentDone": "已重新提交当前票",
"retryFailed": "重试失败",
"retrying": "重试中...",
"lines": "发货明细",
"qty": "数量",
"columns": {
+15
View File
@@ -80,7 +80,22 @@
"currentTask": "當前任務 {taskId}",
"batchProgress": "第 {index}/{total} 票",
"batchCurrentIndex": "當前處理第 {index}/{total} 票",
"batchSummaryLine": "本批 {total} 筆 · 已完成 {completed} · 進行中 {running} · 待處理 {pending}",
"currentNotice": "當前通知",
"currentStepLabel": "目前",
"stepHeadline": "步驟 {current}/{total} · {label}",
"stepFraction": "步驟 {current}/{total}",
"stepNeedsConfirm": "步驟 {step} 待確認",
"taskListResume": "任務列表 / 續辦",
"taskListTitle": "任務列表",
"taskListHint": "切換任務後,對話頂部 Stepper 與操作會同步更新",
"expandTaskList": "展開列表",
"collapseTaskList": "收起列表",
"currentFocus": "目前聚焦 →",
"runningState": "進行中",
"pendingState": "待確認",
"completedState": "已完成",
"queuedState": "排隊中",
"prevTask": "上一票",
"nextTask": "下一票",
"collapseTasks": "收起任務",