车辆对接

This commit is contained in:
wangshiming
2022-01-06 14:57:46 +08:00
parent 9f13a0a263
commit c83c1e7a8e
4 changed files with 24 additions and 16 deletions

View File

@ -143,21 +143,18 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
/**
* 重新指派
*/
assignedCar(item: any) {
const { resourceId } = item;
assignedCar(item: any) {
const modalRef = this.modal.create({
nzTitle: '指派熟车',
nzWidth: '1200px',
nzContent: SupplyManagementVehicleAssignedCarComponent,
nzContent: SupplyManagementVehicleAssignedCarComponent,
nzComponentParams: {
i: item,
status: 'anew',
url: this.service.$api_save_assign_vehicle,
params: { resourceId }
},
nzFooter: null
nzFooter: null,
});
modalRef.afterClose.subscribe(result => {
modalRef.afterClose.subscribe((result) => {
if (result) {
this.getGoodsSourceDetail();
}