车辆对接
This commit is contained in:
@ -142,22 +142,33 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
}
|
||||
|
||||
/**
|
||||
* 重新指派
|
||||
*/
|
||||
* 重新指派
|
||||
*/
|
||||
assignedCar(item: any) {
|
||||
const { id } = item;
|
||||
console.log(id)
|
||||
const modalRef = this.modal.create({
|
||||
nzTitle: '指派熟车',
|
||||
nzWidth: '1200px',
|
||||
nzContent: SupplyManagementVehicleAssignedCarComponent,
|
||||
nzComponentParams: {
|
||||
i: item,
|
||||
status: 'anew',
|
||||
params: { id },
|
||||
url: this.service.$api_save_assign_vehicle,
|
||||
},
|
||||
nzFooter: null,
|
||||
|
||||
});
|
||||
modalRef.afterClose.subscribe((result) => {
|
||||
if (result) {
|
||||
this.getGoodsSourceDetail();
|
||||
}
|
||||
});
|
||||
}
|
||||
nextOrder(item: any) {
|
||||
this.router.navigate(['/supply-management/vehicle-amend', item.id], {
|
||||
queryParams: {
|
||||
sta: 2
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user