edit
This commit is contained in:
@ -225,8 +225,7 @@
|
||||
</se>
|
||||
<se [col]="1" label="网络货运人" required>
|
||||
<nz-select nzPlaceHolder="请选择" [(ngModel)]="networkTransporter">
|
||||
<nz-option [nzValue]="1" nzLabel="Jack"></nz-option>
|
||||
<nz-option [nzValue]="2" nzLabel="Lucy"></nz-option>
|
||||
<nz-option [nzValue]="item.value" [nzLabel]="item.label" *ngFor="let item of ltdId"></nz-option>
|
||||
</nz-select>
|
||||
</se>
|
||||
</div>
|
||||
|
||||
@ -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, {
|
||||
|
||||
@ -298,8 +298,7 @@
|
||||
</se>
|
||||
<se [col]="1" label="网络货运人" required>
|
||||
<nz-select nzPlaceHolder="请选择" [(ngModel)]="networkTransporter">
|
||||
<nz-option [nzValue]="1" nzLabel="Jack"></nz-option>
|
||||
<nz-option [nzValue]="2" nzLabel="Lucy"></nz-option>
|
||||
<nz-option [nzValue]="item.value" [nzLabel]="item.label" *ngFor="let item of ltdId"></nz-option>
|
||||
</nz-select>
|
||||
</se>
|
||||
</div>
|
||||
|
||||
@ -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, {
|
||||
|
||||
Reference in New Issue
Block a user