Handy_Cao 8 bulan lalu
induk
melakukan
2dfd6518fa

+ 2 - 1
src/packages/pc/components/modules/enum/index.vue

@@ -9,6 +9,7 @@
 <script lang="ts" setup>
 import { computed } from 'vue'
 import { useEnum } from '@/hooks/enum'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     modelValue: Number,
@@ -22,7 +23,7 @@ const props = defineProps({
     },
     placeholder: {
         type: String,
-        default: '请选择'
+        default: i18n.global.t('common.pleasechoice')
     }
 })
 

+ 2 - 1
src/packages/pc/components/modules/select-bank/index.vue

@@ -14,6 +14,7 @@ import { computed, shallowRef, toRaw, PropType, watch } from 'vue'
 import { ElMessage } from 'element-plus'
 import { useRequest } from '@/hooks/request'
 import { getBankInfoByCusBank } from '@/services/api/bank'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     cusbankid: String,
@@ -22,7 +23,7 @@ const props = defineProps({
     },
     placeholder: {
         type: String,
-        default: '请输入'
+        default: i18n.global.t('common.pleaseenter')
     }
 })
 

+ 2 - 1
src/packages/pc/components/modules/select-cusbank/index.vue

@@ -11,12 +11,13 @@
 import { computed, toRaw } from 'vue'
 import { useRequest } from '@/hooks/request'
 import { getAllBankCus } from '@/services/api/bank'
+import { i18n } from '@/stores'
 
 const props = defineProps({
     modelValue: String,
     placeholder: {
         type: String,
-        default: '请选择'
+        default: i18n.global.t('common.pleasechoice')
     }
 })
 

+ 1 - 1
src/packages/pc/views/account/fundacct/components/sign/edit/index.vue

@@ -13,7 +13,7 @@
                     {{ userInfo.cardtypeid }}
                 </el-form-item>
                 <el-form-item :label="t('account.fundacct.sign.edit.cusbankid')" prop="cusbankid">
-                    <el-select v-model="formData.cusbankid" placeholder="请选择" @change="onCusBankChange">
+                    <el-select v-model="formData.cusbankid" :placeholder="t('common.pleasechoice')" @change="onCusBankChange">
                         <el-option v-for="item in cusbankList" :key="item.cusbankid" :label="item.cusbankname"
                             :value="item.cusbankid" />
                     </el-select>

+ 1 - 1
src/packages/pc/views/query/internal/offlinedelivery/index.vue

@@ -5,7 +5,7 @@
             <app-filter :option="filterOption">
                 <template #startdate="{ item }">
                     <el-form-item :label="item.label" prop="cycletime">
-                        <el-date-picker v-model="item.value" value-format="YYYYMMDD" placeholder="请选择" />
+                        <el-date-picker v-model="item.value" value-format="YYYYMMDD" :placeholder="t('common.pleasechoice')" />
                     </el-form-item>
                 </template>
             </app-filter>

+ 1 - 1
src/packages/pc/views/query/internal/tradesumm/index.vue

@@ -5,7 +5,7 @@
             <app-filter :option="filterOption">
                 <template #cycletime="{ item }">
                     <el-form-item :label="item.label" prop="cycletime">
-                        <el-date-picker v-model="item.value" value-format="YYYYMMDD" placeholder="请选择" />
+                        <el-date-picker v-model="item.value" value-format="YYYYMMDD" :placeholder="t('common.pleasechoice')" />
                     </el-form-item>
                 </template>
             </app-filter>

+ 1 - 1
src/packages/pc/views/query/order/delivery/index.vue

@@ -5,7 +5,7 @@
             <app-filter :option="filterOption">
                 <template #startdate="{ item }">
                     <el-form-item :label="item.label" prop="startdate">
-                        <el-date-picker v-model="item.value" value-format="YYYYMMDD" placeholder="请选择" />
+                        <el-date-picker v-model="item.value" value-format="YYYYMMDD" :placeholder="t('common.pleasechoice')" />
                     </el-form-item>
                 </template>
             </app-filter>