merge 1.0.0
This commit is contained in:
		| @ -30,7 +30,7 @@ module.exports = { | |||||||
|   // }, |   // }, | ||||||
|   '//api': { |   '//api': { | ||||||
|     target: { |     target: { | ||||||
|       host: 'tms-api-dev.eascs.com', |       host: 'tms-api-test.eascs.com', | ||||||
|       protocol: 'https:', |       protocol: 'https:', | ||||||
|       port: 443 |       port: 443 | ||||||
|     }, |     }, | ||||||
|  | |||||||
| @ -8,8 +8,8 @@ import { ShipperBaseService } from '@shared'; | |||||||
| import { isTemplateRef } from 'ng-zorro-antd/core/util'; | import { isTemplateRef } from 'ng-zorro-antd/core/util'; | ||||||
| import { NzMessageService } from 'ng-zorro-antd/message'; | import { NzMessageService } from 'ng-zorro-antd/message'; | ||||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | import { NzModalService } from 'ng-zorro-antd/modal'; | ||||||
| import { delay } from 'q'; |  | ||||||
| import { pipe } from 'rxjs'; | import { pipe } from 'rxjs'; | ||||||
|  | import { delay } from 'rxjs/operators'; | ||||||
|  |  | ||||||
| import { TicketService } from '../../services/ticket.service'; | import { TicketService } from '../../services/ticket.service'; | ||||||
| import { PrintOrderModalComponent } from './print-order-modal/print-order-modal.component'; | import { PrintOrderModalComponent } from './print-order-modal/print-order-modal.component'; | ||||||
| @ -283,9 +283,11 @@ export class InvoiceRequestedComponent { | |||||||
|     if (item?.reconciliationUrl) { |     if (item?.reconciliationUrl) { | ||||||
|       this.service.reviewPDF(item.reconciliationUrl); |       this.service.reviewPDF(item.reconciliationUrl); | ||||||
|     } else { |     } else { | ||||||
|       this.service.request(this.service.$api_downloadPdf, { vatappHId: item.id }).subscribe(res => { |       this.service | ||||||
|  |         .request(this.service.$api_downloadPdf, { vatappHId: item.id }) | ||||||
|  |         .pipe(delay(3000)) | ||||||
|  |         .subscribe(res => { | ||||||
|           if (res?.esignFlowId) { |           if (res?.esignFlowId) { | ||||||
|           delay(3000); |  | ||||||
|             this.service |             this.service | ||||||
|               .request(this.service.$api_download_Reconciliatio_pdf, { vatappHId: item.id, esignFlowId: res.esignFlowId }) |               .request(this.service.$api_download_Reconciliatio_pdf, { vatappHId: item.id, esignFlowId: res.esignFlowId }) | ||||||
|               .subscribe(rs => { |               .subscribe(rs => { | ||||||
| @ -294,6 +296,7 @@ export class InvoiceRequestedComponent { | |||||||
|                 } else { |                 } else { | ||||||
|                   // this.service.msgSrv.warning('获取对账单失败'); |                   // this.service.msgSrv.warning('获取对账单失败'); | ||||||
|                 } |                 } | ||||||
|  |                 this.st.load(1); | ||||||
|               }); |               }); | ||||||
|           } |           } | ||||||
|           // this.service.msgSrv.warning('获取对账单失败'); |           // this.service.msgSrv.warning('获取对账单失败'); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user