feat(freight-rpa): 增加出站报表配置与回调支持,重构相关服务
- 将 RPA 管理 API 扩展至出站报表配置,新增出站相关的回调接口。 - 重构 freight_rpa_report_config_service,支持入站与出站报表配置的管理。 - 更新 ORM 模型,增加出站报表相关的持久化模型。 - 统一命名规范,确保在手、入站与出站的概念一致性。
This commit is contained in:
1 parent
39fe3c05f2
commit
911afa0f73
152 files changed
+9861
-2984
No files matched your search
@@ -630,14 +630,16 @@
|
||||
"orderFields": "Order Field Rules",
|
||||
"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. 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.",
|
||||
"inboundReportConfig": "Inbound Report Configuration",
|
||||
"inboundReportConfigHint": "Same structure as inventory configuration: report path + query parameters. Query parameters are optional; empty means page defaults. The schedule exports one inbound file per site. Inbound has no separate switch and follows the site's unified enablement.",
|
||||
"inboundQueryParametersHint": "Same as inventory query parameters. Warehouse supports multiple values (comma-separated); each Warehouse exports one inbound file. Report date filtering is never allowed.",
|
||||
"inboundCraneFixedPath": "Crane inbound export is fixed to Inbound Details and is not split by Warehouse. No query conditions are maintained; execution directly runs the page defaults.",
|
||||
"outboundReportConfig": "Outbound Report Configuration",
|
||||
"outboundReportConfigHint": "Same structure as inbound configuration: report path + query parameters. Outbound has no separate switch and follows the site's unified enablement.",
|
||||
"pathSectionConfigured": "Configured",
|
||||
"pathSectionNotConfigured": "Not configured",
|
||||
"parsingProfiles": "Inventory Parsing",
|
||||
"parsingProfilesHelp": "Maintain reusable file parsing rules: inventory parsing targets the inventory field catalog and order match keys; inbound parsing targets the standard movement fields (read-only contract).",
|
||||
"parsingProfiles": "Report Rules",
|
||||
"parsingProfilesHelp": "Maintain identifiable file parsing rules: on-hand targets the field catalog and order matching; inbound and outbound target the standard movement fields (read-only contract).",
|
||||
"inventoryParsing": {
|
||||
"code": "Inventory Parsing Code",
|
||||
"name": "Inventory Parsing Name",
|
||||
@@ -713,17 +715,19 @@
|
||||
"inventorySampleRequired": "Upload an inventory sample file and complete structure recognition first.",
|
||||
"parsingProfileName": "Inventory Parsing Name",
|
||||
"parsingPurposeLabel": "Rule Purpose",
|
||||
"parsingPurposeHint": "Purpose cannot be changed after creation: on-hand parsing uses the inventory field catalog, inbound parsing uses the standard movement fields (read-only contract).",
|
||||
"parsingPurposeHint": "Purpose cannot be changed after creation: on-hand parsing uses the inventory field catalog; inbound and outbound parsing use the standard movement fields (read-only contract).",
|
||||
"parsingPurpose": {
|
||||
"onhand": "On Hand",
|
||||
"inbound": "Inbound",
|
||||
"outbound": "Outbound"
|
||||
},
|
||||
"parsingPurposeGroup": "{label} ({count})",
|
||||
"movementMappingHint": "Standard movement fields are a read-only business contract (✱ required, 🔑 match identity). Just pick the report header alias for each field.",
|
||||
"movementRequiredMark": "Required",
|
||||
"movementIdentityMark": "Match identity",
|
||||
"movementStandardField": "Standard Movement Field",
|
||||
"movementBindingLabel": "Inbound Parsing Rule",
|
||||
"outboundMovementBindingLabel": "Outbound Parsing Rule",
|
||||
"movementBindingNone": "Not bound",
|
||||
"movementBindingHint": "With a published inbound rule bound, matching reuses archived receipt files; when unbound, matching will not trigger a fetch (fail-closed).",
|
||||
"movementFields": {
|
||||
@@ -873,7 +877,7 @@
|
||||
"confirmRetireTemplate": "Retire this template? It can no longer be bound to a new inventory site.",
|
||||
"connectionsHelp": "Manage login URLs and credentials for separate accounts. A connection only handles login; it does not define browser actions.",
|
||||
"credentialsHint": "Usernames and passwords are write-only and are never returned by the UI or API.",
|
||||
"sources": "Inventory Sites",
|
||||
"sources": "Source Sites",
|
||||
"sourcesHelp": "Maintain the report path, query inputs, and recognition aliases, then associate the connection that exports the source.",
|
||||
"rules": "Routing Rules",
|
||||
"rulesHelp": "Route order lines to inventory sources by business field, operator, and priority. Published rules cannot be edited.",
|
||||
@@ -940,7 +944,7 @@
|
||||
"retryFailedValidation": "Retry failed sites",
|
||||
"bulkBindParsingProfileHint": "Only disabled sites are selectable. The service validates every site first; any incompatible site rejects the whole batch.",
|
||||
"bulkParsingProfileBound": "Bulk inventory parsing binding is complete. Selected sites still require validation.",
|
||||
"inventorySites": "Inventory sites",
|
||||
"inventorySites": "Source sites",
|
||||
"parsingBindingAudit": "Parsing binding audit",
|
||||
"parsingBindingAuditLoading": "Loading binding audit...",
|
||||
"parsingBindingAuditEmpty": "No parsing-profile binding records.",
|
||||
@@ -2518,7 +2522,8 @@
|
||||
"totalProcessed": "Total processed",
|
||||
"totalSuccess": "Total success",
|
||||
"totalSkipped": "Total skipped",
|
||||
"totalSkippedReceipt": "No receipt / skipped",
|
||||
"totalSkippedReceipt": "No inbound / skipped",
|
||||
"totalSkippedOutbound": "No outbound / skipped",
|
||||
"totalSkippedInventory": "No inventory / skipped",
|
||||
"totalFailed": "Total failed",
|
||||
"listTitle": "Schedule list",
|
||||
@@ -2550,10 +2555,14 @@
|
||||
"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",
|
||||
"downloadInboundRawZip": "Download raw inbound",
|
||||
"downloadInboundRawZipPackage": "Download raw inbound ZIP",
|
||||
"rawInboundZipWecomHint": "This notification includes a raw inbound package. Tap the button below to download.",
|
||||
"inboundRawZip": "Raw inbound",
|
||||
"downloadOutboundRawZip": "Download raw outbound",
|
||||
"downloadOutboundRawZipPackage": "Download raw outbound ZIP",
|
||||
"rawOutboundZipWecomHint": "This notification includes a raw outbound package. Tap the button below to download.",
|
||||
"outboundRawZip": "Raw outbound",
|
||||
"log": "Log",
|
||||
"actions": {
|
||||
"edit": "Edit",
|
||||
@@ -2571,7 +2580,8 @@
|
||||
"totalCount": "Processed",
|
||||
"successCount": "Success",
|
||||
"skippedCount": "Skipped",
|
||||
"skippedCountReceipt": "No receipt / skipped",
|
||||
"skippedCountReceipt": "No inbound / skipped",
|
||||
"skippedCountOutbound": "No outbound / skipped",
|
||||
"skippedCountInventory": "No inventory / skipped",
|
||||
"failedCount": "Failed",
|
||||
"excelExportFailedHint": "Inventory sources succeeded, but schedule Excel export failed",
|
||||
@@ -2804,7 +2814,8 @@
|
||||
"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",
|
||||
"downloadInboundRawZipFailed": "Failed to download raw inbound ZIP",
|
||||
"downloadOutboundRawZipFailed": "Failed to download raw outbound ZIP",
|
||||
"deleteFailed": "Delete schedule failed"
|
||||
},
|
||||
"difySnapshot": {
|
||||
|
||||
@@ -619,6 +619,27 @@
|
||||
"SHIPPING.FORMAL_OT_REQUIRED": "Create the formal task first",
|
||||
"SHIPPING.CUSTOMER_REBIND_CUSTOMER_REQUIRED": "Select a target customer",
|
||||
"SHIPPING.CUSTOMER_REBIND_VERSION_REQUIRED": "Order version has changed — refresh and retry",
|
||||
"SHIPPING.CUSTOMER_REBIND_ACTOR_REQUIRED": "Customer rebind requires an operator"
|
||||
"SHIPPING.CUSTOMER_REBIND_ACTOR_REQUIRED": "Customer rebind requires an operator",
|
||||
"RPA.INBOUND_CALLBACK_TIMEOUT": "Inbound RPA callback timed out; the worker did not report back in time.",
|
||||
"RPA.INBOUND_EXPORT_FAILED": "Inbound RPA export failed.",
|
||||
"RPA.INBOUND_PROFILE_UNAVAILABLE": "Inbound RPA login profile is unavailable or disabled.",
|
||||
"RPA.INBOUND_TRIGGER_UNAVAILABLE": "Inbound trigger directory is unavailable; the fetch job could not be dispatched.",
|
||||
"SHIPPING.INBOUND_CALLBACK_FILE_INVALID": "Invalid inbound callback file: not under the drop root, not an xlsx, empty, or over the size limit.",
|
||||
"SHIPPING.INBOUND_CALLBACK_INVALID": "Invalid inbound RPA callback payload (schema or fields).",
|
||||
"SHIPPING.INBOUND_CALLBACK_SHA_MISMATCH": "Inbound callback file checksum does not match.",
|
||||
"SHIPPING.INBOUND_REPORT_CONFIG_INVALID": "Invalid inbound report configuration (path, query parameters, or connector constraints).",
|
||||
"SHIPPING.INBOUND_RETRY_REASON_REQUIRED": "A reason is required to retry a failed inbound unit.",
|
||||
"SHIPPING.INBOUND_UNIT_NOT_FOUND": "Inbound RPA unit run was not found.",
|
||||
"RPA.OUTBOUND_CALLBACK_TIMEOUT": "Outbound RPA callback timed out; the worker did not report back in time.",
|
||||
"RPA.OUTBOUND_EXPORT_FAILED": "Outbound RPA export failed.",
|
||||
"RPA.OUTBOUND_PROFILE_UNAVAILABLE": "Outbound RPA login profile is unavailable or disabled.",
|
||||
"RPA.OUTBOUND_TRIGGER_UNAVAILABLE": "Outbound trigger directory is unavailable; the fetch job could not be dispatched.",
|
||||
"SHIPPING.OUTBOUND_CALLBACK_FILE_INVALID": "Invalid outbound callback file: not under the drop root, not an xlsx, empty, or over the size limit.",
|
||||
"SHIPPING.OUTBOUND_CALLBACK_INVALID": "Invalid outbound RPA callback payload (schema or fields).",
|
||||
"SHIPPING.OUTBOUND_CALLBACK_SHA_MISMATCH": "Outbound callback file checksum does not match.",
|
||||
"SHIPPING.OUTBOUND_PROFILE_INVALID": "Outbound parsing profile must be published with purpose outbound.",
|
||||
"SHIPPING.OUTBOUND_REPORT_CONFIG_INVALID": "Invalid outbound report configuration (path, query parameters, or connector constraints).",
|
||||
"SHIPPING.OUTBOUND_RETRY_REASON_REQUIRED": "A reason is required to retry a failed outbound unit.",
|
||||
"SHIPPING.OUTBOUND_UNIT_NOT_FOUND": "Outbound RPA unit run was not found."
|
||||
}
|
||||
}
|
||||
@@ -99,7 +99,6 @@
|
||||
"applications": "Applications",
|
||||
"knowledgeBase": "Knowledge Base",
|
||||
"scheduleRuns": "Schedule Runs",
|
||||
"inboundReports": "Receipt Files",
|
||||
"shippingNotice": "Shipping Notice",
|
||||
"shippingCustomers": "Customer Data",
|
||||
"shippingTasks": "Shipping Tasks",
|
||||
@@ -187,38 +186,6 @@
|
||||
"downloadExcelFailed": "Failed to download Excel"
|
||||
}
|
||||
},
|
||||
"inboundReports": {
|
||||
"title": "Receipt Files",
|
||||
"hint": "Only original receipt archives for schedules where you are a recipient are shown.",
|
||||
"refresh": "Refresh",
|
||||
"loading": "Loading receipt files...",
|
||||
"empty": "No receipt files are available for download",
|
||||
"file": "File name",
|
||||
"site": "Site",
|
||||
"warehouse": "Warehouse",
|
||||
"createdAt": "Archived at",
|
||||
"expiresAt": "Retained until",
|
||||
"action": "Action",
|
||||
"download": "Download",
|
||||
"resend": "Resend to WeCom",
|
||||
"failedUnits": "Failed receipt units",
|
||||
"retry": "Retry with reason",
|
||||
"retryReasonPrompt": "Enter the reason for retrying {target}",
|
||||
"batch": {
|
||||
"selectAll": "全選目前頁通知單",
|
||||
"selected": "已選 {count} 張",
|
||||
"download": "批次下載 Excel",
|
||||
"confirm": "批次確認已上傳",
|
||||
"rpa": "批次啟動 RPA",
|
||||
"downloadStarted": "已開始下載所選發貨通知 Excel",
|
||||
"success": "{action}:已處理 {count} 張通知單",
|
||||
"partialResult": "{action}:成功 {accepted} 張,阻斷 {blocked} 張,請查看重新整理後的通知狀態。",
|
||||
"lines": "項次",
|
||||
"parts": "料號",
|
||||
"quantities": "本次發貨 / 可用庫存",
|
||||
"uploadStatus": "貨代狀態"
|
||||
}
|
||||
},
|
||||
"shippingNotice": {
|
||||
"title": "Shipping Notice Tasks",
|
||||
"subtitle": "Use Task Center for the todo list; open the order lifecycle workbench for a single order task.",
|
||||
|
||||
Reference in new issue
Block a user