This commit is contained in:
Taric Xin
2022-02-11 15:28:46 +08:00
parent 038e0f5891
commit 63572e11f9
22 changed files with 51 additions and 147 deletions

View File

@ -39,10 +39,7 @@
<button nz-button nzType="primary" [nzLoading]="service.http.loading">导入费用</button> -->
</div>
</div>
<st #st [data]="service.$api_get_cost_page" [columns]="columns"
[req]="{ method: 'POST', allInBody: true, reName: { pi: 'pageIndex', ps: 'pageSize' }, process: beforeReq }"
[res]="{ reName: { list: 'data.records', total: 'data.total' } }"
[page]="{ show: true, showSize: true, pageSizes: [10, 20, 30, 50, 100, 200, 300, 500, 1000] }"
<st #st [data]="service.$api_get_cost_page" [columns]="columns" [req]="{ process: beforeReq }"
[loading]="service.http.loading" [scroll]="{ x: '2000px' }">
<ng-template st-row="armoeny" let-item let-index="index">
{{ item.armoeny | currency}}
@ -51,8 +48,8 @@
{{ item.hrmoney | currency}}
</ng-template>
<ng-template st-row="artocode" let-item let-index="index">
<span *ngIf="item.feetype == 1">{{ item.artocode}}/{{ item.artonames}}</span>
<span *ngIf="item.feetype == 2">{{ item.hrtocode}}/{{ item.hrtonames}}</span>
<span *ngIf="item.feetype == 1">{{ item.artocode}}/{{ item.artonames}}</span>
<span *ngIf="item.feetype == 2">{{ item.hrtocode}}/{{ item.hrtonames}}</span>
</ng-template>
<ng-template st-row="hrpaymoney" let-item let-index="index">
{{ item.hrpaymoney | currency}}