diff --git a/pages/user/plus/plus.js b/pages/user/plus/plus.js index f597286..b9a202e 100644 --- a/pages/user/plus/plus.js +++ b/pages/user/plus/plus.js @@ -442,12 +442,6 @@ Page({ return false; } - //有显示弹出框,才要求要显示用户协议 - if(!this.data.check_py_val && (th.data.isyaoqingma || th.data.is_salesman) ){ - ut.m_toast('请先同意PLUS会员用户协议') - return false; - } - var item = th.data.is_plusCard[th.data.by_index]; var req = {}; req.cardId = item.CardId; @@ -457,6 +451,13 @@ Page({ if (th.data.def_recommon) req.recommon = th.data.def_recommon if (th.data.def_serviceman) req.serviceman = th.data.def_serviceman } else { + + //有显示弹出框,才要求要显示用户协议 + if(!this.data.check_py_val && (th.data.isyaoqingma || th.data.is_salesman) ){ + ut.m_toast('请先同意PLUS会员用户协议') + return false; + } + //---后台要求要输入邀请码--- if (th.data.isyaoqingma) { if (!th.data.inp_recommon && th.data.is_must_staff_yqma) {