แก้คำเพิ่มเติม
This commit is contained in:
parent
d6040fe95e
commit
ef9c99b8ae
1 changed files with 2 additions and 2 deletions
|
|
@ -238,10 +238,10 @@ watch(
|
|||
return 'ต้องมากกว่าเวลาเข้างาน';
|
||||
}
|
||||
if (val >= formData.am && val <= formData.amOut) {
|
||||
return 'เวลาออกงานต้องไม่อยู่ในช่วงเช้า';
|
||||
return 'ช่วงเวลาทับซ้อนกับช่วงเช้า';
|
||||
}
|
||||
if(val === formData.pm){
|
||||
return 'เวลาเข้างานช่วงบ่ายต้องไม่ซ้ำกับออกงานช่วงบ่าย'
|
||||
return 'เวลาออกงานช่วงบ่ายต้องไม่ซ้ำกับเข้างานช่วงบ่าย'
|
||||
}
|
||||
}
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue