📄 project_managercard3.jsp
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%@ page import="java.util.Map" %>
<%@ page import="com.icss.cnpc.util.Config" %>
<%
response.setHeader("Pragma", "No-cache");
response.setHeader("Cache-Control", "no-cache");
response.setDateHeader("Expires", 0);
%>
<%
String projType = (String)request.getAttribute("projType");
Map sumMap = (Map)request.getAttribute("itemSum");
pageContext.setAttribute("sumMap",sumMap);
String role = (String)request.getAttribute("role");
boolean canEdit = false;
if(role != null && (role.indexOf("$"+Config.ACTOR_LEADER+"$") >= 0 || role.indexOf("$"+Config.ACTOR_CHIEF_UMPIRE+"$") >= 0) )
{
canEdit = true;
}
%>
<html>
<head>
<title>资料卡补充信息</title>
<meta http-equiv="Content-Type" content="text/html;charset=GBK">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css">
<script language="JavaScript" src="<%=request.getContextPath()%>/js/common.js"></script>
<style type="text/css">
<!--
body {
background-image: url(<%=request.getContextPath()%>/images/grid.gif);
}
.inp1 {
BORDER-RIGHT: #999999 1px solid; BORDER-TOP: #999999 1px solid; FONT-SIZE: 12px; BORDER-LEFT: #999999 1px solid; COLOR: #000000; PADDING-TOP: 2px; BORDER-BOTTOM: #999999 1px solid; HEIGHT: 15px; BACKGROUND-COLOR: #ffffff;FONT-SIZE: 9pt
}
.tag1 {
background-color:#6699CC;
width:73px; position:absolute;
left:50px;
top: 14px;
font-weight:300;
height:15px;
border-bottom-color:#FFFFFF;
font-size:13px;
text-align:center;
cursor:hand;
}
.tag2 {
background-color:#EEF4FF;
width:73px; position:absolute;
left:123px;
top: 14px;
font-weight:300;
height:15px;
border-bottom-color:#FFFFFF;
font-size:13px;
text-align:center;
cursor:hand;
}
.tag3 {
background-color:#EEF4FF;
width:73px; position:absolute;
left:191px;
top: 14px;
font-weight:300;
height:15px;
border-bottom-color:#FFFFFF;
font-size:13px;
text-align:center;
cursor:hand;
border-color:#6699CC;
border:1
}
.style2 {color: #FF0000}
.style3 {font-size: 16pt}
-->
</style>
<script>
var changedFlag = false;
function _viewCardInfo(){
if(changedFlag)
{
if(confirm("是否保存您修改的信息"))
{
_save();
return;
}
}
var projNo = '<c:out value="${projInfo.projectno}"/>';
window.location = "/cnpc/servlet/ShowCardBasicInfoServlet?projNo=" + projNo;
}
function _viewScript(){
if(changedFlag)
{
if(confirm("是否保存您修改的信息"))
{
_save();
return;
}
}
var projNo = '<c:out value="${projInfo.projectno}"/>';
window.location = "/cnpc/servlet/ShowScriptListServlet?projNo="+projNo+"&scriptState=<%=Config.SCRIPT_COGNIZANCE_PASS%>&toJsp=/jsp/project/project_managercard2.jsp";
}
function fireChange()
{
changedFlag = true;
}
function fireChange2()
{
changedFlag = true;
var icpd = 0;
var theForm = window.document.form1;
if(theForm.genbug != null || theForm.genbug != "")
icpd = icpd + parseInt(theForm.genbug.value);
if(theForm.fatalbug != null || theForm.fatalbug != "")
icpd = icpd + parseInt(theForm.fatalbug.value);
if(theForm.subsbug != null || theForm.subsbug != "")
icpd = icpd + parseInt(theForm.subsbug.value);
if(theForm.exceptitem != null || theForm.exceptitem != "")
icpd = icpd + parseInt(theForm.exceptitem.value);
theForm.icpDiscover.value = icpd;
}
function fireChange3()
{
changedFlag = true;
var icpc = 0;
var theForm = window.document.form1;
if(theForm.genbug2 != null || theForm.genbug2 != "")
icpc = icpc + parseInt(theForm.genbug2.value);
if(theForm.fatalbug2 != null || theForm.fatalbug2 != "")
icpc = icpc + parseInt(theForm.fatalbug2.value);
if(theForm.subsbug2 != null || theForm.subsbug2 != "")
icpc = icpc + parseInt(theForm.subsbug2.value);
if(theForm.exceptitem2 != null || theForm.exceptitem2 != "")
icpc = icpc + parseInt(theForm.exceptitem2.value);
theForm.icpCorrect.value = icpc;
}
</script>
</head>
<body background=<%=request.getContextPath()%>/images/grid.gif>
<form name="form1">
<input type="hidden" name="projNo" value='<c:out value="${projInfo.projectno}"/>'>
<input type="hidden" name="toJsp" value='/servlet/ShowCardSupplementServlet?projNo=<c:out value="${projInfo.projectno}"/>'>
<br>
<div class="tag1" style="background-color:#EEF4FF " onclick="_viewCardInfo()">基本信息</div>
<div style="background-color: #a6d0f2" class="tag3">补充资料</div>
<div class="tag2" onClick="_viewScript()">审计底稿</div>
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
<TBODY>
<TR>
<TD align=middle><table cellspacing=1 bordercolordark=#dfdfff cellpadding=2
width="100%" align=center bgcolor=#b3c4db bordercolorlight=#003366
border=0>
<tbody>
<tr bgcolor="#a6d0f2">
<td align=middle height=26 colspan="6"><div align="center" class="style3" >补 充 资 料</div></td>
</tr>
<%
if("0".equals(projType)){
%>
<tr bgcolor=#eef4ff onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';">
<td height="23" align=middle><div align="right">审出问题金额:</div></td>
<td height="23" align=middle ><div align="left">
<fmt:formatNumber pattern=".00">
<c:out value="${sumMap['problemsum']}"/>
</fmt:formatNumber> 元</div></td>
<td height="23" align=middle ><div align="right">纠正金额:</div></td>
<td height="23" align=middle ><div align="left">
<fmt:formatNumber pattern=".00"><c:out value="${sumMap['processsum']}"/></fmt:formatNumber> 元</div></td>
<td align=middle ><div align="right">成果金额:</div></td>
<td align=middle ><div align="left">
<fmt:formatNumber pattern=".00"><c:out value="${sumMap['fruitsum']}"/></fmt:formatNumber> 元</div></td>
</tr>
<%
}
else if ("1".equals(projType) || "2".equals(projType)){
%>
<tr bgcolor=#eef4ff onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';">
<td height="23" align=middle><div align="right">送审金额:</div></td>
<td height="23" align=middle ><div align="left">
<fmt:formatNumber pattern=".00"><c:out value="${sumMap['auditsum']}"/></fmt:formatNumber> 元</div></td>
<td height="23" align=middle ><div align="right">审增额:</div></td>
<td height="23" align=middle ><div align="left">
<fmt:formatNumber pattern=".00"><c:out value="${sumMap['increasesum']}"/></fmt:formatNumber> 元</div></td>
<td align=middle ><div align="right">审减额:</div></td>
<td align=middle ><div align="left">
<fmt:formatNumber pattern=".00"><c:out value="${sumMap['dncreasesum']}"/></fmt:formatNumber> 元</div></td>
</tr>
<tr bgcolor=#eef4ff onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';">
<td height="23" align=middle><div align="right">审定金额:</div></td>
<td height="23" align=middle ><div align="left">
<fmt:formatNumber pattern=".00"><c:out value="${sumMap['decisionsum']}"/></fmt:formatNumber> 元</div></td>
<td height="23" align=middle ><div align="right">净审减额:</div></td>
<td height="23" align=middle ><div align="left">
<fmt:formatNumber pattern=".00">
<c:out value="${sumMap['netdecreasesum']}"/>
</fmt:formatNumber> 元</div></td>
<td align=middle > </td>
<td align=middle ><div align="left"></div></td>
</tr>
<%
}
%>
<tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
<td width="17%" height="23" align=middle><div align="right">审计开始日期:</div></td>
<td width="12%" height="23" align=middle id="unit">
<div align="left"><c:out value="${projInfo.begindate}"/></div></td>
<td width="22%" height="23" align=middle><div align="right">审计结束日期:</div>
<td width="15%" height="23" align=middle id="card">
<div align="left"><c:out value="${projInfo.enddate}"/></div>
<td width="13%" align=middle id="card"><div align="right">审计工作日:</div>
<td width="21%" align=left id="card"><c:out value="${projInfo.totalday}"/> 天
</tr>
<tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
<td height="23" align=middle ><div align="right">组长:</div></td>
<td height="23" align=middle id="qtype">
<div align="left"><c:out value="${leader}"/></div></td>
<td height="23" align=middle><div align="right">主审:</div>
<td height="23" align=middle id="dealtype">
<div align="left"><c:out value="${master}"/></div>
<td height="23" align=middle id="qtype"><div align="right"></div></td>
<td height="23" align=middle id="qtype"><div align="left">
</div></td>
</tr>
<tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
<td height="23" align=middle ><div align="right">审计成员:</div></td>
<td height="23" align=middle colspan="5" id="qtype">
<div align="left">
<c:forEach var="member" items="${members}">
<c:out value="${member.personname}"/>
</c:forEach></div></td>
</tr>
<%
if(canEdit)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -