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

📄 mstorehouseform.jsp

📁 采用jsp编写的企业计量设备管理系统
💻 JSP
字号:
<%@ include file="/common/taglibs.jsp"%><title><fmt:message key="mstorehouseDetail.title"/></title><content tag="heading"><fmt:message key="mstorehouseDetail.heading"/></content><bean:define id="sdeptList" name="droplistAssignSdepartments"/><bean:define id="pdeptList" name="droplistAssignPdepartments"/><bean:define id="meTypeList" name="dropListMEType"/><html:form action="editMstorehouse" method="post" styleId="mstorehouseForm"    focus="" onsubmit="return validateMstorehouseForm(this)"> <input type="hidden" name="from" value="<c:out value="${param.from}"/>" /><html:hidden property="id"/><html:hidden property="taked"/><table class="detail">    <tr>        <th>            <pgmm:label key="mstorehouseForm.department"/>        </th>        <td>            <c:choose>                   <c:when test="${stockDepartment== 'true'}">                        <html:select property="department">                        <html:options collection="sdeptList"  property="value" labelProperty="label"/>                        </html:select>                   </c:when>                    <c:otherwise>                      <html:select property="department">                           <html:options collection="pdeptList"  property="value" labelProperty="label"/>                         </html:select>                   </c:otherwise>              </c:choose>            <html:errors property="department"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.meType"/>        </th>        <td>             <html:select property="meType">                  <html:options collection="meTypeList"  property="value" labelProperty="label"/>             </html:select>            <html:errors property="meType"/>        </td>    </tr>     <tr>        <th>            <pgmm:label key="mstorehouseForm.meName"/>        </th>        <td>            <html:text property="meName" styleId="meName"/>            <html:errors property="meName"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.meNum"/>        </th>        <td>            <html:text property="meNum" styleId="meNum"/>            <html:errors property="meNum"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.spec"/>        </th>        <td>            <html:text property="spec" styleId="spec"/>            <html:errors property="spec"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.meRange"/>        </th>        <td>            <html:text property="meRange" styleId="meRange"/>            <html:errors property="meRange"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.inspectDate"/>        </th>        <td>            <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"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.editor"/>        </th>        <td>            <html:text property="editor" styleId="editor"/>            <html:errors property="editor"/>        </td>    </tr>     <tr>        <th>            <pgmm:label key="mstorehouseForm.editDate" />        </th>        <td>            <html:text property="editDate" styleId="editDate"/>            <img src="<c:url value="/images/iconCalendar.gif"/>" width="16" height="15" onclick="CalendarWebControl.show(editDate)">            <html:errors property="editDate"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.manufacturer"/>        </th>        <td>            <html:text property="manufacturer" styleId="manufacturer"/>            <html:errors property="manufacturer"/>        </td>    </tr>      <tr>        <th>            <pgmm:label key="mstorehouseForm.equipmentPrice"/>        </th>        <td>            <html:text property="equipmentPrice" styleId="equipmentPrice"/>            <html:errors property="equipmentPrice"/>        </tr>     <tr>        <th>            <pgmm:label key="mstorehouseForm.place"/>        </th>        <td>            <html:text property="place" styleId="place"/>            <html:errors property="place"/>        </td>    </tr>    <c:if test="${param.method=='Exp'}">      <tr>        <th>            <pgmm:label key="mstorehouseForm.takeDate"/>        </th>        <td>            <html:text property="takeDate" styleId="takeDate" />            <img src="<c:url value="/images/iconCalendar.gif"/>" width="16" height="15" onclick="CalendarWebControl.show(takeDate)">            <html:errors property="takeDate"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.takeDepartment"/>        </th>        <td>                  <c:choose>                           <c:when test="${stockDepartment== 'true'}">                                        <html:select property="takeDepartment">                                          <html:options collection="pdeptList"  property="value" labelProperty="label"/>                                       </html:select>                            </c:when>                            <c:otherwise>                                     <html:text property="takeDepartment" styleId="takeDepartment"/>                              </c:otherwise>                  </c:choose>            <html:errors property="takeDepartment"/>        </td>    </tr>    <tr>        <th>            <pgmm:label key="mstorehouseForm.takeMan"/>        </th>        <td>            <html:text property="takeMan" styleId="takeMan"/>            <html:errors property="takeMan"/>        </td>    </tr>     </c:if>    <tr>        <th>            <pgmm:label key="mstorehouseForm.memo"/>        </th>        <td>            <html:text property="memo" styleId="memo"/>            <html:errors property="memo"/>        </td>    </tr>    <tr>        <td></td>        <td class="buttonBar">            <html:submit styleClass="button" property="method" onclick="bCancel=false">                <fmt:message key="button.save"/>            </html:submit>            <c:if  test="${param.method!= 'Imp' and param.method!= 'Exp'}">                 <c:if test="${mstorehouseForm.taked=='0'}">                      <button type="button"  class="button"                               onclick="location.href='<html:rewrite forward="exportMstorehouse"/>&id=<c:out value="${mstorehouseForm.id}"/>'"/>                           <fmt:message key="button.exp"/>                     </button>                  </c:if>                 <html:submit styleClass="button" property="method" onclick="bCancel=false;return confirmDlg('确信要删除吗')">                    <fmt:message key="button.delete"/>                 </html:submit>            </c:if>            <html:cancel styleClass="button" property="method" onclick="bCancel=true">                <fmt:message key="button.cancel"/>            </html:cancel>        </td>    </tr></table></html:form><script type="text/javascript"><!-- var CalendarWebControl = new atCalendarControl();// --></script><html:javascript formName="mstorehouseForm" cdata="false"    dynamicJavascript="true" staticJavascript="false"/><script type="text/javascript"    src="<html:rewrite page="/scripts/validator.jsp"/>"></script>

⌨️ 快捷键说明

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