修复多域匹配区域bug,由于后台只查询了主表的匹配区域导致了展示错误
This commit is contained in:
@@ -38,7 +38,7 @@ $(function(){
|
||||
<c:when test="${mainTableType eq '4' and otherTable==null}">
|
||||
<select name="complexCfg[${mainTable}].district" class="district selectpicker select2 form-control">
|
||||
<option value=""><spring:message code='select'/></option>
|
||||
<c:forEach items="${districts}" var="district">
|
||||
<c:forEach items="${fns:getFeaturesDictData(mainTable)}" var="district">
|
||||
<option value="${district.itemValue}"
|
||||
<c:if test="${_cfg.complexCfg[mainTable].district eq district.itemValue}">selected</c:if>
|
||||
>${district.itemValue}</option>
|
||||
@@ -48,7 +48,7 @@ $(function(){
|
||||
<c:when test="${otherTable!=null and otherTable.tableType eq '4'}">
|
||||
<select name="complexCfg[${otherTable.tableName}].district" class="district selectpicker select2 form-control">
|
||||
<option value=""><spring:message code='select'/></option>
|
||||
<c:forEach items="${districts}" var="district">
|
||||
<c:forEach items="${fns:getFeaturesDictData(otherTable.tableName)}" var="district">
|
||||
<option value="${district.itemValue}"
|
||||
<c:if test="${_cfg.complexCfg[otherTable.tableName].district eq district.itemValue}">selected</c:if>
|
||||
>${district.itemValue}</option>
|
||||
|
||||
Reference in New Issue
Block a user