check file command in registry

This commit is contained in:
Warunee Tamkoo 2024-10-28 18:09:33 +07:00
parent 996d22163d
commit d70d3da9f5

View file

@ -747,7 +747,7 @@ onMounted(() => {
<q-td v-for="col in props.cols" :key="col.id">
<div
v-if="col.name == 'refCommandNo'"
v-if="col.name == 'refCommandNo' && props.row.commandId"
@click="col.value ? onRefCommand(props.row) : null"
:class="
col.value
@ -756,6 +756,10 @@ onMounted(() => {
"
>
{{ col.value ? col.value : "-" }}
<q-tooltip v-if="col.value">ดูคำสั่ง</q-tooltip>
</div>
<div v-else-if="col.name == 'refCommandNo' && !props.row.commandId">
-
</div>
<div v-else class="table_ellipsis">
{{ col.value ? col.value : "-" }}