feat(in-transit-transfer): 自动调拨联动收料就绪并分层来源错误

- 调度整合:退役 in_transit_receipt_file_job,收料归档收敛 shipping_receipt_rpa_archive,排程注册表统一
- 自动调拨 Job:调拨前确保各来源当日收料文件就绪(缺失自动触发收料 RPA),严格等量匹配后生成 ERP 调拨单
- worker 手动唤醒:排程工作台支持手动唤醒与 runs 透视,heartbeat 协议同步
- 收料缺失幸存 T2:parse_failed 状态落库(迁移 q4c5)
- 来源错误分层与 stale 时钟换源:改挂 inventory_checked_at 库存查得时刻,展示阈值与执行门禁解耦(迁移 t5a6)
- 新增 wecom_sender 企微通知:每非空 Run 汇总一条,通知失败不影响 ERP 结果
- 同步排程工作台/调拨卡片前端、chat/admin 文案四语言、RPA 脚本与测试全家
This commit is contained in:
hugo committed 2026-09-30 00:20:06 +08:00
1 parent 993e581135
commit abf3d48927
144 files changed
+10161 -2132

No files matched your search

+18 -3
View File
@@ -629,7 +629,7 @@
"orderSchemaRequired": "Publish an Order Fields version first; inventory parsing profiles, shipping Excel templates, and routing rules can then reference order fields.",
"connections": "System Connections",
"receiptReportConfig": "Receipt Report Configuration",
"receiptReportConfigHint": "Same structure as inventory configuration: report path + query parameters. Each warehouse in the Warehouse condition exports one receipt file per schedule; report date is never filtered. Receipt has no separate switch and follows the site's unified enablement.",
"receiptReportConfigHint": "Same structure as inventory configuration: report path + query parameters. Query parameters are optional; empty means page defaults. The schedule exports one receipt file per site; report date is never filtered. Receipt has no separate switch and follows the site's unified enablement.",
"receiptQueryParametersHint": "Same as inventory query parameters. Warehouse supports multiple values (comma-separated); each Warehouse exports one receipt file. Report date filtering is never allowed.",
"receiptCraneFixedPath": "Crane receipt export is fixed to Inbound Details and is not split by Warehouse. No query conditions are maintained; execution directly runs the page defaults.",
"pathSectionConfigured": "Configured",
@@ -705,7 +705,7 @@
"movementFields": {
"doc_no": "Doc No.", "line_no": "Line No.", "in_out_flag": "In/Out Flag", "material_code": "Material Code",
"material_name": "Material Name", "warehouse_code": "Warehouse", "storage_code": "Storage Bin", "lot_no": "Lot No.",
"quantity": "Quantity", "movement_date": "Movement Date"
"quantity": "Quantity", "movement_date": "Movement Date", "unit": "Unit"
},
"inventoryAnalysisFailed": "Inventory file structure recognition failed.",
"inventoryAnalysisPreview": "Recognition Preview",
@@ -908,7 +908,9 @@
"parsingBindingOperationDirect": "Direct binding",
"parsingBindingOperationBulk": "Bulk binding",
"parsingBindingVersion": "Configuration version {before} to {after}",
"sourceSavedDisabledHint": "The site remains disabled after its first save. Complete the test export, inventory parsing, and shipping template before activation.",
"sourceSavedDisabledHint": "The site stays disabled after its first save. Bind inventory parsing and a shipping template, then use the enable switch.",
"sourceEnabledToggleHint": "Takes effect immediately",
"inventoryReportConfig": "Inventory report configuration",
"readinessBlockedBy": "One step left before enablement: {requirement}",
"readinessAutoEnableHint": "After completion the system will evaluate and enable the site automatically.",
"readinessLastVerified": "Last verified {time}",
@@ -2183,6 +2185,8 @@
"totalProcessed": "Total processed",
"totalSuccess": "Total success",
"totalSkipped": "Total skipped",
"totalSkippedReceipt": "No receipt / skipped",
"totalSkippedInventory": "No inventory / skipped",
"totalFailed": "Total failed",
"listTitle": "Schedule list",
"recordsTitle": "{name} · Run records",
@@ -2213,6 +2217,10 @@
"downloadInventoryRawZipPackage": "Download raw inventory ZIP",
"rawInventoryZipWecomHint": "This notification includes a raw inventory package. Tap the button below to download.",
"inventoryRawZip": "Raw inventory",
"downloadReceiptRawZip": "Download raw receipt",
"downloadReceiptRawZipPackage": "Download raw receipt ZIP",
"rawReceiptZipWecomHint": "This notification includes a raw receipt package. Tap the button below to download.",
"receiptRawZip": "Raw receipt",
"log": "Log",
"actions": {
"edit": "Edit",
@@ -2230,6 +2238,8 @@
"totalCount": "Processed",
"successCount": "Success",
"skippedCount": "Skipped",
"skippedCountReceipt": "No receipt / skipped",
"skippedCountInventory": "No inventory / skipped",
"failedCount": "Failed",
"excelExportFailedHint": "Inventory sources succeeded, but schedule Excel export failed",
"wecomNotified": "WeCom notify",
@@ -2252,6 +2262,10 @@
"selectPlatformJob": "Select a platform task",
"platformJobShippingInventory": "Shipping inventory RPA",
"platformJobFaqHotAggregate": "FAQ hot aggregate",
"platformJobFileAssetCleanup": "Temporary file asset cleanup",
"transferSourceCodes": "Source instances",
"transferRecoverHistory": "Recover retryable history",
"transferNotifyUsers": "Notify users",
"platformJobFixedAssetsSnapshot": "Fixed assets snapshot",
"shippingInventoryJobHint": "Fetches inventory data from configured sources on schedule; exported asynchronously by the RPA worker.",
"shippingInventoryJobParams": "Job parameters (optional)",
@@ -2454,6 +2468,7 @@
"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",
"downloadReceiptRawZipFailed": "Failed to download raw receipt ZIP",
"deleteFailed": "Delete schedule failed"
},
"difySnapshot": {
+6 -5
View File
@@ -3707,7 +3707,7 @@
"matchTitle": "Transferable stock list",
"businessDate": "Business date",
"executableCount": "Executable",
"notMaturedCount": "Same-day receipt",
"notMaturedCount": "Immature receipts",
"blockedCount": "Blocked",
"estimatedQuantity": "Est. transfer qty",
"estimatedExternalWrites": "Est. ERP documents",
@@ -3768,6 +3768,7 @@
"downloadExceptions": "Download exceptions Excel",
"backlogTitle": "Backlog exceptions",
"resumeAction": "Resume",
"resumeActionShort": "Resume",
"colAging": "Aging",
"colAction": "Actions",
"selectedRows": "{count} selected",
@@ -3779,6 +3780,7 @@
"toastCloseDone": "Closed: {ok} succeeded, {failed} failed",
"batchCloseTitle": "Mark as no further action ({count} items)",
"manualClose": "Mark as no further action",
"manualCloseShort": "Close",
"manualCloseTitle": "Mark as no further action",
"manualCloseHint": "Auto schedule will skip it; history and audit are kept permanently.",
"closeReasonPlaceholder": "Enter a reason (required)",
@@ -3792,7 +3794,6 @@
"resultUnknownReadonly": "Read-only; verify per SOP",
"noBacklog": "No backlog exceptions",
"sourceSelectTitle": "Select receipt source instances",
"sourceSelectHint": "DBS / Crane are platform groups; select the actual source instances to process.",
"transferTypeLabel": "Transfer type",
"transferType": {
"in_transit_to_hub": "In-transit to HUB",
@@ -3817,7 +3818,6 @@
"homeClosed": "Manually closed",
"homeClosedHint": "View reason and restore processing",
"homeUnknown": "Unknown result",
"homeUnknownHint": "Read-only; verify ERP facts offline",
"homeBack": "Back to home",
"retryReceipt": "Retry receipt RPA",
"retrying": "Retrying…",
@@ -3825,6 +3825,7 @@
"fileFetching": "Fetching",
"fileFailed": "Fetch failed",
"fileExpired": "File expired",
"fileParseFailed": "Parse failed",
"sourceErrorTitle": "Source processing failed",
"fileNone": "Pending",
"needReadyFile": "A selected source has no receipt file / is fetching / failed. Retry receipt RPA first.",
@@ -3833,7 +3834,7 @@
"batchRetry": "Batch retry RPA",
"downloadFiles": "Download receipt files",
"selectedRetryableCount": "{count} retryable",
"noRetryable": "No selected source needs retry (already ready or fetching)",
"noRetryable": "No selected source needs retry (fetching in progress)",
"homeMatchLabel": "Stock matching",
"homeBoardLabel": "To-do board",
"homeExecutable": "Executable items",
@@ -3889,7 +3890,7 @@
"toastOrderClosed": "Order closed; its rows returned to the pending pool",
"toastRetriggerAccepted": "Retriggered; the final step is queued",
"homeExecuted": {
"title": "Executed transfer orders",
"title": "Execution Board",
"refresh": "Refresh",
"empty": "No executed orders yet",
"pageInfo": "{total} orders · page {page}",
+2 -2
View File
@@ -196,8 +196,8 @@
"SHIPPING_INVENTORY_RULE_RETIRE_INVALID": "This inventory routing rule cannot be retired.",
"SHIPPING_INVENTORY_SOURCE_DELETE_BLOCKED": "The inventory source is still referenced by business data and cannot be deleted.",
"SHIPPING_INVENTORY_SOURCE_NOT_FOUND": "The inventory source was not found.",
"SHIPPING_INVENTORY_SOURCE_ACTIVATION_REQUIRED": "Complete the test export and activation checks before enabling the inventory site.",
"SHIPPING_INVENTORY_SOURCE_ACTIVATION_BLOCKED": "The inventory site has not completed its production readiness checks and cannot be enabled.",
"SHIPPING_INVENTORY_SOURCE_ACTIVATION_REQUIRED": "Bind an available connection, published inventory parsing, and shipping template before enabling the inventory site.",
"SHIPPING_INVENTORY_SOURCE_ACTIVATION_BLOCKED": "The inventory site does not meet the hard enablement gates (connection, parsing profile, or shipping template) and cannot be enabled.",
"SHIPPING_INVENTORY_STRUCTURE_ANALYSIS_FILE_REQUIRED": "Select an inventory sample file.",
"SHIPPING_INVENTORY_STRUCTURE_ANALYSIS_FILE_TOO_LARGE": "The inventory sample file exceeds the 20 MB limit.",
"SHIPPING_INVENTORY_STRUCTURE_ANALYSIS_INVALID": "The inventory sample file cannot be recognised. Check its format and headers.",