This commit is contained in:
Taric Xin
2022-02-28 11:38:47 +08:00
parent 2b013e0e48
commit 23df1cc8fc
11 changed files with 59 additions and 17 deletions

View File

@ -173,7 +173,7 @@ export class ETCInvoicedLogsComponent implements OnInit {
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.fee }) }
},
{ title: '税率', index: 'taxRate', width: 90 },
{ title: '税率', index: 'taxRate', width: 90, format: item => `${item.taxRate ? ((item.taxRate as number) * 100).toFixed(2) : 0}%` },
{
title: '金额(元)',
index: 'invoiceAmount',