add
This commit is contained in:
parent
6a1bdddf37
commit
001fdd05d8
|
@ -761,7 +761,7 @@
|
||||||
}
|
}
|
||||||
if (type == 2) {
|
if (type == 2) {
|
||||||
if (!formData2.mobile) return uni.$u.toast('请填写电话号码');
|
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.label_name}角色最低金额不能低于${formData2.label_limit}元`);
|
||||||
formData2.store_id = STORE_INFO.id
|
formData2.store_id = STORE_INFO.id
|
||||||
// formData2.recharge_type = 'INDUSTRYMEMBERS'
|
// formData2.recharge_type = 'INDUSTRYMEMBERS'
|
||||||
|
@ -801,7 +801,7 @@
|
||||||
if (!formData.code) return uni.$u.toast('请输入短信验证码');
|
if (!formData.code) return uni.$u.toast('请输入短信验证码');
|
||||||
if (!formData.address) return uni.$u.toast('请选择地址');
|
if (!formData.address) return uni.$u.toast('请选择地址');
|
||||||
if (!formData.label_id) 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.label_name}角色最低金额不能低于${formData.label_limit}元`);
|
||||||
formData.store_id = STORE_INFO.id
|
formData.store_id = STORE_INFO.id
|
||||||
if (Role.value == 1) {
|
if (Role.value == 1) {
|
||||||
|
|
Loading…
Reference in New Issue