Browse Source

撤销提币

master
luyisha 2 years ago
parent
commit
7aa9783401
  1. 8
      pages/assets/records.vue

8
pages/assets/records.vue

@ -29,6 +29,8 @@
</td>
<td v-if="type=='draw'">
<view>{{ item.status_text }}</view>
<view v-if="item.status==0" @click="revoke(item.id)"
style="background: #F7D558;margin-top: 4px;padding: 2px 4px;border-radius: 4px;color: #000;">{{$t('exchange.g4')}}</view>
</td>
<td v-if="type=='recharge'">
<view v-if="item.status==0">{{$t('assets.d1')}}</view>
@ -105,6 +107,12 @@ import formData from "@/utils/class/date";
this.depositHistory();
}
},
revoke(itemId){
Wallet.cancelWithdraw({withdraw_id: itemId}).then(() => {
this.$toast(this.$t('exchange.g6'));
this.getWithdrawRecords();
})
}
},
onLoad(e) {
console.log('---------',e);

Loading…
Cancel
Save