feat(in-transit-transfer): 实现在途仓自动调拨Agent一期完整功能
包含后端服务层、任务处理器与消费Worker、前端聊天组件、数据库模型与迁移脚本、测试用例,同时新增外部系统连接器框架基础能力并更新相关文档。
This commit is contained in:
1 parent
f3050164d0
commit
6b53b563e7
177 files changed
+17260
-36
No files matched your search
@@ -3427,5 +3427,100 @@
|
||||
"skipped": "Skipped",
|
||||
"complete": "Complete",
|
||||
"missing": "Missing"
|
||||
},
|
||||
|
||||
"transfer": {
|
||||
"fileProgressTitle": "Receipt file preparation",
|
||||
"stageFileReady": "File ready",
|
||||
"stageWaitingRpa": "RPA fetching",
|
||||
"stageFailed": "Failed",
|
||||
"precheckTitle": "Transfer precheck",
|
||||
"businessDate": "Business date",
|
||||
"executableCount": "Executable",
|
||||
"notMaturedCount": "Same-day receipt",
|
||||
"blockedCount": "Blocked",
|
||||
"estimatedQuantity": "Est. transfer qty",
|
||||
"estimatedErpWrites": "Est. ERP documents",
|
||||
"selectedCount": "{count} selected",
|
||||
"generateTransfer": "Generate transfer order",
|
||||
"colSource": "Source",
|
||||
"colMaterial": "Material",
|
||||
"colName": "Name",
|
||||
"colSpec": "Spec",
|
||||
"colInvoice": "Invoice",
|
||||
"colFromWarehouse": "From warehouse",
|
||||
"colFromQty": "From qty",
|
||||
"colToWarehouse": "To warehouse",
|
||||
"colToQty": "To qty",
|
||||
"colResult": "Result",
|
||||
"resultExecutable": "Executable",
|
||||
"resultNotMatured": "Same-day receipt",
|
||||
"resultBlocked": "Blocked",
|
||||
"resultUnknown": "Result unknown",
|
||||
"runProgress": "Transfer run progress",
|
||||
"runExecuting": "Executing",
|
||||
"runSuccess": "Completed",
|
||||
"runPartialFailed": "Partially failed",
|
||||
"runFailed": "Failed",
|
||||
"runCancelled": "Cancelled",
|
||||
"refreshProgress": "Refresh",
|
||||
"resultTitle": "Transfer result",
|
||||
"materialCount": "{count} materials",
|
||||
"posted": "Posted",
|
||||
"noDocuments": "No ERP document generated",
|
||||
"exceptionsTitle": "No ERP document generated",
|
||||
"exceptionBusinessFailed": "Business failed",
|
||||
"exceptionTechnicalFailed": "Technical failed",
|
||||
"exceptionPrecheckExpired": "Precheck expired",
|
||||
"downloadReceiptFiles": "Download receipt files",
|
||||
"downloadErpInventory": "Download ERP inventory",
|
||||
"downloadExceptions": "Download exceptions Excel",
|
||||
"backlogTitle": "Backlog exceptions",
|
||||
"retryErp": "Re-query ERP",
|
||||
"manualClose": "Mark as no further action",
|
||||
"manualCloseTitle": "Mark as no further action",
|
||||
"manualCloseHint": "Auto schedule will skip it; history and audit are kept permanently.",
|
||||
"closeReasonPlaceholder": "Enter a reason (required)",
|
||||
"confirmClose": "Confirm close",
|
||||
"cancel": "Cancel",
|
||||
"agingNormal": "Normal",
|
||||
"agingWarn": "Due soon (3d)",
|
||||
"agingEscalate": "Escalated (5d)",
|
||||
"agingCritical": "Critical backlog (7d+)",
|
||||
"statusClosed": "Manually closed",
|
||||
"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.",
|
||||
"selectAll": "Select all",
|
||||
"selectEnabledAll": "Select all enabled",
|
||||
"clearSources": "Clear",
|
||||
"selectedSourceCount": "Selected {count} source instances",
|
||||
"needSelectSource": "Select at least one enabled source instance",
|
||||
"confirmScopeAndPrecheck": "Confirm scope & precheck",
|
||||
"homeWelcome": "Hello, you are in",
|
||||
"homeTodayLabel": "Today's tasks",
|
||||
"homeTodayAction": "Start today's transfer precheck",
|
||||
"homeTodayHint": "After selecting source instances, the system uses yesterday as the business date by default.",
|
||||
"homeHistoryLabel": "Pending tasks",
|
||||
"homeRecoverable": "Recoverable exceptions",
|
||||
"homeRecoverableHint": "Re-query ERP stock before continuing",
|
||||
"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…",
|
||||
"fileReady": "File ready",
|
||||
"fileFetching": "Fetching",
|
||||
"fileFailed": "Fetch failed",
|
||||
"fileNone": "Pending",
|
||||
"needReadyFile": "A selected source has no receipt file / is fetching / failed. Retry receipt RPA first.",
|
||||
"selectVisible": "Select visible",
|
||||
"selectRetryable": "Select retryable",
|
||||
"batchRetry": "Batch retry RPA",
|
||||
"selectedRetryableCount": "{count} retryable",
|
||||
"noRetryable": "No selected source needs retry (already ready or fetching)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
{
|
||||
{
|
||||
"generic": "Request failed.",
|
||||
"codes": {
|
||||
"SHIPPING.FULFILLMENT_POLICY_INVALID": "The fulfillment policy or field capability binding is invalid.",
|
||||
@@ -521,6 +521,27 @@
|
||||
"VOUCHER_CHECK_SHARE_UNAVAILABLE": "Shared folder is unavailable. Check the mount and health marker.",
|
||||
"VOUCHER_CHECK_ERP_UNAVAILABLE": "ERP (Oracle) is unavailable. Please try again later.",
|
||||
"VOUCHER_CHECK_RUN_NOT_FOUND": "Voucher check run or invoice state was not found.",
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "Failed to persist voucher check results."
|
||||
"VOUCHER_CHECK_PERSIST_FAILED": "Failed to persist voucher check results.",
|
||||
"TRANSFER_PERMISSION_DENIED": "No in-transit transfer permission.",
|
||||
"TRANSFER_RECEIPT_NOT_MATURED": "Same-day receipt is not matured yet.",
|
||||
"TRANSFER_FILE_NOT_READY": "Receipt file is not ready.",
|
||||
"TRANSFER_FILE_SCHEMA_INVALID": "Receipt file schema or field validation failed.",
|
||||
"TRANSFER_INVOICE_CONFLICT": "Invoice conflict (multiple materials or dates).",
|
||||
"TRANSFER_QUANTITY_MISMATCH": "Receipt quantity does not equal ERP inventory; blocked.",
|
||||
"TRANSFER_ERP_INVENTORY_NOT_FOUND": "ERP inventory not found for this invoice.",
|
||||
"TRANSFER_PRECHECK_EXPIRED": "Precheck expired or snapshot changed; re-run precheck.",
|
||||
"TRANSFER_CONFIRMATION_REQUIRED": "Precheck is not ready for execution.",
|
||||
"TRANSFER_DUPLICATE_NOT_VERIFIED": "Duplicate invoice cannot be verified as posted.",
|
||||
"TRANSFER_RESULT_UNKNOWN": "ERP result unknown; read-only, verify per SOP.",
|
||||
"TRANSFER_MANUAL_CLOSE_REASON_REQUIRED": "Manual close requires a reason.",
|
||||
"TRANSFER_CONFIG_PUBLISH_BLOCKED": "Transfer config publish gate failed.",
|
||||
"TRANSFER_SECRET_NOT_EXPOSED": "Sensitive credentials must not be exposed.",
|
||||
"TRANSFER_NOTIFICATION_FAILED": "Notification failed; ERP result is unaffected.",
|
||||
"TRANSFER.ROUTE_NOT_RESOLVED": "Route mapping is not configured for this source.",
|
||||
"TRANSFER.ERP_NOT_FROZEN": "ERP contract is not frozen; call forbidden.",
|
||||
"TRANSFER.ERP_QUERY_TIMEOUT": "ERP query timed out; retry.",
|
||||
"TRANSFER.PRECHECK_ALREADY_EXECUTED": "This precheck was already executed.",
|
||||
"TRANSFER.SELECTION_INVALID": "Selection contains non-executable invoices.",
|
||||
"TRANSFER.INVALID_STATE_TRANSITION": "Invalid state transition."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user