fix text-red pos/salary
This commit is contained in:
parent
42301c4830
commit
e2e13cab9d
2 changed files with 10 additions and 2 deletions
|
|
@ -626,7 +626,11 @@ onMounted(async () => {
|
||||||
|
|
||||||
<template v-if="mode" v-slot:body="props">
|
<template v-if="mode" 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.name">
|
<q-td
|
||||||
|
v-for="(col, index) in props.cols"
|
||||||
|
:key="col.name"
|
||||||
|
:class="props.row.isEntry ? 'text-red' : ''"
|
||||||
|
>
|
||||||
<div v-if="col.name == 'no'">
|
<div v-if="col.name == 'no'">
|
||||||
{{ props.rowIndex + 1 }}
|
{{ props.rowIndex + 1 }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -551,7 +551,11 @@ onMounted(async () => {
|
||||||
|
|
||||||
<template v-if="mode" v-slot:body="props">
|
<template v-if="mode" 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.name">
|
<q-td
|
||||||
|
v-for="(col, index) in props.cols"
|
||||||
|
:key="col.name"
|
||||||
|
:class="props.row.isEntry ? 'text-red' : ''"
|
||||||
|
>
|
||||||
<div v-if="col.name == 'no'">
|
<div v-if="col.name == 'no'">
|
||||||
{{ props.rowIndex + 1 }}
|
{{ props.rowIndex + 1 }}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue