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

📄 editdeclarationmodule.jsp

📁 一个关于tlms的一个小程序 看看能否帮助到别人
💻 JSP
字号:
<%--
  Created by szmx
  User: Jean
  Date: 2006-4-18
  Time: 16:56:27
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %>

<script type="text/javascript" language="javascript">

    function addDeclarationModule() {
        var form = document.forms[0];
        if (validateAddDeclarationModule(form)) {
            form.action = '<c:url value="/supplychain/datamapping/addDeclarationModule.do"/>';
            form.submit();
        }
    }

    function updateDeclarationModule() {
        var form = document.forms[0];
        if (validateAddDeclarationModule(form)) {
            form.action = '<c:url value="/supplychain/datamapping/updateDeclarationModule.do"/>';
            form.submit();
        }
    }

    function searchDeclarationModule() {
        var form = document.forms[0];
        form.action = "<c:url value="/supplychain/datamapping/searchDeclarationModule.do"/>";
        form.submit();
    }

    function dataMapping() {
        var form = document.forms[0];
        form.target = "content_right";
        form.action = "<c:url value="/supplychain/datamapping/index.do"/>";
        form.submit();
    }

</script>

<html:form action="/datamapping/addDeclarationModule.do">
<html:hidden property="declarationModuleBean.id" value="${declarationModuleBean.id}"/>
<html:hidden property="declarationModuleBean.version" value="${declarationModuleBean.version}"/>


<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">
        <bean:message key="menu.tlms.supplychain"/>&gt;
        <span class="subMenuTxt" class="mouse" onclick="dataMapping();">
            <bean:message key="menu.tlms.supplychain.datamapping"/>
        </span>&gt;
        <span class="subMenuTxt" class="mouse" onclick="searchDeclarationModule();">
            <bean:message key="label.tlms.supplychain.datamapping.declarationModule"/>
        </span>&gt;
        <bean:message key="label.tlms.supplychain.datamapping.declarationModule"/>
    </td>
</tr>
<tr>
    <td width="2%" height="31" class="section">
        <img src="<c:url value='/images/menu_dot.jpg'/>" width="6" height="19">
    </td>
    <td width="98%" class="section">
        <bean:message key="label.supplychain.basicInfo"/>
    </td>
</tr>
<tr>
    <td>&nbsp;</td>
    <td></td>
</tr>
<tr>
    <td></td>
    <td>
        <table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:12px; width:96%"
               id="table2">
            <tr>
                <td width="11%" nowrap>
                    <bean:message key="label.supplyChain.englishDescribe"/>
                </td>
                <td width="28%" nowrap>
                    <c:choose>
                        <c:when test="${empty declarationModuleBean.id}">
                            <html:textarea property="declarationModuleBean.declDescEn" value="${declarationModuleBean.declDescEn}"/>
                        </c:when>
                        <c:otherwise>
                            <html:textarea property="declarationModuleBean.declDescEn" value="${declarationModuleBean.declDescEn}"/>
                        </c:otherwise>
                    </c:choose>
                </td>
           </tr>
           <tr>
                <td width="11%" nowrap>
                    <bean:message key="label.common.chineseDesc"/>
                </td>
                <td width="53%" nowrap>
                    <html:textarea property="declarationModuleBean.declDescCn" value="${declarationModuleBean.declDescCn}"/>
                </td>
            </tr>
            <tr>
                <td colspan="4" nowrap></td>
            </tr>
        </table>
    </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 declarationModuleBean.id}">
                            <span class="mouse" onclick="return addDeclarationModule()">
                                <bean:message key="button.save"/>
                            </span>
                        </c:when>
                        <c:otherwise>
                            <span class="mouse" onclick="return updateDeclarationModule()">
                                <bean:message key="button.save"/>
                            </span>
                        </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">
                    <span class="mouse" onclick="searchDeclarationModule();">
                  <bean:message key="button.cancel"/>
              </span>
                </td>
                <td width="8" class="ButtonHOMER-msover"></td>
            </tr>
        </table>
    </td>
</tr>
</table>

</html:form>

<html:javascript formName="/datamapping/addDeclarationModule" method="validateAddDeclarationModule"/>

⌨️ 快捷键说明

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