From bc5262bf8f78454df53f45c5a55028fffa996c8c Mon Sep 17 00:00:00 2001 From: puriphatt Date: Fri, 16 Aug 2024 09:51:08 +0700 Subject: [PATCH] fix: work product clone select --- src/pages/04_product-service/MainPage.vue | 129 +--------------------- 1 file changed, 6 insertions(+), 123 deletions(-) diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 94299860..30088f3e 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -3830,15 +3830,6 @@ watch( } " > -
- @@ -4114,16 +4069,6 @@ watch( } " > - -
{ await fetchListOfProductIsAdd(currentIdType); currentWorkIndex = index; - selectProduct = workItems[currentWorkIndex].product; + selectProduct = JSON.parse( + JSON.stringify(workItems[currentWorkIndex].product), + ); dialogTotalProduct = true; } " @@ -4432,7 +4379,9 @@ watch( async (index) => { await fetchListOfProductIsAdd(currentIdType); currentWorkIndex = index; - selectProduct = workItems[currentWorkIndex].product; + selectProduct = JSON.parse( + JSON.stringify(workItems[currentWorkIndex].product), + ); dialogTotalProduct = true; } " @@ -4467,72 +4416,6 @@ watch( " />
-