project_deal_approve_info.jsp
来自「java jsp教程」· JSP 代码 · 共 368 行 · 第 1/2 页
JSP
368 行
<c:if test="${scriptInfo.scripttype != '0' && scriptInfo.scripttype != 'x' && scriptInfo.scripttype != 'y'}">
<TR onmouseover="this.bgColor='#EBEBEB';" onmouseout="this.bgColor='#EEF4FF';" bgColor=#eef4ff>
<TD height="25" width="19%" align=middle><div align="right">处理意见:</div></TD>
<TD height="25" align=middle>
<div align="left"><c:out value="${scriptInfo.processnote}"/>
</div></TD>
<TD width="16%" height="23" align=middle><div align="right">处理方式:</div>
<TD width="34%" height="23" >
<c:out value="${scriptInfo.processtypename}"/>
</TD>
</TR>
</c:if>
-->
<TR onmouseover="this.bgColor='#EBEBEB';" onmouseout="this.bgColor='#EEF4FF';" bgColor=#eef4ff>
<TD height="25" align=right align="right">审理意见:</TD>
<TD height="25" colspan="3">
<textarea name="approvenote" cols="81"><c:out value="${scriptInfo.approvenote}"/></textarea></TD>
</TR>
<TR onmouseover="this.bgColor='#EBEBEB';" onmouseout="this.bgColor='#EEF4FF';" bgColor=#eef4ff>
<TD height="25" width="19%" align=middle><div align="right">审理结果:</div></TD>
<TD height="25" align=middle colspan="3">
<div align="left">
<input type="radio" name="approvestate"
value="3" <c:if test="${scriptInfo.approvestate == '3'}">checked</c:if>>审理通过
<input type="radio" name="approvestate"
value="4" <c:if test="${scriptInfo.approvestate == '4'}">checked</c:if>>审理不通过
</div></TD>
</TR>
</TBODY>
</TABLE></TD>
</TR>
</TBODY>
</TABLE>
<center><img src="<%=request.getContextPath()%>/images/confirm.gif" id="confirm" style="cursor:hand;" onClick="_save()"></center>
<c:if test="${scriptInfo.scripttype == '1' || scriptInfo.scripttype == '2'}">
<TABLE cellSpacing=1 borderColorDark=#dfdfff cellPadding=2 width="100%" style="display:none"
id="itemtable" align=center bgColor=#b3c4db borderColorLight=#003366 border=0>
<TR bgcolor="#a6d0f2">
<TD align=middle height=23 colspan="5"><div align="center" class="style1">项目审出问题明细 </div></TD>
</TR>
<tr bgcolor="#EEF4FF">
<td width="371" bgcolor="#EEF4FF"><p align="center"><strong>问题类别 </strong></p></td>
<td width="150"><p align="center"><strong>审增金额(元) </strong></p></td>
<td width="150"><p align="center"><strong>审减金额(元)</strong></p></td>
<td width="142"><p align="center"><strong>净审减额(元) </strong></p></td>
</tr>
<c:forEach var="item" items="${itemList}" varStatus="idx">
<tr>
<td width="371" bgcolor="#EEF4FF" id='prob<c:out value="${item.scriptitemno}"/>'>
<c:out value="${item.problemtypename}"/>
</td>
<td width="150" bgcolor="#EEF4FF" id='ic<c:out value="${item.scriptitemno}"/>'>
<fmt:formatNumber pattern=".00"><c:out value="${item.increase}"/></fmt:formatNumber></td>
<td width="150" bgcolor="#EEF4FF" id='dc<c:out value="${item.scriptitemno}"/>'>
<fmt:formatNumber pattern=".00"><c:out value="${item.dncrease}"/></fmt:formatNumber></td>
<td width="142" bgcolor="#EEF4FF" id='nc<c:out value="${item.scriptitemno}"/>'>
<fmt:formatNumber pattern=".00"><c:out value="${item.netincrease}"/></fmt:formatNumber></td>
</tr>
</c:forEach>
<tr>
<td width="371" bgcolor="#EEF4FF"><p align="center"><strong>合计 </strong></p></td>
<td width="150" bgcolor="#EEF4FF"><div align="left"><c:out value="${scriptInfo.increasesum}"/></div></td>
<td width="150" bgcolor="#EEF4FF"><div align="left"><c:out value="${scriptInfo.dncreasesum}"/></div></td>
<td width="142" bgcolor="#EEF4FF"><div align="left"><c:out value="${scriptInfo.netdecisionsum}"/></div></td>
</tr>
</table>
</c:if>
<c:if test="${scriptInfo.scripttype != '1' && scriptInfo.scripttype != '2'}">
<!--
div id=wtlbdiv style="position:absolute; left:250px; top:177px; width:260px; visibility:hidden; z-index:901; height: 185px;"
onmouseover="userMenuVisible=true" >
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr bgcolor="#EEFFF7">
<td height="150" valign="top">
<script>
var tree = new WebFXLoadTree("问题类别", "/cnpc/servlet/TcodeXmlTreeServlet?code=wtlb&codeField=problemtype&nameField=problemtypename&divId=wtlbdiv&type=3");
document.write(tree);
drag(wtlbdiv);
</script>
</td>
</tr>
</table>
</div>
<div id=clfsdiv style="position:absolute; left:250px; top:177px; width:160px; visibility:hidden; z-index:902; height: 185px;"
onmouseover="userMenuVisible=true">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr bgcolor="#EEFFF7">
<td height="150" valign="top">
<script>
var tree = new WebFXLoadTree("处理方式", "/cnpc/servlet/TcodeXmlTreeServlet?code=clfs&codeField=processtype&nameField=processtypename&divId=clfsdiv&type=3");
document.write(tree);
drag(clfsdiv);
</script>
</td>
</tr>
</table>
</div
-->
</c:if>
<div id=clfsdiv style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'" onMouseOut="this.style.display='none'">
<table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr bgcolor="#EEFFF7">
<td height="150" valign="top">
<script>
var tree = new WebFXLoadTree("处理方式", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=clfs&codeField=processtype&nameField=processtypename&divId=clfsdiv");
document.write(tree);
</script>
</td>
</tr>
</table>
</div>
</form>
<script>
function _save(){
var sForm = document.form1;
var check_s = sForm.check_state.value;
var check_f = sForm.check_fruittypename.value;
if(check_s == "3" && (check_f != null && check_f != ""))
{
alert("所选为整改通过底稿,不可再次审理!");
return;
}
var state;
for(i = 0; i < sForm.approvestate.length; i++)
{
if(sForm.approvestate[i].checked)
state = sForm.approvestate[i].value;
}
if(state == "4")
{
if(sForm.approvenote.value == "")
{
alert("请填写审理意见");
sForm.approvenote.focus();
return;
}
}
else if(state != "3")
{
alert("请选择审理结果");
return;
}
sForm.submit();
}
var s1 = document.getElementById("s1");
var s2 = document.getElementById("s2");
var infotbl = document.getElementById("infotable");
var itemtbl = document.getElementById("itemtable");
var bconfirm = document.getElementById("confirm");
function _viewItem()
{
if(infotbl && itemtbl)
{
infotbl.style.display = "none";
bconfirm.style.display = "none";
itemtbl.style.display = "";
if(s1 && s2)
{
s1.style.backgroundColor="#EEF4FF";
s2.style.backgroundColor="#a6d0f2";
}
}
}
function _viewInfo()
{
if(infotbl && itemtbl)
{
infotbl.style.display = "";
bconfirm.style.display = "";
itemtbl.style.display = "none";
if(s1 && s2)
{
s1.style.backgroundColor="#a6d0f2";
s2.style.backgroundColor="#EEF4FF";
}
}
}
</script>
</body>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?