edit
This commit is contained in:
@ -282,7 +282,16 @@ export class InvoiceRequestedComponent {
|
||||
if (res?.reconciliationUrl) {
|
||||
this.service.reviewPDF(res.reconciliationUrl);
|
||||
} else {
|
||||
this.service.msgSrv.warning('获取对账单失败');
|
||||
this.service
|
||||
.request(this.service.$api_download_Reconciliatio_pdf, { vatappHId: item.id, esignFlowId: res.esignFlowId })
|
||||
.subscribe(rs => {
|
||||
if (rs?.reconciliationUrl) {
|
||||
this.service.reviewPDF(rs.reconciliationUrl);
|
||||
} else {
|
||||
// this.service.msgSrv.warning('获取对账单失败');
|
||||
}
|
||||
});
|
||||
// this.service.msgSrv.warning('获取对账单失败');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -132,6 +132,8 @@ export class TicketService extends ShipperBaseService {
|
||||
$api_get_express_routes = '/api/fcc/ficoExpressH/searchRoutes';
|
||||
// 下载对账单文件
|
||||
$api_downloadPdf = '/api/fcc/ficoVatappBill/downloadPdf';
|
||||
// 对账单文件下载
|
||||
$api_download_Reconciliatio_pdf = '/api/fcc/ficoVatappBill/downloadReconciliationPdf';
|
||||
|
||||
// 根据地区code查询列表
|
||||
$api_get_region_by_code = '/api/mdc/pbc/region/getRegionByCode';
|
||||
|
||||
Reference in New Issue
Block a user