|
@@ -1,13 +1,13 @@
|
|
|
<!-- 资金信息-资金汇总-入金 -->
|
|
<!-- 资金信息-资金汇总-入金 -->
|
|
|
<template>
|
|
<template>
|
|
|
- <app-drawer title="入金" :width="600" v-model:show="show" :loading="loading">
|
|
|
|
|
|
|
+ <app-drawer :title="t('banksign.wallet.cashin')" :width="600" v-model:show="show" :loading="loading">
|
|
|
<el-form ref="formRef" v-if="cusBank?.caninamount === 1" class="el-form--vertical" label-width="120px"
|
|
<el-form ref="formRef" v-if="cusBank?.caninamount === 1" class="el-form--vertical" label-width="120px"
|
|
|
:model="formData" :rules="formRules">
|
|
:model="formData" :rules="formRules">
|
|
|
- <el-form-item prop="Amount" label="入金金额">
|
|
|
|
|
|
|
+ <el-form-item prop="Amount" :label="t('banksign.wallet.deposit.inamount')">
|
|
|
<el-input-number :placeholder="t('common.pleaseenter')" :max="9999999999" :precision="2" v-model="formData.Amount"
|
|
<el-input-number :placeholder="t('common.pleaseenter')" :max="9999999999" :precision="2" v-model="formData.Amount"
|
|
|
:rules="formRules.Amount" />
|
|
:rules="formRules.Amount" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
- <el-form-item label="凭证" prop="filePath">
|
|
|
|
|
|
|
+ <el-form-item :label="t('banksign.wallet.deposit.credit')" prop="filePath">
|
|
|
<app-upload :file-types="['image']" type-message="请选择正确的图片类型" @change="onUploadChange" />
|
|
<app-upload :file-types="['image']" type-message="请选择正确的图片类型" @change="onUploadChange" />
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<template v-for="(item, index) in configs" :key="index">
|
|
<template v-for="(item, index) in configs" :key="index">
|
|
@@ -19,30 +19,30 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
<fieldset class="g-fieldset">
|
|
<fieldset class="g-fieldset">
|
|
|
<legend class="g-fieldset__legend">入金时间</legend>
|
|
<legend class="g-fieldset__legend">入金时间</legend>
|
|
|
- <span class="el-form-tips">入金时间:交易日 {{ startTime }} - {{ endTime }}</span>
|
|
|
|
|
- <span class="el-form-tips">节假日以通知、公告为准,非交易日请勿操作!</span>
|
|
|
|
|
|
|
+ <span class="el-form-tips">{{ t('banksign.wallet.deposit.time') }}{{ startTime }} - {{ endTime }}</span>
|
|
|
|
|
+ <span class="el-form-tips">{{ t('banksign.wallet.deposit.notice') }}</span>
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
<fieldset class="g-fieldset" v-if="msg_320">
|
|
<fieldset class="g-fieldset" v-if="msg_320">
|
|
|
<legend class="g-fieldset__legend">入金平台</legend>
|
|
<legend class="g-fieldset__legend">入金平台</legend>
|
|
|
<div class="msg_row" v-if="msg_320">
|
|
<div class="msg_row" v-if="msg_320">
|
|
|
- <span class="msg_label">平台入金银行</span>
|
|
|
|
|
|
|
+ <span class="msg_label">{{ t('banksign.wallet.deposit.platformdepositbankname') }}</span>
|
|
|
<span class="msg_tips" :data-clipboard-text="msg_320" v-copy="onCopy">{{ msg_320 }}</span>
|
|
<span class="msg_tips" :data-clipboard-text="msg_320" v-copy="onCopy">{{ msg_320 }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="msg_row" v-if="msg_321">
|
|
<div class="msg_row" v-if="msg_321">
|
|
|
- <span class="msg_label">平台入金账号</span>
|
|
|
|
|
|
|
+ <span class="msg_label">{{ t('banksign.wallet.deposit.platformdepositaccountno') }}</span>
|
|
|
<span class="msg_tips" :data-clipboard-text="msg_321" v-copy="onCopy">{{ msg_321 }}</span>
|
|
<span class="msg_tips" :data-clipboard-text="msg_321" v-copy="onCopy">{{ msg_321 }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="msg_row" v-if="msg_322">
|
|
<div class="msg_row" v-if="msg_322">
|
|
|
- <span class="msg_label">平台入金账户</span>
|
|
|
|
|
|
|
+ <span class="msg_label">{{ t('banksign.wallet.deposit.platformdepositaccount') }}</span>
|
|
|
<span class="msg_tips" :data-clipboard-text="msg_322" v-copy="onCopy">{{ msg_322 }}</span>
|
|
<span class="msg_tips" :data-clipboard-text="msg_322" v-copy="onCopy">{{ msg_322 }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="msg_row" v-if="msg_323">
|
|
<div class="msg_row" v-if="msg_323">
|
|
|
- <span class="msg_label">平台入金支行</span>
|
|
|
|
|
|
|
+ <span class="msg_label">{{ t('banksign.wallet.deposit.platformdepositsub-branch') }}</span>
|
|
|
<span class="msg_tips" :data-clipboard-text="msg_323" v-copy="onCopy">{{ msg_323 }}</span>
|
|
<span class="msg_tips" :data-clipboard-text="msg_323" v-copy="onCopy">{{ msg_323 }}</span>
|
|
|
</div>
|
|
</div>
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
<fieldset class="g-fieldset" v-if="msg_324">
|
|
<fieldset class="g-fieldset" v-if="msg_324">
|
|
|
- <legend class="g-fieldset__legend">提示</legend>
|
|
|
|
|
|
|
+ <legend class="g-fieldset__legend">{{ t('common.tips') }}</legend>
|
|
|
<span class="el-form-tips" v-html="msg_324" />
|
|
<span class="el-form-tips" v-html="msg_324" />
|
|
|
</fieldset>
|
|
</fieldset>
|
|
|
<template #footer>
|
|
<template #footer>
|
|
@@ -85,7 +85,7 @@ const msg_323 = getSystemParamValue('323')
|
|
|
const msg_324 = getSystemParamValue('324')
|
|
const msg_324 = getSystemParamValue('324')
|
|
|
|
|
|
|
|
const formRules: FormRules = {
|
|
const formRules: FormRules = {
|
|
|
- Amount: [{ required: true, message: '请输入入金金额' }],
|
|
|
|
|
|
|
+ Amount: [{ required: true, message: t('banksign.wallet.deposit.pleaseenterinamount') }],
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const onUploadChange = (file: { filePath: string }) => {
|
|
const onUploadChange = (file: { filePath: string }) => {
|
|
@@ -98,9 +98,9 @@ const onCancel = () => {
|
|
|
|
|
|
|
|
const onCopy = (status: boolean) => {
|
|
const onCopy = (status: boolean) => {
|
|
|
if (status) {
|
|
if (status) {
|
|
|
- ElMessage.success('已复制,快去粘贴吧~')
|
|
|
|
|
|
|
+ ElMessage.success(t('banksign.wallet.deposit.paste'))
|
|
|
} else {
|
|
} else {
|
|
|
- ElMessage.error('复制失败')
|
|
|
|
|
|
|
+ ElMessage.error(t('banksign.wallet.deposit.pastefailure'))
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -114,8 +114,8 @@ const doDepositWarning = () => {
|
|
|
const e = moment(endTime.value, 'HH:mm')
|
|
const e = moment(endTime.value, 'HH:mm')
|
|
|
if (n.isSameOrAfter(s) && n.isBefore(e)) {
|
|
if (n.isSameOrAfter(s) && n.isBefore(e)) {
|
|
|
ElMessageBox.confirm(
|
|
ElMessageBox.confirm(
|
|
|
- '是否已在银行端进行入金转账?',
|
|
|
|
|
- '提示',
|
|
|
|
|
|
|
+ t('banksign.wallet.deposit.whetherthedeposittransferhasbeenmadeatthebankend') ,
|
|
|
|
|
+ t('common.tips'),
|
|
|
{ confirmButtonText: '确认', cancelButtonText: '取消', })
|
|
{ confirmButtonText: '确认', cancelButtonText: '取消', })
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
formSubmit()
|
|
formSubmit()
|
|
@@ -123,10 +123,10 @@ const doDepositWarning = () => {
|
|
|
onCancel()
|
|
onCancel()
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
- ElMessageBox.confirm('入金不在时间范围内', '提示', { confirmButtonText: '我知道了', showCancelButton: false })
|
|
|
|
|
|
|
+ ElMessageBox.confirm(t('banksign.wallet.deposit.goldisnotwithinthetimeframe'), '提示', { confirmButtonText: '我知道了', showCancelButton: false })
|
|
|
}
|
|
}
|
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
|
- ElMessage.error('获取服务器时间失败')
|
|
|
|
|
|
|
+ ElMessage.error(t('banksign.wallet.deposit.failedtogetservertime'))
|
|
|
}).finally(() => {
|
|
}).finally(() => {
|
|
|
loading.value = false
|
|
loading.value = false
|
|
|
})
|
|
})
|