fix condition

This commit is contained in:
Warunee Tamkoo 2025-07-21 16:10:59 +07:00
parent dfa4a8284f
commit 41c453cd23

View file

@ -369,10 +369,10 @@ watch(
<q-btn
v-if="
!props.row.isEdit &&
props.row.checkInStatus != 'ปกติ' &&
props.row.checkInStatus != '-' &&
props.row.checkOutStatus != 'ปกติ' &&
props.row.checkOutStatus != '-'
props.row.checkOutStatus != '-' &&
(props.row.checkInStatus != 'ปกติ' ||
props.row.checkOutStatus != 'ปกติ')
"
style="min-width: 110px"
outline
@ -431,10 +431,10 @@ watch(
class="col"
v-if="
!props.row.isEdit &&
props.row.checkInStatus != 'ปกติ' &&
props.row.checkInStatus != '-' &&
props.row.checkOutStatus != 'ปกติ' &&
props.row.checkOutStatus != '-'
props.row.checkOutStatus != '-' &&
(props.row.checkInStatus != 'ปกติ' ||
props.row.checkOutStatus != 'ปกติ')
"
>
<q-btn