editlogsupvendor.jsp
来自「一个关于tlms的一个小程序 看看能否帮助到别人」· JSP 代码 · 共 161 行
JSP
161 行
<!--
=============================================
Copyright 2006 szmx
Change Revision
--------------------------------
Date Author Remarks
2006-4-19 terry.zhang Create
=============================================
-->
<%@ include file="/WEB-INF/jsp/common/Taglibs.jsp" %>
<%@ taglib uri="http://struts.apache.org/tags-html-el" prefix="html" %>
<link rel="stylesheet" type="text/css" href="../css/main.css">
<script src="../js/verify.js" language="javascript" type="text/javascript"></script>
<script src="../js/option.js" language="javascript" type="text/javascript"></script>
<script language="javascript">
function searchLogSupVendor(){
var form=document.forms[0];
form.action='<c:url value="/supplychain/datamapping/searchLogSupVendorInfo.do"/>';
form.submit();
}
function addLogSupVendor() {
var form=document.forms[0];
if (validateAddLogSupVendor(form)) {
form.action='<c:url value="/supplychain/datamapping/addLogSupVendor.do"/>';
form.submit();
}
}
function updateLogSupVendor() {
var form=document.forms[0];
if (validateAddLogSupVendor(form)) {
form.action='<c:url value="/supplychain/datamapping/updateLogSupVendor.do"/>';
form.submit();
}
}
</script>
<div align="center">
<html:form action="/datamapping/addLogSupVendor.do">
<html:hidden property="logSupVendorBean.id" />
<html:hidden property="logSupVendorBean.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/searchLogSupVendorInfo.do"/>" class="subMenuTxt">Logistics Supplier Vendor
<bean:message key="label.supplyChain.list"/></a>>Logistics Supplier Vendor
<c:choose>
<c:when test="${empty logSupVendorBean.id}">
<bean:message key="button.add"/>
</c:when>
<c:otherwise>
<bean:message key="label.supplyChain.refresh"/>
</c:otherwise>
</c:choose>
</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">Logistics Supplier Vendor
<c:choose>
<c:when test="${empty logSupVendorBean.id}">
<bean:message key="button.add"/>
</c:when>
<c:otherwise>
<bean:message key="label.supplyChain.refresh"/>
</c:otherwise>
</c:choose>
</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.common.englishName"/></td>
<td colspan="3" nowrap>
<html:text property="logSupVendorBean.englishName" size="50"/></td>
</tr>
<tr>
<td nowrap><bean:message key="label.common.chineseName"/></td>
<td colspan="3" nowrap>
<html:textarea property="logSupVendorBean.chineseName" cols="40" rows="2"></html:textarea>
</td>
</tr>
<tr>
<td nowrap><bean:message key="label.supplyChain.name"/></td>
<td nowrap><html:text property="logSupVendorBean.name" size="30"/></td>
<td nowrap><bean:message key="label.supplyChain.mobilePhone"/></td>
<td nowrap><html:text property="logSupVendorBean.mobile" size="30"/></td>
</tr>
<tr>
<td nowrap><bean:message key="label.supplyChain.telephone1"/></td>
<td width="28%" nowrap><html:text property="logSupVendorBean.tel1" size="15"/>
-
<html:text property="logSupVendorBean.ext1" value="${logSupVendorBean.ext1}" size="4"/></td>
<td width="11%" nowrap><bean:message key="label.supplyChain.telephone2"/></td>
<td width="53%" nowrap><html:text property="logSupVendorBean.tel2" size="15"/>
-
<html:text property="logSupVendorBean.ext2" size="4"/></td>
</tr>
<tr>
<td nowrap><bean:message key="label.common.fax"/></td>
<td nowrap><html:text property="logSupVendorBean.fax" size="30"/></td>
<td nowrap><bean:message key="label.supplyChain.mail"/></td>
<td nowrap><html:text property="logSupVendorBean.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> </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 logSupVendorBean.id}">
<td class="ButtonHOME-msover">
<a href=# onClick="addLogSupVendor();" class="hrefColor">
<bean:message key="button.save"/>
</a>
</td>
</c:when>
<c:otherwise>
<td class="ButtonHOME-msover">
<a href=# onClick="updateLogSupVendor();" 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"><a href=# onClick="searchLogSupVendor();" class="hrefColor"><bean:message key="button.cancel"/></a></td>
<td width="8" class="ButtonHOMER-msover"></td>
</tr>
</table></td>
</tr>
</table>
</html:form>
</div>
<html:javascript formName="/datamapping/addLogSupVendor" method="validateAddLogSupVendor"/>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?