Hotfix: zones and order filters, ticket transfer #799

Merged
jsegarra merged 6 commits from Hotfix-ZoneOrderFilters into master 2024-10-05 09:02:47 +00:00
1 changed files with 22 additions and 15 deletions
Showing only changes of commit c3c2528342 - Show all commits

View File

@ -17,6 +17,7 @@ import VnUserLink from 'src/components/ui/VnUserLink.vue';
import VnTitle from 'src/components/common/VnTitle.vue';
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import VnSelect from 'src/components/common/VnSelect.vue';
import { QVirtualScroll } from 'quasar';
const route = useRoute();
const { notify } = useNotify();
@ -229,22 +230,28 @@ async function changeState(value) {
:url="ticketUrl + 'observation'"
:text="t('ticket.pageTitles.notes')"
/>
<VnLv
v-for="note in entity.notes"
:key="note.id"
:label="note.observationType.description"
:value="note.description"
<QVirtualScroll
:items="entity.notes"
v-slot="{ item, index }"
style="max-height: 300px"
separator
>
<QItem
:key="index"
class="vn-label-value"
style="
display: inline-block;
padding: unset;
min-height: max-content;
"
>
<span class="label" style="margin-right: 4px">
{{ item.observationType.description }}:</span
>
<span>{{ item.description }}</span>
</QItem></QVirtualScroll
>
<template #value>
<QInput
v-model="note.description"
filled
type="textarea"
class="notes"
readonly
/>
</template>
</VnLv>
</QCard>
<QCard class="vn-one">
<VnTitle :text="t('ticket.summary.summaryAmount')" />