This commit is contained in:
wanglei
2022-02-10 18:27:02 +08:00
parent ec439a6e9b
commit 49ee3dbde5
2 changed files with 8 additions and 13 deletions

View File

@@ -8,7 +8,7 @@
:class="form.userType === '' ? 'color-999' : ''" >{{
$dict.getLabel('appSpecialTypeFive', form.userType) || '请选择'
}}</span>
<u-icon name="arrow-right" color="#cccccc" size="14"/>
<u-icon name="arrow-right" color="#cccccc" size="24"/>
</div>
</div>
<div class="item">
@@ -45,8 +45,7 @@
<span class="label"><span class="tips">*</span>联系电话</span>
<div class="value">
<u-input type="number" placeholder="请输入" v-model="form.phone" input-align="right"
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="11" :clearable="false"
@input="changePhone"/>
placeholder-style="color:#999;font-size:16px;" height="48" :maxlength="11" :clearable="false"/>
</div>
</div>
<div class="item">
@@ -434,11 +433,6 @@ export default {
}
},
changePhone() {
if (this.form.phone.length != 11) {
return this.$u.toast('请输入正确的联系电话')
}
},
confirmGirdSelect(e) {
this.form.girdId = e[0].value
this.form.girdName = e[0].label
@@ -474,9 +468,6 @@ export default {
if (!this.form.phone) {
return this.$u.toast('请输入联系电话')
}
if (!/^1[0-9]{10,10}$/.test(this.form.phone)) {
return this.$u.toast("请输入正确的联系电话");
}
if (!this.form.areaName) {
return this.$u.toast('请选择区域')
}