add
This commit is contained in:
parent
c899d8f472
commit
ec33cc6119
|
@ -760,7 +760,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'
|
||||||
|
@ -800,9 +800,13 @@
|
||||||
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) {
|
||||||
// formData.recharge_type = 'INDUSTRYMEMBERS'
|
// formData.recharge_type = 'INDUSTRYMEMBERS'
|
||||||
// formData.user_ship = formData.label_id
|
// formData.user_ship = formData.label_id
|
||||||
|
|
|
@ -34,8 +34,8 @@
|
||||||
<up-transition :show="!showWeixin">
|
<up-transition :show="!showWeixin">
|
||||||
<view class="form">
|
<view class="form">
|
||||||
<view class="input">
|
<view class="input">
|
||||||
<up-input :customStyle="{ height: '100%' }" v-model="loginForm.phone" placeholderClass="place"
|
<up-input :customStyle="{ height: '100%' }" v-model="loginForm.phone"
|
||||||
border="none" placeholder="请输入手机号" type="number">
|
placeholderClass="place" border="none" placeholder="请输入手机号" type="number">
|
||||||
<template #prefix>
|
<template #prefix>
|
||||||
<image style="height: 40rpx;width: 40rpx;margin-top: 6rpx;"
|
<image style="height: 40rpx;width: 40rpx;margin-top: 6rpx;"
|
||||||
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/48491202404281006484208.png">
|
src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/48491202404281006484208.png">
|
||||||
|
|
Loading…
Reference in New Issue