This commit is contained in:
wangshiming
2022-02-18 14:04:31 +08:00
parent 149742b163
commit d985c233b1
9 changed files with 109 additions and 46 deletions

View File

@ -111,7 +111,7 @@ export class NetworkFreightComponent implements OnInit {
buttons: [
{
text: '基础设置',
click: item => this.ticket(item)
click: item => this.creat(item)
},
{
text: '财务设置',
@ -534,7 +534,8 @@ export class NetworkFreightComponent implements OnInit {
}
}
// 新增
creat() {
this.router.navigate(['./new'], { relativeTo: this.ar });
creat(value?: any) {
console.log(value)
this.router.navigate(['./new/'+ value?.id], { relativeTo: this.ar });
}
}