This commit is contained in:
Taric Xin
2022-02-11 15:20:43 +08:00
parent 16aebd5930
commit 038e0f5891
17 changed files with 306 additions and 183 deletions

View File

@ -40,10 +40,7 @@
</div>
</div>
<st #st [data]="service.$api_get_receipt_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_receipt_page" [columns]="columns" [req]="{ process: beforeReq }"
[loading]="service.http.loading" [scroll]="{ x: '1200px' }" (change)="stChange($event)">
</st>
</nz-card>

View File

@ -118,7 +118,8 @@ export class ReceiptOrderComponent implements OnInit {
type: 'string',
title: '收款类型',
ui: {
widget: 'select',
widget: 'dict-select',
params: { dictKey: 'driverrecord:receive:type' },
placeholder: '请选择',
visibleIf: {
expand: (value: boolean) => value
@ -129,7 +130,8 @@ export class ReceiptOrderComponent implements OnInit {
type: 'string',
title: '收款方式',
ui: {
widget: 'select',
widget: 'dict-select',
params: { dictKey: 'receive:mode' },
placeholder: '请选择',
visibleIf: {
expand: (value: boolean) => value