车辆对接
This commit is contained in:
		| @ -6,6 +6,8 @@ import { ShipperBaseService } from '@shared'; | ||||
| import { NzModalService } from 'ng-zorro-antd/modal'; | ||||
| import { of } from 'rxjs'; | ||||
| import { map } from 'rxjs/operators'; | ||||
| import { VehicleSureArriveComponent } from 'src/app/routes/order-management/modal/vehicle/sure-arrive/sure-arrive.component'; | ||||
| import { VehicleSureDepartComponent } from 'src/app/routes/order-management/modal/vehicle/sure-depart/sure-depart.component'; | ||||
| import { WaybillManagementServe } from '../../services/waybill-management.service'; | ||||
|  | ||||
|  | ||||
| @ -333,6 +335,14 @@ tabs = { | ||||
|             text: '查看评价', | ||||
|             click: (_record) => this.viewEvaluate(_record), | ||||
|           }, | ||||
|           { | ||||
|             text: '确认发车', | ||||
|             click: (_record) => this.sureDepart(_record), | ||||
|           }, | ||||
|           { | ||||
|             text: '确认到车', | ||||
|             click: (_record) => this.sureArrive(_record), | ||||
|           }, | ||||
|         ], | ||||
|       }, | ||||
|     ]; | ||||
| @ -511,4 +521,31 @@ tabs = { | ||||
|       } | ||||
|     }) | ||||
|   } | ||||
|       //  *确认发车 | ||||
|     | ||||
|       sureDepart(item: any) { | ||||
|         const modalRef = this.modal.create({ | ||||
|           nzTitle: '确认发车', | ||||
|           nzWidth: '50%', | ||||
|           nzContent: VehicleSureDepartComponent, | ||||
|           nzComponentParams: { | ||||
|             i: item, | ||||
|            Status: 1 | ||||
|           }, | ||||
|           nzFooter: null | ||||
|         }); | ||||
|       } | ||||
|       // 确认到车 | ||||
|       sureArrive(item: any) { | ||||
|         const modalRef = this.modal.create({ | ||||
|           nzTitle: '确认到车', | ||||
|           nzWidth: '50%', | ||||
|           nzContent: VehicleSureArriveComponent, | ||||
|           nzComponentParams: { | ||||
|             i: item, | ||||
|            Status: 1 | ||||
|           }, | ||||
|           nzFooter: null | ||||
|         }); | ||||
|       } | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user