fix: typo
This commit is contained in:
parent
b7308d1833
commit
9c34172422
1 changed files with 3 additions and 2 deletions
|
|
@ -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,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue