แก้บัค input position

This commit is contained in:
AnandaTon 2023-10-13 10:06:43 +07:00
parent dc75f326e4
commit e1ceac5b13

View file

@ -80,7 +80,7 @@
v-model="position"
:rules="[(val) => !!val || `${'กรุณากรอกตำแหน่ง/ลักษณะงาน'}`]"
:label="`${'ตำแหน่ง/ลักษณะงาน'}`"
@update:modelValue="clickEditRow"
@update:modelValue="clickEditRowPosition"
hide-bottom-space
/>
</div>
@ -593,7 +593,7 @@ const checkRowPage = () => {
//validate
const endDateValidation = (value: Date) => {
if (startDate.value < endDate.value) {
if (startDate.value <= endDate.value) {
return true
}
return false
@ -774,6 +774,10 @@ const clickEditRow = () => {
editRow.value = true
}
const clickEditRowPosition = () => {
editRow.value = true
}
/**
* validate input ใน dialog
*/