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
|
dense
|
||||||
class="custom-header-table"
|
class="custom-header-table"
|
||||||
:visible-columns="dataStore.visibleColumnsHistory"
|
:visible-columns="dataStore.visibleColumnsHistory"
|
||||||
:rows-per-page-options="[1, 10, 25, 50, 100]"
|
:rows-per-page-options="[10, 25, 50, 100]"
|
||||||
:pagination="initialPagination"
|
:pagination="initialPagination"
|
||||||
@update:pagination="updatePagination"
|
@update:pagination="updatePagination"
|
||||||
>
|
>
|
||||||
|
|
@ -402,7 +402,7 @@ watch(
|
||||||
<q-tr :props="props" class="cursor-pointer">
|
<q-tr :props="props" class="cursor-pointer">
|
||||||
<q-td v-for="col in props.cols" :key="col.name" :props="props">
|
<q-td v-for="col in props.cols" :key="col.name" :props="props">
|
||||||
<div>
|
<div>
|
||||||
{{ col.value }}
|
{{ col.value ?? "-" }}
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,9 @@ export const useChangeRoundDataStore = defineStore(
|
||||||
roundStart: e.startTimeMorning,
|
roundStart: e.startTimeMorning,
|
||||||
roundEnd: e.leaveTimeAfterNoon,
|
roundEnd: e.leaveTimeAfterNoon,
|
||||||
currentRound: `${e.startTimeMorning}-${e.leaveTimeAfterNoon}`,
|
currentRound: `${e.startTimeMorning}-${e.leaveTimeAfterNoon}`,
|
||||||
effectiveDate: date2Thai(e.effectiveDate) ?? "-",
|
effectiveDate: e.effectiveDate
|
||||||
|
? date2Thai(e.effectiveDate)
|
||||||
|
: "-",
|
||||||
}));
|
}));
|
||||||
} else {
|
} else {
|
||||||
rows.value = [];
|
rows.value = [];
|
||||||
|
|
|
||||||
|
|
@ -293,7 +293,7 @@ watch(
|
||||||
</q-td>
|
</q-td>
|
||||||
<q-td v-for="col in props.cols" :key="col.name" :props="props">
|
<q-td v-for="col in props.cols" :key="col.name" :props="props">
|
||||||
<div>
|
<div>
|
||||||
{{ col.value }}
|
{{ col.value ?? '-' }}
|
||||||
</div>
|
</div>
|
||||||
</q-td>
|
</q-td>
|
||||||
</q-tr>
|
</q-tr>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue