Merge branch 'develop' of https://gitlab.eascs.com/tms-ui/tms-obc-web into develop
This commit is contained in:
@ -189,21 +189,11 @@ this.ui2 = { '*': { spanLabelFixed: 120, grid: { span: 24 } } };
|
||||
if(res) {
|
||||
const List: any = [];
|
||||
List.push({ label: value.enterpriseName, value: res.enterpriseId });
|
||||
// this.sfFre.getProperty('/enterpriseId')!.schema.enum = List;
|
||||
// console.log(List);
|
||||
|
||||
// this.sfFre.getProperty('/enterpriseId')!.widget.reset(List);
|
||||
// if(res.enterpriseId) {
|
||||
// this.sfFre.setValue('/enterpriseId', res.enterpriseId);
|
||||
// }
|
||||
console.log(this.sfFre.getProperty('/enterpriseId'));
|
||||
this.formData = res;
|
||||
setTimeout(() => {
|
||||
this.sfFre.getProperty('/enterpriseId')!.schema.enum = List;
|
||||
this.sfFre.getProperty('/enterpriseId')!.widget.reset(List);
|
||||
if (res?.enterpriseId) {
|
||||
console.log(res?.enterpriseId);
|
||||
console.log(res?.enterpriseId);
|
||||
this.sfFre.setValue('/enterpriseId', res.enterpriseId);
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user