|
@@ -312,6 +312,7 @@
|
|
|
postId
|
|
|
}"
|
|
|
:currentCurrencyInfo="currentCurrencyInfo"
|
|
|
+ :USDepositStatus = "USDepositStatus"
|
|
|
@showDepositMask="showDepositMessageBox = true"
|
|
|
@payFinish="payFinish">
|
|
|
<template v-slot:balance>
|
|
@@ -448,6 +449,8 @@ let dialogStyle = reactive({
|
|
|
dialogContentWidth: 1100
|
|
|
})
|
|
|
|
|
|
+let USDepositStatus = ref('DEFAULT');
|
|
|
+
|
|
|
let cropperOption = ref({
|
|
|
img: '',
|
|
|
full: true,
|
|
@@ -1881,7 +1884,8 @@ const depositAchConfirm = async () => {
|
|
|
currentCurrencyInfo.value = currencyInfoRes.data;
|
|
|
|
|
|
let {balance} = currencyInfoRes.data;
|
|
|
- if(balance > finalAmountData.value.orderAmountValue) {
|
|
|
+ if(balance >= finalAmountData.value.orderAmountValue) {
|
|
|
+ USDepositStatus.value = 'SUCCESS';
|
|
|
// payButtonDom.value && payButtonDom.value.balancePay();
|
|
|
} else {
|
|
|
message.info('Deposit failed, please try again later');
|