diff --git a/pageQuota/vipUser/index.vue b/pageQuota/vipUser/index.vue index 66f3f2c..daa24ff 100644 --- a/pageQuota/vipUser/index.vue +++ b/pageQuota/vipUser/index.vue @@ -760,7 +760,7 @@ } if (type == 2) { if (!formData2.mobile) return uni.$u.toast('请填写电话号码'); - if (formData2.price < formData2.label_limit) return uni.$u.toast( + if (Number(formData2.price) < Number(formData2.label_limit)) return uni.$u.toast( `${formData2.label_name}角色最低金额不能低于${formData2.label_limit}元`); formData2.store_id = STORE_INFO.id // formData2.recharge_type = 'INDUSTRYMEMBERS' @@ -800,9 +800,13 @@ if (!formData.code) return uni.$u.toast('请输入短信验证码'); if (!formData.address) return uni.$u.toast('请选择地址'); if (!formData.label_id) return uni.$u.toast('请选择用户身份'); - if (formData.price < formData.label_limit) return uni.$u.toast( - `${formData.label_name}角色最低金额不能低于${formData.label_limit}元`); - formData.store_id = STORE_INFO.id + if (Number(formData.price) < Number(formData.label_limit)) { + return uni.$u.toast( + `${formData.label_name}角色最低金额不能低于${formData.label_limit}元`); + formData.store_id = STORE_INFO.id + + } + if (Role.value == 1) { // formData.recharge_type = 'INDUSTRYMEMBERS' // formData.user_ship = formData.label_id diff --git a/pages/login/login.vue b/pages/login/login.vue index 11578d4..a09b010 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -16,7 +16,7 @@ 手机号快捷登录 - @@ -34,8 +34,8 @@ - + \ No newline at end of file