<%@ page language="java"  contentType="text/html;charset=UTF-8"%>
<jsp:include page="../check_logstate.jsp"/> 
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/sell.css" /> 

<div id="sell_manage"></div>
<div id="sell_manage_tool" style="padding:5px;">
	<div style="margin-bottom:5px;">
		<a href="#" class="easyui-linkbutton" iconCls="icon-edit-new" plain="true" onclick="sell_manage_tool.edit();">修改</a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-delete-new" plain="true" onclick="sell_manage_tool.remove();">删除</a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-reload" plain="true"  onclick="sell_manage_tool.reload();">刷新</a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-redo" plain="true" onclick="sell_manage_tool.redo();">取消选择</a>
		<a href="#" class="easyui-linkbutton" iconCls="icon-export" plain="true" onclick="sell_manage_tool.exportExcel();">导出到excel</a>
	</div>
	<div style="padding:0 0 0 7px;color:#333;">
		<form id="sellQueryForm" method="post">
			销售产品：<input class="textbox" type="text" id="productObj_productId_query" name="productObj.productId" style="width: auto"/>
			销售客户：<input class="textbox" type="text" id="customerObj_customerId_query" name="customerObj.customerId" style="width: auto"/>
			销售日期：<input type="text" id="sellDate" name="sellDate" class="easyui-datebox" editable="false" style="width:100px">
			支付方式：<input type="text" class="textbox" id="payWay" name="payWay" style="width:110px" />
			物流公司：<input type="text" class="textbox" id="logistics" name="logistics" style="width:110px" />
			运单号：<input type="text" class="textbox" id="wayNumber" name="wayNumber" style="width:110px" />
			<a href="#" class="easyui-linkbutton" iconCls="icon-search" onclick="sell_manage_tool.search();">查询</a>
		</form>	
	</div>
</div>

<div id="sellEditDiv">
	<form id="sellEditForm" enctype="multipart/form-data"  method="post">
		<div>
			<span class="label">销售id:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_sellId_edit" name="sell.sellId" style="width:200px" />
			</span>
		</div>
		<div>
			<span class="label">销售产品:</span>
			<span class="inputControl">
				<input class="textbox"  id="sell_productObj_productId_edit" name="sell.productObj.productId" style="width: auto"/>
			</span>
		</div>
		<div>
			<span class="label">销售客户:</span>
			<span class="inputControl">
				<input class="textbox"  id="sell_customerObj_customerId_edit" name="sell.customerObj.customerId" style="width: auto"/>
			</span>
		</div>
		<div>
			<span class="label">销售单价:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_price_edit" name="sell.price" style="width:80px" />

			</span>

		</div>
		<div>
			<span class="label">销售数量:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_sellCount_edit" name="sell.sellCount" style="width:80px" />

			</span>

		</div>
		<div>
			<span class="label">销售日期:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_sellDate_edit" name="sell.sellDate" />

			</span>

		</div>
		<div>
			<span class="label">支付方式:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_payWay_edit" name="sell.payWay" style="width:200px" />

			</span>

		</div>
		<div>
			<span class="label">物流公司:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_logistics_edit" name="sell.logistics" style="width:200px" />

			</span>

		</div>
		<div>
			<span class="label">运单号:</span>
			<span class="inputControl">
				<input class="textbox" type="text" id="sell_wayNumber_edit" name="sell.wayNumber" style="width:200px" />

			</span>

		</div>
		<div>
			<span class="label">销售备注:</span>
			<span class="inputControl">
				<textarea id="sell_sellMemo_edit" name="sell.sellMemo" rows="8" cols="60"></textarea>

			</span>

		</div>
	</form>
</div>
<script type="text/javascript" src="Sell/js/sell_manage.js"></script> 
