|
|
|
@ -125,10 +125,6 @@ Page({ |
|
|
|
util.showToast('提现金额必须大于0') |
|
|
|
return |
|
|
|
} |
|
|
|
if (!this.data.chooseBankCard || !this.data.chooseBankCard.cardId) { |
|
|
|
util.showToast('请选择一张银行卡') |
|
|
|
return |
|
|
|
} |
|
|
|
// 这里进行企业认证的校验;
|
|
|
|
if(!app.globalData.userInfo.isEnterpriseAuth){ |
|
|
|
$wuxDialog().open({ |
|
|
|
@ -145,6 +141,10 @@ Page({ |
|
|
|
}) |
|
|
|
return |
|
|
|
} |
|
|
|
if (!this.data.chooseBankCard || !this.data.chooseBankCard.cardId) { |
|
|
|
util.showToast('请选择一张银行卡') |
|
|
|
return |
|
|
|
} |
|
|
|
wx.showLoading({ title: '加载中', mask: true }) |
|
|
|
paymentOrder({ bankId: this.data.chooseBankCard.cardId, ids: this.data.checkIds }).then(res => { |
|
|
|
wx.hideLoading() |
|
|
|
|