Tidying in Product Page
This commit is contained in:
@@ -196,6 +196,7 @@ setupPage()
|
|||||||
type="product"
|
type="product"
|
||||||
v-if="itemInfo"
|
v-if="itemInfo"
|
||||||
:element-id="itemInfo.id"
|
:element-id="itemInfo.id"
|
||||||
|
render-headline
|
||||||
/>
|
/>
|
||||||
</UCard>
|
</UCard>
|
||||||
</div>
|
</div>
|
||||||
@@ -203,13 +204,14 @@ setupPage()
|
|||||||
<div
|
<div
|
||||||
v-if="item.label === 'Bestand'"
|
v-if="item.label === 'Bestand'"
|
||||||
>
|
>
|
||||||
<UCard>
|
<UCard class="mt-5">
|
||||||
Bestand: {{dataStore.getStockByProductId(itemInfo.id)}} {{dataStore.units.find(unit => unit.id === itemInfo.unit) ? dataStore.units.find(unit => unit.id === itemInfo.unit).name : ""}}
|
Bestand: {{dataStore.getStockByProductId(itemInfo.id)}} {{dataStore.units.find(unit => unit.id === itemInfo.unit) ? dataStore.units.find(unit => unit.id === itemInfo.unit).name : ""}}
|
||||||
</UCard>
|
</UCard>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="item.label === 'Dokumente'"
|
v-if="item.label === 'Dokumente'"
|
||||||
>
|
>
|
||||||
|
<UCard class="mt-5">
|
||||||
<Toolbar>
|
<Toolbar>
|
||||||
<DocumentUpload
|
<DocumentUpload
|
||||||
type="product"
|
type="product"
|
||||||
@@ -219,6 +221,7 @@ setupPage()
|
|||||||
|
|
||||||
|
|
||||||
<DocumentList :documents="dataStore.getDocumentsByProductId(itemInfo.id)"/>
|
<DocumentList :documents="dataStore.getDocumentsByProductId(itemInfo.id)"/>
|
||||||
|
</UCard>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</UTabs>
|
</UTabs>
|
||||||
|
|||||||
Reference in New Issue
Block a user