From 52c384f0fba7d4e83f84972686cd63db83ccbc70 Mon Sep 17 00:00:00 2001 From: net Date: Wed, 17 Sep 2025 11:15:05 +0700 Subject: [PATCH] fix: create sub branch --- src/pages/03_customer-management/form.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pages/03_customer-management/form.ts b/src/pages/03_customer-management/form.ts index fe875a3c..5a24fcae 100644 --- a/src/pages/03_customer-management/form.ts +++ b/src/pages/03_customer-management/form.ts @@ -258,7 +258,6 @@ export const useCustomerForm = defineStore('form-customer', () => { async function addCurrentCustomerBranch() { if (currentFormData.value.customerBranch?.some((v) => !v.id)) return; currentFormData.value.customerBranch?.push({ - id: '', customerId: '', branchCode: currentFormData.value.customerBranch.length !== 0