forked from verdnatura/salix-front
Fix ItemDescriptor labels
This commit is contained in:
parent
a6ebe9cf19
commit
84a9dc8319
|
@ -271,14 +271,27 @@ const openCloneDialog = async () => {
|
||||||
<VnLv :label="t('item.descriptor.buyer')">
|
<VnLv :label="t('item.descriptor.buyer')">
|
||||||
<template #value>
|
<template #value>
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ t('item.descriptor.buyer') }}
|
{{ entity.itemType?.worker?.user?.name }}
|
||||||
<WorkerDescriptorProxy :id="entity.itemType?.worker?.id" />
|
<WorkerDescriptorProxy :id="entity.itemType?.worker?.id" />
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
<VnLv :label="t('item.descriptor.color')" :value="entity.value5"> </VnLv>
|
<VnLv
|
||||||
<VnLv :label="t('item.descriptor.color')" :value="entity.value6" />
|
v-if="entity.value5"
|
||||||
<VnLv :label="t('item.descriptor.stems')" :value="entity.value7" />
|
:label="t('item.descriptor.color')"
|
||||||
|
:value="entity.value5"
|
||||||
|
>
|
||||||
|
</VnLv>
|
||||||
|
<VnLv
|
||||||
|
v-if="entity.value6"
|
||||||
|
:label="t('item.descriptor.category')"
|
||||||
|
:value="entity.value6"
|
||||||
|
/>
|
||||||
|
<VnLv
|
||||||
|
v-if="entity.value7"
|
||||||
|
:label="t('item.descriptor.stems')"
|
||||||
|
:value="entity.value7"
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
<template #actions="{}">
|
<template #actions="{}">
|
||||||
<QCardActions class="row justify-center">
|
<QCardActions class="row justify-center">
|
||||||
|
|
Loading…
Reference in New Issue