|
|
@@ -32,6 +32,8 @@
|
|
|
<Cell v-if="sign.ismix === 0" :title="$t('banksign.wallet.withdraw.bankname')" :value="handleNoneValue(sign.bankname)" />
|
|
|
<Cell v-if="sign.ismix === 0" :title="$t('banksign.wallet.withdraw.bankaccountno')"
|
|
|
:value="handleNoneValue(sign.bankaccountno)" />
|
|
|
+ <Field v-if="sign.ismix === 1" type="number" name="phone_number" :label="$t('banksign.mobilephone')" maxlength="30" v-model.trim="phone_number" :placeholder="$t('banksign.Pleaseenteryourmobilephonenumber')"
|
|
|
+ :rules="formRules.phone_number" />
|
|
|
<Field v-if="sign.ismix === 1" :label="$t('banksign.bankchannel')" name="channel_code" is-link >
|
|
|
<template #input>
|
|
|
<app-select v-model="channel_code" :options="hybrids"
|
|
|
@@ -117,6 +119,9 @@ const accountStore = useAccountStore()
|
|
|
const { currentAccount } = accountStore.$toRefs()
|
|
|
const { mobile2 } = userStore.userInfo
|
|
|
|
|
|
+// 电话号码
|
|
|
+const phone_number = shallowRef(mobile2)
|
|
|
+
|
|
|
const msg_320 = getSystemParamValue('320')
|
|
|
const msg_321 = getSystemParamValue('321')
|
|
|
const msg_322 = getSystemParamValue('322')
|
|
|
@@ -196,6 +201,10 @@ const formRules: { [key: string]: FieldRule[] } = {
|
|
|
hyBankName: [{
|
|
|
message: t('banksign.Pleaseselectyourbank'),
|
|
|
required: true
|
|
|
+ }],
|
|
|
+ phone_number: [{
|
|
|
+ required: true,
|
|
|
+ message: t('banksign.Pleaseenteryourmobilephonenumber'),
|
|
|
}]
|
|
|
}
|
|
|
|
|
|
@@ -248,7 +257,7 @@ const formSubmit = () => {
|
|
|
hybrid['bank_code'] = bank_code.value
|
|
|
if (channel_code.value === 'chillpay') {
|
|
|
const personinfo: { [key: string]: unknown } = Object.create({})
|
|
|
- personinfo['phone_number'] = mobile2
|
|
|
+ personinfo['phone_number'] = phone_number.value
|
|
|
hybrid['person_info'] = personinfo
|
|
|
}
|
|
|
obj['hybrid'] = hybrid
|