fix: typo
This commit is contained in:
parent
af4f875771
commit
5ee4deda98
1 changed files with 3 additions and 3 deletions
|
|
@ -142,7 +142,7 @@ const formDataCustomerBranch = ref<
|
|||
}
|
||||
>(structuredClone(CUSTOMER_BRANCH_DEFAULT));
|
||||
|
||||
function setDefaultCustomerd() {
|
||||
function setDefaultCustomer() {
|
||||
formDataCustomerBranch.value = structuredClone(CUSTOMER_BRANCH_DEFAULT);
|
||||
}
|
||||
|
||||
|
|
@ -170,7 +170,7 @@ async function triggerDialogDeleteQuottaion(id: string) {
|
|||
}
|
||||
|
||||
function triggerCreateCustomerd(opts: { type: 'CORP' | 'PERS' }) {
|
||||
setDefaultCustomerd();
|
||||
setDefaultCustomer();
|
||||
customerFormState.value.dialogType = 'create';
|
||||
customerFormData.value.customerType = opts?.type;
|
||||
customerFormState.value.dialogModal = true;
|
||||
|
|
@ -810,7 +810,7 @@ watch(() => pageState.currentTab, fetchQuotationList);
|
|||
() => {
|
||||
customerFormState.dialogModal = false;
|
||||
customerFormStore.resetForm(true);
|
||||
setDefaultCustomerd();
|
||||
setDefaultCustomer();
|
||||
}
|
||||
"
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue