This commit is contained in:
wangshiming
2022-04-29 14:40:36 +08:00
parent 2e4c264ee0
commit f1bf9e1825
21 changed files with 99 additions and 33 deletions

View File

@ -513,25 +513,30 @@ export class InvoiceRequestedComponent {
{
text: '开票受理<br/>',
click: item => this.requestedInvoiceAction(item),
acl: { ability: ['TICKET-INVOICE-REQUESTED-requestedInvoiceAction'] },
iif: item => item.sts === '1'
},
{
text: '驳回申请<br/>',
click: item => this.rejectAction([item]),
acl: { ability: ['TICKET-INVOICE-REQUESTED-rejectAction'] },
iif: item => item.sts === '1'
},
{
text: '订单明细<br/>',
acl: { ability: ['TICKET-INVOICE-REQUESTED-detail'] },
click: item => this.router.navigate([`/ticket/invoice-requested/detail/${item?.id}`], { queryParams: { sts: item.sts } })
},
{
text: '查看原因<br/>',
click: item => this.showReason(item),
acl: { ability: ['TICKET-INVOICE-REQUESTED-viewResult'] },
iif: item => item.sts === '4'
},
{
text: '下载对账单',
iif: item => item.sts === '3',
acl: { ability: ['TICKET-INVOICE-REQUESTED-downloadPDF'] },
click: item => this.downloadPdf(item)
}
]