0👍
you can handle the submit by yourself like this
<button @click.prevent="onSubmit">Submit</button>
and send all the data from here.
you can acess total as this.totalCost
inside onSubmit
function and you do not need that total_cost
data property
Source:stackexchange.com