edit
This commit is contained in:
@ -46,7 +46,13 @@ export class PushInvoiceComponent implements OnInit {
|
||||
{ title: '单位', index: 'vatunit', width: 90, className: 'text-center' },
|
||||
{ title: '数量', index: 'vatqty', width: 90, className: 'text-right' },
|
||||
{ title: '金额', index: 'vatnotax', width: 90, type: 'currency', format: item => `${this.currencyPipe.transform(item.vatnotax)}` },
|
||||
{ title: '税率', index: 'vatrate', width: 90, className: 'text-right' },
|
||||
{
|
||||
title: '税率',
|
||||
index: 'vatrate',
|
||||
width: 90,
|
||||
className: 'text-right',
|
||||
format: item => `${item.vatrate ? ((item.vatrate as number) * 100).toFixed(2) : 0}%`
|
||||
},
|
||||
{ title: '税额', index: 'vattax', width: 90, type: 'currency', format: item => `${this.currencyPipe.transform(item.vattax)}` }
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user