📄 equipment_modify.jsp
字号:
}
function toSuccess()
{
if (isDataValid())
{
myForm.action="/mainctrl/equipmentModifySuccess?equipmentId=<%= sId%>";
myForm.submit();
}
}
function toCategory()
{
if (isNumberValid())
{
<%
session.removeAttribute("equipmentValue2");
%>
myForm.action="/mainctrl/equipmentModifySave?pageName=equipmentModify";
myForm.submit();
}
}
</script>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><jsp:include page="/vnex/page/FORM_HEAD.jsp" />
<BODY text=#000000 vLink=#000000 aLink=#000000 link=#000000 bgColor=#ffffff topMargin=20 leftmargin="0" marginwidth="0" marginheight="0">
<script language="JavaScript1.2" src="/vnex/menu/dockmenu_office.js"></script>
<script language="JavaScript1.2" src="/vnex/menu/dockmenu.js"></script>
<DIV align=center>
<form name="myForm" method="post" action="">
<TABLE class=outter cellSpacing=0 cellPadding=0 width=600 border=0>
<TBODY>
<jsp:include page="/vnex/page/TTOA_TABLE_TOP.jsp" />
<TR>
<TD colSpan=3 align="center"><br>
<table width="600" border="1" cellspacing="1" bordercolor="#666666">
<tr bgcolor="#FAFAFA">
<td>
<table width="600" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="3" height="15" bgcolor="#666666"><font class="strongw"><a href="/mainctrl/home/index"><font color="#FFFFFF">首页</font></a>>><a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>>><a href = "/mainctrl/equipmentSearchResult"><font color="#FFFFFF">固定资产管理</font></a>>><a href="/mainctrl/equipmentDetail?equipmentId=<%=sId%>"><font color="#FFFFFF">固定资产详细信息</font></a>>>修改固定资产信息</font>
</td>
</tr>
</table>
<table class=title width="600" border="0" cellspacing="1" cellpadding="2">
<tr bgcolor="#e0e0e0">
<td width="125">
<div align="left"><font class="strong" > 资产类别:</font></div>
</td>
<td width="452">
<input type="hidden" name="categoryId" size="24" class="file" value="<%= equipmentValue2.getCategoryId()%>">
<input type="text" name="categoryName" size="24" class="file" readonly value="<%= FieldUtil.filterQuotTag(equipmentValue2.getCategoryName())%>">
<input type="button" name="Submit3" value="选择" class="file" onClick = toCategory()> * (注:带*为必填内容)
</td>
</tr>
<tr bgcolor="#fafafa">
<td width="125">
<div align="left"><font class="strong" > 名称:</font> </div>
</td>
<td width="452">
<input type="text" name="equipmentName" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getEquipmentName())%>"> *
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="125">
<div align="left"><font class="strong"> 用途: </font></div>
</td>
<td width="452"><font class="strong">
<input type="text" name="purpose" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getPurpose())%>">
</font></td>
</tr>
<tr bgcolor="#fafafa">
<td width="125">
<div align="left"><font class="strong"><font class="strong"> 型号:<font class="strong">
</font> </font></font></div>
</td>
<td width="452"><font class="strong"><font class="strong">
<input type="text" name="model" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getModel())%>">
</font></font></td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="125"><font class="strong"><font class="strong"> 资产编号:</font></font></td>
<td width="452"><font class="strong">
<input type="text" name="equipmentCode" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getEquipmentCode())%>"> *
</font></td>
</tr>
<tr bgcolor="#fafafa">
<td width="125"><font class="strong"> 配置</font>:</td>
<td width="452"><font class="strong"><font class="strong">
<input type="text" name="configure" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getConfigure())%>">
</font></font></td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="125">
<div align="left"><font class="strong"> 购买价格</font>:</div>
</td>
<td width="452"><font class="strong"><font class="strong">
<input type="text" name="price" size="24" class="file" size="4" value="<%= equipmentValue2.getPrice()%>">
</font></font>元 *</td>
</tr>
<tr bgcolor="#fafafa">
<td width="125">
<div align="left"><font class="strong"> 购买日期</font>:</div>
</td>
<td width="452">
<div align="left">
<input type="text" name="beginDay" readonly size="24" class="text" value="<%= equipmentValue2.getBeginDay()%>" >
<img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择日期" onClick="fPopUpCalendarDlg(beginDay);return false"> *
</div>
</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="125"><font class="strong"> 购买者:</font></td>
<td width="452">
<select name="buyDeptId" class=choice onChange=change(this)>
<org:DivisionList>
<vnex:items select='<%= equipmentValue2.getBuyDeptId()+"" %>' >
<option value=<org:DivisionAttribute attribute="id"/> <org:DivisionAttribute attribute="isSelected"/> >
<org:DivisionAttribute attribute="levelStr"/>+<org:DivisionAttribute attribute="name"/>
</option>
</vnex:items>
</org:DivisionList>
</select> *
<select name="buyPersonId">
<hr:EmployeeList divisionId='<%= equipmentValue2.getBuyDeptId()%>'>
<vnex:items select ='<%= equipmentValue2.getBuyPersonId()+""%>'>
<option value="<hr:EmployeeAttribute attribute="id" />" <hr:EmployeeAttribute attribute="isSelected"/> >
<hr:EmployeeAttribute attribute='<%= null %>' />
</option>
</vnex:items>
</hr:EmployeeList>
</select>
</td>
</tr>
<tr bgcolor="#fafafa">
<td width="125"><font class="strong"> 供应者:</font></td>
<td width="452"><font class="strong"><font class="strong">
<input type="text" name="supplier" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getSupplier())%>">
</font></font></td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="125">
<div align="left"><font class="strong"> 放置地点</font>:</div>
</td>
<td width="452"><font class="strong">
<input type="text" name="place" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue2.getPlace())%>">
</font> </td>
</tr>
<tr bgcolor="#fafafa">
<td width="125">
<div align="left"><font class="strong"> 估计使用年限</font>:</div>
</td>
<td width="452">
<input type="text" name="term" class="file" size="24" value="<%= equipmentValue2.getTerm()%>">
月</td>
</tr>
<tr bgcolor="#e0e0e0">
<td width="125"><font class="strong"> 其他说明:</font></td>
<td width="452">
<textarea name="remark" cols="59" rows="5"><%= FieldUtil.filterQuotTag(equipmentValue2.getRemark())%></textarea>
</td>
</tr>
<tr bgcolor="#fafafa" height="30">
<td colspan="2">
<div align="center">
<input type="button" name="Button" value="保存" class="file" onclick=toSuccess() >
<input type="button" name="Button3" value="重置" class="file" onclick="location='/mainctrl/equipmentModify?equipmentId=<%=request.getParameter("equipmentId")%>&fromSelf=0'" >
<input type="button" name="Button3" value="放弃" class="file" onClick="location='equipmentDetail?equipmentId=<%=sId%>'" >
</div>
</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" />
</TBODY>
</TABLE>
<BR>
<jsp:include page="/vnex/page/TTOA_PRODUCER_LOGO.jsp" />
</form>
</DIV>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -