jhzh
2024-09-19 e3097587828362e34352cf4f378c8f5a260ea700
src/page/user/recharge-sure.vue
@@ -82,6 +82,7 @@
        type="primary"
        style="margin-top: 1.04rem; margin-bottom: 1.04rem"
        @click="setOutMoney"
        :disabled="isclick"
        >{{ $t("提款") }}</van-button
      >
    </main>
@@ -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 {
@@ -100,7 +102,7 @@
      value: 0,
      paymentSelectData: "IN",
      isclick:false,
      show: false,
      yhkshow:false,
      // 提款聚到
@@ -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);
      }