Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
<q-page
|
<q-page
|
||||||
v-if="canReadOrder"
|
v-if="canReadOrder"
|
||||||
class="order-page"
|
class="order-page"
|
||||||
|
:style="{ '--grid-header-h': gridHeaderHeight + 'px' }"
|
||||||
>
|
>
|
||||||
<!-- 🔄 SAYFA LOADERI -->
|
<!-- 🔄 SAYFA LOADERI -->
|
||||||
<q-inner-loading :showing="isPageBlocking" color="primary">
|
<q-inner-loading :showing="isPageBlocking" color="primary">
|
||||||
@@ -810,6 +811,17 @@ const orderStore = useOrderEntryStore()
|
|||||||
const orderentryStore = useOrderEntryStore()
|
const orderentryStore = useOrderEntryStore()
|
||||||
orderStore.initSchemaMap()
|
orderStore.initSchemaMap()
|
||||||
|
|
||||||
|
const schemaSource = computed(() =>
|
||||||
|
Object.keys(orderStore?.schemaMap || {}).length
|
||||||
|
? orderStore.schemaMap
|
||||||
|
: storeSchemaByKey
|
||||||
|
)
|
||||||
|
|
||||||
|
const gridHeaderHeight = computed(() => {
|
||||||
|
const count = Object.keys(schemaSource.value || {}).length
|
||||||
|
const bedenH = 28
|
||||||
|
return Math.max(1, count) * bedenH + 4
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|||||||
Reference in New Issue
Block a user