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

📄 exportbillsearchcon.jsp

📁 条形码商品管理系统
💻 JSP
📖 第 1 页 / 共 2 页
字号:
%>

    	<form name="form1" method="post" action="" >
    	<font color=#215385><b>查询条件</b></font>
    	<IMG src="images/line1.gif" border=0>
    	<br>
    	<input type="hidden" name="start_rec_num"  value="1">
    	<TABLE width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" class="mailtable"> 
	  <tr>
            <td  align="right"> 
                <b>售货单号:</b>
            </td>
            <td>
            	<SELECT size=1 name="billid">
            		<option value="0">请选择...</option>
            		<%
            			for(int i=0; i<billIdList.size(); i++)
            			{
            				tmpStr = (String)billIdList.get(i);
            		%>
            		<option value="<%=tmpStr%>"><%=tmpStr%></option>
			<%
				}
			%>
            	</SELECT>
            </td>
            <td  align="right"> 
                <b>会员标识:</b>
            </td>
            <td>
            	<SELECT name="memberid">
            		<option value="">请选择...</option>
            		<%
            			for(int i=0; i<memberIdList.size(); i++)
            			{
            				tmpStr = (String)memberIdList.get(i);
            		%>
            		<option value="<%=tmpStr%>"><%=tmpStr%></option>
			<%
				}
			%>
            	</SELECT>
            </td>
            <td  align="right"> 
                <b>销售人员:</b>
            </td>
            <td>
            	<SELECT name="salespersons">
            		<option value="0">请选择...</option>
            		<%
            			for(int i=0; i<salesPersonsList.size(); i++)
            			{
            				tmpStr = (String)salesPersonsList.get(i);
            		%>
            		<option value="<%=tmpStr%>"><%=tmpStr%></option>
			<%
				}
			%>
            	</SELECT>
            </td>
          </tr>
	</TABLE>
    	<TABLE width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" class="mailtable"> 
	  <tr>
		<TD align="right" width=13%><b>借阅时间:</b></TD>
		<TD width=65%>&nbsp;&nbsp;
		起始 
		<input type=text name='exporttime1' size="20" class="none">
		<img src="./images/cal.gif" width="16" height="16" border="0" style="cursor:hand;" align="absmiddle" alt="弹出日历菜单"  onClick="Calendar_exporttime1()">&nbsp; 
		终止 
		<input type=text name='exporttime2'  size="20" class="none"> 
		<img src="./images/cal.gif" width="16" height="16" border="0" style="cursor:hand;" align="absmiddle" alt="弹出日历菜单"  onClick="Calendar_exporttime2()">
		</TD>
		<TD>&nbsp;</TD>
          </tr>
	  <tr>
		<TD align="right" width=13%><b>付款时间:</b></TD>
		<TD width=65%>&nbsp;&nbsp;
		起始 
		<input type=text name='paymenttime1'  size="20" class="none"> 
		<img src="./images/cal.gif" width="16" height="16" border="0" style="cursor:hand;" align="absmiddle" alt="弹出日历菜单"  onClick="Calendar_paymenttime1()">&nbsp; 
		终止 
		<input type=text name='paymenttime2'  size="20" class="none"> 
		<img src="./images/cal.gif" width="16" height="16" border="0" style="cursor:hand;" align="absmiddle" alt="弹出日历菜单"  onClick="Calendar_paymenttime2()">
		</TD>
		<TD>&nbsp;&nbsp;&nbsp;
            		<input name=searchbutton type=button value="查询" onClick='mySubmit1()' >
		</TD>
          </tr>
	  <tr>
		<TD align="right" width=13%><b>排序方式:</b></TD>
		<TD width=65%>
			<SELECT name="orderstr">
				<option value="BillID">售货单号升序</option>
				<option value="BillID DESC">售货单号降序</option>
				<option value="ExportTime">售货时间升序</option>
				<option value="ExportTime DESC">售货时间降序</option>
				<option value="PaymentTime">付款时间升序</option>
				<option value="PaymentTime DESC">付款时间降序</option>
			</SELECT>
		</TD>
		<td>&nbsp;</td>
          </tr>
	</TABLE>
	</form>

	
	<form name="form2" method="post" action="" >
	<font color=#215385><b>售货单列表</b>(共 <font color="red"><%=totalBillNum%></font> 张售货单)</font>

	<IMG src="images/line1.gif" border=0>
	
	<input type="hidden" name="start_rec_num"  value=""><!--提交的时候设置-->
	<input type="hidden" name="orderstr"  value="<%=lastOrderStr%>">
	<input type="hidden" name="billid"  value="<%=lastBillId%>">
	<input type="hidden" name="memberid"  value="<%=lastMemberId%>">
	<input type="hidden" name="salespersons"  value="<%=lastSalesPersons%>">
	<input type="hidden" name="exporttime1"  value="<%=lastExportTime1%>">
	<input type="hidden" name="exporttime2"  value="<%=lastExportTime2%>">
	<input type="hidden" name="paymenttime1"  value="<%=lastPaymentTime1%>">
	<input type="hidden" name="paymenttime2"  value="<%=lastPaymentTime2%>">

	<TABLE width="100%" border="1" cellpadding="3" cellspacing="0" bordercolor="#FFFFFF" class="mailtable">  
		<%
			if(exportBillList.size()>0)
			{
		%>
		<tr bgcolor="#C2CEDC">
		<th></th>
		<th>单号</th>
		<th>会员</th>
		<th>销售人员</th>
		<th>折前总价</th>
		<th>折扣</th>
		<th>实收总价</th>
		<th>售货时间</th>
		<th>付款时间</th>
		<th>取消</th>
		<th>删除</th>
		</tr>
		<%
			}
		%>
		
		<%
		NumberFormat nf = NumberFormat.getNumberInstance();
		nf.setMaximumFractionDigits(2);
		
	    	int index = 0;
      		GoodsExportBillInfo tmpInfo = null;
	      	
	      	for (index=0; index<exportBillList.size(); index++)
		{
	      		tmpInfo = (GoodsExportBillInfo)exportBillList.get(index);
	      	%>
	        <tr <%if((index%2)==1){%>bgcolor="#CAE4F4"<%}%> >
		<td align='center' width=2%><a href="<%= request.getContextPath() + "/exportItemsView.do?billId=" + tmpInfo.getBillId() %>" target='exportitems'><IMG src="images/news1.gif" border=0 alt='查看售货明细'></a></td>
		<td align='center'><%= tmpInfo.getBillId() %>
	        <td align='center'>
	        <%
	        	if(tmpInfo.getMemberId()!=0)
	        	{
	        %>
	        	<%= tmpInfo.getMemberId() %>
	        <%
	        	}
	        %>
	        </td>
	        <td align='center'><%= tmpInfo.getSalesPersons() %></td>
		<td align='center'><%= nf.format(tmpInfo.getTotalPrice()) %></td>
		<td align='center'>
		<%
			if(tmpInfo.getDiscount()==1)
			{
		%>
		<%
			}
			else
			{
		%>
			<font color=#FE60A3><%= tmpInfo.getDiscount()*10 %></font>折
		<%
			}
		%>
		</td>
		<td align='center'><%= nf.format(tmpInfo.getTotalDisPrice()) %></td>
		<td align='center'>
		<%
			String tmptime = tmpInfo.getExportTime();
			if(tmptime==null)tmptime="";
			if(tmptime.length()>=19)
			{
		%>
				<%= tmptime.substring(0,19) %>
		<%
			}
		%>
		</td>
		<td align='center'>
		<%
			if(tmpInfo.getPaymentTime()==null)
			{
		%>
			<font color=#E61577>未付款</font><font color=#215385>【</font><a href="javascript:updatePaymentTime('<%=curStartRecNum%>', '<%= tmpInfo.getBillId() %>') ">付款</a><font color=#215385>】</font>
		<%
			}else if((tmpInfo.getPaymentTime()).length()>=19)
			{
		%>
				<%= tmpInfo.getPaymentTime().substring(0,19) %>
		<%
			}
		%>
		</td>
		<td align='center'>
			<a href="javascript:reimportGoodsForBill('<%=curStartRecNum%>', '<%= tmpInfo.getBillId() %>') ">取消</a>
		</td>
	        <td align='center'>
	        	<a href="javascript:deleteAExportBill('<%=curStartRecNum%>', '<%= tmpInfo.getBillId() %>') "><IMG src="images/delto.gif" border=0></a>
	        </td>
	        </tr>
	        <%
	
	      	}//for
	        %>
	</TABLE>
	</form>

	<!--
	共 <font color="red"><%//=totalBillNum%></font> 条记录&nbsp;&nbsp;&nbsp;
	每页 <font color="red"><%//=curPageRecNum%></font> 条记录&nbsp;&nbsp;&nbsp;
	起始记录为 <font color="red"><%//=curStartRecNum%></font> &nbsp;&nbsp;&nbsp;
	共 <font color="red"><%//=totalPageNum%></font> 页&nbsp;&nbsp;&nbsp;
	当前为第 <font color="red"><%//=curPageIndex%></font> 页&nbsp;&nbsp;&nbsp;
	末页首记录号为 <font color="red"><%//=lastPageFirstRecNum%></font> &nbsp;&nbsp;&nbsp;
	-->
	<div align="right">
		<%
			if(curStartRecNum!=1)
			{
		%>
		<a href="javascript:gotoPageByN(1)"><IMG src="images/startpage.gif" border=0 alt='首页'></a>&nbsp;
		<%
			}
			else
			{
		%>
		<IMG src="images/startpage.gif" border=0 alt='首页'>&nbsp;
		<%	
			}
			
			if(curStartRecNum-curPageRecNum>=1)
			{
		%>
		<a href="javascript:gotoPageByN(<%=curStartRecNum-curPageRecNum%>)"><IMG src="images/lastpage.gif" border=0 alt='上一页'></a>&nbsp;&nbsp;
	    	<%
	    		}
			else
			{
		%>
		<IMG src="images/lastpage.gif" border=0 alt='上一页'>&nbsp;&nbsp;
		<%	
			}
			
	    		if(curStartRecNum+curPageRecNum<=lastPageFirstRecNum)
	    		{
	    	%>
	    	<a href="javascript:gotoPageByN(<%=curStartRecNum+curPageRecNum%>)"><IMG src="images/nextpage.gif" border=0 alt='下一页'></a>&nbsp;
	    	<%
	    		}
			else
			{
		%>
		<IMG src="images/nextpage.gif" border=0 alt='下一页'>&nbsp;
		<%	
			}
			
	    		if(curStartRecNum!=lastPageFirstRecNum && lastPageFirstRecNum>=1)
	    		{
	    	%>
	    	<a href="javascript:gotoPageByN(<%=lastPageFirstRecNum%>)"><IMG src="images/endpage.gif" border=0 alt='末页'></a>&nbsp;&nbsp;&nbsp;&nbsp;
	    	<%
	    		}
			else
			{
		%>
		<IMG src="images/endpage.gif" border=0 alt='末页'>&nbsp;&nbsp;&nbsp;&nbsp;
		<%	
			}
	    	%>
    	</div>
    	
    	<div align="center">
		第 <select name="gotopagenum" onChange="gotoPage()">
		<%for(int i=1; i<=totalPageNum; i++)
		  {%>
			<option value="<%=(i-1)*curPageRecNum+1%>" <%if(i==curPageIndex){%>selected<%}%>><%=i%></option>
		<%}%>
		</select> 页
	</div>

	</td>
        </tr>
        <tr> 
          <td valign="middle" align="center">&nbsp;</td>
        </tr>

      </table>
      
    </td>
    <td width="5"></td>
  </tr>
  <tr> 
    <td width="6"></td>
    <td colspan="2" class="mainhead">&nbsp;</td>
    <td width="5"></td>
  </tr>
  <tr> 
    <td colspan="8" bgcolor="#214984" height="2"></td>
  </tr>
</table>

⌨️ 快捷键说明

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