| | |
| | | clearable |
| | | maxlength="11" |
| | | type="number" |
| | | placeholder="手机号码" |
| | | placeholder="请输入手机号码" |
| | | > |
| | | <van-button |
| | | v-if="mblNoType == 0 || mblNoType == 1" |
| | |
| | | data() { |
| | | return { |
| | | creditId: '', |
| | | contType:'', |
| | | contId: '', //合约id |
| | | contSendCode: '', //合约code |
| | | mblType: '', |
| | |
| | | }, |
| | | computed: {}, |
| | | created() { |
| | | this.contType = this.$route.query.code; |
| | | this.mblNoType = this.$route.query.mblNoType; |
| | | this.$api.wxScoreInit({ type: this.mblNoType }).then( |
| | | this.$api.wxScoreInit2({ type: this.contType }).then( |
| | | (res) => { |
| | | this.form = res.body || {}; |
| | | var arr = res.body.terms; |
| | | }, |
| | | (err) => err |
| | | ); |
| | | |
| | | }, |
| | | methods: { |
| | | //顶部tabbar返回按钮 |
| | |
| | | // 账号类型 |
| | | mblVertify(val) { |
| | | let v = this.$tool; |
| | | if (v.checkValEmpty(this.mblNoType)) { |
| | | v.toast('请选择手机号类型'); |
| | | return false; |
| | | } |
| | | if (v.checkValEmpty(this.contSendCode)) { |
| | | v.toast('请选择活动套餐'); |
| | | return false; |
| | |
| | | v.toast('请选择活动套餐'); |
| | | return false; |
| | | } |
| | | if (v.checkValEmpty(this.mblNoType)) { |
| | | v.toast('请选择手机号类型'); |
| | | return false; |
| | | } |
| | | if (v.checkValEmpty(this.userName)) { |
| | | v.toast('请输入用户姓名'); |
| | | return false; |
| | |
| | | this.vertifyStatus = 1; |
| | | }else{ |
| | | if(!this.isClick){ |
| | | v.toast('请先点击可用查询后生成二维码'); |
| | | v.toast('请先点击可用查询再生成二维码'); |
| | | return false; |
| | | } |
| | | } |
| | |
| | | } |
| | | this.$api |
| | | .wxScoreCreate({ |
| | | mblNoType: this.mblNoType, |
| | | contType: this.contType, |
| | | creditId: this.creditId, |
| | | contId: this.contId, |
| | | cardNo: this.idCardNo, |