This commit is contained in:
潘晓云
2022-03-31 15:24:33 +08:00
parent 6e00f7a135
commit 0772564f08

View File

@ -28,7 +28,7 @@ export class DatatableFundReportingComponent implements OnInit {
{ name: '异常', value: '4' }, { name: '异常', value: '4' },
{ name: '全部', value: '' } { name: '全部', value: '' }
]; ];
selectedIndex = ''; //选择的项目 selectedIndex = '1'; //选择的项目
serviceTel = ''; serviceTel = '';
constructor( constructor(
public service: ReportingService, public service: ReportingService,
@ -51,7 +51,7 @@ export class DatatableFundReportingComponent implements OnInit {
*/ */
get reqParams() { get reqParams() {
const params = Object.assign({}, this.sf?.value || {}, { const params = Object.assign({}, this.sf?.value || {}, {
representationsStatus: this.selectedIndex, uploadStatus: this.selectedIndex,
}); });
delete params._$expand; delete params._$expand;
return { ...params }; return { ...params };
@ -237,7 +237,7 @@ export class DatatableFundReportingComponent implements OnInit {
{ title: '车牌颜色', index: 'carColor', className: 'text-center', width: '180px' }, { title: '车牌颜色', index: 'carColor', className: 'text-center', width: '180px' },
{ title: '总金额', render: 'tolalAmount', className: 'text-center', width: '250px' }, { title: '总金额', render: 'tolalAmount', className: 'text-center', width: '250px' },
{ title: '付款方式', index: 'payType', className: 'text-center', width: '180px' }, { title: '付款方式', index: 'payTypeLabel', className: 'text-center', width: '180px' },
{ title: '车队长', index: 'payee', className: 'text-center', width: '250px' }, { title: '车队长', index: 'payee', className: 'text-center', width: '250px' },
{ title: '收款账户', index: 'collectionAccount', className: 'text-center', width: '200px' }, { title: '收款账户', index: 'collectionAccount', className: 'text-center', width: '200px' },
@ -281,7 +281,7 @@ export class DatatableFundReportingComponent implements OnInit {
} }
selectChange(item: any) { selectChange(item: any) {
this.selectedIndex = item?.representationsStatus || ''; this.selectedIndex = item?.value || '';
setTimeout(() => { setTimeout(() => {
this.st.load(1); this.st.load(1);
}) })