fix(shipping-inventory): 补齐异动字段四语言标签并加契约护栏测试
后端 MOVEMENT_FIELDS 2026-10-14 扩 7 个可选维度字段后,管理页标准异动字段 下拉把原始 i18n key 直接渲染给了用户。四语言 movementFields 补齐 line_seq/specification/order_type/odm_id/odm_name/carton_id/pallet_id, 新增 movementFieldLabels.spec 锁定四语言键集与后端 18 字段契约一致。 随行披露:admin.json 同步携带调拨类型管理页 transferTypes 文案键(供后续批次使用)。
This commit is contained in:
1 parent
4225ed4d0b
commit
28d6085d07
5 files changed
+512
-4
No files matched your search
@@ -14,6 +14,7 @@
|
||||
"edit": "Edit",
|
||||
"delete": "Delete",
|
||||
"nav": {
|
||||
"transferTypes": "In-Transit Transfer Types",
|
||||
"dashboard": "Dashboard",
|
||||
"approvals": "User Approvals",
|
||||
"users": "User Maintenance",
|
||||
@@ -706,7 +707,9 @@
|
||||
"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", "unit": "Unit"
|
||||
"quantity": "Quantity", "movement_date": "Movement Date", "unit": "Unit",
|
||||
"line_seq": "Line Seq.", "specification": "Specification", "order_type": "Order Type",
|
||||
"odm_id": "ODM ID", "odm_name": "ODM Name", "carton_id": "Carton No.", "pallet_id": "Pallet No."
|
||||
},
|
||||
"inventoryAnalysisFailed": "Inventory file structure recognition failed.",
|
||||
"inventoryAnalysisPreview": "Recognition Preview",
|
||||
@@ -5858,5 +5861,117 @@
|
||||
"stopped_revoked": "Revoked, no further reminders",
|
||||
"excluded": "Outside monitoring"
|
||||
}
|
||||
},
|
||||
"transferTypes": {
|
||||
"title": "In-Transit Transfer Types",
|
||||
"subtitle": "Configure scope rules, warehouse definitions and field transforms for in-transit transfer types; changes take effect immediately after saving.",
|
||||
"createType": "New Type",
|
||||
"searchLabel": "Search",
|
||||
"searchPlaceholder": "Search code/name…",
|
||||
"statusLabel": "Status",
|
||||
"statusAll": "All",
|
||||
"statusEnabled": "Enabled",
|
||||
"statusDisabled": "Disabled",
|
||||
"loading": "Loading…",
|
||||
"empty": "No transfer types yet",
|
||||
"emptyHint": "Click \"New Type\" to create the first in-transit transfer type.",
|
||||
"colCode": "Code",
|
||||
"colName": "Name",
|
||||
"colRules": "Rules",
|
||||
"colStatus": "Status",
|
||||
"colActions": "Actions",
|
||||
"enabled": "Enabled",
|
||||
"disabled": "Disabled",
|
||||
"edit": "Edit",
|
||||
"drawerCreateTitle": "Create Transfer Type",
|
||||
"drawerEditTitle": "Edit Transfer Type",
|
||||
"errorSummaryTitle": "Please fix the following issues and retry:",
|
||||
"sectionBasic": "Basic Info",
|
||||
"codeLabel": "Code",
|
||||
"codeImmutableHint": "Immutable after creation",
|
||||
"nameZhCnLabel": "Name (zh-CN, required)",
|
||||
"nameZhTwLabel": "Name (zh-TW)",
|
||||
"nameEnLabel": "Name (en)",
|
||||
"nameThLabel": "Name (th)",
|
||||
"sortLabel": "Sort Order",
|
||||
"enabledLabel": "Enabled",
|
||||
"sectionScope": "Scope Rules",
|
||||
"scopeHint": "Rules combine with AND; multiple values within a rule combine with OR",
|
||||
"overlapWarning": "Scope overlaps with enabled type(s) \"{codes}\" — please confirm this is intended",
|
||||
"fieldLabel": "Field",
|
||||
"chooseField": "Select a field",
|
||||
"matchLabel": "Match",
|
||||
"valuesLabel": "Values",
|
||||
"valuesPlaceholder": "Press Enter to add; commas supported",
|
||||
"removeValue": "Remove value {value}",
|
||||
"removeRule": "Remove rule",
|
||||
"addScopeRule": "Add Rule",
|
||||
"sectionWarehouse": "Warehouse Definition",
|
||||
"warehouseFrom": "From Warehouse",
|
||||
"warehouseTo": "To Warehouse",
|
||||
"modeMapped": "Mapped",
|
||||
"modeFixed": "Fixed",
|
||||
"fixedCodeLabel": "Warehouse Code",
|
||||
"orgLabel": "External Org Override",
|
||||
"orgHint": "Leave empty to inherit the mapped external org",
|
||||
"mappingCheckOk": "Warehouse code exists in the mapping archive",
|
||||
"mappingCheckMissing": "Warehouse code not found in the mapping archive (hint only, saving is not blocked)",
|
||||
"sectionTransform": "Transform Rules",
|
||||
"transformField": "Field",
|
||||
"transformOp": "Transform",
|
||||
"transformSource": "Source Prefix",
|
||||
"transformTarget": "New Prefix",
|
||||
"removeTransform": "Remove transform",
|
||||
"addTransformRule": "Add Transform",
|
||||
"cancel": "Cancel",
|
||||
"save": "Save",
|
||||
"saving": "Saving…",
|
||||
"saveSuccess": "Transfer type saved",
|
||||
"saveFailed": "Save failed",
|
||||
"loadFailed": "Failed to load transfer types, please retry later",
|
||||
"loadFailedTitle": "Load failed",
|
||||
"emptyScopeConfirm": "Without scope rules the backend rejects all lines by default (fail-closed). Save without scope rules anyway?",
|
||||
"matchLabels": {
|
||||
"prefix": "Prefix",
|
||||
"equals": "Equals",
|
||||
"contains": "Contains",
|
||||
"in": "In"
|
||||
},
|
||||
"scopeFieldLabels": {
|
||||
"source_code": "Receipt Source",
|
||||
"doc_no": "Receipt Doc No",
|
||||
"warehouse_code": "Warehouse",
|
||||
"storage_code": "Storage Bin",
|
||||
"lot_no": "Lot No",
|
||||
"movement_date": "Movement Date",
|
||||
"record_kind": "Record Type",
|
||||
"in_out_flag": "In-Out Flag",
|
||||
"order_type": "Order Type",
|
||||
"odm_id": "ODM ID",
|
||||
"odm_name": "ODM NAME",
|
||||
"carton_id": "Carton No",
|
||||
"pallet_id": "Pallet No",
|
||||
"material_code": "Material Code",
|
||||
"doc_nature": "Doc Nature",
|
||||
"movement_type": "Movement Type",
|
||||
"reason_code": "Reason Code",
|
||||
"partner_code": "Partner Code"
|
||||
},
|
||||
"transformFieldLabels": {
|
||||
"lot_no": "Lot No"
|
||||
},
|
||||
"transformOpLabels": {
|
||||
"prefix_replace": "Prefix Replace"
|
||||
},
|
||||
"errors": {
|
||||
"codeRequired": "Transfer type code is required",
|
||||
"codeFormat": "Code must start with a lowercase letter and contain only lowercase letters, digits or underscores (2-64 chars)",
|
||||
"nameRequired": "Chinese name (zh-CN) is required",
|
||||
"ruleFieldRequired": "Select a scope field",
|
||||
"ruleValuesRequired": "Add at least one value",
|
||||
"fixedCodeRequired": "Warehouse code is required for fixed mode",
|
||||
"transformSourceRequired": "Source prefix is required",
|
||||
"transformTargetRequired": "New prefix is required"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user