รายการระดับตำแหน่ง: แก้ไขการแสดงผล
This commit is contained in:
parent
181eb06ab8
commit
f23436b63c
1 changed files with 4 additions and 1 deletions
|
|
@ -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>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue