แก้บัค input position
This commit is contained in:
parent
dc75f326e4
commit
e1ceac5b13
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue