修改区域生效缺省选中全域生效

Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
zhangwei
2018-07-30 13:52:00 +08:00
parent 1ab400d8a6
commit 6c35214fda
2 changed files with 2 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ $(function(){
<div class="col-md-6">
<label class="radio-inline">
<input type="radio" name="isAreaEffective" value="0" class="required areaControl"
<c:if test="${_cfg.isAreaEffective==0}">checked</c:if>
<c:if test="${empty _cfg.isAreaEffective or _cfg.isAreaEffective==0}">checked</c:if>
><spring:message code="all"/>
</label>
<label class="radio-inline">

View File

@@ -712,7 +712,7 @@ var areaControlInit=function(){
}
}else{
$("input[name='areaEffectiveIds']").val("");
$("input[name='isAreaEffective']").eq(1).prop("checked",true);
$("input[name='isAreaEffective']").find("[value='0']").prop("checked",true);
}
}
//查询