fix
This commit is contained in:
parent
b28f759ac7
commit
3fc10ef14a
3 changed files with 6 additions and 4 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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 = [];
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue