editcontractletterworkingprocedurerelation.jsp

来自「一个关于tlms的一个小程序 看看能否帮助到别人」· JSP 代码 · 共 169 行

JSP
169
字号
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %><script type="text/javascript" language="javascript">    function addContractLetterWorkingProcedureRelation() {        var form = document.forms[0];        if (validateAddedContractLetterWorkingProcedureRelationBean(form)) {            form.action = '<c:url value="/contractManage/contractLetterWorkingProcedureRelation/addContractLetterWorkingProcedureRelation.do"/>';            form.submit();        }    }    function updateContractLetterWorkingProcedureRelation() {        var form = document.forms[0];        if (validateUpdateContractLetterWorkingProcedureRelationBean(form)) {            form.action = '<c:url value="/contractManage/contractLetterWorkingProcedureRelation/updateContractLetterWorkingProcedureRelation.do"/>';            form.submit();        }    }    function searchContractLetterWorkingProcedureRelation() {        var f = document.forms[0];        f.action = "<c:url value="/contractManage/contractLetterWorkingProcedureRelation/searchContractLetterWorkingProcedureRelation.do"/>";        f.submit();    }</script><html:form action="/contractLetterWorkingProcedureRelation/addContractLetterWorkingProcedureRelation.do"><html:hidden property="contractLetterWorkingProcedureRelationBean.id" value="${contractLetterWorkingProcedureRelationBean.id}"/><html:hidden property="clientID" value="${clientID}"/><div align="center"><table width="100%" border="0" cellpadding="0" cellspacing="0" id="table1"><tr>    <td height="28" colspan="2">        <img src="<c:url value='/images/dot.gif'/>" width="11" height="11" alt="">        <bean:message key="label.contractManage.systemSetting"/> &gt;        <bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.title"/>    </td></tr><tr>    <td width="2%" height="31" class="section">        <img src="<c:url value='/images/menu_dot.jpg'/>" width="6" height="19" alt="">    </td>    <td width="98%" class="section">        <bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.basicInfo"/>    </td></tr><tr>    <td></td>    <td></td></tr><tr>    <td></td>    <td>        <table width="100%" height="43" border="0" cellpadding="0" cellspacing="0"               style="font-size:12px; width:96%" id="table2">            <tr>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.workingProcedureName"/></td>                <td width="53%"  nowrap>                    <html:select property="contractLetterWorkingProcedureRelationBean.workingProcedureID" value="${contractLetterWorkingProcedureRelationBean.workingProcedureID}">                        <html:option value=""><bean:message key="label.common.pleaseSelect"/></html:option>                        <c:forEach items="${workingProcedureList}" var="workingProcedure">                            <html:option value="${workingProcedure.id}"><c:out value="${workingProcedure.name}"/>                            </html:option>                        </c:forEach>                    </html:select>                </td>                <td width="11%" nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.project"/></td>                <td width="27%" nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.project" value="${contractLetterWorkingProcedureRelationBean.project}"/>                </td>            </tr>            <tr>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.description"/></td>                <td width="53%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.description" value="${contractLetterWorkingProcedureRelationBean.description}"/>                </td>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.unitPrice"/></td>                <td width="27%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.unitPrice" value="${contractLetterWorkingProcedureRelationBean.unitPrice}"/>                </td>            </tr>            <tr>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.planAmount"/></td>                <td width="53%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.planAmount" value="${contractLetterWorkingProcedureRelationBean.planAmount}"/>                </td>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.planMoney"/></td>                <td width="27%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.planMoney" value="${contractLetterWorkingProcedureRelationBean.planMoney}"/>                </td>            </tr>            <tr>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.factAmount"/></td>                <td width="53%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.factAmount" value="${contractLetterWorkingProcedureRelationBean.factAmount}"/>                </td>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.factMoney"/></td>                <td width="27%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.factMoney" value="${contractLetterWorkingProcedureRelationBean.factMoney}"/>                </td>            </tr>            <tr>                <td width="11%"  nowrap><bean:message key="label.contractManage.contractLetterWorkingProcedureRelation.complete"/></td>                <td width="53%"  nowrap>                    <html:text property="contractLetterWorkingProcedureRelationBean.complete" value="${contractLetterWorkingProcedureRelationBean.complete}"/>                </td>                <td nowrap></td>                <td nowrap></td>            </tr>        </table>    </td></tr><tr>    <td>&nbsp;</td><td>&nbsp;</td></tr><tr>    <td colspan="2"><hr size="1"></td></tr><tr>    <td></td>    <td>        <table border="0" cellspacing="0" cellpadding="0" align="left">            <tr>                <td width="8" class="ButtonHOMEL-msover"></td>                <td class="ButtonHOME-msover">                    <c:choose>                    <c:when test="${empty contractLetterWorkingProcedureRelationBean.id}">                    <a href="#" class="hrefColor" onclick="addContractLetterWorkingProcedureRelation()">                            <bean:message key="button.save"/>                        </c:when>                        <c:otherwise>                        <a href="#" class="hrefColor" onclick="updateContractLetterWorkingProcedureRelation()">                                <bean:message key="button.update"/>                            </c:otherwise>                            </c:choose>                </td>                <td width="8" class="ButtonHOMER-msover"></td>                <td width="10"></td>            </tr>        </table>        <table border="0" cellspacing="0" cellpadding="0" align="left">            <tr>                <td width="8" class="ButtonHOMEL-msover"></td>                <td class="ButtonHOME-msover">                    <a href="#" class="hrefColor" onclick="searchContractLetterWorkingProcedureRelation()">                        <bean:message key="button.cancel"/>                    </a>                </td>                <td width="8" class="ButtonHOMER-msover"></td>            </tr>        </table>    </td></tr></table></div></html:form><c:choose>    <c:when test="${empty contractLetterWorkingProcedureRelationBean.id}">        <html:javascript formName="/contractLetterWorkingProcedureRelation/addContractLetterWorkingProcedureRelation" method="validateAddedContractLetterWorkingProcedureRelationBean"/>    </c:when>    <c:otherwise>        <html:javascript formName="/contractLetterWorkingProcedureRelation/updateContractLetterWorkingProcedureRelation" method="validateUpdateContractLetterWorkingProcedureRelationBean"/>    </c:otherwise></c:choose>

⌨️ 快捷键说明

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