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