This commit is contained in:
wangshiming
2022-04-13 20:02:32 +08:00
parent d5e8e5eb60
commit d9b7901b75

View File

@ -83,7 +83,21 @@ export class FreightAccountDetailComponent implements OnInit {
stChange(e: STChange): void {}
exportList() {
this.service.exportStart( { ...this.sf.value, pageSize: -1 }, this.service.$api_get_exportAccountBalanceShipperByOperatorPage,);
this.service.exportStart(
{
...this.sf.value,
pageSize: -1,
ltdId: this.params.ltdId,
projectId: this.params.projectId,
enterpriseId: this.params.enterpriseId,
roleId: this.params.roleId,
createTime: {
start: this.sf?.value.createTime?.[0] || '',
end: this.sf?.value.createTime?.[1] || ''
}
},
this.service.$api_get_exportAccountBalanceShipperByOperatorPage
);
}
goBack() {
@ -201,8 +215,8 @@ export class FreightAccountDetailComponent implements OnInit {
{ title: '交易单号', index: 'businessNumber', width: 170 },
{ title: '订单号', index: 'orderSn', width: 170 },
{ title: '运单号', index: 'transportSn', width: 170 },
{ title: '货主', index: 'enterpriseName' , width: 170},
{ title: '所属项目', index: 'projectName' , width: 170},
{ title: '货主', index: 'enterpriseName', width: 170 },
{ title: '所属项目', index: 'projectName', width: 170 },
{ title: '收支类型', index: 'incomeTypeLabel', className: 'text-center', width: 140 },
{
title: '交易金额',
@ -220,7 +234,7 @@ export class FreightAccountDetailComponent implements OnInit {
className: 'text-right',
widget: { type: 'currency-chy', params: ({ record }) => ({ value: record.accountBalance }) }
},
{ title: '付款方', index: 'payName' , width: 170},
{ title: '付款方', index: 'payName', width: 170 },
{ title: '收款方', index: 'incomeName', width: 170 },
{ title: '备注', index: 'tradeContent', width: 170 }
];