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

@ -33,7 +33,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)="st?.load(1)">查询</button>
<button nz-button nzType="primary" [disabled]="!sf.valid" [nzLoading]="isLoading && st.loading" (click)="st?.load(1)">查询</button>
<button nz-button nzType="primary">导出</button>
<button nz-button (click)="resetSF()">重置</button>
<button nz-button nzType="link" (click)="expandToggle()">

View File

@ -55,6 +55,7 @@ export class NetworkFreightComponent implements OnInit {
isVisibleTicket = false;
edit = false;
editId = false;
isLoading: boolean = false;
tabs: any[] = [{ name: '开票设置' }, { name: '税务设置' }, { name: 'NC设置' }];
columns: STColumn[] = [
@ -591,6 +592,7 @@ export class NetworkFreightComponent implements OnInit {
*/
resetSF() {
this.sf.reset();
this.isLoading = false
}
handleCancel() {
this.isVisible = false;