After restructuring my entire Javascript code, I managed to solve the problem with asynchronous calls. However, an error occurs when editing a repair and the server prompts the client for repair information again. The error message displayed is "Uncaught TypeError: Cannot read property '0' of undefined". Below is the attached code snippet:
<template>
<div id="mainjob">
...
(Code snippet continues)
</div>
</template>
<script>
...
(JavaScript logic goes here)
...
</script>