เพิ่มแสดงตำแหน่งติดเงื่อนไข

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-11-14 15:43:10 +07:00
parent df29a5b02a
commit f9ff464e7e
8 changed files with 42 additions and 20 deletions

View file

@ -367,7 +367,6 @@ onMounted(async () => {
map-options
:options="columns"
option-value="name"
style="min-width: 140px"
/>
</div>
@ -402,7 +401,10 @@ onMounted(async () => {
:key="col.name"
:props="props"
@click="onClickSelectPos(props.row.id)"
:class="props.row.id === positionId ? 'bg-blue-2' : ''"
:class="{
'bg-blue-2': props.row.id === positionId,
'text-red': props.row.isCondition === true,
}"
>
<div v-if="col.name == 'no'">
{{ props.rowIndex + 1 }}