fix bug
This commit is contained in:
@ -125,7 +125,7 @@ export class SupplyManagementBulkDetailComponent implements OnInit {
|
||||
*/
|
||||
placeOrder(record: any) {
|
||||
console.log(record)
|
||||
this.router.navigate(['/supply-management/bulk-amend', record.id], {
|
||||
this.router.navigate(['/supply-management/bulk-next', record.id], {
|
||||
queryParams: {
|
||||
sta: 4
|
||||
},
|
||||
|
||||
@ -492,7 +492,7 @@ export class SupplyManagementBulkComponent extends BasicTableComponent implement
|
||||
|
||||
// 再下一单
|
||||
nextOrder(item: any) {
|
||||
this.router.navigate(['/supply-management/bulk-amend', item.id], {
|
||||
this.router.navigate(['/supply-management/bulk-next', item.id], {
|
||||
queryParams: {
|
||||
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当前行对象
|
||||
@ -168,7 +157,7 @@ export class SupplyManagementVehicleDetailComponent implements OnInit {
|
||||
});
|
||||
}
|
||||
nextOrder(item: any) {
|
||||
this.router.navigate(['/supply-management/vehicle-amend', item.id], {
|
||||
this.router.navigate(['/supply-management/vehicle-next', item.id], {
|
||||
queryParams: {
|
||||
sta: 2
|
||||
}
|
||||
|
||||
@ -324,7 +324,7 @@ export class SupplyManagementVehicleComponent extends BasicTableComponent implem
|
||||
});
|
||||
}
|
||||
nextOrder(item: any) {
|
||||
this.router.navigate(['/supply-management/vehicle-amend', item.id], {
|
||||
this.router.navigate(['/supply-management/vehicle-next', item.id], {
|
||||
queryParams: {
|
||||
sta: 2
|
||||
}
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* @Author : Shiming
|
||||
* @Date : 2021-12-03 11:10:14
|
||||
* @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
|
||||
* Copyright (C) 2022 huzhenhong. All rights reserved.
|
||||
*/
|
||||
@ -61,8 +61,22 @@ const routes: Routes = [
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
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: 'bulk-release', component: SupplyManagementBulkReleasePublishComponent },
|
||||
{ path: 'bulk-next/:id', component: SupplyManagementBulkPublishComponent },
|
||||
{ path: 'bulk-amend/:id', component: SupplyManagementBulkPublishComponent }
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user