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) { switch (e.type) {
case 'checkbox': case 'checkbox':
this.selectedRows = e.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; break;
} }
} }

View File

@ -60,7 +60,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
switch (e.type) { switch (e.type) {
case 'checkbox': case 'checkbox':
this.selectedRows = e.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; break;
case 'filter': case 'filter':
this.st.load(); this.st.load();

View File

@ -62,7 +62,7 @@ export class InvoiceRequestedComponent implements OnInit {
switch (e.type) { switch (e.type) {
case 'checkbox': case 'checkbox':
this.selectedRows = e.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; break;
} }
} }
@ -430,7 +430,7 @@ export class InvoiceRequestedComponent implements OnInit {
this.initST(); this.initST();
setTimeout(() => { setTimeout(() => {
console.log(this.resourceStatus); console.log(this.resourceStatus);
this.st.load(); this.st.load();
}, 500); }, 500);
} }

View File

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

View File

@ -51,7 +51,7 @@ export class InvoicedListComponent implements OnInit {
switch (e.type) { switch (e.type) {
case 'checkbox': case 'checkbox':
this.selectedRows = e.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; break;
} }
} }