diff --git a/pageQuota/vipUser/index.vue b/pageQuota/vipUser/index.vue index 2b845db..702ec73 100644 --- a/pageQuota/vipUser/index.vue +++ b/pageQuota/vipUser/index.vue @@ -51,7 +51,6 @@ suffixIcon='arrow-down'> - + + + + + @@ -71,20 +79,20 @@ 'border-radius': '30rpx' }" :placeholderStyle="{ color: '#444444' }" :prefixIconStyle="{ 'margin-right': '40rpx' }"> - 重新获取({{ cutDown }}) {{ flag ? '获取验证码' : '重新获取' }} - + + 报备人:{{ STORE_INFO.name }} - - ¥500.00 - + { cutDown.value-- - if (cutDown.value <= 0) clearInterval(timer) + if (cutDown.value <= 0) { + cutDown.value = 0; + clearInterval(timer); + } }, 1000) } // 验证码结束 @@ -311,7 +322,8 @@ label_id: "", user_ship: '', code: '', - brigade: "" + brigade: "", + price: "", // store_id: STORE_INFO.id, // mobile: "19130550023", // province: 510000, @@ -342,6 +354,8 @@ const conformRole = (e) => { formData.label_name = e.value[0].label_name formData.label_id = e.value[0].label_id + console.log(e) + showPop1.value = false } @@ -465,7 +479,6 @@ if (!formData.real_name) return uni.$u.toast('请填写真实姓名'); if (!formData.mobile) return uni.$u.toast('请填写电话号码'); if (!formData.code) return uni.$u.toast('请输入短信验证码'); - if (!formData.label_id) return uni.$u.toast('请选择用户身份'); if (!formData.address) return uni.$u.toast('请选择地址'); formData.store_id = STORE_INFO.id if (Role.value == 1) { @@ -473,6 +486,7 @@ // formData.user_ship = 1 // vipRechargeApi(formData).then(res => {}) // return + if (!formData.label_id) return uni.$u.toast('请选择用户身份'); uni.scanCode({ success: function(res) { if (String(res.result.length) != 18) return uni.$u.toast('二维码未扫描完整'); @@ -574,7 +588,6 @@ getCount() getLists() - const upadtaStatus = (item) => { updataOrderApi({ order_no: item.order_id, diff --git a/pages/my/my.vue b/pages/my/my.vue index 190edb4..c9f0a92 100644 --- a/pages/my/my.vue +++ b/pages/my/my.vue @@ -1,7 +1,7 @@