This commit is contained in:
Taric Xin
2022-02-28 20:49:20 +08:00
parent 84d7cf5658
commit 1253266e23
3 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,7 @@
</nz-card> </nz-card>
<nz-card class="content-box" nzBordered> <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('1')">全部开票</button>
<button nz-button (click)="openRequestedModal('2')">开票</button> <button nz-button (click)="openRequestedModal('2')">开票</button>
<button nz-button (click)="removeOrder()">移除</button> <button nz-button (click)="removeOrder()">移除</button>

View File

@ -26,6 +26,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
_$expand = false; _$expand = false;
id = null; id = null;
sts = null;
headerInfo: any = {}; headerInfo: any = {};
constructor( constructor(
public service: TicketService, public service: TicketService,
@ -34,6 +35,7 @@ export class InvoiceRequestedDetailComponent implements OnInit {
private router: Router private router: Router
) { ) {
this.id = route.snapshot.params.id; this.id = route.snapshot.params.id;
this.sts = route.snapshot.queryParams.sts;
this.loadHeadInfo(); this.loadHeadInfo();
} }

View File

@ -420,7 +420,7 @@ export class InvoiceRequestedComponent implements OnInit {
// }, // },
{ {
text: '订单明细<br/>', 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/>', text: '查看原因<br/>',