fix: new worker duplicate name

This commit is contained in:
Thanaphon Frappet 2025-02-24 12:03:13 +07:00
parent 644dca2bf7
commit ab5d85d814

View file

@ -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') {