refactor: edit table paySplit

This commit is contained in:
Thanaphon Frappet 2024-10-29 11:56:02 +07:00
parent 5be3a05bc4
commit aedd65edfc
2 changed files with 59 additions and 8 deletions

View file

@ -17,7 +17,7 @@ const props = withDefaults(
hidePagination?: boolean;
inTable?: boolean;
hideView?: boolean;
btnSelectedAll?: boolean;
btnSelected?: boolean;
imgColumn?: string;
customColumn?: string[];
@ -59,9 +59,6 @@ defineEmits<{
:style="`background-color: ${inTable ? '#F0FFF1' : 'hsla(var(--info-bg) / 0.07'} `"
:props="props"
>
<q-th auto-width v-if="!!btnSelectedAll">
<q-checkbox v-model="props.selected" />
</q-th>
<q-th v-for="col in props.cols" :key="col.name" :props="props">
<span v-if="col.label === 'nameEmployee'">
{{ $t('fullname') }}