fix bug
This commit is contained in:
		| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-03-30 14:00:43 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-04-09 13:45:13 | ||||
|  * @LastEditTime : 2022-04-09 14:11:01 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\tax-management\\components\\order-reporting\\order-reporting.component.html | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
| --> | ||||
| @ -49,7 +49,7 @@ | ||||
|     </ng-template> | ||||
|     <ng-template st-row="checkStatus" let-item let-index="index"> | ||||
|       <!-- <a (click)="viewAuditResult(item)" *ngIf="item?.billStatus === '2'">{{item?.billStatusLabel}}</a> --> | ||||
|       <span *ngIf="item?.checkStatus == '0'"  style="color: red;"  (click)="viewResult(item)">校验中</span> | ||||
|       <span *ngIf="item?.checkStatus == '0'">校验中</span> | ||||
|       <span *ngIf="item?.checkStatus == '1'">通过</span> | ||||
|       <!-- <span  *ngIf="item?.checkStatus == '2'" style="color: red;" (click)="unnormal(item)">不通过</span> --> | ||||
|       <span  *ngIf="item?.checkStatus == '2'" style="color: red;" (click)="viewResult(item)">不通过</span> | ||||
|  | ||||
| @ -4,7 +4,7 @@ | ||||
|  * @Author       : Shiming | ||||
|  * @Date         : 2022-03-30 14:26:01 | ||||
|  * @LastEditors  : Shiming | ||||
|  * @LastEditTime : 2022-04-09 14:09:14 | ||||
|  * @LastEditTime : 2022-04-09 14:10:37 | ||||
|  * @FilePath     : \\tms-obc-web\\src\\app\\routes\\tax-management\\components\\order-reporting\\verify-result\\verify-result.component.ts | ||||
|  * Copyright (C) 2022 huzhenhong. All rights reserved. | ||||
|  */ | ||||
| @ -49,9 +49,6 @@ export class TaxManagementOrderVerifyResultComponent implements OnInit { | ||||
|   //   return params; | ||||
|   // } | ||||
|   beforeReq = (requestOptions: STRequestOptions) => {let a: string = ''; | ||||
|     // if (this.resourceStatus) { | ||||
|     //   a.billStatus = this.resourceStatus; | ||||
|     // } | ||||
|     switch (this.subjectType) { | ||||
|       case '0': | ||||
|       a = this.record?.networkTransporter; | ||||
| @ -70,12 +67,10 @@ export class TaxManagementOrderVerifyResultComponent implements OnInit { | ||||
|             subjectId: a , | ||||
|             subjectType: this.subjectType, | ||||
|       }); | ||||
|     // this.loading = true; | ||||
|     return requestOptions; | ||||
|   }; | ||||
|   afterRes = (data: any[], rawData?: any) => { | ||||
|     console.log(data) | ||||
|     // this.loading = false | ||||
|     return data.map(item => ({ | ||||
|       ...item, | ||||
|     })); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user