diff --git a/src/pages/05_quotation/form.ts b/src/pages/05_quotation/form.ts index 030bd39e..d2d4cce0 100644 --- a/src/pages/05_quotation/form.ts +++ b/src/pages/05_quotation/form.ts @@ -85,8 +85,8 @@ export const useQuotationForm = defineStore('form-quotation', () => { } if (currentFormState.value.mode === 'edit' && currentFormData.value.id) { await quotationStore.editQuotation({ - id: currentFormData.value.id, ...currentFormData.value, + id: currentFormData.value.id, }); }