diff --git a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts index be4ff263..bc954a6c 100644 --- a/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts +++ b/src/app/routes/financial-management/components/driver-account/driver-account-detail/driver-account-detail.component.ts @@ -36,7 +36,7 @@ export class DriverAccountDetailComponent implements OnInit { projectId: this.params.projectId, enterpriseId: this.params.enterpriseId, roleId: this.params.roleId, - bankType: this.params.bankType, + bankType: this.params.bankType }); if (this.sf) { Object.assign(requestOptions.body, { @@ -76,11 +76,22 @@ export class DriverAccountDetailComponent implements OnInit { stChange(e: STChange): void {} exportList() { - this.service.exportStart( { ...this.sf.value, pageSize: -1 , ltdId: this.params.ltdId, - projectId: this.params.projectId, - enterpriseId: this.params.enterpriseId, - roleId: this.params.roleId, - bankType: this.params.bankType,}, this.service.$api_get_exportAccountBalanceDriverByOperatorPage,); + this.service.exportStart( + { + ...this.sf.value, + pageSize: -1, + ltdId: this.params.ltdId, + projectId: this.params.projectId, + enterpriseId: this.params.enterpriseId, + roleId: this.params.roleId, + bankType: this.params.bankType, + createTime: { + start: this.sf.value?.createTime?.[0] || '', + end: this.sf.value?.createTime?.[1] || '' + } + }, + this.service.$api_get_exportAccountBalanceDriverByOperatorPage + ); } goBack() { @@ -171,8 +182,8 @@ export class DriverAccountDetailComponent implements OnInit { { title: '交易时间', index: 'createTime', type: 'date', width: 150 }, { title: '流水号', index: 'channelPaySn', width: 170 }, { title: '交易类型', index: 'tradeTypeLabel', className: 'text-center', width: 150 }, - { title: '交易单号', index: 'businessNumber' , width: 190}, - { title: '订单号', index: 'orderSn' , width: 190}, + { title: '交易单号', index: 'businessNumber', width: 190 }, + { title: '订单号', index: 'orderSn', width: 190 }, { title: '运单号', index: 'transportSn', width: 190 }, { title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 150 }, { @@ -191,9 +202,9 @@ export class DriverAccountDetailComponent implements OnInit { className: 'text-right', widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) } }, - { title: '付款方', index: 'payName', width: 150}, + { title: '付款方', index: 'payName', width: 150 }, { title: '收款方', index: 'incomeName', width: 150 }, - { title: '备注', index: 'tradeContent' , width: 150}, + { title: '备注', index: 'tradeContent', width: 150 } ]; } }