feat(freight-rpa): 增加出站报表配置与回调支持,重构相关服务

- 将 RPA 管理 API 扩展至出站报表配置,新增出站相关的回调接口。
- 重构 freight_rpa_report_config_service,支持入站与出站报表配置的管理。
- 更新 ORM 模型,增加出站报表相关的持久化模型。
- 统一命名规范,确保在手、入站与出站的概念一致性。
This commit is contained in:
hugo committed 2026-10-19 18:45:16 +08:00
1 parent 39fe3c05f2
commit 911afa0f73
152 files changed
+9861 -2984

No files matched your search

+27 -16
View File
@@ -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": {