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

📄 orderinfo.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("","displayWindow","left=250,top=50,toolbar=no,width=540,height=615,directories=no,status=yes,scrollbars=yes,resize=no,menubar=no");
       	form1.action = "orderAction.do?method=edit" ;
       	form1.target = "displayWindow";
       	form1.submit();    
    }

    function edit(url)
    {
    	window.open("","displayWindow","left=250,top=50,toolbar=no,width=540,height=615,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 = "orderAction.do?method=list";
	 	document.form1.target = "_self"; 	   
		document.form1.submit();   
	}
	
	function back(){ 
	 	document.form1.action = "orderAction.do?method=select&sign=order";
	 	document.form1.target = "_self"; 
		document.form1.submit();   
	}

	function search() {
    	document.form1.action = "orderAction.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=list" ;
       	form1.target = "customerListWindow";
       	form1.submit(); 
	}
	
</SCRIPT>
</head>

<html:form styleId="form1" focus="orderInfo.orderNo" action="/orderAction.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.orderManage.orderShip" />	
			&nbsp;&nbsp;(<FONT color="red"><bean:write name="areaName"/></FONT>)</TD>
		</TR>
	</TABLE>
	<br>
	<Font color="red">说明:订单号、客户名称可以模糊查询</Font>
	<hr>	
	<table border="0" cellspacing="0" cellpadding="3" class="cellBgSEARCHBOX" width="640pt">
		<tr>
			<td class="TableTxtBold" width="10%" style="vertical-align:middle;"><bean:message key="prompt.order.orderNo" /></td>
			<td class="TableTxtNorm"><html:text property="orderInfo.orderNo" size="18"  styleId="orderNo" styleClass="formFill1line"  onchange="this.value = this.value.toUpperCase()"/></td>
			<td class="TableTxtBold" width="16%" style="vertical-align:middle;"><bean:message key="prompt.order.orderDate" /></td>
			<td class="TableTxtNorm">
				<html:text property="orderInfo.orderDateStr" size="12"  styleId="orderDate" styleClass="formFill1line" onclick="setDay(this);" readonly="true" />&nbsp;&nbsp;~
				<html:text property="orderInfo.orderDateStr2" size="12"  styleId="orderDate2" styleClass="formFill1line" onclick="setDay(this);" readonly="true" />
			</td>			
		</tr>
		<tr>
			<td class="TableTxtBold" width="10%" style="vertical-align:middle;"><bean:message key="prompt.order.customerName" /></td>
			<td class="TableTxtNorm"><html:text property="orderInfo.customerName" size="18"  styleId="customerNameStr" styleClass="formFill1line"  ondblclick="customerList();"/></td>
			<td class="TableTxtBold" width="16%" style="vertical-align:middle;"><bean:message key="prompt.order.printingDate" /></td>
			<td class="TableTxtNorm">
				<html:text property="orderInfo.printingDateStr" size="12"  styleId="printingDate" styleClass="formFill1line" onclick="setDay(this);" readonly="true" />&nbsp;&nbsp;~
				<html:text property="orderInfo.printingDateStr2" size="12"  styleId="printingDate2" 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/orderAction.do?method=search">
		<display:column property="orderno" title="订单号" sortable="true"
			headerClass="sortable" href="javascript:edit('orderAction.do?method=edit')"  paramId="editnumber" paramProperty="guid"/>
		<display:column property="orderdate" title="订单日期" sortable="true" />
		<display:column property="customername" title="客户名称" sortable="true" maxLength="4"/>
		<display:column property="warehouseid" title="发货仓库" sortable="true" />
		<display:column property="printingdate" title="PL时间" />
		<display:column property="timenum" title="" bgcolor="blue"/>
		
		<display:column property="inputdate" title="输单日期" sortable="true" />
		<display:column property="effectiveinfo" title="生效情况" maxLength="4"/>
		<display:column property="shorting" title="缺货情况" maxLength="4"/>
		<display:column property="amount" title="数量" />
		<display:column property="track" title="追踪" maxLength="4"/>
		<display:column property="salespersons" title="销售员" />
		<display:column property="ok" title="订单状态" maxLength="5"/>
	</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>	&nbsp;
				<button class="button" onclick="back();"><bean:message key="button.back" /></button>
			<td/>
		</tr>
 	</table>
 	<html:hidden property="orderInfo.areaid"/>
 	<html:hidden property="orderInfo.address" styleId="addressStr"/>
</html:form>

</html:html>

⌨️ 快捷键说明

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