From bd32764d48680bd83251026f872d698de8143070 Mon Sep 17 00:00:00 2001 From: Thanaphon Frappet Date: Fri, 27 Dec 2024 10:14:42 +0700 Subject: [PATCH] refactor: filter worker is selected --- src/components/05_quotation/WorkerItem.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/components/05_quotation/WorkerItem.vue b/src/components/05_quotation/WorkerItem.vue index 9fc56e40..f17267eb 100644 --- a/src/components/05_quotation/WorkerItem.vue +++ b/src/components/05_quotation/WorkerItem.vue @@ -118,7 +118,11 @@ watch( ] : columns " - :rows + :rows=" + readonly && inTable + ? rows.filter((_, index) => checkList.includes(index)) + : rows + " hidePagination :customColumn="['check']" @delete="(i) => $emit('delete', i)"