|
|
@@ -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>
|