Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-12-23 09:25:50 +07:00
commit 2f1572bde0
8 changed files with 140 additions and 138 deletions

View file

@ -301,7 +301,7 @@ const historyColumns = ref<QTableProps["columns"]>([
sortable: true,
field: "endDate",
format(val, row) {
row.isDate
return row.isDate
? date2Thai(row.endDate)
: new Date(row.endDate).getFullYear() + 543;
},

View file

@ -677,7 +677,6 @@ onMounted(() => {
<q-th v-for="col in props.cols" :key="col.name" :props="props">
<span class="text-weight-medium">{{ col.label }}</span>
</q-th>
<q-th auto-width />
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
@ -685,7 +684,6 @@ onMounted(() => {
<q-td v-for="col in props.cols" :key="col.id">
<div>{{ col.value ? col.value : "-" }}</div>
</q-td>
<q-td auto-width> </q-td>
</q-tr>
</template>
</d-table>