|
|
@ -140,7 +140,9 @@ const opensearchTable = (formField, searchField, searchTitle, searchAllSchemas, |
|
|
|
searchCondition.forEach(item => { |
|
|
|
// 查询条件为主表某字段,需要赋值主表数据,数据来源是详情的,赋值需要从row中获取 |
|
|
|
if (item.isMainValue) { |
|
|
|
_searchCondition[item.key] = formRef.value.formModel[item.value]?formRef.value.formModel[item.value]:props.detailData?props.detailData[item.value]:'' |
|
|
|
_searchCondition[item.key] = formRef.value.formModel[item.value]? |
|
|
|
formRef.value.formModel[item.value]:props.detailData? |
|
|
|
props.detailData[item.value]:row[item.value]?row[item.value]:'' |
|
|
|
} else { |
|
|
|
_searchCondition[item.key] = item.value |
|
|
|
} |
|
|
|