|
@@ -131,8 +131,10 @@
|
|
|
});
|
|
|
|
|
|
//自动选择合同状态
|
|
|
- if ($("#projectName").val() != null) {
|
|
|
+ if ($("#projectName").val() != "") {
|
|
|
if ($("#contractName").val() == "") {
|
|
|
+ $("#ext1").iCheck("check");
|
|
|
+ }else{
|
|
|
$("#ext").iCheck("check");
|
|
|
}
|
|
|
}
|
|
@@ -664,9 +666,9 @@
|
|
|
<div class="layui-item layui-col-sm6 lw7">
|
|
|
<label class="layui-form-label">合同情况:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <input type="radio" class="i-checks" name="ext" checked id="ext" value="0">
|
|
|
+ <input type="radio" class="i-checks" name="ext" <c:if test="${ruralProjectRecords.id==null }">checked</c:if> id="ext" value="0">
|
|
|
<label for="ext">有合同</label>
|
|
|
- <input type="radio" class="i-checks" name="ext" id="ext1" value="1">
|
|
|
+ <input type="radio" class="i-checks" name="ext" <c:if test="${ruralProjectRecords.id!=null and ruralProjectRecords.workContractInfo==null }">checked</c:if> id="ext1" value="1">
|
|
|
<label for="ext1">无合同</label>
|
|
|
</div>
|
|
|
</div>
|