Minor Changes in InventoryItems
This commit is contained in:
@@ -129,6 +129,14 @@ setupPage()
|
|||||||
<td>Artikelnummer:</td>
|
<td>Artikelnummer:</td>
|
||||||
<td>{{itemInfo.articleNumber}}</td>
|
<td>{{itemInfo.articleNumber}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Hersteller:</td>
|
||||||
|
<td>{{itemInfo.manufacturer}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Herstellernummer:</td>
|
||||||
|
<td>{{itemInfo.manufacturerNumber}}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Lieferant:</td>
|
<td>Lieferant:</td>
|
||||||
<td>{{itemInfo.vendor ? itemInfo.vendor.name : ''}}</td>
|
<td>{{itemInfo.vendor ? itemInfo.vendor.name : ''}}</td>
|
||||||
@@ -137,6 +145,14 @@ setupPage()
|
|||||||
<td>Kaufdatum:</td>
|
<td>Kaufdatum:</td>
|
||||||
<td>{{itemInfo.purchaseDate ? dayjs(itemInfo.purchaseDate).format("DD.MM.YYYY") : ''}}</td>
|
<td>{{itemInfo.purchaseDate ? dayjs(itemInfo.purchaseDate).format("DD.MM.YYYY") : ''}}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Wert bei Kauf:</td>
|
||||||
|
<td>{{itemInfo.purchasePrice ? itemInfo.purchasePrice.toFixed(2).replace(".",",") + " €" : ''}}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Aktueller Wert:</td>
|
||||||
|
<td>{{itemInfo.currentValue ? itemInfo.currentValue.toFixed(2).replace(".",",") + " €" : ''}}</td>
|
||||||
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Beschreibung:</td>
|
<td>Beschreibung:</td>
|
||||||
<td>{{itemInfo.description}}</td>
|
<td>{{itemInfo.description}}</td>
|
||||||
@@ -265,7 +281,7 @@ setupPage()
|
|||||||
</UPopover>
|
</UPopover>
|
||||||
</UFormGroup>
|
</UFormGroup>
|
||||||
<UFormGroup
|
<UFormGroup
|
||||||
label="Kaufpreis:"
|
label="Wert bei Kauf:"
|
||||||
>
|
>
|
||||||
<UInput
|
<UInput
|
||||||
v-model="itemInfo.purchasePrice"
|
v-model="itemInfo.purchasePrice"
|
||||||
@@ -277,6 +293,19 @@ setupPage()
|
|||||||
</template>
|
</template>
|
||||||
</UInput>
|
</UInput>
|
||||||
</UFormGroup>
|
</UFormGroup>
|
||||||
|
<UFormGroup
|
||||||
|
label="Aktueller Wert:"
|
||||||
|
>
|
||||||
|
<UInput
|
||||||
|
v-model="itemInfo.currentValue"
|
||||||
|
type="number"
|
||||||
|
steps="0.01"
|
||||||
|
>
|
||||||
|
<template #trailing>
|
||||||
|
<span class="text-gray-500 dark:text-gray-400 text-xs">EUR</span>
|
||||||
|
</template>
|
||||||
|
</UInput>
|
||||||
|
</UFormGroup>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user