diff --git a/src/components/04_product-service/FormServiceWork.vue b/src/components/04_product-service/FormServiceWork.vue
index 0df814f1..8ba05f21 100644
--- a/src/components/04_product-service/FormServiceWork.vue
+++ b/src/components/04_product-service/FormServiceWork.vue
@@ -1,17 +1,20 @@
+
+ $emit('updateValue', v as string)"
+ >
+
+
+
+
+
diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue
index 1d45821c..412f3354 100644
--- a/src/pages/04_product-service/MainPage.vue
+++ b/src/pages/04_product-service/MainPage.vue
@@ -1,10 +1,12 @@
@@ -3982,6 +4014,7 @@ watch(
+
+
+
-->
-
- {
+ currWorkflow = v;
}
"
- :close="
- () => {
- propertiesDialog = false;
- }
- "
- >
-
-
+ >
+
+
{
await fetchListOfProductIsAdd(currentIdGroup);
diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts
index d34f52de..ad3eb19b 100644
--- a/src/stores/product-service/types.ts
+++ b/src/stores/product-service/types.ts
@@ -1,5 +1,6 @@
import { Status } from '../types';
import { UpdatedBy, CreatedBy } from 'stores/types';
+import { WorkFlowPayloadStep } from '../workflow-template/types';
export interface TreeProduct {
name: string;
@@ -73,12 +74,7 @@ export interface Attributes {
showTotalPrice: boolean;
additional?: (PropString | PropNumber | PropDate | PropOptions)[];
workflowId: string;
- workflowName: string;
- stepProperties: {
- id: string;
- productsId: string[];
- attributes: (PropString | PropNumber | PropDate | PropOptions)[];
- }[];
+ workflowStep: (WorkFlowPayloadStep & { productsId: string[] })[];
}
export type PropString = {