📄 shipto_update.jsp
字号:
<%--
/**
* =============================================
* Copyright 2006 szmx
*
* Change Revision
* --------------------------------
* Date Author Remarks
* 2006-4-18 Alex.Ji Create
* =============================================
*/
--%>
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %>
<script language="javascript">
function addShipTo() {
var form=document.forms[0];
form.action='<c:url value="/supplychain/datamapping/addShipTo.do"/>';
form.submit();
}
function updateShipTo() {
var form=document.forms[0];
if(validateAddShipTo(form)){
form.action='<c:url value="/supplychain/datamapping/updateShipTo.do"/>';
form.submit();
}
}
</script>
<div align="center">
<html:form action="/datamapping/addShipTo.do">
<html:hidden property="shipToBean.id"/>
<html:hidden property="shipToBean.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"/> >
<a href="<c:url value="/supplychain/datamapping/index.do"/>" class="subMenuTxt">
<bean:message key="label.supplyChain.maintainDate"/>
</a>>
<a href="<c:url value="/supplychain/datamapping/searchShipToInfo.do"/>" class="subMenuTxt">Ship to
<bean:message key="label.supplyChain.list"/>
</a>>Ship to
<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">Ship to
<bean:message key="label.supplyChain.refresh"/>
</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 nowrap><bean:message key="label.common.englishName"/>1</td>
<td colspan="3" nowrap>
<html:text property="shipToBean.englishName1" size="50"/>
</td>
</tr>
<tr>
<td width="11%" nowrap><bean:message key="label.common.englishName"/>2</td>
<td colspan="3" nowrap>
<html:text property="shipToBean.englishName2" size="50"/>
</td>
</tr>
<tr>
<td nowrap><bean:message key="label.common.chineseName"/></td>
<td><html:text property="shipToBean.chineseName" size="50"/>
</td>
</tr>
<tr>
<td nowrap><bean:message key="label.common.address"/></td>
<td colspan="3" nowrap>
<html:textarea property="shipToBean.address" cols="40" rows="2">
</html:textarea>
</td>
</tr>
<tr>
<td nowrap><bean:message key="label.supplyChain.linkMan"/></td>
<td nowrap><html:text property="shipToBean.attention" size="30"/></td>
<td nowrap><bean:message key="label.supplyChain.mobilePhone"/></td>
<td nowrap><html:text property="shipToBean.mobile" size="30"/></td>
</tr>
<tr>
<td nowrap><bean:message key="label.supplyChain.telephone"/>1</td>
<td width="28%" nowrap><html:text property="shipToBean.telephone1" size="15"/>
-
<html:text property="shipToBean.ext1" size="4"/>
</td>
<td width="11%" nowrap><bean:message key="label.supplyChain.telephone"/>2</td>
<td width="53%" nowrap><html:text property="shipToBean.telephone2" size="15"/>
-
<html:text property="shipToBean.ext2" size="4"/>
</td>
</tr>
<tr>
<td nowrap><bean:message key="label.common.fax"/></td>
<td nowrap><html:text property="shipToBean.fax" size="30"/></td>
<td nowrap><bean:message key="label.common.email"/></td>
<td nowrap><html:text property="shipToBean.email" size="30"/></td>
</tr>
<tr>
<td colspan="4" nowrap> </td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="2"><hr size="1"></td>
</tr>
<tr>
<td height="28"> </td>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="left">
<tr>
<td width="8" class="ButtonHOMEL-msover"></td>
<c:choose>
<c:when test="${empty shipToBean.id}">
<td class="ButtonHOME-msover">
<a href=# onClick="addShipTo();" class="hrefColor">
<bean:message key="button.save"/>
</a>
</td>
</c:when>
<c:otherwise>
<td class="ButtonHOME-msover">
<a href=# onClick="updateShipTo();" class="hrefColor">
<bean:message key="button.save"/>
</a>
</td>
</c:otherwise>
</c:choose>
<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="clean();">
<bean:message key="button.clean"/>
</span>
</td>
<td width="8" class="ButtonHOMER-msover"></td>
<td width="10"></td>
</tr>
</table></td>
</tr>
</table>
</html:form>
<html:javascript formName="/datamapping/addShipTo" method="validateAddShipTo"/>
</div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -