รายการระดับตำแหน่ง: แก้ไขการแสดงผล

This commit is contained in:
oat_dev 2024-03-20 15:22:29 +07:00
parent 181eb06ab8
commit f23436b63c

View file

@ -315,9 +315,12 @@ onMounted(async () => {
<template v-slot:body="props"> <template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer"> <q-tr :props="props" class="cursor-pointer">
<q-td v-for="(col, index) in props.cols" :key="col.id"> <q-td v-for="(col, index) in props.cols" :key="col.id">
<div v-if="col.name == 'no'"> <div v-if="col.name === 'no'">
{{ props.rowIndex + 1 }} {{ props.rowIndex + 1 }}
</div> </div>
<div v-if="col.name === 'posTypeName'">
{{ posName }}
</div>
<div v-else> <div v-else>
{{ col.value }} {{ col.value }}
</div> </div>