feat: prevent overwrite
This commit is contained in:
parent
74e5c6e78b
commit
b6f621cdfe
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue