From c9a79cfbdc1ee29459d3497c41c38096fc228660 Mon Sep 17 00:00:00 2001 From: Taric Xin Date: Wed, 23 Feb 2022 13:41:09 +0800 Subject: [PATCH] edit --- .../components/invoiced-list/invoiced-list.component.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts index 1ef22e77..a844120a 100644 --- a/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts +++ b/src/app/routes/ticket-management/components/invoiced-list/invoiced-list.component.ts @@ -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)).toFixed(2);; + this.totalCallNo = this.selectedRows.reduce((total, cv) => total + cv.vatnotax, 0).toFixed(2); break; } } @@ -241,7 +241,8 @@ export class InvoicedListComponent implements OnInit { }, { text: '查看物流', - click: item => this.showlogosticsLogs(item) + click: item => this.showlogosticsLogs(item), + iif: item => item.expresscompany } ] }