fix: custom emp count

This commit is contained in:
puriphatt 2024-12-19 10:41:41 +07:00
parent c39bc9a4d2
commit 1c136f93c2

View file

@ -2,6 +2,8 @@
import { QTableProps } from 'quasar';
import TableComponents from 'src/components/TableComponents.vue';
const employeeAmount = defineModel<number>('employeeAmount', { default: 1 });
defineEmits<{
(e: 'delete', index: number): void;
(e: 'check', index: number): void;
@ -173,7 +175,7 @@ const columns = [
input-class="text-center"
:readonly
hide-bottom-space
:model-value="rows.length"
v-model="employeeAmount"
/>
</div>
</div>