| | |
| | | <div v-if="rechargeSelect.key !== undefined"> |
| | | <div class="main-title">{{ $t("請選擇銀行卡") }}</div> |
| | | <van-cell is-link :title="bankCard.bankNo || $t('請選擇')" /> |
| | | <!-- @click="show = true" --> |
| | | <!-- <van-action-sheet |
| | | v-model="show" |
| | | :actions="actions" |
| | | :cancel-text="$t('hj106')" |
| | | close-on-click-action |
| | | @select="select" |
| | | /> --> |
| | | </div> |
| | | <div class="main-title">{{ $t("請選擇充值金額") }}</div> |
| | | <div class="white-input"> |
| | |
| | | <div> |
| | | <div class="dz-title" v-if="rechargeAccountData.key !== undefined"> |
| | | <div>餘額</div> |
| | | <div class="balance-text">{{ availableBalanceUSD }} USD</div> |
| | | <div class="balance-text"> |
| | | {{ availableBalanceUSD }} {{ symbolCode }} |
| | | </div> |
| | | </div> |
| | | |
| | | <!-- <div class="dz-title"> |
| | |
| | | |
| | | // 提款聚到 |
| | | rechargeSelect: {}, |
| | | actions: [{ name: this.$t("銀行卡充值"), key: "YHK" }], |
| | | actions: [{ name: this.$t("hj215"), key: "YHK" }], |
| | | paymentShow: false, |
| | | |
| | | rechargeAccountShow: false, |
| | |
| | | key: "US", |
| | | }, |
| | | { |
| | | name: this.$t("IN"), |
| | | key: "IN", |
| | | }, |
| | | { |
| | | name: this.$t("MAS"), |
| | | key: "MAS", |
| | | }, |
| | |
| | | availableBalanceUSD: "0.0000", |
| | | getMoneyList: [], |
| | | assetsType: "", |
| | | symbolCode: "", |
| | | }; |
| | | }, |
| | | mounted() { |
| | |
| | | }, |
| | | methods: { |
| | | async setOutMoney() { |
| | | console.log(this.assetsType); |
| | | const res = await outMoney({ |
| | | amt: this.value, |
| | | assetsType: this.accectType, |
| | |
| | | res.data.map((item) => { |
| | | if (item.accectType === this.rechargeAccountData.key) { |
| | | console.log(item.accectType, "assetsType1"); |
| | | this.availableBalanceUSD = item.availableBalanceUSD; |
| | | 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) { |
| | | console.log(item.accectType, "accectType2", item); |
| | | this.availableBalanceUSD = item.availableBalanceUSD; |
| | | this.symbolCode = item.symbolCode; |
| | | this.accectType = item.accectType; |
| | | } |
| | | }); |