diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index d63b0909..dc5573bd 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -1102,7 +1102,10 @@ async function submitService(notClose = false) { } const res = await createService( - formDataProductService.value, + { + ...formDataProductService.value, + workflowId: currWorkflow.value?.id || '', + }, onCreateImageList.value, ); if (res) { diff --git a/src/stores/product-service/types.ts b/src/stores/product-service/types.ts index d8e3e2f6..0a110b5f 100644 --- a/src/stores/product-service/types.ts +++ b/src/stores/product-service/types.ts @@ -69,6 +69,7 @@ export interface ServiceCreate { status?: Status; productGroupId: string; selectedImage?: string; + workflowId?: string; } export interface Attributes {