diff --git a/src/modules/07_insignia/components/5_Borrow/Main.vue b/src/modules/07_insignia/components/5_Borrow/Main.vue index f7d1b2ce9..293f6edd7 100644 --- a/src/modules/07_insignia/components/5_Borrow/Main.vue +++ b/src/modules/07_insignia/components/5_Borrow/Main.vue @@ -39,7 +39,6 @@ const fecthRound = async () => { .then(async (res) => { let data = res.data.result; if (data.length !== 0) { - await fecthInsigniaType(); selectRoundAllOption.value = [ { name: "ทั้งหมด", @@ -63,6 +62,9 @@ const fecthRound = async () => { selectRound.value = data[0].id; yearRound.value = data[0].year; roundYear.value = data[0].year; + if (roundYear.value !== "") { + await fecthInsigniaType(); + } } }) .catch((err) => { diff --git a/src/modules/10_order/components/Main.vue b/src/modules/10_order/components/Main.vue index cd2a2cdb0..d98e57fe6 100644 --- a/src/modules/10_order/components/Main.vue +++ b/src/modules/10_order/components/Main.vue @@ -333,7 +333,7 @@ const paginationLabel = (start: string, end: string, total: string) => {
{
- - +
+ +
+
+ +
- +