feat(shipping-notice): 添加识别定义和规则集管理功能,支持客户和站点的可配置识别规则
This commit is contained in:
1 parent
88408490d7
commit
34d489a2d1
167 files changed
+10365
-7978
No files matched your search
@@ -28,7 +28,9 @@
|
||||
"reports": "Data Reports",
|
||||
"schedules": "Schedule Management",
|
||||
"shippingCustomers": "Shipping Customers",
|
||||
"shippingInventory": "Shipping Configuration"
|
||||
"shippingConfig": "Shipping Configuration",
|
||||
"shippingInventory": "Inventory Configuration",
|
||||
"shippingIdentityRules": "Customer Identity Rules"
|
||||
},
|
||||
"shippingOrderSchema": {
|
||||
"eyebrow": "Order field template",
|
||||
@@ -68,7 +70,7 @@
|
||||
"diffRemovedField": "This field existed in the baseline but was removed in the compared version",
|
||||
"diffOrderChanged": "Order only changed",
|
||||
"diffStatus": { "added": "Added", "removed": "Removed", "modified": "Modified", "unchanged": "Unchanged" },
|
||||
"diffField": { "field_code": "Field name (system identifier)", "scope": "Field placement", "value_type": "Data format", "enabled": "Included in current version", "display_name": "Current version display name", "description": "Description", "required": "Business required", "aliases": "Aliases", "normalizer_key": "Text processing", "validator_keys": "Content validation", "enum_options": "Enum options", "relation_role": "Cross-document relation", "comparator_key": "Comparison method", "extraction_instruction": "Extraction instruction", "sequence": "Field order", "evidence_policy.required": "Original evidence required", "evidence_policy.source_precedence": "Recognizable sources", "evidence_policy.conflict_policy": "On content conflict", "evidence_policy.allow_single_source": "Allow one trusted source" },
|
||||
"diffField": { "field_code": "Field name (system identifier)", "scope": "Field placement", "value_type": "Data format", "enabled": "Included in current version", "display_name": "Current version display name", "description": "Description", "business_purpose": "Business purpose", "required": "Business required", "aliases": "Aliases", "normalizer_key": "Text processing", "validator_keys": "Content validation", "enum_options": "Enum options", "relation_role": "Cross-document relation", "comparator_key": "Comparison method", "extraction_instruction": "Extraction instruction", "sequence": "Field order", "evidence_policy.required": "Original evidence required", "evidence_policy.source_precedence": "Recognizable sources", "evidence_policy.conflict_policy": "On content conflict", "evidence_policy.allow_single_source": "Allow one trusted source" },
|
||||
"auditTitle": "Configuration audit timeline",
|
||||
"auditEmpty": "No configuration audit events",
|
||||
"auditLoadMore": "Load more audit events",
|
||||
@@ -148,6 +150,8 @@
|
||||
"draftCreated": "Draft created",
|
||||
"changeNote": "Change note",
|
||||
"displayName": "Current version display name",
|
||||
"businessPurpose": "Business purpose",
|
||||
"businessPurposeOption": { "general": "General field", "part_number": "Internal part number", "quantity": "Quantity", "reservation_id": "Reservation ID", "inventory_source_hint": "Inventory source hint" },
|
||||
"includeField": "Include in version",
|
||||
"aliases": "Aliases (comma separated)",
|
||||
"normalizer": "Text handling",
|
||||
@@ -315,6 +319,11 @@
|
||||
"retireTemplate": "Retire",
|
||||
"publishedTemplateImmutable": "Published templates cannot be edited directly; create a new version to reuse the saved file and continue editing.",
|
||||
"createTemplateVersion": "Create new version",
|
||||
"cloneTemplate": "Copy as new template",
|
||||
"cloneTemplateHint": "Copies this version's Excel file, filename rule, and mappings into an independent template. The source template is unchanged.",
|
||||
"cloneTemplateCodeHint": "Enter a new unique template code. The new template starts as a v1 draft.",
|
||||
"cloneTemplateConfirm": "Create new template",
|
||||
"copySuffix": "Copy",
|
||||
"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.",
|
||||
@@ -349,23 +358,60 @@
|
||||
"enabled": "Enabled",
|
||||
"enabledState": "Enabled",
|
||||
"disabledState": "Disabled",
|
||||
"siteEnabled": "Site enabled",
|
||||
"siteNotEnabled": "Site not enabled",
|
||||
"notGenerated": "Not generated",
|
||||
"notConfigured": "Not configured",
|
||||
"parsingProfileGeneratedByTest": "Save the site first, then identify or confirm its inventory parsing through a test export.",
|
||||
"parsingBindingHint": "Choose a published profile to bind it. The system records the action automatically; test validation and activation checks still follow.",
|
||||
"parsingBindingAutoSaveHint": "Choose a profile, then select Save changes. The site enables automatically after a successful test when all other required conditions are met.",
|
||||
"parsingBindingEnabledBlocked": "An enabled site cannot change its parsing profile directly. Disable it and complete a new validation first.",
|
||||
"bindParsingProfile": "Bind published parsing",
|
||||
"parsingProfileBound": "Inventory parsing is bound. The site remains disabled until validation is complete.",
|
||||
"bulkBindParsingProfile": "Bulk bind inventory parsing",
|
||||
"batchValidation": "Batch test export",
|
||||
"batchValidationHint": "Tests only disabled sites bound to a published parsing profile. Sites sharing a connection reuse one login while keeping independent results.",
|
||||
"batchValidationProgress": "{total_count} sites: {success_count} succeeded, {empty_count} empty, {failed_count} failed.",
|
||||
"batchValidationSearch": "Search sites or connections",
|
||||
"batchValidationSelected": "{count} sites selected",
|
||||
"batchValidationSelectFiltered": "Select visible",
|
||||
"batchValidationClearFiltered": "Clear visible",
|
||||
"batchValidationNoSites": "No eligible inventory sites",
|
||||
"batchValidationNoRuns": "No sites match this filter",
|
||||
"batchValidationStat": { "total": "All", "processing": "Running", "success": "Succeeded", "empty": "Empty", "failed": "Failed" },
|
||||
"batchValidationStatus": { "queued": "Waiting for Worker", "running": "Batch validation running", "completed": "Batch validation completed", "partial_failed": "Some sites failed validation", "failed": "Batch validation failed" },
|
||||
"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",
|
||||
"parsingBindingAudit": "Parsing binding audit",
|
||||
"parsingBindingAuditLoading": "Loading binding audit...",
|
||||
"parsingBindingAuditEmpty": "No parsing-profile binding records.",
|
||||
"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.",
|
||||
"activationStatus": "Production Readiness",
|
||||
"readinessProgress": "{passed} of {total} complete",
|
||||
"readinessState": { "passed": "Complete", "required": "Action required", "waiting": "Waiting for prerequisite", "failed": "Check failed; resolve and retry", "stale": "Configuration changed; run the test again" },
|
||||
"activationRequiredTitle": "Next step",
|
||||
"activationRequiredHint": "Complete the current item and the system will continue deciding whether the site can be enabled automatically.",
|
||||
"activationOptionalTitle": "Prepare later (does not block enablement)",
|
||||
"activationOptionalHint": "Complete when inventory exists or before an actual transfer.",
|
||||
"readinessState": { "passed": "Complete", "required": "Action required", "waiting": "Waiting for prerequisite", "optional": "Complete when inventory or a transfer requires it", "failed": "Check failed; resolve and retry", "stale": "Configuration changed; run the test again" },
|
||||
"readinessAction": { "configure_connection": "Configure connection", "configure_parsing_profile": "Configure parsing", "configure_excel_template": "Configure template", "configure_warehouse_mapping": "Configure warehouse mapping" },
|
||||
"saveBeforeReadinessAction": "Save the current inventory-site changes before taking this action.",
|
||||
"activationReady": "The inventory site is enabled and can run in production.",
|
||||
"activationDraft": "The inventory site is disabled. Complete the following items before activation.",
|
||||
"activationRequirement": { "rpa_profile": "System connection is available", "parsing_profile": "Inventory file parsing profile", "excel_template": "Shipping template", "configuration_test": "Test export and parsing validation", "parsing_validation": "Part number, reservation ID, and quantity parse correctly in the test file", "warehouse_identification": "The test file identifies the freight warehouse", "warehouse_mapping": "A freight-to-external warehouse mapping is maintained", "template_validation": "All inventory fields used by the shipping template are supplied by the parsing profile" },
|
||||
"activationCanEnable": "All enablement conditions pass. The system is enabling this inventory site automatically.",
|
||||
"activationEnabledHint": "This site participates in production inventory runs.",
|
||||
"activationCanEnableHint": "The site starts production runs automatically after the next successful test of this configuration.",
|
||||
"activationMissingHint": "Complete only the unfinished required items. Later preparation does not block enablement.",
|
||||
"activationRequirement": { "rpa_profile": "System connection is available", "parsing_profile": "Inventory file parsing profile", "excel_template": "Shipping template", "configuration_test": "Test export and connection validation", "parsing_validation": "Inventory row validation (optional)", "warehouse_identification": "Warehouse identification in inventory files (optional)", "warehouse_mapping": "External warehouse mapping (before transfer)", "template_validation": "All inventory fields used by the shipping template are supplied by the parsing profile" },
|
||||
"activateSource": "Enable Inventory Site",
|
||||
"deactivateSource": "Disable Inventory Site",
|
||||
"activateSourceConfirm": "The system will verify all production prerequisites before enabling this inventory site.",
|
||||
"deactivateSourceConfirm": "The site will no longer join new inventory routing or export jobs. Continue?",
|
||||
"configurationTest": "Test Export", "configurationTestHint": "The test file validates the connection, file structure, and inventory mapping only. It never enters production matching or shipping exports.", "startConfigurationTest": "Test Export", "configurationTestRunning": "Test in progress...", "configurationTestRunNo": "Test run", "configurationTestConfigVersion": "Site configuration version", "configurationTestConnectionVersion": "Connection configuration version", "configurationTestUpdatedAt": "Last updated", "configurationTestFailed": "Inventory site test export failed.", "configurationTestNoRecommendation": "No published inventory mapping can be used directly. Create or refine an inventory mapping from the test result.", "confirmTestProfile": "Confirm and Bind This Mapping", "configurationTestProfileConfirmed": "The inventory mapping is confirmed; the inventory site remains disabled.", "configurationTestStage": { "waiting_worker": "Waiting for the RPA Worker", "analysing_structure": "Recognising inventory file structure", "ready_for_confirmation": "Test complete; confirm the inventory mapping", "failed": "Test failed" },
|
||||
"configurationTest": "Test Export", "configurationTestHint": "The test file validates the connection, file structure, and inventory mapping only. It never enters production matching or shipping exports. No inventory is a valid business result, not an RPA failure.", "configurationTestEmptyResult": "The query succeeded but currently returned no inventory. Fixed warehouses may complete their remaining activation checks; the first non-empty file validates data rows. Dynamic warehouses still need a non-empty sample for warehouse identification.", "startConfigurationTest": "Test Export", "configurationTestRunning": "Test in progress...", "configurationTestRunNo": "Test run", "configurationTestConfigVersion": "Site configuration version", "configurationTestConnectionVersion": "Connection configuration version", "configurationTestUpdatedAt": "Last updated", "configurationTestFailed": "Inventory site test export failed.", "configurationTestNoRecommendation": "No published inventory mapping can be used directly. Create or refine an inventory mapping from the test result.", "configurationTestCandidateHint": "Choose it in Inventory parsing above, save, then run the test again", "currentProfileVerified": { "exact": "The test file exactly matches the currently bound inventory mapping and is verified automatically.", "compatible": "The test file is compatible with the currently bound inventory mapping and is verified automatically." }, "confirmTestProfile": "Confirm and Bind This Mapping", "configurationTestProfileConfirmed": "The inventory mapping is confirmed; the inventory site remains disabled.", "configurationTestStage": { "waiting_worker": "Waiting for the RPA Worker", "rpa_exporting": "RPA is signing in and exporting the inventory file", "analysing_structure": "Recognising inventory file structure", "ready_for_confirmation": "Test complete; confirm the inventory mapping", "current_profile_verified": "Test complete; current inventory mapping verified", "empty_data_pending_validation": "Query succeeded with no inventory; waiting for the first non-empty file validation", "failed": "Test failed" },
|
||||
"connectionBoundary": "Enter only the login information here. The system handles the required page actions, downloads, and waiting for the selected freight platform.",
|
||||
"platform": { "dbs": "DBS", "crane": "Crane" },
|
||||
"sourceCode": "Inventory Source ID",
|
||||
@@ -391,8 +437,6 @@
|
||||
"required": "Required",
|
||||
"selectAll": "Select all",
|
||||
"addParameter": "Add Query Input",
|
||||
"matchAliases": "Recognition Aliases",
|
||||
"aliasHint": "Separate aliases with commas",
|
||||
"ruleCode": "Rule Code",
|
||||
"ruleName": "Rule Name",
|
||||
"ruleConditions": "Match Conditions",
|
||||
@@ -1681,6 +1725,37 @@
|
||||
"notEnabledRun": "Dify Agent was not enabled for this run"
|
||||
}
|
||||
},
|
||||
"shippingIdentityRules": {
|
||||
"eyebrow": "Shipping customer governance",
|
||||
"title": "Customer identity rules",
|
||||
"subtitle": "The platform provides controlled source adapters; administrators configure, publish, and audit email, domain, template, and order-field rules.",
|
||||
"loading": "Loading identity rules...",
|
||||
"definitions": "Identity definitions",
|
||||
"definitionHint": "Every identity definition is business configuration. Select a controlled source adapter; order fields must be published Header fields.",
|
||||
"code": "Definition code",
|
||||
"target": "Target",
|
||||
"source": "Source",
|
||||
"automation": "Automation ceiling",
|
||||
"normalizer": "Text handling",
|
||||
"displayName": "Rule name", "displayNamePlaceholder": "For example: US customer sender email", "evidenceLabel": "Evidence name in customer master data", "evidenceLabelPlaceholder": "For example: Customer business email", "description": "Usage note (optional)", "descriptionPlaceholder": "For example: Identifies Bill-to customers in the US region", "formGuide": "Name this rule in business terms and select where the information comes from. The system applies the required technical rules.", "emailType": "Email information to use", "identityAttribute": "What to identify", "templateValue": "Layout signature of the current document", "selectionResult": "This rule will use",
|
||||
"selectField": "Select a published order field",
|
||||
"addDefinition": "Add business definition",
|
||||
"definitionSaved": "Identity definition saved",
|
||||
"workflowTitle": "Configuration sequence",
|
||||
"workflowHint": "1. Add identity definitions; 2. create, save, and publish a rule set; 3. return to customer master data to maintain customer or delivery-site evidence.",
|
||||
"openCustomerMaster": "Open customer master data",
|
||||
"ruleSets": "Rule set versions",
|
||||
"ruleSetHint": "Published snapshots are immutable. Replace or retire definitions before retiring a referenced order field.",
|
||||
"createDraft": "Create rule draft",
|
||||
"saveDraft": "Save draft",
|
||||
"publish": "Publish rule set",
|
||||
"ruleSetSaved": "Rule draft saved",
|
||||
"ruleSetPublished": "Identity rule set published",
|
||||
"operationFailed": "Customer identity rule operation failed",
|
||||
"targets": { "customer": "Customer", "site": "Delivery site" },
|
||||
"automations": { "none": "Candidate/manual review only", "conditional": "Controlled auto-confirm" },
|
||||
"status": { "draft": "Draft", "published": "Current", "retired": "Retired" }
|
||||
},
|
||||
"shippingCustomers": {
|
||||
"title": "Shipping Customer Master Data", "subtitle": "Maintain stable customer identities, short codes, identifiers, and initial imports", "add": "Add Customer", "edit": "Edit Customer", "saving": "Saving...", "importButton": "Initial Import", "search": "Search", "searchPlaceholder": "Search by customer name or short code", "empty": "No customers", "deactivate": "Deactivate", "confirmDeactivate": "Deactivate customer \"{name}\"? Historical business references will be retained.", "yes": "Yes", "no": "No",
|
||||
"externalRefs": { "title": "External-system customer codes", "hint": "Used for exact Bill-to matching; the short code still comes from the standard customer.", "empty": "No external-system customer codes", "sourceSystem": "Source system, e.g. ERP", "customerCode": "External customer code" },
|
||||
@@ -1688,11 +1763,11 @@
|
||||
"deleteDialog": { "open": "Delete permanently", "title": "Permanently delete customer", "subtitle": "Only mistakenly created customers outside every business and audit chain can be deleted.", "loading": "Checking deletion eligibility...", "identifiers": "{count} identifier(s) will be deleted with this customer.", "blocked": "This customer cannot be deleted permanently", "blockedHint": "Deactivate it or use the customer merge workflow instead.", "warning": "This cannot be undone. Enter the customer short code and a deletion reason to confirm.", "confirmationShortCode": "Enter customer short code {shortCode} to confirm", "reason": "Deletion reason", "confirm": "Delete permanently", "deleted": "Customer deleted permanently", "failed": "Failed to delete customer permanently", "blockers": { "business_cases": "Business cases", "business_sequences": "Business number sequences", "external_references": "External reference keys", "import_target_rows": "Import target rows", "import_result_rows": "Import result rows", "shadow_top_candidates": "Shadow top candidates", "shadow_manual_labels": "Shadow human labels", "shadow_candidate_matches": "Shadow candidate matches", "merged_source_customers": "Merged source customers", "merged_into_customer": "Target customer merge relationship" } },
|
||||
"mergeDialog": { "open": "Merge customer", "title": "Merge duplicate customers", "subtitle": "Historical business and audit records stay unchanged; only future identity configuration moves to the target customer.", "source": "Source customer", "target": "Target customer", "chooseTarget": "Select an active target customer", "historyTitle": "Historical references retained", "historyHint": "Existing business numbers, cases, imports, and shadow audits remain on the source customer and are not rewritten.", "historyCount": "{count} historical or audit reference(s) remain unchanged", "migrateTitle": "Future configuration merged", "identifiers": "Identifiers moved", "duplicates": "Duplicate identifiers", "references": "Reference keys", "warning": "The source customer becomes merged and cannot be used for new tasks or edited again.", "confirmationShortCode": "Enter source short code {shortCode} to confirm", "reason": "Merge reason", "confirm": "Confirm merge", "merged": "Customer merged", "failed": "Failed to merge customer", "previewFailed": "Failed to load merge preview" },
|
||||
"fields": { "standardName": "Standard customer name", "shortCode": "Customer short code", "shortCodeHint": "2-6 letters; saved in uppercase", "status": "Status", "remark": "Remark", "changeReason": "Change reason", "changeReasonHint": "Required when changing short code or status" },
|
||||
"headers": { "name": "Customer", "shortCode": "Short code", "status": "Status", "identifiers": "Identifiers", "cases": "Cases", "actions": "Actions" },
|
||||
"headers": { "name": "Customer", "shortCode": "Short code", "status": "Status", "identifiers": "Identifiers", "identityEvidences": "Configured evidence", "cases": "Cases", "actions": "Actions" },
|
||||
"status": { "all": "All statuses", "active": "Active", "inactive": "Inactive", "merged": "Merged" },
|
||||
"identifierStatus": { "pending": "Pending", "approved": "Approved", "disabled": "Disabled" },
|
||||
"identifierTypes": { "name_alias": "Name alias", "email": "Email", "domain": "Domain", "template_fingerprint": "Template fingerprint", "address": "Address", "contact": "Contact" },
|
||||
"identifiers": { "title": "Customer Identifiers", "type": "Type", "value": "Raw / normalized value", "status": "Review status", "autoMatch": "Auto-match allowed", "empty": "No identifiers", "approve": "Approve", "enableAuto": "Enable auto-match", "disable": "Disable", "add": "Add Identifier", "valuePlaceholder": "Enter alias, email, domain, etc.", "allowAuto": "Allow auto-match" },
|
||||
"identifiers": { "title": "Customer identity evidence", "type": "Type", "definition": "Identity definition", "value": "Raw / normalized value", "status": "Review status", "autoMatch": "Auto-match allowed", "empty": "No configured evidence", "approve": "Approve", "enableAuto": "Enable auto-match", "disable": "Disable", "add": "Add configured evidence", "definitionHint": "Definitions come only from the current published rule set; customer and delivery-site evidence are maintained separately.", "publishedRuleRequired": "No identity rule set is published. Publish one in Customer Identity Rules before maintaining evidence.", "selectDefinition": "Select identity definition", "selectSite": "Select delivery site", "targets": { "customer": "Customer", "site": "Delivery site" }, "valuePlaceholder": "Enter a value for the selected definition", "allowAuto": "Allow auto-match", "manualOnly": "This definition supports candidates and manual review only; auto-confirmation cannot be enabled.", "siteEvidenceCount": "{count} site evidence record(s) maintained", "legacyTitle": "Historical fixed-type evidence (read only)", "legacyHint": "Historical records are retained for audit. Use configured evidence above for new, approval, and disable actions.", "legacyCount": "{count} historical evidence record(s)" },
|
||||
"import": { "title": "Initial Customer Import", "subtitle": "Stage upload, validate conflicts, decide warnings, then publish atomically", "file": "Excel file", "sourceSystem": "Source system", "downloadTemplate": "Download template", "upload": "Upload & validate", "uploaded": "File validation completed", "uploadFailed": "Upload validation failed", "row": "Location", "type": "Row type", "key": "Legacy key", "preview": "Preview", "validation": "Validation", "decision": "Publish action", "choose": "Choose", "target": "Select target customer", "publish": "Publish batch", "published": "Customer import published", "publishFailed": "Publish failed", "alreadyPublished": "Published", "downloadReconciliation": "Download reconciliation CSV", "downloadFailed": "File download failed", "decisionFailed": "Failed to save row decision", "stats": { "total": "Total", "valid": "Valid", "warning": "Warnings", "error": "Errors", "published": "Published" }, "rowTypes": { "customer": "Customer", "identifier": "Identifier" }, "validationStatus": { "valid": "Valid", "warning": "Decision required", "error": "Blocked" }, "actions": { "create": "Create", "update": "Update", "merge": "Merge", "skip": "Skip" } },
|
||||
"lifecycle": { "open": "Governance timeline", "title": "Customer Governance Timeline", "loading": "Loading timeline...", "empty": "No governance events", "time": "Time", "event": "Event", "reason": "Reason", "change": "Change", "events": { "created": "Customer created", "updated": "Customer updated", "identifier_created": "Identifier added", "identifier_updated": "Identifier updated", "merged_source": "Merged as source", "merged_target": "Merged as target", "deleted": "Permanently deleted" } },
|
||||
"prompts": { "deactivateReason": "Enter the reason for deactivation", "identifierChangeReason": "Enter the reason for approving, disabling, or authorizing auto-match" },
|
||||
|
||||
Reference in new issue
Block a user