refactor: clean code
This commit is contained in:
parent
47bd4637d8
commit
15bce00194
2 changed files with 1 additions and 2 deletions
|
|
@ -1937,6 +1937,7 @@ const emptyCreateDialog = ref(false);
|
||||||
</DialogContainer>
|
</DialogContainer>
|
||||||
|
|
||||||
<!-- add employee -->
|
<!-- add employee -->
|
||||||
|
|
||||||
<DialogForm
|
<DialogForm
|
||||||
hideFooter
|
hideFooter
|
||||||
:title="$t('form.title.create', { name: $t('customer.employee') })"
|
:title="$t('form.title.create', { name: $t('customer.employee') })"
|
||||||
|
|
@ -2896,7 +2897,6 @@ const emptyCreateDialog = ref(false);
|
||||||
v-model:customer-branch="
|
v-model:customer-branch="
|
||||||
customerFormData.customerBranch[idx]
|
customerFormData.customerBranch[idx]
|
||||||
"
|
"
|
||||||
:tree-file="customerFormState.treeFile"
|
|
||||||
:customer-type="customerFormData.customerType"
|
:customer-type="customerFormData.customerType"
|
||||||
:customer-name="`${customerFormData.firstName} ${customerFormData.lastName}`"
|
:customer-name="`${customerFormData.firstName} ${customerFormData.lastName}`"
|
||||||
:action-disabled="
|
:action-disabled="
|
||||||
|
|
|
||||||
|
|
@ -47,7 +47,6 @@ defineProps<{
|
||||||
prefixId?: string;
|
prefixId?: string;
|
||||||
actionDisabled?: boolean;
|
actionDisabled?: boolean;
|
||||||
customerType?: 'CORP' | 'PERS';
|
customerType?: 'CORP' | 'PERS';
|
||||||
treeFile?: { label: string; file: { label: string }[] }[];
|
|
||||||
}>();
|
}>();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue