This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-26 11:15:03 +07:00
parent b28f759ac7
commit 3fc10ef14a
3 changed files with 6 additions and 4 deletions

View file

@ -368,7 +368,7 @@ watch(
dense
class="custom-header-table"
:visible-columns="dataStore.visibleColumnsHistory"
:rows-per-page-options="[1, 10, 25, 50, 100]"
:rows-per-page-options="[10, 25, 50, 100]"
:pagination="initialPagination"
@update:pagination="updatePagination"
>
@ -402,7 +402,7 @@ watch(
<q-tr :props="props" class="cursor-pointer">
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<div>
{{ col.value }}
{{ col.value ?? "-" }}
</div>
</q-td>
</q-tr>

View file

@ -149,7 +149,9 @@ export const useChangeRoundDataStore = defineStore(
roundStart: e.startTimeMorning,
roundEnd: e.leaveTimeAfterNoon,
currentRound: `${e.startTimeMorning}-${e.leaveTimeAfterNoon}`,
effectiveDate: date2Thai(e.effectiveDate) ?? "-",
effectiveDate: e.effectiveDate
? date2Thai(e.effectiveDate)
: "-",
}));
} else {
rows.value = [];

View file

@ -293,7 +293,7 @@ watch(
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<div>
{{ col.value }}
{{ col.value ?? '-' }}
</div>
</q-td>
</q-tr>