diff --git a/src/components/04_product-service/BasicInformation.vue b/src/components/04_product-service/BasicInformation.vue index c26704d9..22c479be 100644 --- a/src/components/04_product-service/BasicInformation.vue +++ b/src/components/04_product-service/BasicInformation.vue @@ -24,10 +24,19 @@ const props = defineProps<{ optionsBranch?: { id: string; name: string }[]; }>(); -onMounted(async () => { - if(!!props.optionsBranch) { - registeredBranchId.value = props.optionsBranch[0].id ; - } +onMounted( async() => { + + + + + + + setTimeout(() => { + if(!!props.optionsBranch ){ + registeredBranchId.value = props.optionsBranch[0].id ; + + } + }, 100); }); diff --git a/src/pages/04_product-service/MainPage.vue b/src/pages/04_product-service/MainPage.vue index 124f3a7f..4ae31925 100644 --- a/src/pages/04_product-service/MainPage.vue +++ b/src/pages/04_product-service/MainPage.vue @@ -3094,6 +3094,8 @@ watch(inputSearchProductAndService, async () => { class="col-md-10 col-sm-12" >
+ +