This commit is contained in:
wangshiming
2022-05-12 13:21:32 +08:00
parent 2d5df21245
commit fb8375ed79

View File

@ -28,13 +28,13 @@ export class PartnerAuditModalComponent implements OnInit {
if(this.info.channelId) { if(this.info.channelId) {
const value = [{ const value = [{
label: this.info.channelIdLabel, label: this.info.channelIdLabel,
value: this.info.channelId, value: this.info.channelSaleslId,
}] }]
setTimeout(() => { setTimeout(() => {
if(this.sf) { if(this.sf) {
this.sf.getProperty('/channelId')!.schema.enum = value; this.sf.getProperty('/channelId')!.schema.enum = value;
this.sf.getProperty('/channelId')!.widget.reset(value); this.sf.getProperty('/channelId')!.widget.reset(value);
this.sf.setValue('/channelId', this.info.channelId); this.sf.setValue('/channelId', this.info.channelSaleslId);
} }
}) })