This commit is contained in:
Taric Xin
2022-04-11 14:38:02 +08:00
parent d544667510
commit a2c057e016
3 changed files with 41 additions and 30 deletions

View File

@ -115,15 +115,17 @@ export class ETCInvoicedListComponent implements OnInit {
shipperId: {
type: 'string',
title: '托运人',
enum: [{ label: '全部', value: '' }],
ui: {
widget: 'select',
placeholder: '请选择',
serverSearch: true,
searchDebounceTime: 300,
searchLoadingText: '搜索中...',
allowClear: true,
onSearch: (q: any) => this.service.getEnterpriceList({ enterpriseName: q }),
visibleIf: {
expand: (value: boolean) => value
}
},
default: ''
}
},
enterpriseInfoId: {
type: 'string',
@ -147,8 +149,14 @@ export class ETCInvoicedListComponent implements OnInit {
return [
{ title: '运单号', index: 'wayBillCode' },
{ title: '订单号', index: 'billCode' },
{ title: '开票状态', index: 'invoicingStatus', type: 'enum', enum: { '0': '待开票', '1': '开票中', '2': '已开票', '3': '开票失败' } ,width: 120,},
{ title: '订单类型', index: 'billTypeLabel', width: 120,},
{
title: '开票状态',
index: 'invoicingStatus',
type: 'enum',
enum: { '0': '待开票', '1': '开票中', '2': '已开票', '3': '开票失败' },
width: 120
},
{ title: '订单类型', index: 'billTypeLabel', width: 120 },
{ title: '装货地', index: 'loadingPlace' },
{ title: '卸货地', index: 'dischargePlace' },
{ title: '司机信息', render: 'call1No' },
@ -184,8 +192,8 @@ export class ETCInvoicedListComponent implements OnInit {
}
];
}
// 导出
exprot() {
this.service.exportStart({...this.sf?.value, pageSize: -1}, this.service.$api_get_asyncExportEtcApplyRecordList);
}
// 导出
exprot() {
this.service.exportStart({ ...this.sf?.value, pageSize: -1 }, this.service.$api_get_asyncExportEtcApplyRecordList);
}
}