33 id =" shortname-details"
44 class =" view-container"
55 >
6+ <v-overlay :value =" isInitialLoading" >
7+ <v-progress-circular
8+ indeterminate
9+ size =" 24"
10+ ></v-progress-circular >
11+ </v-overlay >
612 <div class =" view-header flex-column" >
713 <h1 class =" view-header__title" >
814 Refund Information
5056 <v-col class =" col-6 col-sm-3 font-weight-bold" >
5157 Unsettled Amount on Short Name
5258 </v-col >
53- <v-col class =" pl-0" >
59+ <v-col class =" pl-0" v-show = " !isInitialLoading " >
5460 {{ formatCurrency(Number(shortNameDetails.creditsRemaining)) }}
5561 </v-col >
5662 </v-row >
6773 v-if =" readOnly"
6874 data-test =" refundAmountReadOnly"
6975 class =" pl-0"
76+ v-show =" !isInitialLoading"
7077 >
7178 {{ formatCurrency(Number(refundDetails.refundAmount)) }}
7279 </v-col >
7986 data-test =" refundAmount"
8087 :rules =" refundAmountRules"
8188 :disabled =" isFormDisabled"
89+ v-show =" !isInitialLoading"
8290 />
8391 </v-row >
8492
@@ -430,6 +438,7 @@ export default defineComponent({
430438 const eftRefundAddressState = useEFTRefundAddress ()
431439 const state = reactive ({
432440 ... eftRefundAddressState ,
441+ isInitialLoading: true ,
433442 entityName: undefined as string ,
434443 shortNameDetails: {} as ShortNameDetails ,
435444 refundDetails: {} as EFTRefund ,
@@ -501,6 +510,7 @@ export default defineComponent({
501510 }
502511
503512 onMounted (async () => {
513+ state .isInitialLoading = true
504514 await loadShortnameDetails ()
505515 if (props .shortNameId && props .eftRefundId ) {
506516 state .readOnly = true
@@ -509,6 +519,7 @@ export default defineComponent({
509519 state .refundMethod = props .paramRefundMethod
510520 prepopulateRefund ()
511521 }
522+ state .isInitialLoading = false
512523 })
513524
514525 function prepopulateRefund () {
@@ -727,4 +738,7 @@ export default defineComponent({
727738.item-chip {
728739 font-size : 16px !important ;
729740}
741+ .v-overlay {
742+ z-index : 10 ;
743+ }
730744 </style >
0 commit comments