Commit 70ca6976 authored by houyu's avatar houyu

章判断

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