fix bug
This commit is contained in:
		| @ -41,16 +41,16 @@ export class ReceivableOrderComponent implements OnInit { | ||||
|       if (this.sf.value?.createTime) { | ||||
|         Object.assign(requestOptions.body, { | ||||
|           createTime: { | ||||
|             start: this.sf.value.createTime?.[0] || null, | ||||
|             end: this.sf.value.createTime?.[1] || null | ||||
|             start: this.sf.value.createTime?.[0] || '', | ||||
|             end: this.sf.value.createTime?.[1] || '' | ||||
|           } | ||||
|         }); | ||||
|       } | ||||
|       if (this.sf.value?.ahxdate) { | ||||
|         Object.assign(requestOptions.body, { | ||||
|           ahxdate: { | ||||
|             start: this.sf.value.ahxdate?.[0] || null, | ||||
|             end: this.sf.value.ahxdate?.[1] || null | ||||
|             start: this.sf.value.ahxdate?.[0] || '', | ||||
|             end: this.sf.value.ahxdate?.[1] || '' | ||||
|           } | ||||
|         }); | ||||
|       } | ||||
|  | ||||
| @ -12,7 +12,7 @@ | ||||
|             class="text-right"> | ||||
|             <button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button> | ||||
|             <button nz-button (click)="resetSF()">重置</button> | ||||
|             <button nz-button> 导出</button> | ||||
|             <button nz-button (click)="exprot()"> 导出</button> | ||||
|             <button nz-button nzType="link" (click)="expandToggle()"> | ||||
|                 {{ !_$expand ? '展开' : '收起' }} | ||||
|                 <i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i> | ||||
|  | ||||
| @ -27,8 +27,7 @@ export class RefundRecordComponent implements OnInit { | ||||
|  | ||||
|   constructor(public service: FreightAccountService, private nzModalService: NzModalService, private router: Router) {} | ||||
|  | ||||
|   ngOnInit(): void { | ||||
|   } | ||||
|   ngOnInit(): void {} | ||||
|  | ||||
|   beforeReq = (requestOptions: STRequestOptions) => { | ||||
|     Object.assign(requestOptions.body, { refundStatus: this.refundStatus || null }); | ||||
| @ -287,4 +286,8 @@ export class RefundRecordComponent implements OnInit { | ||||
|       } | ||||
|     ]; | ||||
|   } | ||||
|   // 导出 | ||||
|   exprot() { | ||||
|     this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_get_asyncExportBillRefundApplicationList); | ||||
|   } | ||||
| } | ||||
|  | ||||
| @ -160,6 +160,8 @@ export class FreightAccountService extends ShipperBaseService { | ||||
|   $api_get_getAbnormalAmountPage = '/api/fcc/rechargeInfo/list/getAbnormalAmountPage'; | ||||
|   // 异步导出运营后台异常入金列表 | ||||
|   $api_get_exportAbnormalAmountPage = '/api/fcc/rechargeInfo/exportAbnormalAmountPage'; | ||||
|   // 异步导出运营后台退款记录列表 | ||||
|   $api_get_asyncExportBillRefundApplicationList = '/api/fcc/billRefundApplication/asyncExportBillRefundApplicationList'; | ||||
|   // 异步导出运营后台支付记录列表 | ||||
|   $api_get_asyncExportBillPaymentApplicationList = '/api/fcc/billPaymentApplicationOBC/asyncExportBillPaymentApplicationList'; | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user