You can add a row manually and each row is in "items" array
items: [
{
occuGroup:'',
constType:'',
bfloorArea: 0,
cfloorArea: 0
},
],
Here's the code that I wrote to get Total
subTotal: function() {
var total = 0;
this.items.forEach(element => {
total += (element.bfloorArea);
});
return total;
},
How do I get that right? Thanks
