状态更新
This commit is contained in:
		| @ -22,7 +22,7 @@ | |||||||
|       </div> |       </div> | ||||||
|       <div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right"> |       <div nz-col [nzSpan]="_$expand ? 24 : 6" class="text-right"> | ||||||
|         <button nz-button nzType="primary"  [nzLoading]="service.http.loading" |         <button nz-button nzType="primary"  [nzLoading]="service.http.loading" | ||||||
|           (click)="st?.load(1)">查询</button> |         (click)="search()">查询</button> | ||||||
|           <button nz-button nzType="primary" [disabled]="service.http.loading" |           <button nz-button nzType="primary" [disabled]="service.http.loading" | ||||||
|           >导入</button> |           >导入</button> | ||||||
|         <button nz-button  [disabled]="service.http.loading" (click)="resetSF()">重置</button> |         <button nz-button  [disabled]="service.http.loading" (click)="resetSF()">重置</button> | ||||||
|  | |||||||
| @ -57,6 +57,10 @@ export class SupplyManagementBulkComponent implements OnInit { | |||||||
|       ...this.sf?.value, |       ...this.sf?.value, | ||||||
|     }; |     }; | ||||||
|   } |   } | ||||||
|  |   search() { | ||||||
|  |     this.st?.load(1); | ||||||
|  |     this.getGoodsSourceStatistical() | ||||||
|  |   } | ||||||
|   /** |   /** | ||||||
|  * 初始化查询表单 |  * 初始化查询表单 | ||||||
|  */ |  */ | ||||||
|  | |||||||
| @ -19,7 +19,7 @@ | |||||||
|       ></sf> |       ></sf> | ||||||
|     </div> |     </div> | ||||||
|     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand" class="text-right"> |     <div nz-col [nzXl]="_$expand ? 24 : 6" [nzLg]="24" [nzSm]="24" [nzXs]="24" [class.expend-options]="_$expand" class="text-right"> | ||||||
|       <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> |       <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="search()">查询</button> | ||||||
|       <button nz-button nzType="primary" [disabled]="service.http.loading">导出</button> |       <button nz-button nzType="primary" [disabled]="service.http.loading">导出</button> | ||||||
|       <button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button> |       <button nz-button [disabled]="service.http.loading" (click)="resetSF()">重置</button> | ||||||
|       <button nz-button nzType="link" (click)="expandToggle()"> |       <button nz-button nzType="link" (click)="expandToggle()"> | ||||||
|  | |||||||
| @ -95,6 +95,10 @@ export class SupplyManagementVehicleComponent implements OnInit { | |||||||
|     //   .subscribe(() => this.st.reload()); |     //   .subscribe(() => this.st.reload()); | ||||||
|   } |   } | ||||||
|  |  | ||||||
|  |   search() { | ||||||
|  |     this.st?.load(1); | ||||||
|  |     this.getGoodsSourceStatistical() | ||||||
|  |   } | ||||||
|   /** |   /** | ||||||
|    * 伸缩查询条件 |    * 伸缩查询条件 | ||||||
|    */ |    */ | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user