Added Fields to Vehicles
This commit is contained in:
@@ -211,6 +211,18 @@ setupPage()
|
|||||||
<td>Baujahr:</td>
|
<td>Baujahr:</td>
|
||||||
<td>{{itemInfo.buildYear}}</td>
|
<td>{{itemInfo.buildYear}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Anhänglast:</td>
|
||||||
|
<td>{{itemInfo.towingCapacity}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Farbe:</td>
|
||||||
|
<td>{{itemInfo.color}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Leistung:</td>
|
||||||
|
<td>{{itemInfo.powerInKW && itemInfo.powerInKW + " kW"}}</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -328,6 +340,34 @@ setupPage()
|
|||||||
type="number"
|
type="number"
|
||||||
/>
|
/>
|
||||||
</UFormGroup>
|
</UFormGroup>
|
||||||
|
<UFormGroup
|
||||||
|
label="Anhängelast:"
|
||||||
|
>
|
||||||
|
<UInput
|
||||||
|
v-model="itemInfo.towingCapacity"
|
||||||
|
type="number"
|
||||||
|
>
|
||||||
|
<template #trailing>kg</template>
|
||||||
|
</UInput>
|
||||||
|
</UFormGroup>
|
||||||
|
<UFormGroup
|
||||||
|
label="Farbe:"
|
||||||
|
>
|
||||||
|
<UInput
|
||||||
|
v-model="itemInfo.color"
|
||||||
|
type="text"
|
||||||
|
/>
|
||||||
|
</UFormGroup>
|
||||||
|
<UFormGroup
|
||||||
|
label="Leistung:"
|
||||||
|
>
|
||||||
|
<UInput
|
||||||
|
v-model="itemInfo.powerInKW"
|
||||||
|
type="number"
|
||||||
|
>
|
||||||
|
<template #trailing>kW</template>
|
||||||
|
</UInput>
|
||||||
|
</UFormGroup>
|
||||||
</UForm>
|
</UForm>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user