洗车预约取消车牌号校验
This commit is contained in:
parent
ad829040d9
commit
627942df78
|
|
@ -629,15 +629,19 @@
|
||||||
alertTip("请输入车牌号");
|
alertTip("请输入车牌号");
|
||||||
return
|
return
|
||||||
} else {
|
} else {
|
||||||
if (this.licensePlateList.includes(this.carId)) {
|
|
||||||
if (licensePlateReg.test(this.carId) === false) {
|
if (licensePlateReg.test(this.carId) === false) {
|
||||||
alertTip("车牌号格式不正确");
|
alertTip("车牌号格式不正确");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
// if (this.licensePlateList.includes(this.carId)) {
|
||||||
alertTip("车牌号未配置");
|
// if (licensePlateReg.test(this.carId) === false) {
|
||||||
return;
|
// alertTip("车牌号格式不正确");
|
||||||
}
|
// return;
|
||||||
|
// }
|
||||||
|
// } else {
|
||||||
|
// alertTip("车牌号未配置");
|
||||||
|
// return;
|
||||||
|
// }
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue