Fin_Item_Modify.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:4k
源码类别:
电子政务应用
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page language="java" %>
- <%@ page errorPage="/vnex/ErrorPage.jsp" %>
- <%@ page import="java.util.*" %>
- <%@ page import="java.lang.*" %>
- <%@ page import="com.vnex.intranet.budget.value.*" %>
- <%@ page import="com.vnex.intranet.util.FieldUtil" %>
- <jsp:useBean id="BudgetProxy" scope="application" class="com.vnex.intranet.budget.proxy.BudgetProxyBean" />
- <HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
- <script language="JavaScript1.2" src="/vnex/menu/dockmenu_finance.js"></script><script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
- <script language="javascript" src="/vnex/validate.js" ></script>
- <script language="JavaScript">
- function check()
- {
- if (!stripWhitespace(document.form1.name.value) || document.form1.name.value=="" )
- {
- alert("项目名不能为空!");
- return false;
- }
- else
- return true;
- }
- function toSuccess()
- {
- if (check()&&confirm("修改后可能影响此项目在以前使用时的含义,确定修改吗?"))
- {
- form1.action="itemModifySuccess";
- form1.submit();
- }
- }
- </script>
- <BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
- <DIV align=center>
- <form name="form1" method="post" action="itemModifySuccess">
- <TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
- <jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
- <TR>
- <TD colSpan=3 align="center" class="iframestyle" valign="top"><br>
- <table width="600" border="1" cellspacing="1" bordercolor="#666666">
- <tr valign="top">
- <td >
- <table width="600" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/finance/main"><font color="#FFFFFF">财务</font></a>>><a href="/mainctrl/financial/itemManagement"><font color="#FFFFFF">项目维护</font></a><font color="#FFFFFF">>>修改项目</font></font></td>
- </tr>
- </table>
- <table width="600" border="0" cellspacing="1" cellpadding="2" class=title>
- <%
- int id = (Integer.valueOf(request.getParameter("id"))).intValue();
- Collection coll = BudgetProxy.showAllItem();
- Iterator iter = coll.iterator();
- while(iter.hasNext())
- {
- BudgetValueBean valueBean = (BudgetValueBean)iter.next();
- if(id==valueBean.getId())
- {
- %>
- <tr bgcolor="#fafafa">
- <td width="101"><font class="strong"> 项目:</font></td>
- <input type =hidden name="id" value="<%=valueBean.getId()%>">
- <td width="486">
- <input type="text" name="name" class="text" size="20" value="<%=FieldUtil.filterQuotTag(valueBean.getName())%>" maxlength="15">
- * (注:带*为必填内容) </td>
- </tr>
- <tr bgcolor="#e0e0e0">
- <td width="101"><font class="strong"> 备注:</font></td>
- <td width="486">
- <input type="text" name="description" class="text" size="40" value="<%=FieldUtil.filterQuotTag(valueBean.getDescription())%>" maxlength="100">
- </td>
- </tr>
- <%
- }
- }
- %>
- <tr bgcolor="#fafafa">
- <td colspan="2" height="30" align="center">
- <input type="button" value="保存" class="text" onclick="toSuccess()">
-
- <input type="reset" value="重置" class="text">
-
- <input type="button" onClick="history.back()" value="放弃" class="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <jsp:include page="/vnex/page/TTOA_HELP.jsp" />
- </TD>
- </TR>
- <jsp:include page="/vnex/page/TTOA_TABLE_BOTTOM.jsp" />
- </TABLE>
- <BR>
- <jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
- </form>
- </DIV>
- </BODY>
- </HTML>