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

📄 payment.jsp

📁 一个java程序!!!数据库很特别!!请大家看看!!很有学习和使用的价值
💻 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" src="../scripts/Calendar.js"></script>
<SCRIPT language=javascript>
    function add()
    {
    	window.open("../order/paymentAction.do?method=edit","displayWindow","left=300,top=200,toolbar=no,width=450,height=300,directories=no,status=yes,scrollbars=yes,resize=no,menubar=no");
    }

    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 = "paymentAction.do?method=list";
	 	document.form1.target = "_self"; 	   
		document.form1.submit();   
	}

	function search() {
    	document.form1.action = "paymentAction.do?method=search";
    	document.form1.target = "_self"; 
		document.form1.submit(); 
    } 	
    
 	function customerList()
	{
    	window.open("","customerListWindow","left=600,top=50,toolbar=no,width=400,height=450,directories=no,status=yes,scrollbars=yes,resize=no,menubar=no");
       	form1.action = "selectCustomerAction.do?method=listByUserId" ;
       	form1.target = "customerListWindow";
       	form1.submit(); 
	}
	   
</SCRIPT>
</head>

<html:form styleId="form1" focus="payment.customerName" action="/paymentAction.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.paymentManage" /></TD>
		</TR>
	</TABLE>
	<br>
	<table border="0" cellspacing="0" cellpadding="3" class="cellBgSEARCHBOX" width="500">
		<tr>
			<td class="TableTxtBold" width="20%" style="vertical-align:middle;"><bean:message key="prompt.payment.customerName" /></td>
			<td class="TableTxtNorm"><html:text property="payment.customerName" size="20" maxlength="50" styleId="customerNameStr" styleClass="formFill1line" ondblclick="customerList();"/></td>
		</tr>
		<tr>
			<td class="TableTxtBold" width="16%" style="vertical-align:middle;"><bean:message key="prompt.payment.payDate" /></td>
			<td class="TableTxtNorm">
				<html:text property="payment.payDateStr1" size="12"  styleId="payDateStr1" styleClass="formFill1line" onclick="setDay(this);" readonly="true" />&nbsp;&nbsp;~
				<html:text property="payment.payDateStr2" size="12"  styleId="payDateStr2" styleClass="formFill1line" onclick="setDay(this);" readonly="true" />
			</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/paymentAction.do?method=search">
		<display:column property="paydate" title="付款时间" sortable="true"
			headerClass="sortable" href="javascript:edit('paymentAction.do?method=edit')"  paramId="editnumber" paramProperty="guid" />
		<display:column property="customername" title="客户名称" />
		<display:column property="cash" title="金额" />
	</display:table>
	<hr>
	
	<html:hidden property="payment.address" styleId="addressStr"/>
	<table border="0" cellspacing="0" cellpadding="0" height="35">
		<tr>
			<button class="button" onclick="add();"><bean:message key="button.add" /></button>	
		</tr>
 	</table>
</html:form>
</html:html>

⌨️ 快捷键说明

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