| | |
| | | :title="$t('提款')" |
| | | left-arrow |
| | | @click-left="onClickLeft" |
| | | /> |
| | | > |
| | | <template #right> |
| | | <van-icon |
| | | @click="$router.push('/cashlist')" |
| | | name="orders-o" |
| | | size="20" |
| | | /> |
| | | </template> |
| | | </van-nav-bar> |
| | | <main> |
| | | <div class="main-title">{{ $t("請選擇提款账户") }}</div> |
| | | <van-cell |
| | |
| | | </div> |
| | | <div> |
| | | <div class="dz-title" v-if="rechargeAccountData.key !== undefined"> |
| | | <div>餘額</div> |
| | | <div>{{ $t("可用餘額") }}</div> |
| | | <div class="balance-text"> |
| | | {{ availableBalanceUSD }} {{ symbolCode }} |
| | | {{ availableBalanceUSD | _toLocaleString }} {{ symbolCode }} |
| | | <!-- {{ symbolCode }} --> |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <div class="dz-title"> |
| | | <div>實際到帳</div> |
| | | <div class="balance-text">0.0000</div> |
| | | </div> --> |
| | | <!-- <div class="dz-title" v-if="rechargeAccountData.key !== undefined"> |
| | | <div>最小提款金額</div> |
| | | <div class="balance-text">0.0000</div> |
| | | </div> --> |
| | | </div> |
| | | <van-button |
| | | class="but" |
| | |
| | | return { |
| | | value: 0, |
| | | |
| | | paymentSelectData: "US", |
| | | paymentSelectData: "IN", |
| | | |
| | | show: false, |
| | | |
| | |
| | | rechargeAccountData: {}, |
| | | rechargeAccountActions: [ |
| | | { |
| | | name: this.$t("US"), |
| | | key: "US", |
| | | name: this.$t("IN"), |
| | | key: "IN", |
| | | }, |
| | | { |
| | | name: this.$t("MAS"), |
| | | key: "MAS", |
| | | }, |
| | | // { |
| | | // name: this.$t("MAS"), |
| | | // key: "MAS", |
| | | // }, |
| | | // { |
| | | // name: this.$t("HK"), |
| | | // key: "HK", |
| | | // }, |
| | | ], |
| | | |
| | | bankCard: {}, |
| | | availableBalanceUSD: "0.0000", |
| | | getMoneyList: [], |
| | |
| | | assetsType: this.accectType, |
| | | }); |
| | | if (res.status === 0) { |
| | | Notify({ type: "success", message: this.$t("提款成功,等待审核") }); |
| | | Notify({ type: "success", message: this.$t("hj182") }); |
| | | setTimeout(() => { |
| | | this.onClickLeft(); |
| | | this.$router.push("/cashlist"); |
| | | }, 500); |
| | | } else { |
| | | Notify(res.msg); |
| | |
| | | this.getMoneyList = res.data; |
| | | res.data.map((item) => { |
| | | if (item.accectType === this.rechargeAccountData.key) { |
| | | console.log(item.accectType, "assetsType1"); |
| | | this.availableBalanceUSD = item.availableBalance; |
| | | this.symbolCode = item.symbolCode; |
| | | this.accectType = item.accectType; |
| | |
| | | this.rechargeAccountData = e; |
| | | (this.getMoneyList || []).map((item) => { |
| | | if (item.accectType === this.rechargeAccountData.key) { |
| | | this.availableBalanceUSD = item.availableBalanceUSD; |
| | | this.availableBalanceUSD = item.availableBalance; |
| | | this.symbolCode = item.symbolCode; |
| | | this.accectType = item.accectType; |
| | | } |
| | |
| | | color: #4f5257; |
| | | } |
| | | } |
| | | </style> |
| | | </style> |