fix: typo

This commit is contained in:
Methapon Metanipat 2024-10-03 14:45:39 +07:00
parent b7308d1833
commit 9c34172422

View file

@ -31,6 +31,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
let resetFormData = structuredClone(DEFAULT_DATA);
const currentTreeData = ref();
const currentFormData = ref<QuotationPayload>(structuredClone(resetFormData));
const currentFormState = ref<{
mode: null | 'info' | 'create' | 'edit';
@ -76,7 +77,7 @@ export const useQuotationForm = defineStore('form-quotation', () => {
currentFormState.value.mode = mode;
}
function submiQuotationt() {
function submitQuotation() {
currentFormState.value.mode = 'info';
}
@ -106,6 +107,6 @@ export const useQuotationForm = defineStore('form-quotation', () => {
resetForm,
assignFormData,
submiQuotationt,
submitQuotation,
};
});