diff --git a/src/components/04_product-service/WorkManagementComponent.vue b/src/components/04_product-service/WorkManagementComponent.vue index 8ccf2c81..7a0f4968 100644 --- a/src/components/04_product-service/WorkManagementComponent.vue +++ b/src/components/04_product-service/WorkManagementComponent.vue @@ -94,7 +94,7 @@ defineEmits<{ {{ $t('workNo') }} {{ index + 1 }} : - {{ $t('workName') + ' ' + workName }} + {{ workName ? workName : $t('workName') }} diff --git a/src/stores/product-service/index.ts b/src/stores/product-service/index.ts index 7dff86f0..406150e0 100644 --- a/src/stores/product-service/index.ts +++ b/src/stores/product-service/index.ts @@ -676,7 +676,7 @@ const useProductServiceStore = defineStore('api-product-service', () => { } async function fetchListOfWork() { - const res = await fetchListWork(); + const res = await fetchListWork({ baseOnly: true }); if (res) { workNameItems.value = res.result.map((item) => {