forked from verdnatura/salix-front
parent
8c13ceb3fe
commit
68ebda625b
|
@ -240,7 +240,6 @@ function handleLocation(data, location) {
|
||||||
class="row q-gutter-md q-mb-md"
|
class="row q-gutter-md q-mb-md"
|
||||||
v-for="(note, index) in notes"
|
v-for="(note, index) in notes"
|
||||||
>
|
>
|
||||||
<div class="col">
|
|
||||||
<VnSelect
|
<VnSelect
|
||||||
:label="t('Observation type')"
|
:label="t('Observation type')"
|
||||||
:options="observationTypes"
|
:options="observationTypes"
|
||||||
|
@ -249,17 +248,14 @@ function handleLocation(data, location) {
|
||||||
option-value="id"
|
option-value="id"
|
||||||
v-model="note.observationTypeFk"
|
v-model="note.observationTypeFk"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div class="col">
|
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('Description')"
|
:label="t('Description')"
|
||||||
:rules="validate('route.description')"
|
:rules="validate('route.description')"
|
||||||
clearable
|
clearable
|
||||||
v-model="note.description"
|
v-model="note.description"
|
||||||
/>
|
/>
|
||||||
</div>
|
|
||||||
<div class="flex items-center">
|
|
||||||
<QIcon
|
<QIcon
|
||||||
|
:style="{ flex: 0, 'align-self': $q.screen.gt.xs ? 'end' : 'center' }"
|
||||||
@click.stop="deleteNote(note.id, index)"
|
@click.stop="deleteNote(note.id, index)"
|
||||||
class="cursor-pointer"
|
class="cursor-pointer"
|
||||||
color="primary"
|
color="primary"
|
||||||
|
@ -270,9 +266,7 @@ function handleLocation(data, location) {
|
||||||
{{ t('Remove note') }}
|
{{ t('Remove note') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QIcon>
|
</QIcon>
|
||||||
</div>
|
|
||||||
</VnRow>
|
</VnRow>
|
||||||
|
|
||||||
<QBtn
|
<QBtn
|
||||||
@click.stop="addNote()"
|
@click.stop="addNote()"
|
||||||
class="cursor-pointer add-icon q-mt-md"
|
class="cursor-pointer add-icon q-mt-md"
|
||||||
|
|
Loading…
Reference in New Issue