addRow() {
this.vatList.push(
new VatItem()
);
}
removeRow(i) {
this.vatList.splice(i, 1);
}
upRow(i) {
const rowItem = this.vatList[i];
this.vatList[i] = this.vatList[i - 1];
this.vatList[i - 1] = rowItem;
}
downRow(i) {
const rowItem = this.vatList[i];
this.vatList[i] = this.vatList[i + 1];
this.vatList[i + 1] = rowItem;
}
addSubRow(i) {
this.vatList.splice(i + 1, 0, new VatItem());
}