diff --git a/src/pages/05_quotation/MainPage.vue b/src/pages/05_quotation/MainPage.vue index 5ce9be85..a8a0ef83 100644 --- a/src/pages/05_quotation/MainPage.vue +++ b/src/pages/05_quotation/MainPage.vue @@ -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(); } " >