|
|
@ -3,6 +3,7 @@ import { getBalanceInfo, getWithdrawalList, getBankCardList, paymentOrder } from |
|
|
import { $wuxDialog } from '../../../components/index' |
|
|
import { $wuxDialog } from '../../../components/index' |
|
|
const util = require('../../../utils/util') |
|
|
const util = require('../../../utils/util') |
|
|
const math = require('../../../utils/math') |
|
|
const math = require('../../../utils/math') |
|
|
|
|
|
const storage = require('../../../utils/storage') |
|
|
const app = getApp() |
|
|
const app = getApp() |
|
|
|
|
|
|
|
|
Page({ |
|
|
Page({ |
|
|
@ -126,12 +127,16 @@ Page({ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
// 这里进行企业认证的校验;
|
|
|
// 这里进行企业认证的校验;
|
|
|
if(!app.globalData.userInfo.isEnterpriseAuth){ |
|
|
|
|
|
|
|
|
var enterpriseAuthTip = storage.get('EnterpriseAuth' + app.globalData.userInfo.userId) |
|
|
|
|
|
if(!app.globalData.userInfo.isEnterpriseAuth && !enterpriseAuthTip){ |
|
|
|
|
|
storage.put('EnterpriseAuth' + app.globalData.userInfo.userId, 1) |
|
|
$wuxDialog().open({ |
|
|
$wuxDialog().open({ |
|
|
resetOnClose: true, |
|
|
resetOnClose: true, |
|
|
title: '温馨提示', |
|
|
title: '温馨提示', |
|
|
content: '您还没有进行企业信息认证,无法提现,现在去进行企业信息认证?', |
|
|
content: '您还没有进行企业信息认证,无法提现,现在去进行企业信息认证?', |
|
|
buttons: [{ |
|
|
buttons: [{ |
|
|
|
|
|
text: '取消' |
|
|
|
|
|
}, { |
|
|
text: '确定', |
|
|
text: '确定', |
|
|
type: 'primary', |
|
|
type: 'primary', |
|
|
onTap(e) { |
|
|
onTap(e) { |
|
|
|