This commit is contained in:
Taric Xin
2022-03-10 19:06:13 +08:00
parent 36f07fc430
commit 001455303e

View File

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