Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<q-page
|
||||
v-if="canReadOrder"
|
||||
class="order-page"
|
||||
:style="{ '--grid-header-h': gridHeaderHeight + 'px' }"
|
||||
>
|
||||
<!-- 🔄 SAYFA LOADERI -->
|
||||
<q-inner-loading :showing="isPageBlocking" color="primary">
|
||||
@@ -810,6 +811,17 @@ const orderStore = useOrderEntryStore()
|
||||
const orderentryStore = useOrderEntryStore()
|
||||
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()
|
||||
|
||||
Reference in New Issue
Block a user