diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html index cfca010c..017f5691 100644 --- a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html +++ b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.html @@ -225,8 +225,7 @@ - - + diff --git a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts index d729517c..9ac10fbc 100644 --- a/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts +++ b/src/app/routes/usercenter/components/freight/enterprise-audit/view/view.component.ts @@ -48,6 +48,7 @@ export class FreightComponentsEnterpriseAuditViewComponent implements OnInit { disabledUpload = false; values: string[] | null = null; + ltdId: any[] = []; constructor(private nzModalService: NzModalService, public service: UsermanageService, private route: ActivatedRoute) {} ngOnInit() { @@ -55,6 +56,14 @@ export class FreightComponentsEnterpriseAuditViewComponent implements OnInit { // this.launchSign(); } + loadltdId() { + this.service.getNetworkFreightForwarder().subscribe(res => { + if (res) { + this.ltdId = res; + } + }); + } + initData() { this.service .request(this.service.$api_get_freight_detail, { diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html index a9efb750..9811386d 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.html +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.html @@ -298,8 +298,7 @@ - - + diff --git a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts index 586bf9cd..0d83b363 100644 --- a/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts +++ b/src/app/routes/usercenter/components/freight/list/detail/detail.component.ts @@ -29,6 +29,7 @@ export class FreightComponentsListDetailComponent implements OnInit { uploadURl = apiConf.waterFileUpload; disabledUpload = false; enterpriseAddressCode: any = []; + ltdId: any = []; approvalOpinion = ''; networkTransporter = null; @@ -41,7 +42,18 @@ export class FreightComponentsListDetailComponent implements OnInit { ngOnInit() { this.initData(); + this.loadltdId(); } + loadltdId() { + this.service.getNetworkFreightForwarder().subscribe(res => { + if (res) { + this.ltdId = res; + console.log(this.ltdId ); + + } + }); + } + initData() { this.service .request(this.service.$api_get_freight_detail, {