better view for freedrinklistconfig
This commit is contained in:
parent
6e4d3a8a01
commit
a28bbe8e0a
|
@ -6,15 +6,20 @@
|
|||
</v-card-title>
|
||||
<v-card-text>
|
||||
<v-list>
|
||||
<template
|
||||
v-for="(free_drink_config, index) in free_drink_list_config">
|
||||
<v-list-item
|
||||
v-for="free_drink_config in free_drink_list_config"
|
||||
:key="free_drink_config.id"
|
||||
>
|
||||
:key="index">
|
||||
<v-list-item-content>
|
||||
<v-row>
|
||||
<v-col>
|
||||
<v-text-field
|
||||
outlined
|
||||
label="Label"
|
||||
:value="free_drink_config.label"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col>
|
||||
<v-autocomplete
|
||||
outlined
|
||||
label="Zugeordnetes Getränk"
|
||||
|
@ -23,6 +28,8 @@
|
|||
item-value="id"
|
||||
:value="free_drink_config.drink"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col>
|
||||
<v-autocomplete
|
||||
outlined
|
||||
label="Freigetränkaufnahme"
|
||||
|
@ -32,13 +39,23 @@
|
|||
item-value="id"
|
||||
:value="free_drink_config.free_drink_types"
|
||||
/>
|
||||
</v-col>
|
||||
<v-col>
|
||||
<v-text-field
|
||||
outlined
|
||||
label="Preis in €"
|
||||
type="number"
|
||||
:value="(free_drink_config.price / 100).toFixed(2)"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-list-item-content>
|
||||
</v-list-item>
|
||||
<v-divider
|
||||
v-if="index + 1 < free_drink_list_config.length"
|
||||
:key="index"
|
||||
/>
|
||||
</template>
|
||||
</v-list>
|
||||
</v-card-text>
|
||||
<v-card-actions>
|
||||
|
|
Loading…
Reference in New Issue