edit
This commit is contained in:
		| @ -52,7 +52,7 @@ | ||||
|         (click)="this.rejectAction(selectedRows)">驳回</button> | ||||
|       <button nz-button *ngIf="resourceStatus !=='4' && resourceStatus !=='5'" | ||||
|         (click)="changeAddress(selectedRows)">修改地址</button> | ||||
|       <button nz-button *ngIf="resourceStatus==='3' || !resourceStatus" (click)="printOrder(selectedRows)">打印面单</button> | ||||
|       <button nz-button *ngIf="resourceStatus==='3' || !resourceStatus" (click)="printOrder(selectedRows)">快递下单</button> | ||||
|     </div> | ||||
|   </ng-template> | ||||
|  | ||||
|  | ||||
| @ -165,7 +165,7 @@ export class InvoiceRequestedComponent { | ||||
|       return; | ||||
|     } | ||||
|     const modal = this.nzModalService.create({ | ||||
|       nzTitle: '打印面单', | ||||
|       nzTitle: '快递下单', | ||||
|       nzContent: PrintOrderModalComponent, | ||||
|       nzWidth: 650, | ||||
|       nzComponentParams: { vatappcodes: this.selectedRows.map(item => item.vatappcode) }, | ||||
|  | ||||
| @ -44,7 +44,7 @@ export class PrintOrderModalComponent implements OnInit { | ||||
|           if (res?.data?.length > 0) { | ||||
|             this.getPDF(res.data); | ||||
|           } else { | ||||
|             this.service.msgSrv.warning('请到快递信息页面打印'); | ||||
|             this.service.msgSrv.success('快递下单成功,请到快递信息页面打印'); | ||||
|             this.modal.destroy(true); | ||||
|           } | ||||
|         } | ||||
| @ -69,7 +69,7 @@ export class PrintOrderModalComponent implements OnInit { | ||||
|           if (res?.data?.length > 0) { | ||||
|             this.service.reviewPDF(res?.data); | ||||
|           } else { | ||||
|             this.service.msgSrv.warning('请到快递信息页面打印'); | ||||
|             this.service.msgSrv.success('快递下单成功,请到快递信息页面打印'); | ||||
|             this.modal.destroy(true); | ||||
|           } | ||||
|         } | ||||
| @ -84,7 +84,7 @@ export class PrintOrderModalComponent implements OnInit { | ||||
|         this.modal.destroy(true); | ||||
|         this.service.reviewPDF(res.pdfUrl); | ||||
|       } else { | ||||
|         this.service.msgSrv.warning('请到快递信息页面打印'); | ||||
|         this.service.msgSrv.success('快递下单成功,请到快递信息页面打印'); | ||||
|         this.modal.destroy(true); | ||||
|       } | ||||
|     }); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user