Переглянути джерело

Merge branch 'v20' of http://192.168.31.240:3000/MTP2.0_New/MTP20_WEB_GLOBAL into v20

li.shaoyi 1 рік тому
батько
коміт
9bef0cd5b9

+ 1 - 0
public/locales/en-US.json

@@ -1205,6 +1205,7 @@
         "tips4": "Go Authentication",
         "tips5": "Do you want to quit the current account?",
         "tips6": "Mobile phone number more than 20 digits",
+        "tips7": "Not Bank Sign",
         "search": {
             "title": "Search BranchBank",
             "Pleaseenterbranchbankname": "Please enter branch bank name",

+ 1 - 0
public/locales/zh-CN.json

@@ -1209,6 +1209,7 @@
         "tips4": "去实名",
         "tips5": "是否退出当前账号?",
         "tips6": "手机号码超过20位",
+        "tips7": "未签约",
         "search": {
             "title": "查询支行",
             "Pleaseenterbranchbankname": "请输入支行名称",

+ 2 - 2
src/packages/pc/views/footer/capital/summary/deposit/index.vue

@@ -148,7 +148,7 @@ const formSubmit = () => {
         let isComplete = false // 请求是否结束
         const complete = () => {
             isComplete = true
-            ElMessage.success('提交成功,请稍后确认结果')
+            ElMessage.success(t('common.submitsuccess1'))
             onCancel()
         }
 
@@ -168,7 +168,7 @@ const formSubmit = () => {
             window.clearTimeout(time)
         })
     } else {
-        ElMessage.error('未签约')
+        ElMessage.error(t('banksign.tips7'))
     }
 }
 </script>

+ 6 - 6
src/packages/pc/views/footer/capital/summary/withdraw/index.vue

@@ -75,9 +75,9 @@ const formRules: FormRules = {
             if (value <= (fund.value.AvailableOutMoney ?? 0.0) && value > 0.0) {
                 callback()
             } else if (fund.value.AvailableOutMoney === 0.0) {
-                callback(new Error('可出金额为0'))
+                callback(new Error(t('banksign.wallet.withdraw.theamountavailableis0')))
             } else {
-                callback(new Error('超出可出金额'))
+                callback(new Error(t('banksign.wallet.withdraw.exceedingthepayableamount')))
             }
         }
     }],
@@ -100,10 +100,10 @@ const doWithDrawWarning = () => {
                     /// 提交
                     formSubmit()
                 } else {
-                    ElMessageBox.confirm('出金不在时间范围内', t('common.tips'), { confirmButtonText: '我知道了', showCancelButton: false })
+                    ElMessageBox.confirm(t('banksign.wallet.withdraw.goldisnotwithinthetimeframe'), t('common.tips'), { confirmButtonText: t('common.ikonw'), showCancelButton: false })
                 }
             }).catch(() => {
-                ElMessage.error('获取服务器时间失败')
+                ElMessage.error(t('banksign.wallet.withdraw.failedtogetservertime'))
             }).finally(() => {
                 loading.value = false
             })
@@ -126,7 +126,7 @@ const formSubmit = () => {
         let isComplete = false // 请求是否结束
         const complete = () => {
             isComplete = true
-            ElMessage.success('提交成功,请稍后确认结果')
+            ElMessage.success(t('common.submitsuccess1'))
             onCancel()
         }
 
@@ -146,7 +146,7 @@ const formSubmit = () => {
             window.clearTimeout(time)
         })
     } else {
-        ElMessage.error('未签约')
+        ElMessage.error(t('banksign.tips7'))
     }
 }
 </script>