|
@ -561,8 +561,8 @@ const initSelectOptions = (headerItem, row) => { |
|
|
if (row[headerItem.field + 'InitOptions']) { |
|
|
if (row[headerItem.field + 'InitOptions']) { |
|
|
return row[headerItem.field + 'InitOptions'] |
|
|
return row[headerItem.field + 'InitOptions'] |
|
|
} else { |
|
|
} else { |
|
|
return headerItem.dictType |
|
|
return headerItem?.tableForm?.initOptions?.length>0 |
|
|
? getStrDictOptions(headerItem.dictType) |
|
|
? headerItem.tableForm.initOptions |
|
|
: headerItem.tableForm.initOptions |
|
|
: headerItem.tableForm.initOptions |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|