edit
This commit is contained in:
@ -13,7 +13,7 @@
|
|||||||
class="text-right">
|
class="text-right">
|
||||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="st?.load(1)">查询</button>
|
||||||
<button nz-button (click)="resetSF()">重置</button>
|
<button nz-button (click)="resetSF()">重置</button>
|
||||||
<button nz-button> 导出</button>
|
<button nz-button (click)="exportList()"> 导出</button>
|
||||||
<button nz-button nzType="link" (click)="expandToggle()">
|
<button nz-button nzType="link" (click)="expandToggle()">
|
||||||
{{ !_$expand ? '展开' : '收起' }}
|
{{ !_$expand ? '展开' : '收起' }}
|
||||||
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
<i nz-icon [nzType]="!_$expand ? 'down' : 'up'"></i>
|
||||||
|
|||||||
@ -62,6 +62,16 @@ export class ETCInvoicedLogsComponent implements OnInit {
|
|||||||
this.sf?.setValue('/expand', this._$expand);
|
this.sf?.setValue('/expand', this._$expand);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exportList() {
|
||||||
|
const params = { listSource: 1, pageSize: -1 };
|
||||||
|
if (this.sf) {
|
||||||
|
Object.assign(params, {
|
||||||
|
...this.sf.value
|
||||||
|
});
|
||||||
|
}
|
||||||
|
this.service.downloadFile(this.service.$api_export_invoice_logs_page, params);
|
||||||
|
}
|
||||||
|
|
||||||
private initSF(): SFSchema {
|
private initSF(): SFSchema {
|
||||||
return {
|
return {
|
||||||
properties: {
|
properties: {
|
||||||
|
|||||||
@ -113,7 +113,7 @@ export class ETCInvoicedRequestedComponent implements OnInit {
|
|||||||
title: '订单类型',
|
title: '订单类型',
|
||||||
ui: {
|
ui: {
|
||||||
widget: 'dict-select',
|
widget: 'dict-select',
|
||||||
params: { dictKey: 'refund:apply:status' },
|
params: { dictKey: 'bill:type' },
|
||||||
placeholder: '请选择'
|
placeholder: '请选择'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@ -108,6 +108,8 @@ export class TicketService extends ShipperBaseService {
|
|||||||
$api_get_invoice_record_page = '/api/sdc/invoiceEtcOperate/list/listEtcRecordPageList';
|
$api_get_invoice_record_page = '/api/sdc/invoiceEtcOperate/list/listEtcRecordPageList';
|
||||||
// 查询ETC发票明细表
|
// 查询ETC发票明细表
|
||||||
$api_get_invoice_logs_page = '/api/fcc/ficoEtcInvoiceL/list/page';
|
$api_get_invoice_logs_page = '/api/fcc/ficoEtcInvoiceL/list/page';
|
||||||
|
// 导出ETC发票明细表
|
||||||
|
$api_export_invoice_logs_page = '/api/fcc/ficoEtcInvoiceL/asyncExport';
|
||||||
|
|
||||||
// 进项发票查询
|
// 进项发票查询
|
||||||
$api_get_input_invoice_page = '/api/fcc/ficoInpinvH/getListPage';
|
$api_get_input_invoice_page = '/api/fcc/ficoInpinvH/getListPage';
|
||||||
|
|||||||
Reference in New Issue
Block a user