edit
This commit is contained in:
@ -87,7 +87,7 @@
|
||||
</nz-card>
|
||||
|
||||
<nz-card class="content-box" nzBordered>
|
||||
<div class="d-flex align-items-center mb-md mt-sm">
|
||||
<div class="d-flex align-items-center mb-md mt-sm" *ngIf="sts==='1'">
|
||||
<button nz-button (click)="openRequestedModal('1')">全部开票</button>
|
||||
<button nz-button (click)="openRequestedModal('2')">开票</button>
|
||||
<button nz-button (click)="removeOrder()">移除</button>
|
||||
|
||||
@ -26,6 +26,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
_$expand = false;
|
||||
|
||||
id = null;
|
||||
sts = null;
|
||||
headerInfo: any = {};
|
||||
constructor(
|
||||
public service: TicketService,
|
||||
@ -34,6 +35,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
|
||||
private router: Router
|
||||
) {
|
||||
this.id = route.snapshot.params.id;
|
||||
this.sts = route.snapshot.queryParams.sts;
|
||||
this.loadHeadInfo();
|
||||
}
|
||||
|
||||
|
||||
@ -420,7 +420,7 @@ export class InvoiceRequestedComponent implements OnInit {
|
||||
// },
|
||||
{
|
||||
text: '订单明细<br/>',
|
||||
click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.id])
|
||||
click: item => this.router.navigate(['/ticket/invoice-requested/detail/' + item?.id], { queryParams: { sts: item.sts } })
|
||||
},
|
||||
{
|
||||
text: '查看原因<br/>',
|
||||
|
||||
Reference in New Issue
Block a user