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