soldtopartyupdate.jsp

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

JSP
168
字号
<%--
/**

 * =============================================

 * Copyright 2006 szmx

 *

 * Change Revision

 * --------------------------------

 *   Date                Author         Remarks

 *   2006-4-19        Alex.Ji     Create ${PACKAGE_NAME}.${NAME}

 * =============================================

 */
--%>
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %>

<script>
    function editSoldToParty() {
        var f=document.forms[0];
        if(validateSoldToParty(f)){
        f.action = "<c:url value="/supplychain/datamapping/updateSoldToParty.do"/>";
        f.submit();
            }
    }
</script>



<div align="center">
<html:form action="/datamapping/updateSoldToParty.do">
<html:hidden property="soldToPartyBean.id"/>
<html:hidden property="soldToPartyBean.version" />
  <table width="100%" border="0" cellpadding="0" cellspacing="0" id="table1">
    <tr>
      <td height="28" colspan="2"><img src="../images/dot.gif" width="11" height="11">
         <bean:message key="label.supplyChain.dicSet"/>&gt;
         <a href="<c:url value="/supplychain/datamapping/index.do"/>" class="subMenuTxt">
                <bean:message key="label.supplyChain.maintainDate"/>
        </a>&gt;
        <a href="<c:url value="/supplychain/datamapping/searchSoldToParty.do"/>" class="subMenuTxt">
            Sold To Party <bean:message key="label.supplyChain.list"/>
        </a>&gt;Sold To Party
        <bean:message key="label.supplyChain.refresh"/>
</td>
    </tr>
    <tr>
      <td width="2%" height="31" background="../images/menu_bg.jpg">
            <img src="../images/menu_dot.jpg" width="6" height="19">
      </td>
      <td width="98%" background="../images/menu_bg.jpg" class="MenuTxt">Sales Organization
            <bean:message key="label.supplyChain.refresh"/>
        </td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>
        <table width="100%" height="43" border="0" cellpadding="0" cellspacing="0" style="font-size:12px; width:96%  " id="table2">
          <tr>
            <td  nowrap><bean:message key="label.common.englishName1"/></td>
            <td colspan="3"  nowrap>
              <html:text property="soldToPartyBean.englishName" size="50"/></td>
          </tr>
          <tr>
            <td width="11%"  nowrap><bean:message key="label.common.englishName2"/></td>
            <td colspan="3"  nowrap>
              <html:text property="soldToPartyBean.nameEn2" size="50"/></td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.common.chineseName"/></td>
            <td colspan="3" nowrap><html:text property="soldToPartyBean.chineseName" size="50"/></td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.common.address"/></td>
            <td colspan="3" nowrap>
                <html:textarea property="soldToPartyBean.addr" cols="40" rows="2">
            </html:textarea>
            </td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.supplyChain.linkMan"/></td>
            <td nowrap>
                <html:text property="soldToPartyBean.attention" size="30"/>
            </td>
            <td nowrap><bean:message key="label.supplyChain.mobilePhone"/></td>
            <td nowrap><html:text property="soldToPartyBean.mobile" size="30"/></td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.supplyChain.telephone1"/></td>
            <td width="28%" nowrap><html:text property="soldToPartyBean.tel1" size="15"/>
            -<html:text property="soldToPartyBean.ext1" size="4"/>
          </td>
            <td width="11%" nowrap><bean:message key="label.supplyChain.telephone2"/></td>
            <td width="53%" nowrap>
              <html:text property="soldToPartyBean.tel2" size="15"/>
            -
              <html:text property="soldToPartyBean.ext2" size="4"/>
          </td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.common.fax"/></td>
            <td nowrap><html:text property="soldToPartyBean.fax" size="30"/></td>
            <td nowrap><bean:message key="label.supplyChain.mail"/></td>
            <td nowrap><html:text property="soldToPartyBean.mail" size="30"/></td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.supplyChain.vatCode"/></td>
            <td nowrap><html:text property="soldToPartyBean.taxCode" size="30"/></td>
            <td nowrap><bean:message key="label.supplyChain.vatTelephone"/></td>
            <td nowrap>
                <html:text property="soldToPartyBean.vatTel" size="30"/>
                <!---
                    <input name="textfield2223222" type="text" size="4"></td> -->
          </tr>
          <tr>
            <td nowrap><bean:message key="label.supplyChain.vatBankAccount"/></td>
            <td nowrap><html:text property="soldToPartyBean.vatBankAcct" size="30"/></td>
            <td nowrap><bean:message key="label.supplyChain.vatBankName"/></td>
            <td nowrap><html:text property="soldToPartyBean.vatBankName" size="50"/></td>
          </tr>
          <tr>
            <td nowrap><bean:message key="label.supplyChain.vatBankAddress"/></td>
            <td colspan="3" nowrap>
                <html:textarea property="soldToPartyBean.vatAddr" cols="40" rows="2"></html:textarea>
            </td>
          </tr>
          <tr>
            <td colspan="4" nowrap>&nbsp;</td>
          </tr>
      </table></td>
    </tr>
    <tr>
      <td colspan="2">&nbsp;<hr size="1"></td>
    </tr>
    <tr>
      <td height="28">&nbsp;</td>
      <td>
        <table border="0" cellspacing="0" cellpadding="0" align="left">
          <tr>
            <td width="8" class="ButtonHOMEL-msover"></td>
            <td class="ButtonHOME-msover"><a href=# onClick="editSoldToParty();" class="hrefColor"><bean:message key="button.save"/></a></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=# onClick="history.go(-1);" class="hrefColor"><bean:message key="label.supplyChain.cancle"/></a></td>
            <td width="8" class="ButtonHOMER-msover"></td>
          </tr>
      </table></td>
    </tr>
  </table>
</html:form>
</div>
<html:javascript formName="/datamapping/updateSoldToParty" method="validateSoldToParty"/>

⌨️ 快捷键说明

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