From ab5d85d8148039825ed9e9eeb1d20643afc21a6d Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Mon, 24 Feb 2025 12:03:13 +0700 Subject: [PATCH] fix: new worker duplicate name --- src/pages/12_debit-note/FormPage.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/12_debit-note/FormPage.vue b/src/pages/12_debit-note/FormPage.vue index 838401cc..973aa1a3 100644 --- a/src/pages/12_debit-note/FormPage.vue +++ b/src/pages/12_debit-note/FormPage.vue @@ -778,6 +778,7 @@ async function submit() { : await debitNote.createDebitNote(payload); if (res) { + newWorkerList.value = []; await router.push(`/debit-note/${res.id}/?mode=info`); if (attachmentList.value && pageState.mode === 'create') {