EditAssetInOut.jsp
资源名称:OA.rar [点击查看]
上传用户:mingda
上传日期:2017-06-20
资源大小:27691k
文件大小:23k
源码类别:
OA系统
开发平台:
Java
- <%@ page contentType="text/html; charset=gb2312"%>
- <%@ page import="com.gforce.gfoa.*,com.gforce.currency.*,java.util.*" %>
- <jsp:include page="/CheckLogin.jsp" flush="true"/> <% Session m_session = new Session(session); %>
- <%
- Request m_request = new Request(request);
- int intAssetInOutID = m_request.GetInt("ID");
- String strOperation = m_request.GetString("OperationType");
- int iSysDirID = m_request.GetInt("SysDirID");
- if(intAssetInOutID<1)
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("请选择正确的记录,修改失败!");
- history.back();
- </script>
- <%
- }
- else
- {
- Vector vt = AssetInOutManager.getRecordByID(intAssetInOutID);
- if(vt.size()==1)
- {
- %>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312"><meta http-equiv="pragma" content="no-cache">
- <title>资产出入库管理-- GForce OA 2.0</title>
- <link href="/css/txt.jsp" rel="stylesheet" type="text/css">
- <SCRIPT language="JavaScript" src="/Calendar/PopUpCalendarDlg.js"></SCRIPT>
- <script language="JavaScript" type="text/javascript">
- function checkEditAssetInOut()
- {
- <%
- if (strOperation.equalsIgnoreCase("BuyApply"))
- {
- out.println("if(document.EditAssetInOut.Remark.value=="") {");
- out.println("alert("请输入购买申请的资产!");");
- out.println("document.EditAssetInOut.Remark.focus();");
- out.println("return false;}");
- }else
- if (strOperation.equalsIgnoreCase("InStorage"))
- {
- out.println("if(document.EditAssetInOut.AssetID.value=="") {");
- out.println("alert("请输入入库的名称!");");
- out.println("document.EditAssetInOut.AssetName.focus();");
- out.println("return false;}");
- }else
- if (strOperation.equalsIgnoreCase("OutStorage"))
- {
- out.println("if(document.EditAssetInOut.AssetID.value=="") {");
- out.println("alert("请输入出库的名称!");");
- out.println("document.EditAssetInOut.AssetName.focus();");
- out.println("return false;}");
- }else
- if (strOperation.equalsIgnoreCase("UseApply"))
- {
- out.println("if(document.EditAssetInOut.Remark.value=="") {");
- out.println("alert("请输入出库申请的资产!");");
- out.println("document.EditAssetInOut.Remark.focus();");
- out.println("return false;}");
- out.println("if(!isDate(document.EditAssetInOut.EndTime.value)) {");
- out.println("alert("日期格式错误,请按照“2002-02-18”重新输入!");");
- out.println("document.EditAssetInOut.EndTime.focus();");
- out.println("return false;}");
- }
- %>
- if(isNaN(parseInt(document.EditAssetInOut.Amount.value,10)))
- {
- alert("请输入正确的数量!");
- document.EditAssetInOut.Amount.select();
- document.EditAssetInOut.Amount.focus();
- return false;
- }
- if(!isDate(document.EditAssetInOut.StartTime.value))
- {
- alert("日期格式错误,请按照“2002-02-18”重新输入!");
- document.EditAssetInOut.StartTime.focus();
- return false;
- }
- <%
- if(strOperation.equalsIgnoreCase("UseApply")||strOperation.equalsIgnoreCase("BuyApply"))
- {
- %>
- for(var i=0;i<parseInt(document.EditAssetInOut.ApproveLevel.selectedIndex)+1;i++)
- {
- eval('document.all.ApproveList' + (i+1)).style.display='';
- if(parseInt(eval("document.EditAssetInOut.ApproveUserID" + (i+1)).value)<1)
- {
- alert("请选择第" + (i+1) + "级审批用户!");
- eval("document.EditAssetInOut.PersonnelName" + (i+1)).focus();
- return false;
- }
- }
- <%
- }
- %>
- }
- function PopUpAssetList()
- {
- showx = event.screenX - event.offsetX; // + deltaX;
- showy = event.screenY - event.offsetY+18; // + deltaY;
- var retval = window.showModalDialog("AssetListSelect.jsp?SysDirID=<%=iSysDirID%>", "","dialogWidth:480px; dialogHeight:408px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; help:no; status:no; directories:yes;scrollbars:yes;Resizable=yes; ");
- if(retval!=null)
- {
- if(retval.indexOf("|!|")>0)
- {
- var strtemp = retval.split("|!|");
- document.EditAssetInOut.AssetName.value=strtemp[1];
- document.EditAssetInOut.AssetNumber.value=strtemp[2];
- document.EditAssetInOut.AssetID.value=strtemp[0];
- }
- }
- }
- function PopUpSelectUser(UserName,Number,UserID)
- {
- showx = event.screenX - event.offsetX; // + deltaX;
- showy = event.screenY - event.offsetY+18; // + deltaY;
- var retval = window.showModalDialog("/SelectUser1.jsp", "","dialogWidth:480px; dialogHeight:408px; dialogLeft:"+showx+"px; dialogTop:"+showy+"px; help:no; status:no; directories:yes;scrollbars:yes;Resizable=yes; ");
- if(retval!=null)
- {
- if(retval.indexOf("|!|")>0)
- {
- var strtemp = retval.split("|!|");
- UserName.value=strtemp[1];
- Number.value=strtemp[2];
- UserID.value=strtemp[0];
- }
- }
- }
- </script>
- </head>
- <body bgcolor="<%=m_session.GetString("BackColor")%>" leftmargin="0" topmargin="0">
- <table width="100%" height="100%" border="0" align="center" cellspacing="0">
- <tr>
- <td align="center" valign="top"><p> </p>
- <form name="EditAssetInOut" action="EditAssetInOutAction.jsp?SysDirID=<%=iSysDirID%>&OperationType=<%=strOperation%>" method="post" onSubmit="javascript:return checkEditAssetInOut();">
- <table border="0" cellpadding="0" cellspacing="0" width="90%">
- <!--****************************************名称*****************************************************-->
- <%
- if ((strOperation.equalsIgnoreCase("InStorage"))||(strOperation.equalsIgnoreCase("OutStorage")))
- {
- out.println("<tr>");
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">名称:</td>");
- out.println("<td align="left" valign="middle" nowrap>");
- out.println("<input name="AssetName" type="text" maxlength="40" size="37" Value=""+ AssetManager.getAssetNameByID(Integer.parseInt(((Vector)vt.get(0)).get(7).toString())) +"" onFocus="PopUpAssetList();" onDblClick="PopUpAssetList();" readonly="true">");
- out.println("</td>");
- out.println("</tr>");
- out.println("<tr>");
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">编号:</td>");
- out.println("<td align="left" valign="middle" nowrap>");
- out.println("<input name="AssetNumber" type="text" maxlength="40" size="37" Value=""+ AssetManager.getAssetNumberByID(Integer.parseInt(((Vector)vt.get(0)).get(7).toString())) +"" onFocus="PopUpAssetList();" onDblClick="PopUpAssetList();" readonly="true">");
- out.println("</td>");
- out.println("</tr>");
- }
- %>
- <!--****************************************Reamark字段*****************************************************-->
- <tr>
- <%
- if (strOperation.equalsIgnoreCase("BuyApply"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">申请购买资产:</td>");
- }else
- if (strOperation.equalsIgnoreCase("InStorage"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">备注:</td>");
- }else
- if (strOperation.equalsIgnoreCase("OutStorage"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">备注:</td>");
- }else
- if (strOperation.equalsIgnoreCase("UseApply"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">申请使用资产:</td>");
- }
- %>
- <td align="left" valign="middle" nowrap>
- <input name="ID" type="hidden" value="<%=((Vector)vt.get(0)).get(0).toString()%>">
- <input name="OperateUserID" type="hidden" value="<%=((Vector)vt.get(0)).get(4).toString()%>">
- <input name="Operation" type="hidden" value="<%=((Vector)vt.get(0)).get(1).toString()%>">
- <%java.util.Date t_Date = new java.util.Date();%>
- <%
- if (!strOperation.equalsIgnoreCase("UseApply"))
- {
- out.println("<input name="EndTime" type="hidden" value="">");
- }
- %>
- <textarea name="Remark" cols="30" rows="5"><%=((Vector)vt.get(0)).get(5).toString()%></textarea>
- <input name="OperateTime" type="hidden" value="<%=StringNew.GetDateString(t_Date,"yyyy-MM-dd HH:mm:ss.SSS")%>">
- <input name="AssetID" type="hidden" value="<%=((Vector)vt.get(0)).get(7).toString()%>">
- </td>
- </tr>
- <!--****************************************数量*****************************************************-->
- <tr>
- <td align="right" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>" width="100">数量:</td>
- <td align="left" valign="middle" nowrap>
- <input name="Amount" type="text" maxlength="9" size="5" Value="<%=((Vector)vt.get(0)).get(8).toString()%>">
- </td>
- </tr>
- <!--****************************************StratTime字段*****************************************************-->
- <tr>
- <%
- if (strOperation.equalsIgnoreCase("BuyApply"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">预计使用时间:</td>");
- }else
- if (strOperation.equalsIgnoreCase("InStorage"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">入库时间:</td>");
- }else
- if (strOperation.equalsIgnoreCase("OutStorage"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">出库时间:</td>");
- }else
- if (strOperation.equalsIgnoreCase("UseApply"))
- {
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">预计领用时间:</td>");
- }
- %>
- <td align="left" valign="middle" nowrap>
- <input name="StartTime" type="text" Value="<%=StringNew.GetDateString(((Vector)vt.get(0)).get(2).toString(),"yyyy-MM-dd")%>" onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value,-5,+5);" maxlength="12" size="12" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value,-5,+5);">
- </td>
- </tr>
- <!--****************************************EndTime字段*****************************************************-->
- <%
- if (strOperation.equalsIgnoreCase("UseApply"))
- {
- out.println("<tr>");
- out.println("<td align="right" valign="middle" bgcolor="" + m_session.GetString("TitleColor") + "" width="100">预计归还时间:</td>");
- out.println("<td align="left" valign="middle" nowrap>");
- out.println("<input name="EndTime" type="text" Value="" + StringNew.GetDateString(((Vector)vt.get(0)).get(3).toString(),"yyyy-MM-dd") + "" onFocus="JavaScript:this.value=fPopUpCalendarDlg(this.value,-5,+5);" maxlength="12" size="12" onDblClick="JavaScript:this.value=fPopUpCalendarDlg(this.value,-5,+5);">");
- out.println("</td></tr>");
- }
- if (strOperation.equalsIgnoreCase("UseApply")||strOperation.equalsIgnoreCase("BuyApply"))
- {
- String strApproveType = "";
- if(strOperation.equalsIgnoreCase("BuyApply"))
- {
- strApproveType="采购申请";
- }
- else if(strOperation.equalsIgnoreCase("UseApply"))
- {
- strApproveType="领用申请";
- }
- vt = ApproveRecordManager.getRecordByRecordID(intAssetInOutID,strApproveType);
- %>
- <tr>
- <td align="right" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>">审批级别:</td>
- <td align="left" valign="middle" nowrap>
- <select name="ApproveLevel" onchange="for(var i=0;i<7;i++){if(i>this.selectedIndex){eval('document.all.ApproveList' + (i+1)).style.display='none';}else{eval('document.all.ApproveList' + (i+1)).style.display='';}}">
- <%
- for(int i=0;i<7;i++)
- {
- if((i+1)==vt.size())
- {
- out.println("<option value="" + (i+1) + "" selected>" + (i+1) + "级</option>");
- }
- else
- {
- out.println("<option value="" + (i+1) + "">" + (i+1) + "级</option>");
- }
- }
- %>
- </select>
- </td>
- </tr>
- <tr>
- <td align="right" valign="middle" bgcolor="<%=m_session.GetString("TitleColor")%>"> </td>
- <td align="center" valign="middle" nowrap>
- <table border="1" cellpadding="0" cellspacing="0" width="95%">
- <tr bgcolor="<%=m_session.GetString("TitleColor")%>">
- <th align="center" valign="middle" nowrap>级别</th>
- <th align="center" valign="middle" nowrap>员工姓名</th>
- <th align="center" valign="middle" nowrap>员工编号</th>
- </tr>
- <tr ID="ApproveList1" <%=(1>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>一级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName1" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName1,document.EditAssetInOut.PersonnelNumber1,document.EditAssetInOut.ApproveUserID1);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName1,document.EditAssetInOut.PersonnelNumber1,document.EditAssetInOut.ApproveUserID1);" value="<%=(1<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(0)).get(3).toString())):""%>"><input name="ApproveUserID1" type="Hidden" value="<%=(1<=vt.size())?((Vector)vt.get(0)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber1" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName1,document.EditAssetInOut.PersonnelNumber1,document.EditAssetInOut.ApproveUserID1);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName1,document.EditAssetInOut.PersonnelNumber1,document.EditAssetInOut.ApproveUserID1);" value="<%=(1<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(0)).get(3).toString())):""%>"></td>
- </tr>
- <tr ID="ApproveList2" <%=(2>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>二级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName2" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName2,document.EditAssetInOut.PersonnelNumber2,document.EditAssetInOut.ApproveUserID2);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName2,document.EditAssetInOut.PersonnelNumber2,document.EditAssetInOut.ApproveUserID2);" value="<%=(2<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(1)).get(3).toString())):""%>"><input name="ApproveUserID2" type="Hidden" value="<%=(2<=vt.size())?((Vector)vt.get(1)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber2" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName1,document.EditAssetInOut.PersonnelNumber1,document.EditAssetInOut.ApproveUserID1);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName2,document.EditAssetInOut.PersonnelNumber2,document.EditAssetInOut.ApproveUserID2);" value="<%=(2<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(1)).get(3).toString())):""%>"></td>
- </tr>
- <tr ID="ApproveList3" <%=(3>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>三级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName3" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName3,document.EditAssetInOut.PersonnelNumber3,document.EditAssetInOut.ApproveUserID3);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName3,document.EditAssetInOut.PersonnelNumber3,document.EditAssetInOut.ApproveUserID3);" value="<%=(3<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(2)).get(3).toString())):""%>"><input name="ApproveUserID3" type="Hidden" value="<%=(3<=vt.size())?((Vector)vt.get(2)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber3" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName3,document.EditAssetInOut.PersonnelNumber3,document.EditAssetInOut.ApproveUserID3);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName3,document.EditAssetInOut.PersonnelNumber3,document.EditAssetInOut.ApproveUserID3);" value="<%=(3<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(2)).get(3).toString())):""%>"></td>
- </tr>
- <tr ID="ApproveList4" <%=(4>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>四级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName4" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName4,document.EditAssetInOut.PersonnelNumber4,document.EditAssetInOut.ApproveUserID4);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName4,document.EditAssetInOut.PersonnelNumber4,document.EditAssetInOut.ApproveUserID4);" value="<%=(4<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(3)).get(3).toString())):""%>"><input name="ApproveUserID4" type="Hidden" value="<%=(4<=vt.size())?((Vector)vt.get(3)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber4" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName4,document.EditAssetInOut.PersonnelNumber4,document.EditAssetInOut.ApproveUserID4);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName4,document.EditAssetInOut.PersonnelNumber4,document.EditAssetInOut.ApproveUserID4);" value="<%=(4<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(3)).get(3).toString())):""%>"></td>
- </tr>
- <tr ID="ApproveList5" <%=(5>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>五级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName5" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName5,document.EditAssetInOut.PersonnelNumber5,document.EditAssetInOut.ApproveUserID5);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName5,document.EditAssetInOut.PersonnelNumber5,document.EditAssetInOut.ApproveUserID5);" value="<%=(5<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(4)).get(3).toString())):""%>"><input name="ApproveUserID5" type="Hidden" value="<%=(5<=vt.size())?((Vector)vt.get(4)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber5" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName5,document.EditAssetInOut.PersonnelNumber5,document.EditAssetInOut.ApproveUserID5);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName5,document.EditAssetInOut.PersonnelNumber5,document.EditAssetInOut.ApproveUserID5);" value="<%=(5<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(4)).get(3).toString())):""%>"></td>
- </tr>
- <tr ID="ApproveList6" <%=(6>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>六级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName6" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName6,document.EditAssetInOut.PersonnelNumber6,document.EditAssetInOut.ApproveUserID6);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName6,document.EditAssetInOut.PersonnelNumber6,document.EditAssetInOut.ApproveUserID6);" value="<%=(6<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(5)).get(3).toString())):""%>"><input name="ApproveUserID6" type="Hidden" value="<%=(6<=vt.size())?((Vector)vt.get(5)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber6" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName6,document.EditAssetInOut.PersonnelNumber6,document.EditAssetInOut.ApproveUserID6);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName6,document.EditAssetInOut.PersonnelNumber6,document.EditAssetInOut.ApproveUserID6);" value="<%=(6<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(5)).get(3).toString())):""%>"></td>
- </tr>
- <tr ID="ApproveList7" <%=(7>vt.size())?"style="display:none"":""%>>
- <td align="center" valign="middle" nowrap>七级</td>
- <td align="center" valign="middle" nowrap><input name="PersonnelName7" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName7,document.EditAssetInOut.PersonnelNumber7,document.EditAssetInOut.ApproveUserID7);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName7,document.EditAssetInOut.PersonnelNumber7,document.EditAssetInOut.ApproveUserID7);" value="<%=(7<=vt.size())?UserManager.getPersonnelNameByUserID(Integer.parseInt(((Vector)vt.get(6)).get(3).toString())):""%>"><input name="ApproveUserID7" type="Hidden" value="<%=(7<=vt.size())?((Vector)vt.get(6)).get(3).toString():"0"%>"></td>
- <td align="center" valign="middle" nowrap><input name="PersonnelNumber7" type="text" readonly size="20" onFocus="PopUpSelectUser(document.EditAssetInOut.PersonnelName7,document.EditAssetInOut.PersonnelNumber7,document.EditAssetInOut.ApproveUserID7);" onDblClick="PopUpSelectUser(document.EditAssetInOut.PersonnelName7,document.EditAssetInOut.PersonnelNumber7,document.EditAssetInOut.ApproveUserID7);" value="<%=(7<=vt.size())?UserManager.getPersonnelNumberByUserID(Integer.parseInt(((Vector)vt.get(6)).get(3).toString())):""%>"></td>
- </tr>
- </table>
- </td>
- </tr>
- <%
- }
- %>
- <tr align="center">
- <td colspan="2" valign="middle">
- <input type="submit" value="修改"> <input type="reset" value="重填"> <input type="button" value="返回" onclick="window.location='AssetInOutManage.jsp?SysDirID=<%=iSysDirID%>&OperationType=<%=strOperation%>';">
- </td>
- </tr>
- </table>
- </form>
- </td>
- </tr>
- </table>
- </body>
- </html>
- <%
- }
- else
- {
- %>
- <script language="JavaScript" type="text/JavaScript">
- alert("该记录已经被删除或者您没有权限修改此记录,修改失败!");
- history.back();
- </script>
- <%
- }
- }
- %>