edit
This commit is contained in:
@ -47,9 +47,6 @@
|
||||
{{ item.no }}
|
||||
<a>预览发票</a>
|
||||
</ng-template>
|
||||
<ng-template st-row="vatrate" let-item let-index="index">
|
||||
0.09
|
||||
</ng-template>
|
||||
<ng-template st-row="expresscompany" let-item let-index="index" let-column="column">
|
||||
{{ item.expresscompany }} <br />
|
||||
{{ item.expressno }}
|
||||
|
||||
@ -210,7 +210,13 @@ export class InvoicedListComponent implements OnInit {
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatnotax }) }
|
||||
},
|
||||
{ title: '税率', render: 'vatrate', className: 'text-right', width: 90 },
|
||||
{
|
||||
title: '税率',
|
||||
index: 'vatrate',
|
||||
className: 'text-right',
|
||||
width: 90,
|
||||
format: item => `${item.vatrate ? ((item.vatrate as number) * 100).toFixed(2) : 0}%`
|
||||
},
|
||||
{
|
||||
title: '税额',
|
||||
index: 'vattax',
|
||||
|
||||
Reference in New Issue
Block a user