| | |
| | | type="primary" |
| | | style="margin-top: 1.04rem; margin-bottom: 1.04rem" |
| | | @click="setOutMoney" |
| | | :disabled="isclick" |
| | | >{{ $t("提款") }}</van-button |
| | | > |
| | | </main> |
| | |
| | | <script> |
| | | import { ActionSheet, Notify } from "vant"; |
| | | import ClipboardJS from "clipboard"; |
| | | import _ from 'lodash'; |
| | | import { getBankCard, getMoney, outMoney } from "../../axios/api"; |
| | | |
| | | export default { |
| | |
| | | value: 0, |
| | | |
| | | paymentSelectData: "IN", |
| | | |
| | | isclick:false, |
| | | show: false, |
| | | yhkshow:false, |
| | | // 提款聚到 |
| | |
| | | }, |
| | | 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); |
| | | } |