feat(shipping-notice,receipt-report): 新增收料报表功能并优化发货通知流程
清理废弃的shipping xfa ocr automark相关代码和job配置 新增收料报表管理的前端页面、路由和侧边栏入口 新增后端收料报表配置接口、数据库模型和RPA脚本 优化发货通知流程的重试策略,将shipping相关job默认不自动重试 移除废弃的库存源确认相关逻辑,更新流程门禁规则 重构订单模板的值适配器模块,新增坐标OCR值适配器 清理前端shipping菜单和action的废弃选项 更新相关文档和测试用例,调整.gitignore忽略规则
This commit is contained in:
1 parent
260465b72d
commit
1b6483a4ea
466 files changed
+32115
-33796
No files matched your search
@@ -654,6 +654,15 @@
|
||||
"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": "Separate from inventory report paths and inventory query parameters. DBS exports each Warehouse below separately; report date is never filtered.",
|
||||
"receiptReportEnabled": "Enable receipt export",
|
||||
"receiptWarehouses": "Receipt Warehouse list",
|
||||
"receiptWarehousesHint": "Separate multiple Warehouses with commas",
|
||||
"receiptOptionalParameters": "Optional query parameters (excluding report date)",
|
||||
"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.",
|
||||
"saveReceiptReportConfig": "Save receipt configuration",
|
||||
"receiptReportSaved": "Receipt report configuration saved",
|
||||
"parsingProfiles": "Inventory Parsing",
|
||||
"parsingProfilesHelp": "Maintain inventory file structures, field mappings, and order-field match keys shared by inventory sites.",
|
||||
"inventoryMapping": "Inventory Parsing",
|
||||
@@ -1099,7 +1108,7 @@
|
||||
"deleteFailed": "Failed to delete shipping inventory configuration"
|
||||
},
|
||||
"platformApps": {
|
||||
"subtitle": "Manage onboarding guides for apps (video, PDF, and more)",
|
||||
"subtitle": "Manage onboarding guides for apps (video, PDF, and more)",
|
||||
"selectAgent": "Select app:",
|
||||
"addGuide": "Add Guide",
|
||||
"editGuide": "Edit Guide",
|
||||
@@ -2875,6 +2884,7 @@
|
||||
"xfaCrossCheckStatus": "Cross-check status",
|
||||
"xfaNoFieldPreview": "No field-level results yet. Run current-sample validation first.",
|
||||
"xfaAmountFormula": "Amount check: {quantity} × {unitPrice} ÷ {priceUnit} = {amount}",
|
||||
"xfaAmountFormulaWithoutPriceUnit": "Amount check: {quantity} × {unitPrice} = {amount}",
|
||||
"xfaTotalFormula": "Total check: header {total} = line sum {lineSum}",
|
||||
"xfaCheckLabel": {
|
||||
"mirror_status": "Mirror collection",
|
||||
@@ -2935,8 +2945,7 @@
|
||||
"currentValidationRequired": "The current draft must pass current-sample validation first.",
|
||||
"semanticDiffReview": "This version has semantic changes. Confirm that you reviewed them.",
|
||||
"unknownIssue": "The publish check found an issue that needs attention.",
|
||||
"xfaVisualBindingsRequired": "Unified visual bindings are required before publish.",
|
||||
"xfaVisualBindingIncomplete": "Formal fields are missing confirmed visual bindings.",
|
||||
"xfaFieldMappingsRequired": "Final value mappings are incomplete.",
|
||||
"xfaVisualCoverageInsufficient": "Visual binding coverage is below 100%.",
|
||||
"xfaEvidenceRetentionInsufficient": "evidence_only retention is below 100%.",
|
||||
"xfaMirrorConsistencyInsufficient": "Mirror formal-field consistency is below 100%.",
|
||||
@@ -3577,6 +3586,12 @@
|
||||
"orderFieldValueReading": "Reading",
|
||||
"orderFieldValueFailed": "Read failed",
|
||||
"currentSampleValue": "Current sample value",
|
||||
"visualEvidenceSource": "Visual evidence: {source}",
|
||||
"visualEvidenceSources": {
|
||||
"pdf_coordinate": "Native PDF text coordinates",
|
||||
"ocr_coordinate": "OCR coordinates",
|
||||
"acroform_widget": "AcroForm widget value"
|
||||
},
|
||||
"selectedRegion": "Selected annotation",
|
||||
"recognitionResults": "Recognition results",
|
||||
"orderHeaderResults": "Order header fields",
|
||||
@@ -3616,8 +3631,14 @@
|
||||
"autoSuggestAnalyzing": "Analyzing physical rows and column boundaries...",
|
||||
"autoSuggestApplying": "Generating review markers...",
|
||||
"autoSuggestComplete": "Suggestion generated; it has not been saved.",
|
||||
"autoSuggestMultiEvidenceReview": "Native/OCR candidates were generated in parallel; choose the line layout before saving.",
|
||||
"autoSuggestEvidenceSource": "Line evidence source",
|
||||
"autoSuggestChooseEvidence": "Choose a line evidence candidate",
|
||||
"autoSuggestCandidateSummary": "{source}: {rows} rows / {columns} columns",
|
||||
"autoSuggestCandidateConflict": "Source conflict detected; manual confirmation is required",
|
||||
"autoSuggestNoRows": "No item rows were detected for marking.",
|
||||
"autoSuggestFailed": "Auto-marking failed. See the reason below.",
|
||||
"autoSuggestLayoutStale": "The sample layout was reparsed. Refresh or rebind the current sample, then run auto-mark again.",
|
||||
"schemaCompatible": "Field-compatible; can be inherited automatically",
|
||||
"schemaBreaking": "Breaking field changes require migration",
|
||||
"regionSuggestionReady": "Review the generated row and column marks, then confirm field bindings before saving.",
|
||||
@@ -3893,7 +3914,8 @@
|
||||
"authoritative_collection_required": "Authoritative line collection is required before save",
|
||||
"duplicate_field_binding": "A Schema field cannot be bound more than once",
|
||||
"required_fields_unmapped": "Required Schema fields are still unmapped",
|
||||
"incomplete_visual_binding": "Complete the Schema field and datasets path binding for every manually drawn visual box first."
|
||||
"incomplete_visual_binding": "Complete the Schema field and datasets path binding for every manually drawn visual box first.",
|
||||
"formal_binding_visual_missing": "An existing formal datasets binding has no shared visual box ({layouts}); restore the box or explicitly unbind it before saving"
|
||||
},
|
||||
"requiredCoverage": "Required coverage {mapped} / {total}",
|
||||
"currentNode": "Current source node",
|
||||
@@ -3940,18 +3962,6 @@
|
||||
"totalAmount": "Header total policy"
|
||||
},
|
||||
"previewHint": "Full dry-run extraction and amount identities are shown on the Validate page.",
|
||||
"previewMode": {
|
||||
"label": "Preview status",
|
||||
"original": "Original PDF",
|
||||
"synthetic": "Synthetic preview",
|
||||
"statusReady": "Synthetic preview ready ({pages} pages)",
|
||||
"statusLoading": "Generating synthetic preview…",
|
||||
"statusUnavailable": "Synthetic preview unavailable",
|
||||
"statusFailed": "Synthetic preview failed",
|
||||
"statusStale": "Synthetic preview is stale; regenerate",
|
||||
"requestFailed": "Failed to request synthetic preview"
|
||||
},
|
||||
"staticPreviewBanner": "Canvas source is the offline full-flatten effective page only; original PDF is never offered.",
|
||||
"datasetsColumn": "XFA datasets",
|
||||
"collectionMeta": "Authoritative: {authoritative} · mirrors {mirrors}",
|
||||
"syntheticNeedsReviewTitle": "Synthetic preview unavailable (needs_review)",
|
||||
@@ -3977,6 +3987,7 @@
|
||||
"datasetsPath": "Datasets path",
|
||||
"pickDatasetsPath": "Pick datasets path",
|
||||
"datasetsSampleValue": "Datasets sample value",
|
||||
"lineInheritsHeaderHint": "This is a line field: the selected Header value will be inherited by every line.",
|
||||
"previewStatusTitle": "Preview & OCR status",
|
||||
"ocrStatus": "OCR auto-mark: {status}",
|
||||
"reconfirmCollections": "Reconfirm collections",
|
||||
@@ -4410,7 +4421,7 @@
|
||||
"task_closed_after_upload": "Task closed after successful upload",
|
||||
"void_blocked_external_uploaded": "External fulfillment exists; void is blocked — archive instead",
|
||||
"gate_invalidated": "Upstream result changed; gate must be re-evaluated",
|
||||
"technical_retry_exhausted": "Automatic retries exhausted",
|
||||
"technical_failure_present": "System processing failed; user action is required",
|
||||
"business_table_not_found": "Business table was not found",
|
||||
"generic_gate_blocked": "Generic order recognition gate blocked",
|
||||
"upload_rpa_login_failed": "Freight platform login failed",
|
||||
@@ -4533,13 +4544,13 @@
|
||||
"xfa_path_unknown": "Unknown XFA data path",
|
||||
"xfa_definition_invalid": "Invalid XFA profile definition",
|
||||
"xfa_structure_identity_changed": "XFA structure identity changed",
|
||||
"xfa_visual_bindings_required": "Unified visual bindings are required before publish",
|
||||
"xfa_visual_binding_incomplete": "Formal fields are missing confirmed visual bindings",
|
||||
"xfa_mapping_required": "Final value mappings are incomplete",
|
||||
"xfa_visual_coverage_insufficient": "Visual binding coverage is below 100%",
|
||||
"xfa_evidence_retention_insufficient": "evidence_only retention is below 100%",
|
||||
"xfa_mirror_consistency_insufficient": "Mirror formal-field consistency is below 100%",
|
||||
"xfa_profile_checksum_mismatch": "Published profile checksum does not match the runtime snapshot",
|
||||
"xfa_visual_not_publishable": "Published profile visual bindings are not publishable"
|
||||
"xfa_visual_not_publishable": "Published profile visual bindings are not publishable",
|
||||
"xfa_fallback_requires_review": "XFA datasets could not produce values; PDF evidence is available for human review"
|
||||
}
|
||||
},
|
||||
"shippingProcessGates": {
|
||||
@@ -4856,8 +4867,96 @@
|
||||
"regionPreviewFailed": "Region recognition preview failed",
|
||||
"regionSaved": "Comparison region configuration saved",
|
||||
"defaultTemplateName": "Standard Procurement Contract"
|
||||
}
|
||||
,"trainingConfig": {
|
||||
"title": "Training Configuration", "subtitle": "Manage versions, exam rules, resources and questions by training type", "types": "Training Types", "typeCount": "{count} configurations", "detail": "Configuration Details", "headerMeta": "Type: {type} · Current version: {version}", "addType": "Add Training Type", "editType": "Edit Training Type", "empty": "No training configurations", "selectHint": "Select a training type", "saving": "Saving...", "addResource": "Add Resource", "selectResource": "Select a resource", "resourceTitle": "Resource name", "resourceTitlePlaceholder": "Enter a learner-facing resource name", "resourceKind": "Resource type", "resourceFile": "Linked content", "resourcesEmpty": "No training materials added", "resourcesEmptyHint": "Link an application guide video or knowledge document version", "guideGroupingHint": "Safety training guides are grouped by usage for accurate company, department, or team-level linking", "documentVersionHint": "The configuration locks the selected knowledge document version", "questionJson": "Question JSON", "questionSource": "Training exam PDF", "selectQuestionSource": "Select the current PDF from Employee Training", "parseQuestions": "Convert to question bank", "parsingQuestions": "Parsing...", "questionSourceHint": "Only current PDF versions from the Employee Training knowledge base are listed. You can edit the JSON after parsing.", "parseStatus": "Parsed {fileName} ({mode})", "parseSkipped": "; unrecognized question numbers: {numbers}", "questionJsonHint": "Enter a JSON array. Saving syncs it to settings and the inline question resource.", "questionCount": "{count} questions", "confirmDelete": "Delete this training configuration?", "sections": {"basicTitle": "Basic Configuration", "basicDesc": "Set the training name, release version, status, and exam rules", "resourcesTitle": "Training Materials", "resourcesDesc": "Link guide videos and knowledge documents to build learning content", "examTitle": "Question Bank", "examDesc": "Maintain structured question data for controlled examinations", "reviewTitle": "Review & Checklist", "reviewDesc": "Configure review points, pre-exam checklists, and guided chat questions"}, "guideGroups": {"company": "Company-level Safety Training", "department": "Department-level Safety Training", "team": "Team-level Safety Training", "other": "General and Other Materials"}, "placeholders": {"onePerLine": "Enter one item per line", "oneQuestionPerLine": "Enter one question per line"}, "fields": {"type": "Training type code", "name": "Configuration name", "version": "Version", "status": "Status", "passScore": "Pass score", "examMode": "Exam mode", "summaryPoints": "Review points", "summaryChecklist": "Pre-exam checklist", "employeeQuestions": "Employee FAQs", "hrQuestions": "HR FAQs"}, "status": {"draft": "Draft", "published": "Published", "archived": "Archived"}, "examMode": {"unified": "Unified paper", "perLevel": "Per-level exam"}, "resourceTypes": {"questions": "Inline questions", "guide": "Guide resource", "document": "Knowledge document"}, "messages": {"loadFailed": "Failed to load training configurations", "saveFailed": "Failed to save training configuration", "typeRequired": "Enter the training type code and name", "invalidQuestions": "Question JSON must be an array", "questionSourceRequired": "Select a training exam PDF", "parseSuccess": "Parsed {count} questions. Review before saving.", "parseFailed": "Question bank parsing failed", "saved": "Training configuration saved", "deleted": "Training configuration deleted"}
|
||||
},
|
||||
"trainingConfig": {
|
||||
"title": "Training Configuration",
|
||||
"subtitle": "Manage versions, exam rules, resources and questions by training type",
|
||||
"types": "Training Types",
|
||||
"typeCount": "{count} configurations",
|
||||
"detail": "Configuration Details",
|
||||
"headerMeta": "Type: {type} · Current version: {version}",
|
||||
"addType": "Add Training Type",
|
||||
"editType": "Edit Training Type",
|
||||
"empty": "No training configurations",
|
||||
"selectHint": "Select a training type",
|
||||
"saving": "Saving...",
|
||||
"addResource": "Add Resource",
|
||||
"selectResource": "Select a resource",
|
||||
"resourceTitle": "Resource name",
|
||||
"resourceTitlePlaceholder": "Enter a learner-facing resource name",
|
||||
"resourceKind": "Resource type",
|
||||
"resourceFile": "Linked content",
|
||||
"resourcesEmpty": "No training materials added",
|
||||
"resourcesEmptyHint": "Link an application guide video or knowledge document version",
|
||||
"guideGroupingHint": "Safety training guides are grouped by usage for accurate company, department, or team-level linking",
|
||||
"documentVersionHint": "The configuration locks the selected knowledge document version",
|
||||
"questionJson": "Question JSON",
|
||||
"questionSource": "Training exam PDF",
|
||||
"selectQuestionSource": "Select the current PDF from Employee Training",
|
||||
"parseQuestions": "Convert to question bank",
|
||||
"parsingQuestions": "Parsing...",
|
||||
"questionSourceHint": "Only current PDF versions from the Employee Training knowledge base are listed. You can edit the JSON after parsing.",
|
||||
"parseStatus": "Parsed {fileName} ({mode})",
|
||||
"parseSkipped": "; unrecognized question numbers: {numbers}",
|
||||
"questionJsonHint": "Enter a JSON array. Saving syncs it to settings and the inline question resource.",
|
||||
"questionCount": "{count} questions",
|
||||
"confirmDelete": "Delete this training configuration?",
|
||||
"sections": {
|
||||
"basicTitle": "Basic Configuration",
|
||||
"basicDesc": "Set the training name, release version, status, and exam rules",
|
||||
"resourcesTitle": "Training Materials",
|
||||
"resourcesDesc": "Link guide videos and knowledge documents to build learning content",
|
||||
"examTitle": "Question Bank",
|
||||
"examDesc": "Maintain structured question data for controlled examinations",
|
||||
"reviewTitle": "Review & Checklist",
|
||||
"reviewDesc": "Configure review points, pre-exam checklists, and guided chat questions"
|
||||
},
|
||||
"guideGroups": {
|
||||
"company": "Company-level Safety Training",
|
||||
"department": "Department-level Safety Training",
|
||||
"team": "Team-level Safety Training",
|
||||
"other": "General and Other Materials"
|
||||
},
|
||||
"placeholders": {
|
||||
"onePerLine": "Enter one item per line",
|
||||
"oneQuestionPerLine": "Enter one question per line"
|
||||
},
|
||||
"fields": {
|
||||
"type": "Training type code",
|
||||
"name": "Configuration name",
|
||||
"version": "Version",
|
||||
"status": "Status",
|
||||
"passScore": "Pass score",
|
||||
"examMode": "Exam mode",
|
||||
"summaryPoints": "Review points",
|
||||
"summaryChecklist": "Pre-exam checklist",
|
||||
"employeeQuestions": "Employee FAQs",
|
||||
"hrQuestions": "HR FAQs"
|
||||
},
|
||||
"status": {
|
||||
"draft": "Draft",
|
||||
"published": "Published",
|
||||
"archived": "Archived"
|
||||
},
|
||||
"examMode": {
|
||||
"unified": "Unified paper",
|
||||
"perLevel": "Per-level exam"
|
||||
},
|
||||
"resourceTypes": {
|
||||
"questions": "Inline questions",
|
||||
"guide": "Guide resource",
|
||||
"document": "Knowledge document"
|
||||
},
|
||||
"messages": {
|
||||
"loadFailed": "Failed to load training configurations",
|
||||
"saveFailed": "Failed to save training configuration",
|
||||
"typeRequired": "Enter the training type code and name",
|
||||
"invalidQuestions": "Question JSON must be an array",
|
||||
"questionSourceRequired": "Select a training exam PDF",
|
||||
"parseSuccess": "Parsed {count} questions. Review before saving.",
|
||||
"parseFailed": "Question bank parsing failed",
|
||||
"saved": "Training configuration saved",
|
||||
"deleted": "Training configuration deleted"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user