check file command in registry
This commit is contained in:
parent
996d22163d
commit
d70d3da9f5
1 changed files with 5 additions and 1 deletions
|
|
@ -747,7 +747,7 @@ onMounted(() => {
|
||||||
|
|
||||||
<q-td v-for="col in props.cols" :key="col.id">
|
<q-td v-for="col in props.cols" :key="col.id">
|
||||||
<div
|
<div
|
||||||
v-if="col.name == 'refCommandNo'"
|
v-if="col.name == 'refCommandNo' && props.row.commandId"
|
||||||
@click="col.value ? onRefCommand(props.row) : null"
|
@click="col.value ? onRefCommand(props.row) : null"
|
||||||
:class="
|
:class="
|
||||||
col.value
|
col.value
|
||||||
|
|
@ -756,6 +756,10 @@ onMounted(() => {
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
{{ col.value ? col.value : "-" }}
|
{{ 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>
|
||||||
<div v-else class="table_ellipsis">
|
<div v-else class="table_ellipsis">
|
||||||
{{ col.value ? col.value : "-" }}
|
{{ col.value ? col.value : "-" }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue