fix text-red pos/salary

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-05 15:09:35 +07:00
parent 42301c4830
commit e2e13cab9d
2 changed files with 10 additions and 2 deletions

View file

@ -626,7 +626,11 @@ onMounted(async () => {
<template v-if="mode" v-slot:body="props">
<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'">
{{ props.rowIndex + 1 }}
</div>

View file

@ -551,7 +551,11 @@ onMounted(async () => {
<template v-if="mode" v-slot:body="props">
<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'">
{{ props.rowIndex + 1 }}
</div>