This commit is contained in:
Lingzi
2022-04-02 16:37:39 +08:00
parent ab9b88046d
commit d67ba84af0
39 changed files with 61 additions and 31 deletions

View File

@ -30,7 +30,7 @@
<sf #sf [schema]="schema" [ui]="ui" [compact]="true" [button]="'none'"></sf>
</div>
<div nz-col [nzSpan]="_$expand ? 24 : 6" [class.text-right]="_$expand">
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="service.http.loading" (click)="search()" acl [acl-ability]="['WAYBILL-ABNORMAL-search']">查询</button>
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="search()" acl [acl-ability]="['WAYBILL-ABNORMAL-search']">查询</button>
<button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()">
{{ !_$expand ? '展开' : '收起' }}

View File

@ -37,6 +37,7 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
edit = false;
editId = false;
selectedIndex = 0;
isLoading: boolean = false;
tabs = {
stayQuantity: 0,
receivedQuantity: 0
@ -69,6 +70,7 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
{ title: '回复人', index: 'replyAppUserName', width: '180px', className: 'text-left' },
{ title: '回复时间', index: 'replyTime', width: '180px', className: 'text-left' }
];
get reqParams() {
return {
@ -244,6 +246,7 @@ export class WaybillManagementAbnormalAppearComponent implements OnInit {
*/
resetSF() {
this.sf.reset();
this.isLoading = true
}
// 获取城市列表
getRegionCode(regionCode: any) {