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

@ -342,7 +342,13 @@ export class CancellationInvoiceComponent implements OnInit {
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatnotax }) }
},
{ title: '税率', index: 'billvatrate', width: 90, className: 'text-right' },
{
title: '税率',
index: 'billvatrate',
width: 90,
className: 'text-right',
format: item => `${item.billvatrate ? ((item.billvatrate as number) * 100).toFixed(2) : 0}%`
},
{
title: '税额',
index: 'vattax',