This commit is contained in:
wangshiming
2022-03-07 17:57:01 +08:00
parent f09404d89b
commit cf4498db3e
2 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-24 16:58:02
* @LastEditors : Shiming
* @LastEditTime : 2022-03-07 17:51:46
* @LastEditTime : 2022-03-07 17:56:10
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\bulk-detail-change\\bulk-detail-change.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -496,7 +496,7 @@ loadTime: any; // 货源单设置回显
this.service.request(this.service.$api_set_modifyBulkOrder, params).subscribe((res: any) => {
if(res) {
this.service.msgSrv.success('修改成功!');
this.router.navigate(['./bulk-detail', this.id], { relativeTo: this.ar });
this.router.navigate(['/order-management/bulk/bulk-detail/', this.id]);
} else {
this.service.msgSrv.error(res?.msg);
}

View File

@ -4,7 +4,7 @@
* @Author : Shiming
* @Date : 2021-12-23 13:39:58
* @LastEditors : Shiming
* @LastEditTime : 2022-03-07 17:52:59
* @LastEditTime : 2022-03-07 17:56:51
* @FilePath : \\tms-obc-web\\src\\app\\routes\\order-management\\components\\vehicle-detail-change\\vehicle-detail-change.component.ts
* Copyright (C) 2022 huzhenhong. All rights reserved.
*/
@ -546,7 +546,7 @@ export class OrderManagementVehicleDetailChangeComponent implements OnInit {
console.log(res);
if (res) {
this.service.msgSrv.success('修改成功!');
this.router.navigate(['./vehicle-detail', this.id], { relativeTo: this.ar });
this.router.navigate(['/order-management/vehicle/vehicle-detail/', this.id], { relativeTo: this.ar });
} else {
this.service.msgSrv.error(res?.msg);
}