From 5d5621882ef464fbf7b115dbe068cafd0ea622c3 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Thu, 28 Nov 2024 14:50:22 +0700 Subject: [PATCH] fix: value no update --- src/pages/05_quotation/QuotationForm.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/05_quotation/QuotationForm.vue b/src/pages/05_quotation/QuotationForm.vue index 4853d6e8..7d08655a 100644 --- a/src/pages/05_quotation/QuotationForm.vue +++ b/src/pages/05_quotation/QuotationForm.vue @@ -671,7 +671,9 @@ function triggerProductServiceDialog() { function toggleDeleteProduct(index: number) { productServiceList.value.splice(index, 1); + productServiceList.value = [...productServiceList.value]; // สร้างอาร์เรย์ใหม่ } + async function assignWorkerToSelectedWorker() { if (quotationFormData.value.customerBranchId) { const retEmp = await customerStore.fetchBranchEmployee(