This commit is contained in:
wangshiming
2022-05-10 17:44:42 +08:00
parent 3f77b0c91e
commit d4f62511dc

View File

@ -86,7 +86,7 @@ export class EditSaleComponentsAddComponent implements OnInit {
}
return this.service
.request(this.service.$api_get_channel, params)
.pipe(map((res: any) => (res as any[]).map(i => ({ label: `${i.name}/${i.telephone}`, value: i.channelId } as SFSchemaEnum))))
.pipe(map((res: any) => (res as any[]).map(i => ({ label: `${i.name}/${i.telephone}`, value: i.id } as SFSchemaEnum))))
.toPromise();
} else {
return of([]);