fix text-red pos/salary

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-05 15:09:58 +07:00
parent 2814b35f45
commit 2538f51e59
2 changed files with 10 additions and 2 deletions

View file

@ -947,7 +947,11 @@ onMounted(async () => {
</q-btn> --> </q-btn> -->
</q-td> </q-td>
<q-td v-for="col in props.cols" :key="col.id"> <q-td
v-for="col in props.cols"
:key="col.id"
:class="props.row.isEntry ? 'text-red' : ''"
>
<div <div
v-if="col.name == 'refCommandNo' && props.row.commandId" v-if="col.name == 'refCommandNo' && props.row.commandId"
@click="col.value ? onRefCommand(props.row) : null" @click="col.value ? onRefCommand(props.row) : null"

View file

@ -877,7 +877,11 @@ onMounted(() => {
</q-btn> --> </q-btn> -->
</q-td> </q-td>
<q-td v-for="col in props.cols" :key="col.id"> <q-td
v-for="col in props.cols"
:key="col.id"
:class="props.row.isEntry ? 'text-red' : ''"
>
<div <div
v-if="col.name == 'refCommandNo' && props.row.commandId" v-if="col.name == 'refCommandNo' && props.row.commandId"
@click="col.value ? onRefCommand(props.row) : null" @click="col.value ? onRefCommand(props.row) : null"