refs #5990 fix(ticket_descriptor_summary): client.salePersone null value
gitea/salix-front/pipeline/head This commit looks good
Details
gitea/salix-front/pipeline/head This commit looks good
Details
This commit is contained in:
parent
07d1801b5e
commit
ab2e1f4553
|
@ -102,16 +102,18 @@ const setData = (entity) =>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
<VnLv
|
<VnLv :label="t('ticket.summary.salesPerson')">
|
||||||
v-if="entity.client && entity.client.salesPersonUser"
|
<template #value>
|
||||||
:label="t('ticket.card.salesPerson')"
|
<span class="link">
|
||||||
:value="entity.client.salesPersonUser.name"
|
{{ ticket.client?.salesPersonUser?.name }}
|
||||||
/>
|
<WorkerDescriptorProxy
|
||||||
<VnLv
|
:id="ticket.client.salesPersonFk"
|
||||||
v-if="entity.warehouse"
|
v-if="ticket.client.salesPersonFk"
|
||||||
:label="t('ticket.card.warehouse')"
|
/>
|
||||||
:value="entity.warehouse.name"
|
</span>
|
||||||
/>
|
</template>
|
||||||
|
</VnLv>
|
||||||
|
<VnLv :label="t('ticket.card.warehouse')" :value="entity.warehouse?.name" />
|
||||||
<VnLv
|
<VnLv
|
||||||
v-if="entity.agencyMode"
|
v-if="entity.agencyMode"
|
||||||
:label="t('ticket.card.agency')"
|
:label="t('ticket.card.agency')"
|
||||||
|
|
|
@ -160,8 +160,11 @@ async function changeState(value) {
|
||||||
<VnLv :label="t('ticket.summary.salesPerson')">
|
<VnLv :label="t('ticket.summary.salesPerson')">
|
||||||
<template #value>
|
<template #value>
|
||||||
<span class="link">
|
<span class="link">
|
||||||
{{ ticket.client.salesPersonUser.name }}
|
{{ ticket.client?.salesPersonUser?.name }}
|
||||||
<WorkerDescriptorProxy :id="ticket.client.salesPersonFk" />
|
<WorkerDescriptorProxy
|
||||||
|
:id="ticket.client.salesPersonFk"
|
||||||
|
v-if="ticket.client.salesPersonFk"
|
||||||
|
/>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
</VnLv>
|
</VnLv>
|
||||||
|
@ -172,7 +175,7 @@ async function changeState(value) {
|
||||||
<VnLv :label="t('ticket.summary.zone')" :value="ticket.zone.name" />
|
<VnLv :label="t('ticket.summary.zone')" :value="ticket.zone.name" />
|
||||||
<VnLv
|
<VnLv
|
||||||
:label="t('ticket.summary.warehouse')"
|
:label="t('ticket.summary.warehouse')"
|
||||||
:value="ticket.warehouse.name"
|
:value="ticket.warehouse?.name"
|
||||||
/>
|
/>
|
||||||
<VnLv :label="t('ticket.summary.route')" :value="ticket.routeFk" />
|
<VnLv :label="t('ticket.summary.route')" :value="ticket.routeFk" />
|
||||||
<VnLv :label="t('ticket.summary.invoice')">
|
<VnLv :label="t('ticket.summary.invoice')">
|
||||||
|
|
Loading…
Reference in New Issue