⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 equipment_batch_add.jsp

📁 非常完整的Java开发的网络办公系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
function toContinueAdd()
{
	if (isDataValid())
	{
		myForm.action="/mainctrl/equipmentBatchAddSuccess?ctn=1";
		myForm.submit();
	}
}
function toCategory()
{	
	if (isNumberValid())
	{		
		myForm.action="/mainctrl/equipmentSave?pageName=equipmentBatchAdd";
		myForm.submit();	
	}
}
function includeInvalid(str)
{
	if (str.indexOf("'") == -1)
	{				
		return false;
	}
	else
	{
		alert("包括非法字符’" );
		return true;	
	}
}
function toSearch()
{
	if (!(includeInvalid(searchForm.keyword.value)))
	{
		searchForm.action="/mainctrl/equipmentSearchResult";
		searchForm.submit();	
	}
}
</script>
<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>&gt;&gt;<a href="/mainctrl/office/main"><font color="#FFFFFF">办公室管理</font></a>&gt;&gt;<a href="/mainctrl/equipmentSearchResult"><font color="#FFFFFF">固定资产管理</font></a>&gt;&gt;固定资产批量增加</font>
                    </td>
                  </tr>
                </table>
                <table class=title width="600" border="0" cellspacing="1" cellpadding="2">
                  <tr bgcolor="#fafafa">
                    <td width="131"> 
                      <font class="strong" >&nbsp;资产类别:</font>
                    </td>
                    <td width="463"> 
                      <input type="hidden"  name="categoryId" size="8" class="file" value="<%= equipmentValue.getCategoryId()%>">                      
                      <input type="text" name="categoryName" size="24" class="file" readonly value="<%= FieldUtil.filterQuotTag(equipmentValue.getCategoryName())%>">
                      <input type="button" name="Submit3" value="选择" class="file" onClick= toCategory()>&nbsp;*&nbsp;(注:带*为必填内容)
                    </td>
                  </tr>
                  <tr bgcolor="#e0e0e0">                     
                    <td width="109"> 
                      <div align="left"><font class="strong" >&nbsp;名称:</font> </div>
                    </td>
                    <td colspan="2" width="295"> 
                      <input type="text" name="equipmentName" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue.getEquipmentName())%>">&nbsp;*
                    </td>
                  </tr>
                  <tr bgcolor="#fafafa">                     
                    <td width="109"> 
                      <div align="left"><font  class="strong">&nbsp;用途: </font></div>
                    </td>
                    <td colspan="2" width="295"><font  class="strong"> 
                      <input type="text" name="purpose" size="24" class="file" value="<%= FieldUtil.filterQuotTag(equipmentValue.getPurpose())%>">
                      </font></td>
                  </tr>
                  <tr bgcolor="#e0e0e0">                     
                    <td width="109"> 
                      <div align="left"><font  class="strong"><font  class="strong">&nbsp;型号:<font  class="strong"> 
                        </font> </font></font></div>
                    </td>
                    <td colspan="2" width="295"><font  class="strong"><font  class="strong"> 
                      <input type="text" name="model" class="file" size="24" value="<%= FieldUtil.filterQuotTag(equipmentValue.getModel())%>">
                      </font></font></td>
                  </tr>
                  
                  <tr bgcolor="#fafafa">                    
                    <td width="109"><font  class="strong">&nbsp;配置</font>:</td>
                    <td colspan="2" width="295"><font  class="strong"><font  class="strong"> 
                      <input type="text" name="configure" class="file" size="24" value="<%= FieldUtil.filterQuotTag(equipmentValue.getConfigure())%>">
                      </font></font></td>
                  </tr>
                  
                  <tr bgcolor="#e0e0e0">                    
                    <td width="109"> 
                      <div align="left"><font  class="strong">&nbsp;购买价格</font>:</div>
                    </td>
                    <td colspan="2" width="295"><font  class="strong"><font  class="strong"> 
                      <input type="text" name="price" class="file" size="24" value="<%= equipmentValue.getPrice()%>">
                      </font></font>元&nbsp;*</td>
                  </tr>
                  <tr bgcolor="#fafafa">
                    <td width="109"> 
                      <div align="left"><font  class="strong">&nbsp;购买日期</font>:</div>
                    </td>
                    <td colspan="2" width="295"> 
                      <div align="left">
                          <input type="text" name="beginDay" readonly size="24" class="text" value="<%= equipmentValue.getBeginDay()%>" >
                          <img src="/vnex/util/datetime.gif" style="cursor:hand;" align="absmiddle" alt="选择日期" onClick="fPopUpCalendarDlg(beginDay);return false">&nbsp;*
                      </div> 
                    </td>
                  </tr>
                  <tr bgcolor="#e0e0e0"> 
                    <td width="109"><font  class="strong">&nbsp;购买者:</font></td>
                    <td colspan="2" width="295"> 
                    <select name="buyDeptId" class=choice onChange=change(this)>
                    <option value="-2">-请选择-</option>
                    <org:DivisionList noRoot="false">
                    <vnex:items select='<%= equipmentValue.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>&nbsp;*
                    
                    <select name="buyPersonId">
		            <option value=-1>-请选择-</option>
                    <hr:EmployeeList divisionId='<%= equipmentValue.getBuyDeptId()%>'>		            
		            <vnex:items  select ='<%= equipmentValue.getBuyPersonId()+""%>'>
		            <option value="<hr:EmployeeAttribute attribute="id" />" <hr:EmployeeAttribute attribute="isSelected"/> >
		            <hr:EmployeeAttribute attribute='<%= null %>' />
		            </option>
		            </vnex:items>		           
		           </hr:EmployeeList>
		           </select>&nbsp;*		           
		           
                    </td>
                  </tr>
                  <tr bgcolor="#fafafa"> 
                    <td width="109"><font  class="strong">&nbsp;供应者:</font></td>
                    <td colspan="2" width="295"><font  class="strong"><font  class="strong"> 
                      <input type="text" name="supplier" class="file" size="24" value="<%= FieldUtil.filterQuotTag(equipmentValue.getSupplier())%>">
                      </font></font></td>
                  </tr>
                  <tr bgcolor="#e0e0e0">
                    <td width="109"><font  class="strong">&nbsp;数量:</font></td>
                    <td colspan="2" width="295"><font  class="strong"><font  class="strong"> 
                      <input type="text" name="quantity" class="file" size="24" value="<%= equipmentValue.getQuantity()%>">
                      </font></font></td>
                  </tr>
                  

                  <tr bgcolor="#fafafa">                     
                    <td width="109"> 
                      <div align="left"><font  class="strong">&nbsp;估计使用年限</font>:</div>
                    </td>
                    <td colspan="2" width="295"><font size="2"><font face="宋体"> 
                      </font><font size="2"><font  class="strong"><font  class="strong"> 
                      <input type="text" name="term" class="file" size="24" value="<%= equipmentValue.getTerm()%>">
                      </font></font><font face="宋体">月</font></font><font face="宋体"> 
                      </font></font></td>
                  </tr>
                  <tr bgcolor="#e0e0e0">
                    <td width="131"> 
                      <font  class="strong">&nbsp;其他说明:</font>
                    </td>
                    <td width="463">
                        <textarea name="remark" cols="59" rows="5"><%= FieldUtil.filterQuotTag(equipmentValue.getRemark())%></textarea>
                      </td>
                        </div>
                    </td>
                  </tr>
                  <tr  bgcolor="#fafafa" height="30"> 
                    <td colspan="4"> 
                      <div align="center"> 
                        <input type="button" name="Button2" value="继续增加" class="file" style="width: 60px" onclick=toContinueAdd() >&nbsp;&nbsp;
                        <input type="button" name="Button1" value="保存" class="file" onclick=toSuccess() >&nbsp;&nbsp;                        
                        <input type="reset" name="Button4" value="重置" class="file"  >&nbsp;&nbsp;
                        <input type="button" name="Button3" value="放弃" class="file" onClick="location='/mainctrl/equipmentSearchResult'" >
                    </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 + -