📄 customer.jsp
字号:
<%@page contentType="text/html; charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<html:html locale="true">
<head>
<TITLE></TITLE>
<LINK href="../css/iplan.css" rel=stylesheet type="text/css">
<SCRIPT language=javascript>
function add()
{
window.open("","displayWindow","left=300,top=200,toolbar=no,width=450,height=300,directories=no,status=yes,scrollbars=yes,resize=no,menubar=no");
form1.action = "customerAction.do?method=edit" ;
form1.target = "displayWindow";
form1.submit();
}
function edit(url)
{
window.open("","displayWindow","left=300,top=200,toolbar=no,width=450,height=300,directories=no,status=yes,scrollbars=yes,resize=no,menubar=no");
form1.action = url + "&update=update" ;
form1.target = "displayWindow";
form1.submit();
}
function refresh(){
document.form1.action = "customerAction.do?method=list";
document.form1.target = "_self";
document.form1.submit();
}
function back(){
document.form1.action = "customerAction.do?method=select&sign=customer";
document.form1.target = "_self";
document.form1.submit();
}
function search() {
document.form1.action = "customerAction.do?method=search";
document.form1.target = "_self";
document.form1.submit();
}
</SCRIPT>
</head>
<html:form styleId="form1" focus="customer.customerName" action="/customerAction.do?method=list" >
<TABLE align="center" cellSpacing=0 border="0" cellPadding="0" width="100%" class="tablebgGREY">
<TR>
<TD width="45%" class="TableTxtBold"><bean:message
key="menu.basicInfo.customer" /> (<FONT color="red"><bean:write name="areaName"/></FONT>)</TD>
</TR>
</TABLE>
<br>
<table border="0" cellspacing="0" cellpadding="3" class="cellBgSEARCHBOX" width="300">
<tr>
<td class="TableTxtBold" width="20%" style="vertical-align:middle;"><bean:message key="prompt.customer.customerName" /></td>
<td class="TableTxtNorm"><html:text property="customer.customerName" size="20" maxlength="50" styleId="customerName" styleClass="formFill1line" /></td>
<td>
<button class="button" onclick="search();"><bean:message key="button.search" /></button>
</td>
</tr>
</table>
<hr>
<display:table name="items" export="false" excludedParams="*"
class="tablebgGREY" pagesize="12" defaultsort="1"
defaultorder="descending"
requestURI="/order/customerAction.do?method=search" >
<display:column property="customername" title="客户名称"
headerClass="sortable" href="javascript:edit('customerAction.do?method=edit')" paramId="editnumber" paramProperty="guid" />
<display:column property="address" title="地址" />
</display:table>
<hr>
<table border="0" cellspacing="0" cellpadding="0" height="35">
<tr>
<td>
<button class="button" onclick="add();"><bean:message key="button.add" /></button>
<button class="button" onclick="back();"><bean:message key="button.back" /></button>
</td>
</tr>
</table>
<html:hidden property="customer.areaid"/>
</html:form>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -