diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 91a2541b..884c1680 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -36,6 +36,7 @@ import { UndoButton, ToggleButton, } from 'components/button'; +import TableProduct from 'src/components/04_product-service/TableProduct.vue'; import useFlowStore from 'stores/flow'; @@ -233,6 +234,8 @@ const productTab = ref(1); const productGroup = ref(); const product = ref<(Product & { type: 'product' })[]>(); const productIsAdd = ref<(Product & { type: 'product' })[]>(); +const modeViewIsAdd = ref(false); + const service = ref<(Service & { type: 'service' })[]>(); const resultSearchProduct = ref(); @@ -3354,18 +3357,8 @@ watch( } " > -
-
+
+
+ + + + +
-
-
- + -
+ } + " + > + +
@@ -4081,6 +4131,7 @@ watch( JSON.stringify(workItems[currentWorkIndex].product), ); dialogTotalProduct = true; + modeViewIsAdd = false; } " @manage-work-name=" @@ -4470,6 +4521,7 @@ watch( JSON.stringify(workItems[currentWorkIndex].product), ); dialogTotalProduct = true; + modeViewIsAdd = false; } " @manage-work-name="