Commit 70ca6976 authored by houyu's avatar houyu

章判断

parent c7a4b24d
......@@ -60,6 +60,12 @@
left: 585px;
top: 950px
}
.f31 img,
.f32 img {
width: 160px;
height: 160px;
}
#page1 DIV {
position: absolute
}
......
......@@ -214,13 +214,14 @@
font-weight: bolder;
}
/*内部使用*/
.f35 {
.f35,.f40 {
left: 800px;
top: 408px;
color: red;
font-size: 20px;
background-color: #F2F7FD;
z-index: 99;
text-align: center;
}
/*章1*/
.f36 {
......@@ -394,22 +395,38 @@ function updateZslxdbh(){
<div id='36' draggable='true' class='f36'><img src="${ctx}/images/img/zhang3.png" alt=""></div>
<c:choose>
<c:when test="${empty rfxm}">
<div id='35' draggable='true' class='f35'>内部使用,严禁打印和下载</div>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${rfxm.isSbj=='1'}"> <!--如果 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
</c:when>
<c:otherwise> <!--否则 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
</c:otherwise>
</c:choose>
</c:otherwise>
<c:when test="${empty rfxm}">
<div id='35' draggable='true' class='f35'>内部使用,严禁打印和下载</div>
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${nmjyj != '004'}"> <!--如果 -->
<c:choose>
<c:when test="${rfxm.isRfyz=='1'}"> <!--如果 -->
<c:choose>
<c:when test="${rfxm.isSbj=='1'}"> <!--如果 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
</c:when>
<c:otherwise> <!--否则 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise> <!--否则 -->
<div id='40' draggable='true' class='f40'>人防费未缴,仅用于 <br> 办理施工许可</div>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<div></div>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
......
......@@ -209,13 +209,14 @@
font-weight: bolder;
}
/*内部使用*/
.f35 {
.f35,.f40 {
left: 800px;
top: 408px;
color: red;
font-size: 20px;
background-color: #F2F7FD;
z-index: 99;
text-align: center;
}
/*章1*/
.f36 {
......@@ -527,16 +528,32 @@
</c:when>
<c:otherwise>
<c:choose>
<c:when test="${rfxm.isSbj=='1'}"> <!--如果 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
</c:when>
<c:when test="${nmjyj != '004'}"> <!--如果 -->
<c:choose>
<c:when test="${rfxm.isRfyz=='1'}"> <!--如果 -->
<c:choose>
<c:when test="${rfxm.isSbj=='1'}"> <!--如果 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang2.png" alt=""></div>
</c:when>
<c:otherwise> <!--否则 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise> <!--否则 -->
<div id='40' draggable='true' class='f40'>人防费未缴,仅用于 <br> 办理施工许可</div>
</c:otherwise>
</c:choose>
<c:otherwise> <!--否则 -->
<div id='38' draggable='true' class='f38'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
<div id='39' draggable='true' class='f39'><img src="${ctx}/images/img/zhang4.png" alt=""></div>
</c:when>
<c:otherwise>
<div></div>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
......
......@@ -13,11 +13,18 @@
visibility: hidden;
}
.dis-bl{
visibility: initial !important;
visibility: inherit ;
border: none !important;
line-height: 32px;
}
.yjstyle{
display: none;
width:90%
}
.showyj{
width: 30%;
}
</style>
<script>
var index4Sf = 1;
......@@ -45,10 +52,14 @@
var flag1=true;
var boolean1=true;
var message = "";
if ($("#yjjemx").val()=="" || $("#yjjemx").val()== undefined || $("#yjjemx").val()==null) {
$.messager.alert('提示', '请填写应缴金额明细!');
return
console.info()
if($(".yjjemx").is(':visible') == true){
if ($(".yjjemx").val()=="" || $(".yjjemx").val()== undefined || $(".yjjemx").val()==null) {
$.messager.alert('提示', '请填写人防费应缴金额!');
return
}
}
$("input[name=file1]").each(function(){
if($(this).val()!="") {
var name = $(this).parent().siblings().find("input").val();
......@@ -309,10 +320,27 @@
<input id="sfxmlxdbh" name="rfxmsfxx.sfxmlxdbh" style="width:90%" maxlength="50"/>
</td>
<th width="15">应缴金额</th>
<td width="35%">
<input id="yjjemx" name="rfxmsfxx.yjjemx" style="width:90%" datatype="*1-50" errormsg='此项为必填' maxlength="50" onblur="numberCheck(this)"/>
<font style='color:red'>*</font>
</td>
<c:if test="${ empty rfxm.paymentLink}">
<td width="35%" class="showyj">
<input class="yjjemx" name="rfxmsfxx.yjjemx" style="width:90%;margin-top: 6px;" datatype="*1-50" errormsg='此项为必填' maxlength="50" onblur="numberCheck(this)"/>
<font style='color:red'>*</font>
</td>
<td width="35%" class="yjstyle">
<input name="rfxmsfxx.yjjemx" style="width:90%;margin-top: 6px;" />
</td>
</c:if>
<c:if test="${rfxm.paymentLink == 1}">
<td width="35%" class="showyj">
<input class="yjjemx" name="rfxmsfxx.yjjemx" style="width:90%;margin-top: 6px;" datatype="*1-50" errormsg='此项为必填' maxlength="50" onblur="numberCheck(this)"/>
<font style='color:red'>*</font>
</td>
</c:if>
<c:if test="${rfxm.paymentLink == 3}">
<td width="35%" >
<input name="rfxmsfxx.yjjemx" style="width:90%;margin-top: 6px;" />
</td>
</c:if>
</tr>
<tr>
<th width="15">缴费承诺环节</th>
......@@ -408,9 +436,13 @@
<script>
$(".rd").on('click',function () {
if($(this).val()=='30日内'){
$('.showPt').classList.add('dis-bl')
$('.showPt').addClass('dis-bl')
$('.yjstyle').css({'display':'block','border':'none'})
$('.showyj').css('display','none')
}else{
$('.showPt').classList.remove('dis-bl')
$('.showPt').removeClass('dis-bl')
$('.showyj').css({'display':'block','width':'90%','border':'none'})
$('.yjstyle').css('display','none')
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment