edit
This commit is contained in:
@ -326,6 +326,8 @@ export class FreightComponentsListDetailComponent implements OnInit, OnDestroy {
|
|||||||
this.service.request(this.service.$api_get_next_audit_freight, { id: this.route.snapshot.params.id }).subscribe(res => {
|
this.service.request(this.service.$api_get_next_audit_freight, { id: this.route.snapshot.params.id }).subscribe(res => {
|
||||||
if (res?.id) {
|
if (res?.id) {
|
||||||
this.router.navigate(['/usercenter/freight/enterprise/detail/' + res.id]);
|
this.router.navigate(['/usercenter/freight/enterprise/detail/' + res.id]);
|
||||||
|
} else {
|
||||||
|
this.initData();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user