refactor: set readonly

This commit is contained in:
Thanaphon Frappet 2024-10-17 11:48:56 +07:00
parent 2d4d0c7783
commit 48017761c2
4 changed files with 44 additions and 33 deletions

View file

@ -2655,6 +2655,7 @@ const emptyCreateDialog = ref(false);
v-model:current-id="currentFromDataEmployee.id"
v-model="currentFromDataEmployee.file"
hide-action
:readonly="!employeeFormState.isEmployeeEdit"
:group-list="uploadFileListEmployee"
:menu="uploadFileListEmployee"
:columns="columnsAttachment"
@ -4091,6 +4092,7 @@ const emptyCreateDialog = ref(false);
v-model:current-id="currentFromDataEmployee.id"
v-model="currentFromDataEmployee.file"
hide-action
:readonly="!employeeFormState.isEmployeeEdit"
:group-list="uploadFileListEmployee"
:menu="uploadFileListEmployee"
:columns="columnsAttachment"