Browse Source

no message

featrue/v4.5
xpz2018 4 years ago
parent
commit
35e5b12a17
1 changed files with 16 additions and 0 deletions
  1. 16
      pages/withdrawal/vcheckout/index.js

16
pages/withdrawal/vcheckout/index.js

@ -132,6 +132,22 @@ Page({
util.showToast('请选择一张银行卡')
return
}
// 这里进行企业认证的校验;
if(!app.globalData.userInfo.isEnterpriseAuth){
$wuxDialog().open({
resetOnClose: true,
title: '温馨提示',
content: '您还没有进行企业信息认证,无法提现,现在去进行企业信息认证?',
buttons: [{
text: '确定',
type: 'primary',
onTap(e) {
wx.navigateTo({ url: '/pages/home/certificate/index' })
}
}]
})
return
}
wx.showLoading({ title: '加载中', mask: true })
paymentOrder({ bankId: this.data.chooseBankCard.cardId, ids: this.data.checkIds }).then(res => {
wx.hideLoading()

Loading…
Cancel
Save