no message
This commit is contained in:
@@ -152,7 +152,7 @@ export default {
|
||||
},
|
||||
getList(val){
|
||||
let params = {
|
||||
platform:this.curSelect == 0 ? 2 : 1
|
||||
platform:this.curSelect == '0' ? 2 : 1
|
||||
}
|
||||
getWithdraw(params).then(res=>{
|
||||
if (res.bizcode === 100) {
|
||||
@@ -242,6 +242,7 @@ export default {
|
||||
});
|
||||
return;
|
||||
}
|
||||
console.log('onAdd',this.curSelect)
|
||||
this.codeShow = true;
|
||||
}else{
|
||||
if(!this.money){
|
||||
@@ -304,16 +305,30 @@ export default {
|
||||
amount:Number(this.money),
|
||||
accountType:this.curSelect == '0' ? 1 : 2
|
||||
}
|
||||
console.log('absc',params)
|
||||
let _this = this;
|
||||
console.log('absc',params,)
|
||||
sendWithdraw(params).then(res=>{
|
||||
console.log('absc',res)
|
||||
if (res && res.bizcode === 100) {
|
||||
console.log('absc',res)
|
||||
if (res && res.bizcode == 100) {
|
||||
console.log('absc1111111111',res,this.curSelect)
|
||||
// data = resp.data || [];
|
||||
if(this.curSelect == '1'){
|
||||
|
||||
this.qing();
|
||||
if(res.data.alResponse.msg == 'Success'){
|
||||
uni.navigateTo({
|
||||
url:'/pages/rwa_package/account/success?money=' + params.amount
|
||||
})
|
||||
}else{
|
||||
setTimeout(()=>{
|
||||
_this.$refs.uToastRef.show({
|
||||
type: 'error',
|
||||
message: subMsg,
|
||||
});
|
||||
},400)
|
||||
|
||||
}
|
||||
|
||||
}else{
|
||||
uni.requestMerchantTransfer({
|
||||
"mchId": "mchId",
|
||||
@@ -332,7 +347,11 @@ export default {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
},
|
||||
qing(){
|
||||
this.money = '';
|
||||
this.curSelect = '0';
|
||||
this.selectVal = null;
|
||||
@@ -418,7 +437,7 @@ export default {
|
||||
margin-top:24rpx;
|
||||
.item-view{
|
||||
width:100%;
|
||||
heihgt:110rpx;
|
||||
height:110rpx;
|
||||
min-height:110rpx;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
|
||||
Reference in New Issue
Block a user