Browse Source

基础form组件修改

master
陈薪名 1 year ago
parent
commit
74e159bb84
  1. 4
      src/components/BasicForm/src/BasicForm.vue

4
src/components/BasicForm/src/BasicForm.vue

@ -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
}

Loading…
Cancel
Save