feat: quotation form

This commit is contained in:
Methapon Metanipat 2024-09-18 15:38:50 +07:00
parent d826188915
commit f17bbecf46
3 changed files with 114 additions and 140 deletions

View file

@ -11,7 +11,7 @@ const dialogState = defineModel('state', { default: true });
</script>
<template>
<q-dialog v-model="dialogState">
<q-dialog v-model="dialogState" full-width full-height>
<AppBox
style="
padding: 0;
@ -19,10 +19,6 @@ const dialogState = defineModel('state', { default: true });
max-height: 100%;
flex-wrap: nowrap;
"
:style="{
width: width ?? '100%',
maxWidth: maxWidth ?? '98%',
}"
class="column"
>
<div class="row items-center q-py-sm q-px-md bordered-b">
@ -43,9 +39,11 @@ const dialogState = defineModel('state', { default: true });
class="dialog-body"
style="
flex: 1;
max-height: calc(100vh - 200px);
overflow-y: auto;
position: relative;
display: flex;
flex-direction: column;
height: 100%;
"
>
<slot />