diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 7cec3858..f062f585 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -282,6 +282,7 @@ const formService = ref({ name: '', code: '', productGroupId: '', + installments: 0, }); const hideStat = ref(false); @@ -933,6 +934,8 @@ async function assignFormService(id: string) { if (workflowRet) currWorkflow.value = workflowRet; } + console.log(res); + prevService.value = { code: res.code, name: res.name, @@ -1077,6 +1080,7 @@ function clearFormService() { work: [], status: undefined, productGroupId: '', + installments: 0, }; tempWorkItems.value = []; workItems.value = []; @@ -1136,7 +1140,6 @@ async function submitService(notClose = false) { const res = await createService( { ...formService.value, - workflowId: currWorkflow.value?.id || '', }, onCreateImageList.value, @@ -4079,6 +4082,7 @@ watch( style="width: 54px" dense outlined + min="0" class="split-pay q-mx-sm" input-class="text-caption text-right" type="number" @@ -4511,6 +4515,7 @@ watch( :readonly="!infoServiceEdit" dense outlined + min="0" class="split-pay q-mx-sm" input-class="text-caption text-right" type="number"