车辆对接
This commit is contained in:
		| @ -437,7 +437,7 @@ export class VehicleSureArriveComponent implements OnInit { | ||||
|       this.service.request(this.service.$api_get_insertWholeUnloadCarInfo, params).subscribe((res) => { | ||||
|         if(res) { | ||||
|           this.service.msgSrv.success('确认到车成功!') | ||||
|            this.modal.destroy(); | ||||
|            this.modal.destroy(true); | ||||
|         } else{ | ||||
|           this.service.msgSrv.error(res.msg) | ||||
|         } | ||||
| @ -462,7 +462,7 @@ export class VehicleSureArriveComponent implements OnInit { | ||||
|         this.service.request(this.service.$api_get_insertBulkUnloadCarInfo, params).subscribe((res) => { | ||||
|           if(res) { | ||||
|             this.service.msgSrv.success('确认到车成功!') | ||||
|              this.modal.destroy(); | ||||
|              this.modal.destroy(true); | ||||
|           } else{ | ||||
|             this.service.msgSrv.error(res.msg) | ||||
|           } | ||||
| @ -503,7 +503,7 @@ export class VehicleSureArriveComponent implements OnInit { | ||||
|     }) | ||||
|   } | ||||
|   close(): void { | ||||
|     this.modal.destroy(); | ||||
|     this.modal.destroy(true); | ||||
|   } | ||||
|  | ||||
| } | ||||
|  | ||||
| @ -282,7 +282,7 @@ export class VehicleSureDepartComponent implements OnInit { | ||||
|       this.service.request(this.service.$api_get_insertWholeStartCarInfo, params).subscribe((res) => { | ||||
|         if(res) { | ||||
|           this.service.msgSrv.success('确认发车成功!') | ||||
|            this.modal.destroy(); | ||||
|            this.modal.destroy(true); | ||||
|         } else{ | ||||
|           this.service.msgSrv.error(res.msg) | ||||
|         } | ||||
| @ -305,7 +305,7 @@ export class VehicleSureDepartComponent implements OnInit { | ||||
|         this.service.request(this.service.$api_get_insertBulkStartCarInfo, params).subscribe((res) => { | ||||
|           if(res) { | ||||
|             this.service.msgSrv.success('确认发车成功!') | ||||
|              this.modal.destroy(); | ||||
|              this.modal.destroy(true); | ||||
|           } else{ | ||||
|             this.service.msgSrv.error(res.msg) | ||||
|           } | ||||
| @ -315,7 +315,7 @@ export class VehicleSureDepartComponent implements OnInit { | ||||
|   } | ||||
|  | ||||
|   close(): void { | ||||
|     this.modal.destroy(); | ||||
|     this.modal.destroy(true); | ||||
|   } | ||||
|  | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user