From a447cbc8b560a5c99b2c3fb2e9066d66e045f950 Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 13 六月 2024 14:34:23 +0800
Subject: [PATCH] 提交

---
 north-glass-erp/northglass-erp/src/views/sd/basicData/CreateBasicData.vue |   60 ++++++++++++++++++++++++++++++------------------------------
 1 files changed, 30 insertions(+), 30 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/sd/basicData/CreateBasicData.vue b/north-glass-erp/northglass-erp/src/views/sd/basicData/CreateBasicData.vue
index 0e47b24..0da5087 100644
--- a/north-glass-erp/northglass-erp/src/views/sd/basicData/CreateBasicData.vue
+++ b/north-glass-erp/northglass-erp/src/views/sd/basicData/CreateBasicData.vue
@@ -14,89 +14,89 @@
   input:''
 })
 let options=ref([
-  { "label": "璁㈠崟",
+  { "label": t('orderBasicData.order'),
     "value": "order",
     "children": [
       {
-        "label": "璁㈠崟绫诲瀷",
+        "label": t('orderBasicData.orderType'),
         "value": "orderType"
       },
       {
-        "label": "璁㈠崟鍒嗙被",
+        "label": t('orderBasicData.orderClassify'),
         "value": "orderClassify"
       },
       {
-        "label": "鍟嗘爣閫夐」",
+        "label": t('orderBasicData.icon'),
         "value": "icon"
       },
       {
-        "label": "鍖呰鏂瑰紡",
+        "label": t('orderBasicData.packType'),
         "value": "packType"
       },
       {
-        "label": "閾濇潯鏂瑰紡",
+        "label": t('orderBasicData.alType'),
         "value": "alType"
       },
       {
-        "label": "涓氬姟鍛�",
+        "label": t('orderBasicData.saleMan'),
         "value": "saleMan"
       }
     ]
   },
   {
-    "label": "浜у搧",
+    "label": t('orderBasicData.product'),
     "value": "product",
     "children": [
       {
-        "label": "鏉愭枡鍘氬害",
+        "label": t('orderBasicData.stuffThickness'),
         "value": "stuffThickness"
       },
       {
-        "label": "鏉愭枡棰滆壊",
+        "label": t('orderBasicData.stuffColor'),
         "value": "stuffColor"
       },
       {
-        "label": "宸ヨ壓灞炴��",
+        "label": t('orderBasicData.stuffCraft'),
         "value": "stuffCraft"
       },
       {
-        "label": "鐜荤拑浣嶇疆",
+        "label": t('orderBasicData.stuffPosition'),
         "value": "stuffPosition"
       },
       {
-        "label": "lowe",
+        "label": t('orderBasicData.stuffLowE'),
         "value": "stuffLowE"
       },
       {
-        "label": "澶硅兌鍘氬害",
+        "label": t('orderBasicData.InterlayerThickness'),
         "value": "InterlayerThickness"
       },
       {
-        "label": "澶硅兌绫诲瀷",
+        "label": t('orderBasicData.InterlayerType'),
         "value": "InterlayerType"
       },
       {
-        "label": "澶硅兌棰滆壊",
+        "label": t('orderBasicData.InterlayerColor'),
         "value": "InterlayerColor"
       },
       {
-        "label": "宸ヨ壓娴佺▼",
+        "label": t('orderBasicData.process'),
         "value": "process"
       },
       {
-        "label": "涓┖鍘氬害",
+        "label": t('orderBasicData.hollowThickness'),
         "value": "hollowThickness"
       },
       {
-        "label": "鍏呮皵鏂瑰紡",
+        "label": t('orderBasicData.hollowGasType'),
         "value": "hollowGasType"
       },
       {
-        "label": "灏佽兌",
+        "label": t('orderBasicData.hollowType'),
         "value": "hollowType"
       },
       {
-        "label": "榛樿鑳舵繁",
+        "label": t('orderBasicData.hollowGlueDepth'),
         "value": "hollowGlueDepth"
       }
     ]
@@ -104,15 +104,15 @@
   {
     "children": [
       {
-        "label": "浠樻鏉′欢",
+        "label": t('orderBasicData.paymentTerms'),
         "value": "paymentTerms"
       },
       {
-        "label": "鏀舵鏂瑰紡",
+        "label": t('orderBasicData.payMethod'),
         "value": "payMethod"
       }
     ],
-    "label": "閫佽揣",
+    "label": t('orderBasicData.delivery'),
     "value": "delivery"
   }
 ])
@@ -135,7 +135,7 @@
 const saveBasicData =  () =>{
   request.post(`/basicData/addBasicData`, basic.value).then(res => {
     if (res.data) {
-      ElMessage.success('淇濆瓨鎴愬姛')
+      ElMessage.success(t('basicData.msg.saveSuccess'))
       emit('gaveParent', true)
     }
   })
@@ -147,7 +147,7 @@
   submitArr.basicName = basic.value.input
   request.post(`/basicData/updateBasicData`, submitArr).then(res => {
     if (res.data) {
-      ElMessage.success('淇敼鎴愬姛')
+      ElMessage.success(t('basicData.msg.saveSuccess'))
       emit('gaveParent', true)
     }
   })
@@ -165,7 +165,7 @@
 <template>
   <div>
     <el-row>
-      <el-col :span="4">鍩虹绫诲瀷:</el-col>
+      <el-col :span="4">{{ $t('orderBasicData.basicType') }}:</el-col>
       <el-col :span="12">
         <el-cascader
             v-model="basic.basicType"
@@ -178,7 +178,7 @@
       </el-col>
     </el-row>
     <el-row>
-      <el-col :span="4">鍚嶇О:</el-col>
+      <el-col :span="4">{{ $t('orderBasicData.name') }}:</el-col>
       <el-col :span="12">
         <el-input v-model="basic.input"/>
       </el-col>
@@ -186,8 +186,8 @@
     <el-row>
       <el-col :span="4"></el-col>
       <el-col :span="12">
-        <el-button v-show="!props.rowIndex" @click="saveBasicData" type="primary">鏂板</el-button>
-        <el-button v-show="props.rowIndex" @click="updateBasicData" type="primary">淇敼</el-button>
+        <el-button v-show="!props.rowIndex" @click="saveBasicData" type="primary">{{ $t('basicData.insert') }}</el-button>
+        <el-button v-show="props.rowIndex" @click="updateBasicData" type="primary">{{ $t('basicData.update') }}</el-button>
 
       </el-col>
     </el-row>

--
Gitblit v1.8.0