This commit is contained in:
Taric Xin
2022-04-19 19:24:19 +08:00
parent 3815e9756d
commit 9bcdc22e45
2 changed files with 12 additions and 1 deletions

View File

@ -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('获取对账单失败');
}
});
}