fix bug
This commit is contained in:
@ -201,7 +201,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
}
|
||||
} as SFSelectWidgetSchema
|
||||
},
|
||||
shipperId: {
|
||||
shipperAppUserName: {
|
||||
type: 'string',
|
||||
title: '托运人',
|
||||
ui: {
|
||||
@ -218,7 +218,7 @@ export class OrderManagementRiskComponent implements OnInit {
|
||||
if (str) {
|
||||
return this.service
|
||||
.request(this.service.$api_enterpriceList, { enterpriseName: str })
|
||||
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.id } as SFSchemaEnum))))
|
||||
.pipe(map((res: any) => (res as any[]).map(i => ({ label: i.enterpriseName, value: i.enterpriseName } as SFSchemaEnum))))
|
||||
.toPromise();
|
||||
} else {
|
||||
return of([]);
|
||||
|
||||
Reference in New Issue
Block a user