Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop

This commit is contained in:
Taric Xin
2022-05-12 13:39:19 +08:00

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);
} }
}) })