1
jhzh
2025-08-14 2d9eaadefb271a43a9a7de7c299377321e07bc8e
src/page/user/recharge-sure.vue
@@ -3,7 +3,7 @@
    <van-nav-bar
      :placeholder="true"
      :safe-area-inset-top="true"
      :title="$t('提款')"
      :title="$t('hj177')"
      left-arrow
      @click-left="onClickLeft"
    >
@@ -72,7 +72,7 @@
        <div class="dz-title" v-if="rechargeAccountData.key !== undefined">
          <div>{{ $t("可用餘額") }}</div>
          <div class="balance-text">
            {{ availableBalanceUSD | _toLocaleString }} {{ symbolCode }}
            {{ availableBalanceUSD  }} {{ symbolCode }}
            <!-- {{ symbolCode }} -->
          </div>
        </div>
@@ -82,7 +82,8 @@
        type="primary"
        style="margin-top: 1.04rem; margin-bottom: 1.04rem"
        @click="setOutMoney"
        >{{ $t("提款") }}</van-button
        :disabled="isclick"
        >{{ $t("hj177") }}</van-button
      >
    </main>
  </div>
@@ -91,6 +92,7 @@
<script>
import { ActionSheet, Notify } from "vant";
import ClipboardJS from "clipboard";
import _ from 'lodash';
import { getBankCard, getMoney, outMoney } from "../../axios/api";
export default {
@@ -99,8 +101,8 @@
    return {
      value: 0,
      paymentSelectData: "IN",
      paymentSelectData: "JP",
      isclick:false,
      show: false,
      yhkshow:false,
      // 提款聚到
@@ -115,8 +117,8 @@
      rechargeAccountData: {},
      rechargeAccountActions: [
        {
          name: this.$t("IN"),
          key: "IN",
          name: this.$t("日股"),
          key: "JP",
        },
        // {
        //   name: this.$t("MAS"),
@@ -142,16 +144,19 @@
  },
  methods: {
    async setOutMoney() {
      if (this.isclick) return;
      console.log('11111');
      const res = await outMoney({
        amt: this.value,
        assetsType: this.accectType,
        bankId:this.yhkid
      });
      this.isclick = false;
      if (res.status === 0) {
        Notify({ type: "success", message: this.$t("hj182") });
        setTimeout(() => {
        // setTimeout(() => {
          this.$router.push("/cashlist");
        }, 500);
        // }, 500);
      } else {
        Notify(res.msg);
      }
@@ -233,7 +238,7 @@
.but {
  width: 100%;
  color: #ffffff;
  background-color: #1989fa;
  background-color: #185546;
  border-radius: 8px;
  height: 66px;
  font-size: 22px;