Fix(入驻):供应商入驻手机号校验错误
This commit is contained in:
@@ -218,6 +218,7 @@
|
|||||||
<u-input
|
<u-input
|
||||||
v-model="form.phone"
|
v-model="form.phone"
|
||||||
:disabled="reviewing"
|
:disabled="reviewing"
|
||||||
|
maxlength="11"
|
||||||
type="number"
|
type="number"
|
||||||
border="none"
|
border="none"
|
||||||
placeholder="请填写联系方式"
|
placeholder="请填写联系方式"
|
||||||
@@ -538,7 +539,7 @@ export default {
|
|||||||
getCode() {
|
getCode() {
|
||||||
if (this.reviewing) return
|
if (this.reviewing) return
|
||||||
if (this.form.phone.length === 0) {
|
if (this.form.phone.length === 0) {
|
||||||
uni.$u.toast('请输入位手机号')
|
uni.$u.toast('请输入手机号')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.form.phone.length !== 11) {
|
if (this.form.phone.length !== 11) {
|
||||||
|
|||||||
@@ -76,6 +76,7 @@
|
|||||||
<template #value>
|
<template #value>
|
||||||
<u-input
|
<u-input
|
||||||
v-model="formSupplier.phone"
|
v-model="formSupplier.phone"
|
||||||
|
maxlength="11"
|
||||||
:disabled="reviewing"
|
:disabled="reviewing"
|
||||||
type="number"
|
type="number"
|
||||||
border="none"
|
border="none"
|
||||||
@@ -718,11 +719,11 @@ export default {
|
|||||||
},
|
},
|
||||||
getCode() {
|
getCode() {
|
||||||
if (this.reviewing) return
|
if (this.reviewing) return
|
||||||
if (this.form.phone.length === 0) {
|
if (this.formSupplier.phone.length === 0) {
|
||||||
uni.$u.toast('请输入位手机号')
|
uni.$u.toast('请输入手机号')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.form.phone.length !== 11) {
|
if (this.formSupplier.phone.length !== 11) {
|
||||||
uni.$u.toast('请输入11位手机号')
|
uni.$u.toast('请输入11位手机号')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -77,6 +77,7 @@
|
|||||||
<u-input
|
<u-input
|
||||||
v-model="form.phone"
|
v-model="form.phone"
|
||||||
:disabled="reviewing"
|
:disabled="reviewing"
|
||||||
|
maxlength="11"
|
||||||
type="number"
|
type="number"
|
||||||
border="none"
|
border="none"
|
||||||
placeholder="请填写联系方式"
|
placeholder="请填写联系方式"
|
||||||
@@ -328,7 +329,7 @@ export default {
|
|||||||
getCode() {
|
getCode() {
|
||||||
if (this.reviewing) return
|
if (this.reviewing) return
|
||||||
if (this.form.phone.length === 0) {
|
if (this.form.phone.length === 0) {
|
||||||
uni.$u.toast('请输入位手机号')
|
uni.$u.toast('请输入手机号')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (this.form.phone.length !== 11) {
|
if (this.form.phone.length !== 11) {
|
||||||
|
|||||||
Reference in New Issue
Block a user