From 1d95b134d85c3c60cf0e72739888c9741a0bb1ee Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期五, 10 四月 2026 13:20:39 +0800
Subject: [PATCH] #页面优化

---
 rsf-design/src/locales/langs/en.json |  234 ++++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 192 insertions(+), 42 deletions(-)

diff --git a/rsf-design/src/locales/langs/en.json b/rsf-design/src/locales/langs/en.json
index 1bbe119..f4ef9d8 100644
--- a/rsf-design/src/locales/langs/en.json
+++ b/rsf-design/src/locales/langs/en.json
@@ -182,20 +182,11 @@
   "setting": {
     "menuType": {
       "title": "Menu Layout",
-      "list": [
-        "Vertical",
-        "Horizontal",
-        "Mixed",
-        "Dual"
-      ]
+      "list": ["Vertical", "Horizontal", "Mixed", "Dual"]
     },
     "theme": {
       "title": "Theme Style",
-      "list": [
-        "Light",
-        "Dark",
-        "System"
-      ]
+      "list": ["Light", "Dark", "System"]
     },
     "menu": {
       "title": "Menu Style"
@@ -205,17 +196,11 @@
     },
     "box": {
       "title": "Box Style",
-      "list": [
-        "Border",
-        "Shadow"
-      ]
+      "list": ["Border", "Shadow"]
     },
     "container": {
       "title": "Container Width",
-      "list": [
-        "Full",
-        "Boxed"
-      ]
+      "list": ["Full", "Boxed"]
     },
     "basics": {
       "title": "Basic Config",
@@ -659,21 +644,21 @@
       "send": "Send",
       "renameDialogTitle": "Rename Session",
       "sessionTitleField": "Session Title",
-        "requestMetric": "Req: {value}",
-        "sessionMetric": "Session: {id}",
-        "promptMetric": "Prompt: {value}",
-        "modelMetric": "Model: {value}",
-        "promptLabel": "Prompt",
-        "modelLabel": "Model",
-        "modelSelectorLabel": "Chat Model",
-        "modelSelectorHint": "Switching only affects subsequent replies in this session and does not change the global default model.",
-        "modelSwitchFailed": "Failed to switch the chat model",
-        "defaultModelSuffix": "(Default)",
-        "mcpMetric": "MCP: {value}",
-        "historyMetric": "History: {value}",
-        "mcpLabel": "MCP",
-        "historyLabel": "History",
-        "recentMetric": "Recent: {value}",
+      "requestMetric": "Req: {value}",
+      "sessionMetric": "Session: {id}",
+      "promptMetric": "Prompt: {value}",
+      "modelMetric": "Model: {value}",
+      "promptLabel": "Prompt",
+      "modelLabel": "Model",
+      "modelSelectorLabel": "Chat Model",
+      "modelSelectorHint": "Switching only affects subsequent replies in this session and does not change the global default model.",
+      "modelSwitchFailed": "Failed to switch the chat model",
+      "defaultModelSuffix": "(Default)",
+      "mcpMetric": "MCP: {value}",
+      "historyMetric": "History: {value}",
+      "mcpLabel": "MCP",
+      "historyLabel": "History",
+      "recentMetric": "Recent: {value}",
       "elapsedMetric": "Elapsed: {value} ms",
       "firstTokenMetric": "First token: {value} ms",
       "tokenMetric": "Tokens: prompt {prompt} / completion {completion} / total {total}",
@@ -848,12 +833,12 @@
           "systemPrompt": "System Prompt",
           "userPromptTemplate": "User Prompt Template"
         },
-          "dialog": {
-            "titleCreate": "Create Prompt",
-            "titleEdit": "Edit Prompt",
-            "titleDetail": "Prompt Detail",
-            "defaultPreviewInput": "Please summarize the current input",
-            "previewTitle": "Render Preview",
+        "dialog": {
+          "titleCreate": "Create Prompt",
+          "titleEdit": "Edit Prompt",
+          "titleDetail": "Prompt Detail",
+          "defaultPreviewInput": "Please summarize the current input",
+          "previewTitle": "Render Preview",
           "previewDescription": "Input sample content and metadata to preview the final rendering.",
           "previewAction": "Render Preview",
           "previewResolvedVariables": "Resolved variables: {value}",
@@ -2465,8 +2450,20 @@
       },
       "whMat": {
         "title": "Materials",
+        "entity": "Material",
         "labels": {
           "allMaterials": "All Materials"
+        },
+        "actions": {
+          "add": "Add Material",
+          "batchGroup": "Batch Group",
+          "batchWarn": "Batch Warning",
+          "batchFlagCheck": "Batch QC",
+          "batchStatus": "Batch Status",
+          "batchStockLevel": "Batch Stock Level",
+          "bindLoc": "Bind Location",
+          "import": "Import",
+          "downloadTemplate": "Download Template"
         },
         "search": {
           "groupKeywordPlaceholder": "Search material groups",
@@ -2478,19 +2475,76 @@
           "codePlaceholder": "Enter material code",
           "name": "Material Name",
           "namePlaceholder": "Enter material name",
+          "groupId": "Material Group",
+          "groupIdPlaceholder": "Select material group",
+          "platCode": "Platform Code",
+          "platCodePlaceholder": "Enter platform code",
           "spec": "Specification",
           "specPlaceholder": "Enter specification",
+          "model": "Model",
+          "modelPlaceholder": "Enter model",
+          "color": "Color",
+          "colorPlaceholder": "Enter color",
+          "size": "Size",
+          "sizePlaceholder": "Enter size",
+          "unit": "Unit",
+          "unitPlaceholder": "Enter unit",
+          "purUnit": "Purchase Unit",
+          "purUnitPlaceholder": "Enter purchase unit",
+          "stockUnit": "Stock Unit",
+          "stockUnitPlaceholder": "Enter stock unit",
           "barcode": "Barcode",
-          "barcodePlaceholder": "Enter barcode"
+          "barcodePlaceholder": "Enter barcode",
+          "describle": "Description",
+          "describlePlaceholder": "Enter description",
+          "rglarId": "Batch Rule",
+          "rglarIdPlaceholder": "Select batch rule",
+          "weight": "Weight",
+          "weightPlaceholder": "Enter weight",
+          "nromNum": "Standard Pack Qty",
+          "nromNumPlaceholder": "Enter standard pack qty",
+          "stockLevel": "Stock Level",
+          "stockLevelPlaceholder": "Select stock level",
+          "flagLabelMange": "Label Management",
+          "flagLabelMangePlaceholder": "Select label management",
+          "safeQty": "Safe Qty",
+          "safeQtyPlaceholder": "Enter safe qty",
+          "minQty": "Min Qty",
+          "minQtyPlaceholder": "Enter min qty",
+          "maxQty": "Max Qty",
+          "maxQtyPlaceholder": "Enter max qty",
+          "stagn": "Stagnant Days",
+          "stagnPlaceholder": "Enter stagnant days",
+          "valid": "Shelf Life Days",
+          "validPlaceholder": "Enter shelf life days",
+          "validWarn": "Expiry Warning",
+          "validWarnPlaceholder": "Enter expiry warning",
+          "flagCheck": "Exempt Inspection",
+          "flagCheckPlaceholder": "Select exempt inspection",
+          "status": "Status",
+          "statusPlaceholder": "Select status",
+          "memo": "Memo",
+          "memoPlaceholder": "Enter memo",
+          "dynamicPlaceholder": "Enter {field}"
         },
         "messages": {
           "emptyGroups": "No material groups",
           "groupTimeout": "Material groups loading timed out and waiting has stopped",
           "groupLoadFailed": "Failed to load material groups",
+          "serialRuleTimeout": "Batch rules loading timed out and waiting has stopped",
+          "serialRuleLoadFailed": "Failed to load batch rules",
           "listTimeout": "Material list loading timed out and waiting has stopped",
           "listLoadFailed": "Failed to load material list",
           "detailTimeout": "Material detail timed out and waiting has stopped",
-          "detailLoadFailed": "Failed to load material detail"
+          "detailLoadFailed": "Failed to load material detail",
+          "importSuccess": "Material import succeeded",
+          "importFailed": "Material import failed",
+          "templateDownloadSuccess": "Template downloaded successfully",
+          "templateDownloadFailed": "Template download failed",
+          "enabledFieldsTimeout": "Dynamic fields loading timed out",
+          "bindLocTimeout": "Bind-location options loading timed out",
+          "bindLocLoadFailed": "Failed to load bind-location options",
+          "selectAtLeastOne": "Please select at least one material"
         },
         "table": {
           "code": "Material Code",
@@ -2501,6 +2555,102 @@
           "spec": "Specification",
           "model": "Model"
         },
+        "dialog": {
+          "titleCreate": "Add Material",
+          "titleEdit": "Edit Material",
+          "tabs": {
+            "basic": "Basic Information",
+            "control": "Control Information",
+            "batchRule": "Batch Rule"
+          },
+          "fields": {
+            "code": "Material Code",
+            "name": "Material Name",
+            "groupId": "Material Group",
+            "useOrgName": "Using Organization",
+            "spec": "Specification",
+            "model": "Model",
+            "color": "Color",
+            "size": "Size",
+            "weight": "Weight",
+            "unit": "Unit",
+            "purUnit": "Purchase Unit",
+            "describle": "Description",
+            "safeQty": "Safety Stock",
+            "minQty": "Minimum Stock",
+            "maxQty": "Maximum Stock",
+            "stagn": "Stagnation Days",
+            "valid": "Shelf Life Days",
+            "validWarn": "Validity Warning Threshold",
+            "flagCheck": "Exempt Inspection",
+            "rglarId": "Batch Rule"
+          },
+          "placeholders": {
+            "code": "Enter material code",
+            "name": "Enter material name",
+            "groupId": "Select material group",
+            "useOrgName": "Enter using organization",
+            "spec": "Enter specification",
+            "model": "Enter model",
+            "color": "Enter color",
+            "size": "Enter size",
+            "unit": "Enter unit",
+            "purUnit": "Enter purchase unit",
+            "describle": "Enter description",
+            "flagCheck": "Select exempt inspection",
+            "rglarId": "Select batch rule"
+          },
+          "validation": {
+            "code": "Please enter material code",
+            "name": "Please enter material name",
+            "groupId": "Please select material group"
+          }
+        },
+        "batchDialog": {
+          "titles": {
+            "status": "Batch Update Status",
+            "stockLevel": "Batch Update Stock Level",
+            "validWarn": "Batch Update Expiry Warning",
+            "flagCheck": "Batch Update QC Status"
+          },
+          "fields": {
+            "stockLevel": "Stock Level"
+          },
+          "placeholders": {
+            "stockLevel": "Select stock level",
+            "validWarn": "Enter expiry warning",
+            "valid": "Enter shelf life days",
+            "flagCheck": "Select exempt inspection"
+          },
+          "validation": {
+            "status": "Please select status",
+            "stockLevel": "Please select stock level",
+            "validWarn": "Please enter expiry warning",
+            "valid": "Please enter shelf life days",
+            "flagCheck": "Please select exempt inspection"
+          }
+        },
+        "batchGroupDialog": {
+          "title": "Batch Update Material Group"
+        },
+        "bindLocDialog": {
+          "title": "Bind Location",
+          "fields": {
+            "areaMatId": "Area Material",
+            "areaId": "Area",
+            "locId": "Location"
+          },
+          "placeholders": {
+            "areaMatId": "Select area material",
+            "areaId": "Select area",
+            "locId": "Select locations"
+          },
+          "validation": {
+            "areaMatId": "Please select area material",
+            "areaId": "Please select area",
+            "locId": "Please select locations"
+          }
+        },
         "detail": {
           "title": "Material Detail",
           "sections": {

--
Gitblit v1.9.1