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

📄 mequirecordform.jsp

📁 采用jsp编写的企业计量设备管理系统
💻 JSP
字号:
<%@ include file="/common/taglibs.jsp"%>

<title><fmt:message key="mequiRecordDetail.title"/></title>
<content tag="heading"><fmt:message key="mequiRecordDetail.heading"/></content>

<html:form action="editMequiRecord" method="post" styleId="mequiRecordForm"
    focus="" onsubmit="return validateMequiRecordForm(this)">
   <html:hidden property="id"/>
   <html:hidden property="status"/>
<table class="detail">
    <tr>
        <th>
            <pgmm:label key="mequiRecordForm.department"/>
        </th>
        <td>
            <html:text property="department" styleId="department"/>
            <html:errors property="department"/>
        </td>
		<th>
            <pgmm:label key="mequiRecordForm.mpNum"/>
        </th>
        <td>
            <html:text property="mpNum" styleId="mpNum"/>
            <html:errors property="mpNum"/>
        </td>
    </tr>
    <tr>
           <th>
                <pgmm:label key="mequiRecordForm.mpName"/>
           </th>
           <td>
                <html:text property="mpName" styleId="mpName"/>
                <html:errors property="mpName"/>
           </td>
			
		   <th>
            <pgmm:label key="mequiRecordForm.meType"/>
          </th>
          <td>
            <html:text property="meType" styleId="meType"/>
            <html:errors property="meType"/>
          </td>
		
			
    </tr>
    <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.meNum"/>
        </th>
        <td>
            <html:text property="meNum" styleId="meNum"/>
            <html:errors property="meNum"/>
        </td>
		<th>
            <pgmm:label key="mequiRecordForm.spec"/>
        </th>
        <td>
            <html:text property="spec" styleId="spec"/>
            <html:errors property="spec"/>
        </td>
	    
	</tr>
    <tr>
		<th>
            <pgmm:label key="mequiRecordForm.meRange"/>
        </th>
        <td>
            <html:text property="meRange" styleId="meRange"/>
            <html:errors property="meRange"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.meName"/>
        </th>
        <td>
            <html:text property="meName" styleId="meName"/>
            <html:errors property="meName"/>
        </td> 

    </tr>
<c:choose>
      <c:when test="${mequiRecord=='normal' }">
    <tr>
        <th>
            <pgmm:label key="mequiRecordForm.mpType"/>
        </th>
        <td>
            <html:text property="mpType" styleId="mpType"/>
            <html:errors property="mpType"/>
        </td>
		
		<th>
            <pgmm:label key="mequiRecordForm.confirmType"/>
        </th>
        <td>
            <html:text property="confirmType" styleId="confirmType"/>
            <html:errors property="confirmType"/>
        </td>
		
        

     </tr>
     <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.meCode"/>
        </th>
        <td>
            <html:text property="meCode" styleId="meCode"/>
            <html:errors property="meCode"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.meIncer"/>
        </th>
        <td>
            <html:text property="meIncer" styleId="meIncer"/>
            <html:errors property="meIncer"/>
        </td>
		
    </tr>
    <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.confirmInter"/>
        </th>
        <td>
            <html:text property="confirmInter" styleId="confirmInter"/>
            <html:errors property="confirmInter"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.confirmTime"/>
        </th>
        <td>
            <html:text property="confirmTime" styleId="confirmTime"/>
            <html:errors property="confirmTime"/>
        </td>
		
    </tr>
    <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.confirmNextTime"/>
        </th>
        <td>
            <html:text property="confirmNextTime" styleId="confirmNextTime"/>
            <html:errors property="confirmNextTime"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.comfirmDepartment"/>
        </th>
        <td>
            <html:text property="comfirmDepartment" styleId="comfirmDepartment"/>
            <html:errors property="comfirmDepartment"/>
        </td>
		
    </tr>
    <tr>
	       <th>
               <pgmm:label key="mequiRecordForm.maintDepartment"/>
           </th>
           <td>
               <html:text property="maintDepartment" styleId="maintDepartment"/>
               <html:errors property="maintDepartment"/>
           </td>
        <th>
            <pgmm:label key="mequiRecordForm.editor"/>
        </th>
        <td>
            <html:text property="editor" styleId="editor"/>
            <html:errors property="editor"/>
        </td>
		 
    </tr>
    <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.assessor"/>
        </th>
        <td>
            <html:text property="assessor" styleId="assessor"/>
            <html:errors property="assessor"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.editdate"/>
        </th>
        <td>
            <html:text property="editdate" styleId="editdate"/>
            <html:errors property="editdate"/>
        </td>
		
    </tr>
    <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.epFactory"/>
        </th>
        <td>
            <html:text property="epFactory" styleId="epFactory"/>
            <html:errors property="epFactory"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.epPrice"/>
        </th>
        <td>
            <html:text property="epPrice" styleId="epPrice"/>
            <html:errors property="epPrice"/>
        </td>
		
    </tr>
    <tr>
	    <th>
            <pgmm:label key="mequiRecordForm.epLFTime"/>
        </th>
        <td>
            <html:text property="epLFTime" styleId="epLFTime"/>
            <html:errors property="epLFTime"/>
        </td>
        <th>
            <pgmm:label key="mequiRecordForm.memo"/>
        </th>
        <td>
            <html:text property="memo" styleId="memo"/>
            <html:errors property="memo"/>
        </td>
    </tr>
    </c:when>
    <c:when test="${mequiRecord== 'reject'  or  mequiRecord== 'rejectRecord'}">
        <tr>
        <th>
            <pgmm:label key="mequiRecordForm.appraisalDepartment"/>
        </th>
        <td>
            <html:text property="appraisalDepartment" styleId="appraisalDepartment"/>
            <html:errors property="appraisalDepartment"/>
        </td>
        </tr>
        <tr>
        <th>
            <pgmm:label key="mequiRecordForm.disqualificationNum"/>
        </th>
        <td>
            <html:text property="disqualificationNum" styleId="disqualificationNum"/>
            <html:errors property="disqualificationNum"/>
        </td>
        </tr>
        <tr>
        <th>
            <pgmm:label key="mequiRecordForm.rejectReason"/>
        </th>
        <td>
            <html:text property="rejectReason" styleId="rejectReason"/>
            <html:errors property="rejectReason"/>
        </td>
        </tr>
        <tr>
        <th>
            <pgmm:label key="mequiRecordForm.rejectApproveMan"/>
        </th>
        <td>
            <html:text property="rejectApproveMan" styleId="rejectApproveMan"/>
            <html:errors property="rejectApproveMan"/>
        </td>
        </tr>
         <tr>
        <th>
            <pgmm:label key="mequiRecordForm.rejectEditor"/>
        </th>
        <td>
            <html:text property="rejectEditor" styleId="rejectEditor"/>
            <html:errors property="rejectEditor"/>
        </td>
        </tr>
         <tr>
        <th>
            <pgmm:label key="mequiRecordForm.rejectDate"/>
        </th>
        <td>
            <html:text property="rejectDate" styleId="rejectDate"/>
            <html:errors property="rejectDate"/>
        </td>
    </tr>
   <tr>
        <th>
            <pgmm:label key="mequiRecordForm.rejectMemo"/>
        </th>
        <td>
            <html:text property="rejectMemo" styleId="rejectMemo"/>
            <html:errors property="rejectMemo"/>
        </td>
    </tr>
    </c:when>
    <c:when test="${mequiRecord== 'sealup'  or  mequiRecord=='sealupRecord'}">
         <tr>
        <th>
            <pgmm:label key="mequiRecordForm.sealupApproveMan"/>
        </th>
        <td>
            <html:text property="sealupApproveMan" styleId="sealupApproveMan"/>
            <html:errors property="sealupApproveMan"/>
        </td>
    </tr>
    <tr>
        <th>
            <pgmm:label key="mequiRecordForm.sealupDate"/>
        </th>
        <td>
            <html:text property="sealupDate" styleId="sealupDate"/>
            <html:errors property="sealupDate"/>
        </td>
    </tr>
    <tr>
        <th>
            <pgmm:label key="mequiRecordForm.sealupMemo"/>
        </th>
        <td>
            <html:text property="sealupMemo" styleId="sealupMemo"/>
            <html:errors property="sealupMemo"/>
        </td>
    </tr>
    <tr>
    </c:when>
    <c:when test="${mequiRecord== 'unseal'}">
         <tr>
        <th>
            <pgmm:label key="mequiRecordForm.unsealupApproveMan"/>
        </th>
        <td>
            <html:text property="unsealupApproveMan" styleId="unsealupApproveMan"/>
            <html:errors property="unsealupApproveMan"/>
        </td>
    </tr>
    <tr>
        <th>
            <pgmm:label key="mequiRecordForm.unsealupDate"/>
        </th>
        <td>
            <html:text property="unsealupDate" styleId="unsealupDate"/>
            <html:errors property="unsealupDate"/>
        </td>
    </tr>
    <tr>
        <th>
            <pgmm:label key="mequiRecordForm.unsealupMemo"/>
        </th>
        <td>
            <html:text property="unsealupMemo" styleId="unsealupMemo"/>
            <html:errors property="unsealupMemo"/>
        </td>
    </tr>
    </c:when>
</c:choose>
    <tr>
        <td></td>
        <td class="buttonBar">
            <c:choose>
                <c:when test="${mequiRecord== 'normal'}">
                         <html:submit styleClass="button" property="method"
                                     onclick="bCancel=true;return confirmDlg('确信要删除吗')">
                                     <fmt:message key="button.delete"/>
                           </html:submit>
                           <html:submit styleClass="button" property="method" onclick="bCancel=false">
                                    <fmt:message key="button.save"/>
                            </html:submit>
                </c:when>
                <c:when test="${mequiRecord== 'reject'}">
                          <html:submit styleClass="button" property="method"
                                     onclick="bCancel=true;return confirmDlg('确信要报废吗')">
                                     <fmt:message key="button.reject"/>
                           </html:submit>
                </c:when>
                <c:when test="${mequiRecord== 'sealup'}">
                           <html:submit styleClass="button" property="method"
                                     onclick="bCancel=true;return confirmDlg('确信要封存吗')">
                                     <fmt:message key="button.sealup"/>
                           </html:submit>
                </c:when>
                <c:when test="${mequiRecord== 'unseal'}">
                            <html:submit styleClass="button" property="method"
                                     onclick="bCancel=true;return confirmDlg('确信要启封吗')">
                                     <fmt:message key="button.unseal"/>
                           </html:submit>
               </c:when>
           </c:choose>
            <html:cancel styleClass="button" property="method" onclick="bCancel=true">
                <fmt:message key="button.cancel"/>
            </html:cancel>
        </td>
    </tr>
</table>
</html:form>

<html:javascript formName="mequiRecordForm" 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 + -