fix bug
This commit is contained in:
@ -125,7 +125,7 @@ export class SupplyManagementBulkDetailComponent implements OnInit {
|
|||||||
*/
|
*/
|
||||||
placeOrder(record: any) {
|
placeOrder(record: any) {
|
||||||
console.log(record)
|
console.log(record)
|
||||||
this.router.navigate(['/supply-management/bulk-amend', record.id], {
|
this.router.navigate(['/supply-management/bulk-next', record.id], {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
sta: 4
|
sta: 4
|
||||||
},
|
},
|
||||||
|
|||||||
@ -492,7 +492,7 @@ export class SupplyManagementBulkComponent extends BasicTableComponent implement
|
|||||||
|
|
||||||
// 再下一单
|
// 再下一单
|
||||||
nextOrder(item: any) {
|
nextOrder(item: any) {
|
||||||
this.router.navigate(['/supply-management/bulk-amend', item.id], {
|
this.router.navigate(['/supply-management/bulk-next', item.id], {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
sta: 4
|
sta: 4
|
||||||
}
|
}
|
||||||
|
|||||||
@ -115,18 +115,7 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
*再下一单
|
|
||||||
* @param record
|
|
||||||
*/
|
|
||||||
placeOrder(record: any) {
|
|
||||||
this.router.navigate(['./pbg/onecar-publish'], {
|
|
||||||
queryParams: {
|
|
||||||
id: record?.id,
|
|
||||||
type: 'add'
|
|
||||||
}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
/**
|
/**
|
||||||
* 编辑外部货源号
|
* 编辑外部货源号
|
||||||
* @param item st当前行对象
|
* @param item st当前行对象
|
||||||
@ -168,7 +157,7 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
nextOrder(item: any) {
|
nextOrder(item: any) {
|
||||||
this.router.navigate(['/supply-management/vehicle-amend', item.id], {
|
this.router.navigate(['/supply-management/vehicle-next', item.id], {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
sta: 2
|
sta: 2
|
||||||
}
|
}
|
||||||
|
|||||||
@ -324,7 +324,7 @@ export class SupplyManagementVehicleComponent extends BasicTableComponent implem
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
nextOrder(item: any) {
|
nextOrder(item: any) {
|
||||||
this.router.navigate(['/supply-management/vehicle-amend', item.id], {
|
this.router.navigate(['/supply-management/vehicle-next', item.id], {
|
||||||
queryParams: {
|
queryParams: {
|
||||||
sta: 2
|
sta: 2
|
||||||
}
|
}
|
||||||
|
|||||||
@ -4,7 +4,7 @@
|
|||||||
* @Author : Shiming
|
* @Author : Shiming
|
||||||
* @Date : 2021-12-03 11:10:14
|
* @Date : 2021-12-03 11:10:14
|
||||||
* @LastEditors : Shiming
|
* @LastEditors : Shiming
|
||||||
* @LastEditTime : 2022-02-10 14:39:00
|
* @LastEditTime : 2022-04-28 14:45:50
|
||||||
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\supply-management-routing.module.ts
|
* @FilePath : \\tms-obc-web\\src\\app\\routes\\supply-management\\supply-management-routing.module.ts
|
||||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||||
*/
|
*/
|
||||||
@ -58,11 +58,25 @@ const routes: Routes = [
|
|||||||
'SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate',
|
'SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate',
|
||||||
'SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder'
|
'SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: 'vehicle-next/:id',
|
||||||
|
component: SupplyManagementOnecarPublishComponent,
|
||||||
|
// data: {
|
||||||
|
// guard: {
|
||||||
|
// ability: [
|
||||||
|
// 'SUPPLY-VEHICLE-PLACEORDER-QRCode',
|
||||||
|
// 'SUPPLY-VEHICLE-PLACEORDER-vehicleDesignate',
|
||||||
|
// 'SUPPLY-VEHICLE-PLACEORDER-vehicleAnotherOrder'
|
||||||
|
// ]
|
||||||
|
// }
|
||||||
|
// }
|
||||||
},
|
},
|
||||||
{ path: 'vehicle-release', component: SupplyManagementReleasePublishComponent },
|
{ path: 'vehicle-release', component: SupplyManagementReleasePublishComponent },
|
||||||
{ path: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
{ path: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
||||||
|
{ path: 'bulk-next/:id', component: SupplyManagementBulkPublishComponent },
|
||||||
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user