edit
This commit is contained in:
@ -81,7 +81,7 @@
|
||||
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="orderST?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF(1)">重置</button>
|
||||
<!-- <button nz-button> 导出</button> -->
|
||||
<button nz-button (click)="exportList()"> 导出</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -107,6 +107,16 @@ export class InvoiceDetailComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
exportList() {
|
||||
const params = { listSource: 1, pageSize: -1, vatinvHId: this.id };
|
||||
if (this.orderSf) {
|
||||
Object.assign(params, {
|
||||
...this.orderSf.value
|
||||
});
|
||||
}
|
||||
this.service.exportStart(params, this.service.$api_export_invoice_order_detail);
|
||||
}
|
||||
|
||||
private initOrderSF(): SFSchema {
|
||||
return {
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user