feat(shipping-notice): 收料异动解析配置闭环与按需触发FK违例修复

- 收料单元 schedule_run_id 改可空,修复按需触发 FK 违例
- 收料配置绑定已发布异动解析规则(校验/回显/审计快照)
- 预检未绑异动规则 fail-closed,不再徒劳触发 RPA
- 标准异动字段目录只读接口;解析规则用途切换与批号映射表单(四语言)
- movement 解析规则可发布(跳过订单匹配键校验);站点启停门禁仅限库存站点页签
- 只读映射卡三列布局修复
This commit is contained in:
hugo committed 2026-09-21 19:12:29 +08:00
1 parent ab57ab3b1f
commit 20835dcfc0
28 files changed
+987 -73

No files matched your search

+18 -1
View File
@@ -635,7 +635,9 @@
"pathSectionConfigured": "Configured",
"pathSectionNotConfigured": "Not configured",
"parsingProfiles": "Inventory Parsing",
"parsingProfilesHelp": "Maintain inventory file structures, field mappings, and order-field match keys shared by inventory sites.",
"parsingProfilesHelp": "Maintain reusable file parsing rules: inventory parsing targets the inventory field catalog and order match keys; receipt movement targets the standard movement fields (read-only contract).",
"inventoryParsing": { "code": "Inventory Parsing Code", "name": "Inventory Parsing Name", "sampleFile": "Inventory Sample File", "sampleFileHint": "Upload an Excel or CSV file. The system reads worksheets, headers, and a small sample for plan confirmation.", "sampleRequired": "Upload an inventory sample file and complete structure recognition first.", "sourceHeader": "Inventory File Header", "fieldMappings": "Inventory Standard Field Mappings", "analysisPreview": "Inventory Analysis Preview" },
"movementParsing": { "code": "Movement Parsing Code", "name": "Movement Parsing Name", "sampleFile": "Receipt Sample File", "sampleFileHint": "Upload an Excel or CSV file. The system reads worksheets, headers, and a small sample for movement parsing confirmation.", "sampleRequired": "Upload a receipt movement sample file and complete structure recognition first.", "sourceHeader": "Movement File Header", "fieldMappings": "Standard Movement Field Mappings", "analysisPreview": "Movement Analysis Preview" },
"inventoryMapping": "Inventory Parsing",
"inventoryMappingPlans": "Parsing Rules",
"inventoryFields": "Inventory Field Catalog",
@@ -690,6 +692,21 @@
"inventorySampleAnalysing": "Analysing inventory file structure...",
"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: inventory parsing uses the inventory field catalog, receipt movement uses the standard movement fields (read-only contract).",
"parsingPurpose": { "inventory": "Inventory Parsing", "movement": "Receipt Movement" },
"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": "Movement Parsing Rule",
"movementBindingNone": "Not bound",
"movementBindingHint": "With a published movement rule bound, precheck reuses archived receipt files; when unbound, precheck will not trigger a fetch (fail-closed).",
"movementFields": {
"doc_no": "Doc No.", "line_no": "Line No.", "in_out_flag": "In/Out Flag", "material_code": "Material Code",
"material_name": "Material Name", "warehouse_code": "Warehouse", "storage_code": "Storage Bin", "lot_no": "Lot No.",
"quantity": "Quantity", "movement_date": "Movement Date"
},
"inventoryAnalysisFailed": "Inventory file structure recognition failed.",
"inventoryAnalysisPreview": "Recognition Preview",
"inventoryAnalysisSummary": "Found {candidate_count} candidate headers with {sample_row_count} sample rows and suggested {valid_inventory_field_suggestions} inventory fields.",