refactor: clean code

This commit is contained in:
Net 2024-08-29 14:58:19 +07:00
parent 47bd4637d8
commit 15bce00194
2 changed files with 1 additions and 2 deletions

View file

@ -1937,6 +1937,7 @@ const emptyCreateDialog = ref(false);
</DialogContainer>
<!-- add employee -->
<DialogForm
hideFooter
:title="$t('form.title.create', { name: $t('customer.employee') })"
@ -2896,7 +2897,6 @@ const emptyCreateDialog = ref(false);
v-model:customer-branch="
customerFormData.customerBranch[idx]
"
:tree-file="customerFormState.treeFile"
:customer-type="customerFormData.customerType"
:customer-name="`${customerFormData.firstName} ${customerFormData.lastName}`"
:action-disabled="

View file

@ -47,7 +47,6 @@ defineProps<{
prefixId?: string;
actionDisabled?: boolean;
customerType?: 'CORP' | 'PERS';
treeFile?: { label: string; file: { label: string }[] }[];
}>();
</script>