|
@@ -24,7 +24,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- #ifndef MP-WEIXIN -->
|
|
|
- <view class="list" v-if="!weichatBsrowser">
|
|
|
+ <view class="list">
|
|
|
<radio-group @change="tabRadio">
|
|
|
<!-- <label>
|
|
|
<view class="box">
|
|
@@ -131,7 +131,7 @@
|
|
|
}) => {
|
|
|
this.aliData = data.zfb
|
|
|
this.bankData = data.bank
|
|
|
- console.log(data);
|
|
|
+ console.log(this.aliData, 7894513);
|
|
|
})
|
|
|
},
|
|
|
// 加载余额信息
|
|
@@ -158,6 +158,9 @@
|
|
|
},
|
|
|
// 提交
|
|
|
confirm() {
|
|
|
+ if (this.withdrawal * 1 % 1000 != 0) {
|
|
|
+ return this.$api.msg('提现金额请输入1000的倍数')
|
|
|
+ }
|
|
|
let data = {
|
|
|
extract_type: this.type, //bank -银行卡 alipay-支付宝 weixin-微信
|
|
|
money: this.withdrawal, //金额
|
|
@@ -165,15 +168,16 @@
|
|
|
type: this.way
|
|
|
}
|
|
|
if (this.type == 'alipay') {
|
|
|
- data.name = this.aliData.fullname;
|
|
|
- data.alipay_code = this.aliData.alino;
|
|
|
+ data.name = this.aliData.name;
|
|
|
+ data.alipay_code = this.aliData.payment;
|
|
|
}
|
|
|
if (this.type == 'bank') {
|
|
|
- data.name = this.bankData.fullname;
|
|
|
- data.bankname = this.bankData.bank;
|
|
|
- data.cardnum = this.bankData.bankno;
|
|
|
+ console.log(111);
|
|
|
+ data.name = this.bankData.name;
|
|
|
+ data.bankname = this.bankData.bank_name;
|
|
|
+ data.cardnum = this.bankData.payment;
|
|
|
}
|
|
|
-
|
|
|
+ console.log(data, 'info');
|
|
|
|
|
|
extractCash(data)
|
|
|
.then(e => {
|