fix bug
This commit is contained in:
@ -36,7 +36,7 @@ export class DriverAccountDetailComponent implements OnInit {
|
|||||||
projectId: this.params.projectId,
|
projectId: this.params.projectId,
|
||||||
enterpriseId: this.params.enterpriseId,
|
enterpriseId: this.params.enterpriseId,
|
||||||
roleId: this.params.roleId,
|
roleId: this.params.roleId,
|
||||||
bankType: this.params.bankType,
|
bankType: this.params.bankType
|
||||||
});
|
});
|
||||||
if (this.sf) {
|
if (this.sf) {
|
||||||
Object.assign(requestOptions.body, {
|
Object.assign(requestOptions.body, {
|
||||||
@ -76,11 +76,22 @@ export class DriverAccountDetailComponent implements OnInit {
|
|||||||
stChange(e: STChange): void {}
|
stChange(e: STChange): void {}
|
||||||
|
|
||||||
exportList() {
|
exportList() {
|
||||||
this.service.exportStart( { ...this.sf.value, pageSize: -1 , ltdId: this.params.ltdId,
|
this.service.exportStart(
|
||||||
projectId: this.params.projectId,
|
{
|
||||||
enterpriseId: this.params.enterpriseId,
|
...this.sf.value,
|
||||||
roleId: this.params.roleId,
|
pageSize: -1,
|
||||||
bankType: this.params.bankType,}, this.service.$api_get_exportAccountBalanceDriverByOperatorPage,);
|
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() {
|
goBack() {
|
||||||
@ -171,8 +182,8 @@ export class DriverAccountDetailComponent implements OnInit {
|
|||||||
{ title: '交易时间', index: 'createTime', type: 'date', width: 150 },
|
{ title: '交易时间', index: 'createTime', type: 'date', width: 150 },
|
||||||
{ title: '流水号', index: 'channelPaySn', width: 170 },
|
{ title: '流水号', index: 'channelPaySn', width: 170 },
|
||||||
{ title: '交易类型', index: 'tradeTypeLabel', className: 'text-center', width: 150 },
|
{ title: '交易类型', index: 'tradeTypeLabel', className: 'text-center', width: 150 },
|
||||||
{ title: '交易单号', index: 'businessNumber' , width: 190},
|
{ title: '交易单号', index: 'businessNumber', width: 190 },
|
||||||
{ title: '订单号', index: 'orderSn' , width: 190},
|
{ title: '订单号', index: 'orderSn', width: 190 },
|
||||||
{ title: '运单号', index: 'transportSn', width: 190 },
|
{ title: '运单号', index: 'transportSn', width: 190 },
|
||||||
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 150 },
|
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 150 },
|
||||||
{
|
{
|
||||||
@ -191,9 +202,9 @@ export class DriverAccountDetailComponent implements OnInit {
|
|||||||
className: 'text-right',
|
className: 'text-right',
|
||||||
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) }
|
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: 'incomeName', width: 150 },
|
||||||
{ title: '备注', index: 'tradeContent' , width: 150},
|
{ title: '备注', index: 'tradeContent', width: 150 }
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user