ปรับการแสดงผล

This commit is contained in:
Warunee Tamkoo 2024-02-15 15:23:39 +07:00
parent d83bd256cb
commit 6327df0774
9 changed files with 25 additions and 13 deletions

View file

@ -583,7 +583,7 @@ async function emitSearch(keyword: string, typeSelect: string) {
<template>
<q-dialog v-model="props.modal" persistent>
<q-card style="min-width: 96vw">
<q-card style="min-width: 80vw">
<DialogHeader
:tittle="
props.actionType === 'ADD' ? 'เพิ่มอัตรากำลัง' : 'แก้ไขอัตรากำลัง'
@ -592,7 +592,7 @@ async function emitSearch(keyword: string, typeSelect: string) {
/>
<q-separator />
<form @submit.prevent="validateForm">
<q-card-section class="q-pa-sm">
<q-card-section class="q-pa-sm fixed-height">
<div class="row q-col-gutter-sm">
<div class="col-12">
<q-card bordered class="col-12" style="border: 1px solid #d6dee1">
@ -920,3 +920,10 @@ async function emitSearch(keyword: string, typeSelect: string) {
:data="dataCopy"
/>
</template>
<style scoped>
.fixed-height {
overflow-y: auto;
height: 80vh;
}
</style>