showing results for - "sum of input vue js"
Jerónimo
28 May 2018
1      methods: {
2        getTotalTaxes(index) {
3            let calTaxTotal =
4                parseInt(this.form.ticketInvoiceItems[index].tax_SB) +
5                parseInt(this.form.ticketInvoiceItems[index].tax_SRP) +
6                parseInt(this.form.ticketInvoiceItems[index].tax_YQ) +
7                parseInt(this.form.ticketInvoiceItems[index].tax_RG);
8
9            this.form.ticketInvoiceItems[index].total_tax_breakup = calTaxTotal;
10
11            return calTaxTotal;
12        }
13    }
14