fix: reset not actually reset
This commit is contained in:
parent
89a0b15fc6
commit
b5b5d4f02b
1 changed files with 2 additions and 1 deletions
|
|
@ -212,9 +212,10 @@ const productServiceList = ref<
|
||||||
Required<QuotationPayload['productServiceList'][number]>[]
|
Required<QuotationPayload['productServiceList'][number]>[]
|
||||||
>([]);
|
>([]);
|
||||||
|
|
||||||
function closeTab() {
|
async function closeTab() {
|
||||||
if (quotationFormState.value.mode === 'edit') {
|
if (quotationFormState.value.mode === 'edit') {
|
||||||
quotationForm.resetForm();
|
quotationForm.resetForm();
|
||||||
|
await assignToProductServiceList();
|
||||||
} else {
|
} else {
|
||||||
dialogWarningClose(t, {
|
dialogWarningClose(t, {
|
||||||
message: t('dialog.message.close'),
|
message: t('dialog.message.close'),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue