洗车预约取消车牌号校验

This commit is contained in:
zzyuan 2025-01-23 13:26:14 +08:00
parent ad829040d9
commit 627942df78
1 changed files with 11 additions and 7 deletions

View File

@ -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;
// }
}