Fin_Item_Management_Judge.jsp
资源名称:NetOffice.rar [点击查看]
上传用户:guhaomin
上传日期:2007-06-10
资源大小:23203k
文件大小:5k
源码类别:
电子政务应用
开发平台:
Java
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
- <%@ page language="java" %>
- <%@ page import="java.util.*" %>
- <%@ page import="java.lang.*" %>
- <%@ page import="com.vnex.intranet.budget.value.*" %>
- <jsp:useBean id="BudgetProxy" scope="application" class="com.vnex.intranet.budget.proxy.BudgetProxyBean" />
- <%
- String month = request.getParameter("year")+"-"+request.getParameter("month");
- int start = 1;
- int total = (Integer.valueOf(request.getParameter("total"))).intValue();
- int checked = 1;
- int noCheck = 0;
- ArrayList array = new ArrayList();
- BudgetValueBean budgetValue = null;
- while(start <= total)
- {
- if (request.getParameter("status"+start) != null)
- {
- budgetValue = new BudgetValueBean();
- budgetValue.setId((Integer.valueOf(request.getParameter("id"+start))).intValue());
- array.add(budgetValue);
- }
- start++;
- }
- int statusNow = BudgetProxy.judgeStatus(month);
- session.setAttribute("budgetCreateAll", array);
- session.setAttribute("month", month);
- //BudgetProxy.insertAllItem(array, month);
- %>
- <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">
- </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="itemManagementCreateSuccess">
- <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 class="strongw"><font color="#FFFFFF">生成</font></font></font></td>
- </tr>
- </table>
- <%
- if (statusNow == 1)
- {
- %>
- <table width="600" border="0" cellspacing="1" cellpadding="2" class=title>
- <tr bgcolor="#e0e0e0">
- <td bgcolor="#fafafa"><font class="strong"> 您确定要插入本月(<%=month%>)预算项目吗?</font></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td height="30">
- <input type="button" value="确认" class="text" name="Button" onClick="location='/mainctrl/financial/itemManagementCreateAll'">
-
- <input type="button" name="Button23" value="放弃" class="text" onclick="location='/mainctrl/financial/itemManagement'">
- </td>
- </tr>
- </table>
- <%
- }
- else if(statusNow == 2)
- {
- %>
- <table width="600" border="0" cellspacing="1" cellpadding="2" class=title>
- <tr bgcolor="#e0e0e0">
- <td bgcolor="#fafafa"><font class="strong"> 这个月(<%=month%>)的预算项目以前已经被生成了,您确定要覆盖吗?</font></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td height="30">
- <input type="button" value="确认" class="text" name="Button2" onClick="location='/mainctrl/financial/itemManagementCreateAll'">
-
- <input type="button" name="Button23" value="放弃" class="text" onclick="location='/mainctrl/financial/itemManagement'">
- </td>
- </tr>
- </table>
- <%
- }
- else if(statusNow == 3)
- {
- %>
- <table width="600" border="0" cellspacing="1" cellpadding="2" class=title>
- <tr bgcolor="#e0e0e0">
- <td bgcolor="#fafafa"><font class="strong"> 这个月(<%=month%>)的预算项目以前被生成并已经使用,生成失败!</font></td>
- </tr>
- <tr align="center" bgcolor="#fafafa">
- <td height="30">
- <input type="button" name="Button23" value="返回" class="text" onclick="location='/mainctrl/financial/itemManagement'">
- </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>