This commit is contained in:
Taric Xin
2022-02-22 15:38:16 +08:00
parent c3d673380b
commit 6285aa085c
4 changed files with 5 additions and 5 deletions

View File

@ -51,7 +51,7 @@ export class InvoicedListComponent implements OnInit {
switch (e.type) {
case 'checkbox':
this.selectedRows = e.checkbox!;
this.totalCallNo = this.selectedRows.reduce((total, cv) => total + cv.vatnotax, 0);
this.totalCallNo = (this.selectedRows.reduce((total, cv) => total + cv.vatnotax, 0)).toFixed(2);;
break;
}
}