diff --git a/src/modules/10_order/components/step/step01.vue b/src/modules/10_order/components/step/step01.vue index d6013d5a1..81d4d8ee7 100644 --- a/src/modules/10_order/components/step/step01.vue +++ b/src/modules/10_order/components/step/step01.vue @@ -1122,7 +1122,6 @@ const getClass = (val: boolean) => { ]" :label="`${'ตำแหน่งผู้มีอำนาจลงนาม'}`" hide-bottom-space - disable />
{ - const dataApi = res.data.result; + .then(async (res) => { + const dataApi = await res.data.result; data.title = dataApi.title; data.rounded = dataApi.round; data.consider = dataApi.result; diff --git a/src/modules/13_salary/components/Command/step01.vue b/src/modules/13_salary/components/Command/step01.vue index cef9a4ab2..71147ddd1 100644 --- a/src/modules/13_salary/components/Command/step01.vue +++ b/src/modules/13_salary/components/Command/step01.vue @@ -590,7 +590,6 @@ function fetchSalaryRound() { :rules="[(val) => !!val || `${'กรุณากรอกตำแหน่งผู้มีอำนาจลงนาม'}`]" :label="`${'ตำแหน่งผู้มีอำนาจลงนาม'}`" hide-bottom-space - disable />