From 56f880c4e30aff3b90f54d38f6f8e84b954b4da6 Mon Sep 17 00:00:00 2001 From: Net <93821485+somnetsak123@users.noreply.github.com> Date: Wed, 10 Jul 2024 11:49:27 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B9=81=E0=B8=81=E0=B9=89=20=E0=B8=AA?= =?UTF-8?q?=E0=B8=B2=E0=B8=82=E0=B8=B2=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=A5?= =?UTF-8?q?=E0=B8=87=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2?= =?UTF-8?q?=E0=B8=99=E0=B9=84=E0=B8=A1=E0=B9=88=E0=B8=A1=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../04_product-service/BasicInformation.vue | 17 +++++++++++++---- src/pages/04_product-service/MainPage.vue | 2 ++ 2 files changed, 15 insertions(+), 4 deletions(-) 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" >
+ +