mstorehousedemandform.jsp

来自「采用jsp编写的企业计量设备管理系统」· JSP 代码 · 共 58 行

JSP
58
字号
<%@ include file="/common/taglibs.jsp"%>
<bean:define id="pdeptList" name="droplistAssignPdepartments"/>
<bean:define id="sdeptList" name="droplistAssignSdepartments"/>
<bean:define id="meTypeList" name="dropListMEType"/>

<html:form action="mstorehouseDemand" method="post" styleId="mstorehouseDemandForm">
<table class="demand">
    <tr>
        <td>
            <pgmm:label key="mstorehouseDemandForm.department"/>
            <c:choose>
                   <c:when test="${stockDepartment== 'true'}">
                        <html:select property="department">
                        <html:option value=""/>
                        <html:options collection="sdeptList"  property="value" labelProperty="label"/>
                        </html:select>
                   </c:when>
                    <c:otherwise>
                      <html:select property="department">
                           <html:option value=""/>
                           <html:options collection="pdeptList"  property="value" labelProperty="label"/>
                    </html:select>
                   </c:otherwise>
          </c:choose>
            &nbsp;&nbsp; &nbsp;&nbsp;
            <pgmm:label key="mstorehouseDemandForm.meType"/>
            <html:select property="meType">
                  <html:option value=""/>
                  <html:options collection="meTypeList"  property="value" labelProperty="label"/>
          </html:select>&nbsp;&nbsp; &nbsp;&nbsp;
            <pgmm:label key="mstorehouseDemandForm.takeDepartment"/>
            <c:choose>
                  <c:when test="${stockDepartment== 'true'}">
                           <html:select property="takeDepartment">
                           <html:option value=""/>
                           <html:options collection="pdeptList"  property="value" labelProperty="label"/>
                           </html:select>
            </c:when>
            </c:choose>
	  </td>
  </tr>
		<tr>
		 <td>
			<pgmm:label key="mstorehouseDemandForm.inspectDate"/>
            <html:text property="inspectDate" styleId="inspectDate"/>
            <img src="<c:url value="/images/iconCalendar.gif"/>" width="16" height="15" onclick="CalendarWebControl.show(inspectDate)">
            <html:errors property="inspectDate"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;
            <pgmm:label key="mstorehouseDemandForm.meName"/>
            <html:text property="meName" styleId="meName"/>
            <html:submit styleClass="button" property="method" onclick="bCancel=false">
                <fmt:message key="button.search"/>
            </html:submit>
         </td>
      </tr>
</table>
<hr>

</html:form>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?