reuse
This commit is contained in:
@ -21,17 +21,20 @@
|
||||
|
||||
<nz-card class="table-box">
|
||||
<div class="header_box">
|
||||
<div>
|
||||
<label class="page_title"> <label class="driver">|</label> 收款单</label>
|
||||
<label class="ml-md">
|
||||
已选择
|
||||
<strong class="text-primary">{{ selectedRows.length }}</strong> 张单
|
||||
<a *ngIf="selectedRows.length > 0" (click)="st.clearCheck()" class="ml-lg">清空</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="mr-sm">
|
||||
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button>
|
||||
</div>
|
||||
<div>
|
||||
<label class="page_title"> <label class="driver">|</label> 收款单</label>
|
||||
<label class="ml-md">
|
||||
已选择
|
||||
<strong class="text-primary">{{ selectedRows.length }}</strong> 张单
|
||||
<a *ngIf="selectedRows.length > 0" (click)="st.clearCheck()" class="ml-lg">清空</a>
|
||||
</label>
|
||||
</div>
|
||||
<div class="mr-sm">
|
||||
<button nz-button nzDanger [nzLoading]="service.http.loading" (click)="openDrawer()">筛选</button>
|
||||
<button nz-button nzDanger [disabled]="service.http.loading" acl [acl-ability]="['FINANCIAL-RECEIPT-export']"
|
||||
(click)='exportList()'>
|
||||
导出</button>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="d-flex align-items-center mb-md mt-md">
|
||||
<button nz-button (click)="this.addInvoice()" nzType="primary">添加收款</button>
|
||||
|
||||
@ -81,6 +81,10 @@ export class ReceiptOrderComponent extends BasicTableComponent implements OnInit
|
||||
// });
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.exportStart({ ...this.sf?.value, pageSize: -1 }, this.service.$api_get_receipt_page_export);
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
return {
|
||||
properties: {
|
||||
|
||||
Reference in New Issue
Block a user