fix: getColumnLabel label posNo

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-02-25 10:42:46 +07:00
parent 87257cd1bf
commit 710e9fe7b3
3 changed files with 20 additions and 12 deletions

View file

@ -7,6 +7,7 @@ import config from "@/app.config";
import { useCounterMixin } from "@/stores/mixin";
import { useLeaveStore } from "@/modules/05_leave/store";
import { useDataStore } from "@/stores/data";
import { getColumnLabel } from "@/utils/functions";
import type { PropsTable } from "@/interface/PropsTable";
import type { DataCommander } from "@/modules/05_leave/interface/response/main";
@ -401,7 +402,7 @@ function getSearch() {
:key="col.name"
:props="props"
>
<span class="text-weight-medium">{{ col.label }}</span>
<span class="text-weight-medium">{{ getColumnLabel(col, isAct) }}</span>
</q-th>
</q-tr>
</template>