|
@@ -133,7 +133,7 @@
|
|
|
</text>
|
|
</text>
|
|
|
<text v-if="channelData.type == 'BANK'">{{
|
|
<text v-if="channelData.type == 'BANK'">{{
|
|
|
t('Custom.Withdraw.addBank')
|
|
t('Custom.Withdraw.addBank')
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ }}</text>
|
|
|
<text v-if="channelData.type == 'BANK'" class="add-btn crm-cursor"
|
|
<text v-if="channelData.type == 'BANK'" class="add-btn crm-cursor"
|
|
|
@click="openAddBankCard('add_bankCard')">
|
|
@click="openAddBankCard('add_bankCard')">
|
|
|
{{ t('Custom.Withdraw.addBank1') }}
|
|
{{ t('Custom.Withdraw.addBank1') }}
|
|
@@ -257,7 +257,7 @@
|
|
|
<view v-if="channelData.type != 'BANK_TELEGRAPHIC' && isStep3">
|
|
<view v-if="channelData.type != 'BANK_TELEGRAPHIC' && isStep3">
|
|
|
<view class="tit">
|
|
<view class="tit">
|
|
|
<text>{{ t('Custom.Withdraw.Title3') + '(' + channelData.currency + ')'
|
|
<text>{{ t('Custom.Withdraw.Title3') + '(' + channelData.currency + ')'
|
|
|
- }}</text>
|
|
|
|
|
|
|
+ }}</text>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view v-if="channelData.type !== 'BANK_TELEGRAPHIC'" class="amount-box amount-box1">
|
|
<view v-if="channelData.type !== 'BANK_TELEGRAPHIC'" class="amount-box amount-box1">
|
|
@@ -499,6 +499,7 @@ const resetForm = () => {
|
|
|
form.agree2 = false
|
|
form.agree2 = false
|
|
|
form.agree3 = false
|
|
form.agree3 = false
|
|
|
amountErrorMessage.value = ""
|
|
amountErrorMessage.value = ""
|
|
|
|
|
+ dialogDealResult_form.emailCode = ''
|
|
|
}
|
|
}
|
|
|
//数量区间
|
|
//数量区间
|
|
|
const mAmount = reactive({
|
|
const mAmount = reactive({
|
|
@@ -1091,10 +1092,7 @@ function selectCode(codeVal) {
|
|
|
//关闭提交后的弹出框
|
|
//关闭提交后的弹出框
|
|
|
function closeDia() {
|
|
function closeDia() {
|
|
|
resetForm()
|
|
resetForm()
|
|
|
- isStep3.value = false;
|
|
|
|
|
- step2.value = false;
|
|
|
|
|
showTable();
|
|
showTable();
|
|
|
- loginValue.value = "";
|
|
|
|
|
dialogCheck.value = false;
|
|
dialogCheck.value = false;
|
|
|
dialogVisible.value = false;
|
|
dialogVisible.value = false;
|
|
|
}
|
|
}
|
|
@@ -1219,6 +1217,8 @@ async function qrCode(serial) {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
const submitCode = async (code) => {
|
|
const submitCode = async (code) => {
|
|
|
|
|
+ console.log(code, 111);
|
|
|
|
|
+
|
|
|
if (channelData.value.type == "DIGITAL_CURRENCY") {
|
|
if (channelData.value.type == "DIGITAL_CURRENCY") {
|
|
|
dialogDealResult_form.emailCode = code;
|
|
dialogDealResult_form.emailCode = code;
|
|
|
submit("form");
|
|
submit("form");
|
|
@@ -1227,6 +1227,8 @@ const submitCode = async (code) => {
|
|
|
|
|
|
|
|
//提交
|
|
//提交
|
|
|
async function submit(formName) {
|
|
async function submit(formName) {
|
|
|
|
|
+ console.log(channelData.value, 1212);
|
|
|
|
|
+
|
|
|
if (channelData.value.type == "BANK_TELEGRAPHIC" && !myId.value) {
|
|
if (channelData.value.type == "BANK_TELEGRAPHIC" && !myId.value) {
|
|
|
showToast(t("vaildate.withdrawBank.empty"));
|
|
showToast(t("vaildate.withdrawBank.empty"));
|
|
|
return;
|
|
return;
|
|
@@ -1301,10 +1303,10 @@ async function submit(formName) {
|
|
|
let res = await financialApi.WithdrawAapplyDigitalCurrency(
|
|
let res = await financialApi.WithdrawAapplyDigitalCurrency(
|
|
|
channelData.value.requestUrl,
|
|
channelData.value.requestUrl,
|
|
|
{
|
|
{
|
|
|
|
|
+ ...form,
|
|
|
login: loginValue.value,
|
|
login: loginValue.value,
|
|
|
payType: channelData.value.code,
|
|
payType: channelData.value.code,
|
|
|
emailCode: dialogDealResult_form.emailCode,
|
|
emailCode: dialogDealResult_form.emailCode,
|
|
|
- ...form,
|
|
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
if (res.code == Code.StatusOK) {
|
|
if (res.code == Code.StatusOK) {
|
|
@@ -1327,9 +1329,9 @@ async function submit(formName) {
|
|
|
let res = await financialApi.WithdrawAapplyDigitalCurrency(
|
|
let res = await financialApi.WithdrawAapplyDigitalCurrency(
|
|
|
channelData.value.requestUrl,
|
|
channelData.value.requestUrl,
|
|
|
{
|
|
{
|
|
|
|
|
+ ...form,
|
|
|
login: loginValue.value,
|
|
login: loginValue.value,
|
|
|
payType: channelData.value.code,
|
|
payType: channelData.value.code,
|
|
|
- ...form,
|
|
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
if (res.code == Code.StatusOK) {
|
|
if (res.code == Code.StatusOK) {
|
|
@@ -1349,9 +1351,9 @@ async function submit(formName) {
|
|
|
let res = await financialApi.WithdrawApplyBank(
|
|
let res = await financialApi.WithdrawApplyBank(
|
|
|
channelData.value.requestUrl,
|
|
channelData.value.requestUrl,
|
|
|
{
|
|
{
|
|
|
|
|
+ ...form,
|
|
|
login: loginValue.value,
|
|
login: loginValue.value,
|
|
|
payType: channelData.value.code,
|
|
payType: channelData.value.code,
|
|
|
- ...form,
|
|
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
if (res.code == Code.StatusOK) {
|
|
if (res.code == Code.StatusOK) {
|
|
@@ -1369,9 +1371,9 @@ async function submit(formName) {
|
|
|
let res = await financialApi.WithdrawApplyBank(
|
|
let res = await financialApi.WithdrawApplyBank(
|
|
|
channelData.value.requestUrl,
|
|
channelData.value.requestUrl,
|
|
|
{
|
|
{
|
|
|
|
|
+ ...form,
|
|
|
login: loginValue.value,
|
|
login: loginValue.value,
|
|
|
payType: channelData.value.code,
|
|
payType: channelData.value.code,
|
|
|
- ...form,
|
|
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
|
|
|
|
@@ -1390,9 +1392,9 @@ async function submit(formName) {
|
|
|
let res = await financialApi.WithdrawApplyBank(
|
|
let res = await financialApi.WithdrawApplyBank(
|
|
|
channelData.value.requestUrl,
|
|
channelData.value.requestUrl,
|
|
|
{
|
|
{
|
|
|
|
|
+ ...form,
|
|
|
login: loginValue.value,
|
|
login: loginValue.value,
|
|
|
payType: channelData.value.code,
|
|
payType: channelData.value.code,
|
|
|
- ...form,
|
|
|
|
|
}
|
|
}
|
|
|
);
|
|
);
|
|
|
if (res.code == Code.StatusOK) {
|
|
if (res.code == Code.StatusOK) {
|