This commit is contained in:
2024-05-23 10:27:52 +02:00
parent 28ff274107
commit eca1cd380b
10 changed files with 166 additions and 41 deletions

View File

@@ -684,6 +684,7 @@ setupPage()
/>
</UFormGroup>
<InputGroup class="w-full">
<UFormGroup
label="Datum:"
@@ -923,7 +924,8 @@ setupPage()
:search-attributes="['name']"
v-model="row.product"
@change="row.unit = dataStore.getProductById(row.product).unit,
row.price = dataStore.getProductById(row.product).sellingPrice || 0"
row.price = dataStore.getProductById(row.product).sellingPrice || 0,
row.description = dataStore.getProductById(row.product).description"
>
<template #label>
<span class="truncate">{{dataStore.getProductById(row.product) ?dataStore.getProductById(row.product).name : "Kein Produkt ausgewählt" }}</span>