This commit is contained in:
zmj 2024-07-05 12:00:21 +08:00
parent 6a1bdddf37
commit 001fdd05d8
1 changed files with 2 additions and 2 deletions

View File

@ -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) {