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