WarehouseOrder - change to article modal

This commit is contained in:
Luca Haid
2025-05-20 10:53:34 +02:00
parent 11baca9413
commit cf7874946d
2 changed files with 3 additions and 4 deletions

View File

@@ -14,7 +14,7 @@
@media (min-width: 992px) {
.modal-lg, .modal-xl {
/*max width either 90% or 1120px*/
max-width: min(90vw, 1120px) !important;
max-width: min(90vw, 1400px) !important;
}
}

View File

@@ -341,7 +341,7 @@ Vue.component('warehouse-order-modal', {
customOrdering: 'distributorId',
fields: {
article: {
type: 'autocomplete',
type: 'input-article',
label: 'Artikel',
apiUrl: '/WarehouseArticle/autoComplete',
customFieldReference: 'WarehouseArticle',
@@ -594,8 +594,7 @@ Vue.component('warehouse-order', {
<warehouse-order-detail :id="row.id"/>
</template>
<template v-slot:sum="{ row }">{{ calculateSum(JSON.parse(row["positions"])).toFixed(2) }} €</template>
</tt-table-crud>
</tt-card>
</tt-table-crud> </tt-card>
`,
data: () => ({
orderModalId: null,