Browse Source

前置条件

master_hella_20240701
yufei0306 5 months ago
parent
commit
8bf7721322
  1. 7
      src/components/BasicForm/src/BasicForm.vue

7
src/components/BasicForm/src/BasicForm.vue

@ -390,6 +390,13 @@ const opensearchTable = (
return
}
}else if(searchCondition[i].isTableRowValue){
if(searchCondition[i].required){
if (row[searchCondition[i].value] == '' ||row[searchCondition[i].value] == undefined) {
message.warning(searchCondition[i].message?searchCondition[i].message:'前置条件未选择!')
return
}
}
row[searchCondition[i].value]
//table
_searchCondition[searchCondition[i].key] = row[searchCondition[i].value]
} else {

Loading…
Cancel
Save