diff --git a/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts b/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts index c8fd370b..6a71e343 100644 --- a/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts +++ b/src/app/routes/ticket-management/components/etc-invoiced-list/etc-invoiced-list.component.ts @@ -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); + } } diff --git a/src/app/routes/ticket-management/components/etc-invoiced-requested/etc-invoiced-requested.component.html b/src/app/routes/ticket-management/components/etc-invoiced-requested/etc-invoiced-requested.component.html index 9a217446..2daa3ded 100644 --- a/src/app/routes/ticket-management/components/etc-invoiced-requested/etc-invoiced-requested.component.html +++ b/src/app/routes/ticket-management/components/etc-invoiced-requested/etc-invoiced-requested.component.html @@ -15,7 +15,7 @@
this.service.getEnterpriceList({ enterpriseName: q }), visibleIf: { expand: (value: boolean) => value } - } + }, }, ltdId: { type: 'string', @@ -213,22 +216,22 @@ export class ETCInvoicedRequestedComponent implements OnInit { return [ { title: '', index: 'key', type: 'checkbox', width: '60px' }, { title: '运单号', index: 'wayBillCode', width: '170px' }, - { title: '订单号', index: 'billCode' , width: '170px' }, - { title: '订单类型', index: 'billTypeLabel' , width: '140px' }, - { title: '装货地', index: 'loadingPlace' , width: '220px' }, - { title: '卸货地', index: 'dischargePlace', width: '220px' }, - { title: '司机信息', render: 'call1No', width: '140px' }, - { title: '车辆信息', render: 'call1N2o' , width: '200px' }, - { title: '托运人', index: 'shipperAppUserName' , width: '140px' }, - { title: '网络货运人', index: 'enterpriseInfoName', width: '220px' }, - { title: '接单时间', index: 'orderReceivingTime', type: 'date', width: '150px' }, - { title: '装货时间', index: 'shipperAppUserName', type: 'date', width: '150px' }, - { title: '卸货时间', index: 'unloadingTime', type: 'date', width: '150px' }, - { title: '签收时间', index: 'submissionTime', type: 'date', width: '150px' } + { title: '订单号', index: 'billCode', width: '170px' }, + { title: '订单类型', index: 'billTypeLabel', width: '140px' }, + { title: '装货地', index: 'loadingPlace', width: '220px' }, + { title: '卸货地', index: 'dischargePlace', width: '220px' }, + { title: '司机信息', render: 'call1No', width: '140px' }, + { title: '车辆信息', render: 'call1N2o', width: '200px' }, + { title: '托运人', index: 'shipperAppUserName', width: '140px' }, + { title: '网络货运人', index: 'enterpriseInfoName', width: '220px' }, + { title: '接单时间', index: 'orderReceivingTime', type: 'date', width: '150px' }, + { title: '装货时间', index: 'loadingTime', type: 'date', width: '150px' }, + { title: '卸货时间', index: 'unloadingTime', type: 'date', width: '150px' }, + { title: '签收时间', index: 'submissionTime', type: 'date', width: '150px' } ]; } - // 导出 - exprot() { - this.service.exportStart({...this.sf?.value, pageSize: -1}, this.service.$api_get_asyncExportEtcApplyList); - } + // 导出 + exprot() { + this.service.exportStart({ ...this.sf?.value, pageSize: -1 }, this.service.$api_get_asyncExportEtcApplyList); + } }