project_zhenggai_info.jsp

来自「java jsp教程」· JSP 代码 · 共 359 行 · 第 1/2 页

JSP
359
字号
<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="com.icss.cnpc.util.Config" %>
<%@ page import="com.icss.j2ee.util.StringUtil"%>
<%@ page import="com.icss.cnpc.project.vo.ScriptInfo" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt" %>
<%
    response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);    
%>
<c:if test="${param.reload == 'true'}">
	<script>window.parent.location.reload();</script>
</c:if>	
<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css">
<script type="text/javascript" src="<%=request.getContextPath()%>/common/project.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/common.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/xtree.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/xmlextras.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/xloadtree.js"></script>
<script type="text/javascript" src="<%=request.getContextPath()%>/common/codeDict.js"></script>
<script type="text/javascript">
webFXTreeConfig.rootIcon		= "<%=request.getContextPath()%>/images/xp/folder.png";
webFXTreeConfig.openRootIcon	= "<%=request.getContextPath()%>/images/xp/openfolder.png";
webFXTreeConfig.folderIcon		= "<%=request.getContextPath()%>/images/xp/folder.png";
webFXTreeConfig.openFolderIcon= "<%=request.getContextPath()%>/images/xp/openfolder.png";
webFXTreeConfig.fileIcon		= "<%=request.getContextPath()%>/images/xp/file.png";
webFXTreeConfig.lMinusIcon		= "<%=request.getContextPath()%>/images/xp/Lminus.png";
webFXTreeConfig.lPlusIcon		= "<%=request.getContextPath()%>/images/xp/Lplus.png";
webFXTreeConfig.tMinusIcon		= "<%=request.getContextPath()%>/images/xp/Tminus.png";
webFXTreeConfig.tPlusIcon		= "<%=request.getContextPath()%>/images/xp/Tplus.png";
webFXTreeConfig.iIcon			= "<%=request.getContextPath()%>/images/xp/I.png";
webFXTreeConfig.lIcon			= "<%=request.getContextPath()%>/images/xp/L.png";
webFXTreeConfig.tIcon			= "<%=request.getContextPath()%>/images/xp/T.png";
webFXTreeConfig.blankIcon		= "<%=request.getContextPath()%>/images/xp/blank.png";
</script>
<style type="text/css">
<!--	
.tag1 {
	background-color:#a6d0f2; 
	width:73px; position:absolute; 
	left:42px; 
	top: 9px;
	
	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:115px; 
	top: 9px;
	
	font-weight:300;
	height:15px; 
	border-bottom-color:#FFFFFF; 
	font-size:13px; 
	text-align:center;
	cursor:hand;
}	
-->
</style>
</head>
<BODY text=#000000 leftMargin=0 background="<%=request.getContextPath()%>/images/grid.gif" topMargin="10">
<%
	ScriptInfo sInfo = (ScriptInfo)request.getAttribute("script");
	if(sInfo != null)
	{
		Boolean canEdit = (Boolean)request.getAttribute("canEdit");
		if(canEdit != null && canEdit.booleanValue() )
		{
%>
<br>
	<div  class="tag1" id="s1" onclick="_viewInfo()">审计底稿</div>
	<div  class="tag2" id="s2" onclick="_viewItem()">审计明细</div>
<TABLE cellSpacing=0 cellPadding=0 width="90%" align=center border=0>
            <TBODY>
              <TR>
                <TD align=middle>

<form name="form1" method="post" action="<%=request.getContextPath()%>/servlet/SaveFruitScriptServlet">
<input type="hidden" name="scriptNo" value='<c:out value="${script.scriptno}"/>'>
<input type="hidden" name="scripttype" value='<c:out value="${script.scripttype}"/>'>
<input type="hidden" name="fruittype" value='<c:out value="${script.fruittype}"/>'>
					<table cellspacing=1 bordercolordark=#dfdfff cellpadding=2 id="infotable"
				            width="100%" align=center bgcolor=#b3c4db bordercolorlight=#003366 border=0>
                    <tbody>
                      <tr bgcolor="#a6d0f2">
                        <td align=middle height=26 colspan="4"><div align="center" class="style1">形 成 经 济 成 果</div></td>
                      </tr>
                      <tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
                        <td width="19%" height="23" align=right>被审计单位:</td>
                        <td width="39%" height="23" id="unit">
							<c:out value="${script.problemorgname}"/>                        	
                        </td>
                        <td height="23" width="19%" align="right">问题金额:</div></td>
                        <td height="23" >
							<fmt:formatNumber pattern=".00"><c:out value="${script.problemsum}"/></fmt:formatNumber>
						</td>
                      </tr>
                      <tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
                      	<td height="23"><div align="right">问题摘要:</div></td>
                        <td height="23" id="qtype"><c:out value="${script.problemnote}"/></td>
                        <td height="23" width="19%" ><div align="right">问题类别:</div></td>
                        <td height="23" id="qtype"><c:out value="${script.problemtypename}"/></td>                        
                      </tr>
                      <!-- 
                      <tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
                        <td height="23"><div align="right">处理意见:</div></td>
                        <td height="23" id="processName"><c:out value="${script.processnote}"/></td>
                        <td height="23" width="19%" ><div align="right">处理方式:</div></td>
                        <td height="23" id="processName"><c:out value="${script.processtypename}"/></td>                       
                      </tr>
                      -->
                      <tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
                      <td height="23" width="19%" ><div align="right">记帐凭证:</div></td>
			          <td height="23" colspan="3">
            			<input name="accountcardno" type="text" size="10" value='<c:out value="${script.accountcardno}"/>'>   
            		  </td>	
                      <!-- 
                      <td height="23" ><div align="right">纠正金额:</div></td>
                      <td height="23" >
                           <input name="processsum" size=10 value='<fmt:formatNumber pattern=".00"><c:out value="${script.processsum}"/></fmt:formatNumber>'>元
                      </td>
                         
            		  </tr>	  
                      <tr onMouseOver="this.bgColor='#EBEBEB';" onMouseOut="this.bgColor='#EEF4FF';" bgcolor=#eef4ff>
                        <td height="23" ><div align="right">成果金额:</div></td>
                        <td height="23" align=right><div align="left">
                          <input name="fruitsum" type="text" size="10" 
							value='<fmt:formatNumber pattern=".00"><c:out value="${script.fruitsum}"/></fmt:formatNumber>'>元
                            </div>
						</td>
						<td height="23" width="19%" ><div align="right">成果类别:</div></td>
						<td height="23" ><div align="left">
		              <input name="fruittypename" value='<c:out value="${script.fruittypename}"/>' type="text" readonly size="10">
        		      <img src="<%=request.getContextPath()%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('cglbdiv')"></div>
						</td>						
					</tr>
					-->      
					
          </tbody>
      </table>
<!-- 
<div id=cglbdiv style="position:absolute;display:none; left:0px; top:137px; width:180px; z-index:901; height: 100px;"
	 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("成果类别", 
						"/cnpc/servlet/TcodeXmlTreeServlet?code=cglb&codeField=fruittype&nameField=fruittypename&divId=cglbdiv&type=5");
				document.write(tree);
			</script>
			  </td>
		    </tr>
	     </table>
	</div>
 -->	
</form>
				</TD>
              </TR>
		<tr><td>
  <p align="center"><img src="<%=request.getContextPath()%>/images/confirm.gif" id="confirm" 
  	style="cursor:hand" onClick="_save()"></p>
		</td></tr>
            </TBODY>
          </TABLE>
<%
	}
	else
	{
%>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?