fix(shipping-notice,admin-schedule,frontend): 修复发货通知与后台排程的业务bug并优化各模块功能
1. 后端发货通知模块:
清空重试任务旧状态避免残留,新增RPA进度回调接口
优化库存匹配性能,修复人工确认校验逻辑与登录弹窗遮挡问题
新增排程worker启动脚本,清理冗余环境配置与缓存查询开销
2. 前端后台排程模块:
新增任务key归一化工具兼容历史格式,修复参数表单隐藏问题
添加加载错误处理,更新多语言文案替换裸JSON占位符
This commit is contained in:
1 parent
1e5aedb9ed
commit
06c18b3c7c
81 files changed
+3301
-424
No files matched your search
@@ -2253,9 +2253,12 @@
|
||||
"shippingInventorySourcesHelp": "Select the inventory sources to run; options come from the source config. Empty means all.",
|
||||
"dynamicParamsSelectPlaceholder": "Please select",
|
||||
"dynamicParamsOptionsLoading": "Loading options...",
|
||||
"dynamicParamsLoading": "Loading platform task parameters…",
|
||||
"dynamicParamsLoadFailed": "Failed to load platform task parameters. Please retry.",
|
||||
"dynamicParamsRetry": "Reload",
|
||||
"dynamicParamsNoOptions": "No options available",
|
||||
"dynamicParamsAdvanced": "Advanced config (JSON, optional)",
|
||||
"dynamicParamsAdvancedPlaceholder": "{\"timeout_seconds\": 300}",
|
||||
"dynamicParamsAdvancedPlaceholder": "Optional: paste advanced JSON object params, e.g. add a timeout_seconds key",
|
||||
"dynamicParamsAdvancedInvalid": "Advanced config JSON is invalid; fix it before it can be saved.",
|
||||
"dynamicParamsJsonInvalid": "JSON is invalid; fix it before it can be saved.",
|
||||
"dynamicParamsInvalid": "Fix invalid task parameters before saving.",
|
||||
@@ -2438,6 +2441,7 @@
|
||||
"headerLabelsJsonInvalid": "header_labels JSON format is invalid.",
|
||||
"apiHeadersJsonInvalid": "API Headers JSON format is invalid.",
|
||||
"runNowFailed": "Manual run failed",
|
||||
"runNowWaitTimeout": "Timed out waiting for the run to finish (about 15 min); auto refresh stopped, query records manually",
|
||||
"downloadExcelFailed": "Failed to download Excel",
|
||||
"downloadInventoryRawZipFailed": "Failed to download raw inventory ZIP",
|
||||
"deleteFailed": "Delete schedule failed"
|
||||
@@ -3504,7 +3508,7 @@
|
||||
"confirmReview": "Confirm review and add",
|
||||
"correctionInvalid": "A line correction must be a JSON field object.",
|
||||
"expectedRows": "Human truth (JSON array)",
|
||||
"expectedRowsPlaceholder": "[{\"customer_po_line_no\": \"00010\", \"part_number\": \"PN-1\", \"qty\": \"3\"}]",
|
||||
"expectedRowsPlaceholder": "Example line: customer_po_line_no=00010, part_number=PN-1, qty=3",
|
||||
"expectedRowsHint": "Enter at least one human-confirmed line truth; do not copy the candidate output.",
|
||||
"expectedRowsInvalid": "Truth must be a JSON array containing at least one non-empty line object.",
|
||||
"expectedOrderFields": "Order field truth (JSON object)",
|
||||
|
||||
@@ -1485,8 +1485,8 @@
|
||||
"descriptions": {"intake_parse": "Review the email body and current attachment, then resolve intake parsing issues.", "order_review": "Verify fields and evidence, resolve conflicts, and freeze the order.", "fulfillment_prep": "Complete inventory matching and generate the notice Excel.", "freight_upload": "Download the notice, run RPA or register a manual upload, and reconcile unknown results.", "upload_complete": "Shown only after complete upload-success evidence is verified."},
|
||||
"intakeParse": {"title": "Intake and parsing", "email": "Email body", "emailPreviewTitle": "Safe email body preview", "noEmail": "No email context", "attachment": "Current attachment", "fileName": "File name", "fileType": "File type", "preview": "Attachment preview", "previewLoading": "Loading attachment preview…", "loadPreview": "Load attachment preview", "previewUnsupported": "The current attachment is not a PDF and cannot be previewed here.", "loading": "Loading intake parsing context…", "loadFailed": "Failed to load intake parsing context.", "retry": "Retry"},
|
||||
"prepare": {"title": "Notice preparation", "subtitle": "Handle inventory candidates, matching issues, and notice generation here.", "frozenOrder": "Frozen order", "inventorySource": "Inventory source", "excel": "Shipping Excel", "downloadInventory": "Download inventory file", "retryInventory": "Re-fetch inventory", "releaseShortage": "Release shortage", "releaseShortageHint": "Release allows shipping Excel generation. State the reason for this shortage release.", "releaseReasonPlaceholder": "Enter release reason (required)", "releaseConfirm": "Confirm release", "requiredQty": "Required quantity", "matchWorkspace": "Inventory matching", "lineCount": "{count} inventory results", "lineStatus": "Match status", "matched": "Matched", "shortage": "Inventory shortage", "matchStatus": {"not_found": "Inventory not found", "preparing": "Preparing inventory", "mapping_failed": "Inventory mapping failed", "unavailable": "Inventory unavailable", "source_conflict": "Inventory source conflict", "invalid_key": "Invalid match key", "result_missing": "Awaiting match result", "unknown": "Unknown status"}, "pending": "Inventory matching or the shipping file is not ready yet. Use the current processing card to continue.", "loadFailed": "Failed to load notice preparation details; current data could not be confirmed.", "detailUnavailable": "Notice preparation details have not returned yet, so frozen order and inventory matching data cannot be shown.", "retry": "Reload"},
|
||||
"freightUpload": {"title": "Freight upload", "subtitle": "Grouped by shipping notice; each shipping notice has one Excel.", "loading": "Loading shipping notices…", "loadFailed": "Failed to load shipping notices. Refresh and try again.", "poMissing": "The current task has no recognized PO, so notices cannot be grouped yet.", "empty": "No uploadable shipping notices for this PO.", "download": "Download Excel", "lineNo": "Line", "selected": "{count} notices selected", "batchDownload": "Download selected", "batchRpa": "Batch RPA upload", "batchConfirm": "Confirm selected uploaded"},
|
||||
"uploadComplete": {"title": "Notification completion", "subtitle": "Upload-success evidence is verified. This view is read only."},
|
||||
"freightUpload": {"title": "Freight upload", "subtitle": "Grouped by shipping notice; each shipping notice has one Excel.", "loading": "Loading shipping notices…", "loadFailed": "Failed to load shipping notices. Refresh and try again.", "poMissing": "The current task has no recognized PO, so notices cannot be grouped yet.", "empty": "No uploadable shipping notices for this PO.", "download": "Download Excel", "lineNo": "Line", "lineNoSourceCustomerPo": "Customer PO line no.", "lineNoSourceSequence": "System sequence (internal line no. not recognized)", "selected": "{count} notices selected", "batchDownload": "Download selected", "batchRpa": "Batch RPA upload", "batchConfirm": "Confirm selected uploaded"},
|
||||
"uploadComplete": {"title": "Notification completion", "subtitle": "Upload-success evidence is verified. This view is read only.", "batchCount": "{count} shipping notice(s) uploaded in this batch", "batchDownload": "Download batch ZIP", "batchDownloading": "Packaging…", "uploaded": "Uploaded", "uploadedAt": "{time}", "exportFile": "File: {file}", "expand": "Show line details", "collapse": "Hide line details", "uploadMode": "Upload method: {mode}", "uploadModeManual": "Manual confirmation", "uploadModeRpa": "RPA upload", "empty": "No uploaded shipping notices in this batch."},
|
||||
"upload": {"title": "Freight upload", "subtitle": "Download the notice Excel, upload it on the freight platform and confirm the manual upload, or run RPA.", "manualUpload": "Confirm manual upload", "attempt": "Latest upload attempt: {mode} · {status}"},
|
||||
"stages": {
|
||||
"intake_parse": "Intake and parsing",
|
||||
@@ -2218,6 +2218,7 @@
|
||||
"adminDiagnosisStatus": "Status: task_missing",
|
||||
"adminDiagnosisHint": "Use task audit / data repair. This page does not auto-recover.",
|
||||
"stateInconsistent": "State syncing / inconsistent state data",
|
||||
"stageLoading": "Updating status…",
|
||||
"statusRunning": "System processing",
|
||||
"statusFailedRetryable": "Failed — retry available",
|
||||
"statusCompleted": "Completed",
|
||||
|
||||
Reference in new issue
Block a user