edit
This commit is contained in:
@ -74,7 +74,7 @@ export class DriverAccountComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.asyncExport({ ...this.sf.value, pageSize: -1 }, this.service.$api_export_driver_account_page);
|
||||
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_export_driver_account_page);
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -80,7 +80,7 @@ export class FreightAccountComponent implements OnInit {
|
||||
}
|
||||
|
||||
exportList() {
|
||||
this.service.asyncExport({ ...this.sf.value, pageSize: -1 }, this.service.$api_export_shipper);
|
||||
this.service.exportStart({ ...this.sf.value, pageSize: -1 }, this.service.$api_export_shipper);
|
||||
}
|
||||
|
||||
private initSF(): SFSchema {
|
||||
|
||||
@ -283,6 +283,6 @@ export class OrderManagementAbnormalWarningComponent implements OnInit {
|
||||
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_get_asyncExportSpotCheckList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_get_asyncExportSpotCheckList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -851,6 +851,6 @@ export class OrderManagementBulkComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams,this.service.$api_get_asyncExportBulkList);
|
||||
this.service.exportStart(this.reqParams,this.service.$api_get_asyncExportBulkList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -696,6 +696,6 @@ export class OrderManagementComplianceAuditComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_get_asyncExportSpotCheckList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_get_asyncExportSpotCheckList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -578,6 +578,6 @@ export class OrderManagementReceiptsAuditComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_get_asyncExportExamineBillList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_get_asyncExportExamineBillList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -534,6 +534,6 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_get_asyncExportRiskBillList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_get_asyncExportRiskBillList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -866,6 +866,6 @@ export class OrderManagementVehicleComponent extends BasicTableComponent impleme
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_get_asyncExportWholeList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_get_asyncExportWholeList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -568,6 +568,6 @@ export class SupplyManagementBulkComponent implements OnInit {
|
||||
userAction() {}
|
||||
// 导出
|
||||
exportFire() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_asyncExportBulkList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_asyncExportBulkList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -685,6 +685,6 @@ export class SupplyManagementVehicleComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exportFire() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_asyncExportWholeList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_asyncExportWholeList);
|
||||
}
|
||||
}
|
||||
|
||||
@ -81,7 +81,7 @@
|
||||
<div nz-col [nzXl]="6" [nzLg]="24" [nzSm]="24" [nzXs]="24" class="text-right">
|
||||
<button nz-button nzType="primary" [nzLoading]="service.http.loading" (click)="orderST?.load(1)">查询</button>
|
||||
<button nz-button (click)="resetSF(1)">重置</button>
|
||||
<!-- <button nz-button> 导出</button> -->
|
||||
<button nz-button (click)="exportList()"> 导出</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -107,6 +107,16 @@ export class InvoiceDetailComponent implements OnInit {
|
||||
}
|
||||
}
|
||||
|
||||
exportList() {
|
||||
const params = { listSource: 1, pageSize: -1, vatinvHId: this.id };
|
||||
if (this.orderSf) {
|
||||
Object.assign(params, {
|
||||
...this.orderSf.value
|
||||
});
|
||||
}
|
||||
this.service.exportStart(params, this.service.$api_export_invoice_order_detail);
|
||||
}
|
||||
|
||||
private initOrderSF(): SFSchema {
|
||||
return {
|
||||
properties: {
|
||||
|
||||
@ -73,6 +73,8 @@ export class TicketService extends ShipperBaseService {
|
||||
$api_get_invoice_header_detail = '/api/fcc/ficoVatinvH/get';
|
||||
// 获取分票发票抬头开票申请订单明细
|
||||
$api_get_invoice_order_detail = '/api/fcc/ficoVatappBill/getDetailByVatinvHId';
|
||||
// 货主/运营端获取开票申请订单明细导出
|
||||
$api_export_invoice_order_detail = '/api/fcc/ficoVatappBill/reportDetailByVatapp';
|
||||
// 获取分票发票抬头开票申请费用明细
|
||||
$api_get_invoice_cost_detail = '/api/fcc/ficoVatappFee/getDetailByVatinvHId';
|
||||
// 获取分票发票明细
|
||||
|
||||
@ -480,6 +480,6 @@ export class WaybillManagementBulkComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams,this.service.$api_asyncExportBulkList)
|
||||
this.service.exportStart(this.reqParams,this.service.$api_asyncExportBulkList)
|
||||
}
|
||||
}
|
||||
|
||||
@ -489,6 +489,6 @@ export class WaybillManagementVehicleComponent implements OnInit {
|
||||
}
|
||||
// 导出
|
||||
exprot() {
|
||||
this.service.asyncExport(this.reqParams, this.service.$api_asyncExportWholeList);
|
||||
this.service.exportStart(this.reqParams, this.service.$api_asyncExportWholeList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user