Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
wangshiming
2022-02-22 15:53:37 +08:00
5 changed files with 6 additions and 6 deletions

View File

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

View File

@ -60,7 +60,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
switch (e.type) {
case 'checkbox':
this.selectedRows = e.checkbox!;
this.totalCallNo = this.selectedRows.reduce((total, cv) => total + cv.billkpmoney, 0);
this.totalCallNo = (this.selectedRows.reduce((total, cv) => total + cv.billkpmoney, 0)).toFixed(2);;
break;
case 'filter':
this.st.load();

View File

@ -62,7 +62,7 @@ export class InvoiceRequestedComponent implements OnInit {
switch (e.type) {
case 'checkbox':
this.selectedRows = e.checkbox!;
this.totalCallNo = this.selectedRows.reduce((total, cv) => total + cv.applyAmount, 0);
this.totalCallNo = this.selectedRows.reduce((total, cv) => total + cv.applyAmount, 0).toFixed(2);
break;
}
}
@ -430,7 +430,7 @@ export class InvoiceRequestedComponent implements OnInit {
this.initST();
setTimeout(() => {
console.log(this.resourceStatus);
this.st.load();
}, 500);
}

View File

@ -35,7 +35,7 @@
{{headerInfo?.ltdidName}}
</se>
<se label="订单数">
{{headerInfo?.vatinvBillNum}}
{{headerInfo?.ordlines}}
</se>
<se label="开票金额">
{{headerInfo?.vatinvHAmount}}

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;
}
}