diff --git a/pageQuota/vipUser/index.vue b/pageQuota/vipUser/index.vue index c51ff00..38645ee 100644 --- a/pageQuota/vipUser/index.vue +++ b/pageQuota/vipUser/index.vue @@ -761,7 +761,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' @@ -801,7 +801,7 @@ 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( + 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) {