edit
This commit is contained in:
@ -40,8 +40,10 @@ export class InvoiceDetailComponent implements OnInit {
|
||||
id: any = null;
|
||||
ltdId: any = null;
|
||||
type: any = 1;
|
||||
|
||||
selectedIndex = 0;
|
||||
constructor(public service: TicketService, private route: ActivatedRoute) {
|
||||
this.isCanEdit = !!route.snapshot.queryParams.type;
|
||||
this.isCanEdit = route.snapshot.queryParams.type === '1';
|
||||
const expressno = route.snapshot.queryParams.expressno;
|
||||
this.type = route.snapshot.queryParams.type;
|
||||
this.id = route.snapshot.params.id;
|
||||
@ -226,10 +228,7 @@ export class InvoiceDetailComponent implements OnInit {
|
||||
{ title: '税率', index: 'vatrate', format: item => `${item.vatrate ? ((item.vatrate as number) * 100).toFixed(2) : 0}%` },
|
||||
{
|
||||
title: '申请金额',
|
||||
index: 'vatmoney',
|
||||
type: 'widget',
|
||||
className: 'text-right',
|
||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.vatmoney }) }
|
||||
render: 'vatmoney'
|
||||
},
|
||||
{
|
||||
title: '开票金额',
|
||||
|
||||
Reference in New Issue
Block a user