You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

832 lines
32 KiB
Plaintext

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DT_OrderReturn.aspx.cs" Inherits="TradeManageNew.DingDan.DT_OrderReturn" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>订单信息</title>
<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="../themes/icon.css" />
<link rel="stylesheet" type="text/css" href="../themes/New.css?a=1" />
<link rel="stylesheet" type="text/css" href="../themes/DataGrid.css" />
<script src="../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
<script src="../Scripts/jquery.min.js" type="text/javascript"></script>
<script src="../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
<script src="../Scripts/DataGrid.js?a=3445" type="text/javascript"></script>
<script src="../Scripts/DataPager.js" type="text/javascript"></script>
<script src="../Scripts/jquery.bgiframe.min.js" type="text/javascript"></script>
<script src="../Scripts/Global.js" type="text/javascript"></script>
<script src="../Scripts/jquery.url.js" type="text/javascript"></script>
<script src="../Scripts/WindowLoad.js" type="text/javascript"></script>
<script src="../Scripts/jquery.cookies.min.js" type="text/javascript"></script>
<script src="../Scripts/MaskedTextBox.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../Scripts/fancybox2.1/source/jquery.fancybox.css?v=2.1.5"
media="screen" />
<script type="text/javascript" src="../Scripts/fancybox2.1/lib/jquery.mousewheel-3.0.6.pack.js"></script>
<script type="text/javascript" src="../Scripts/fancybox2.1/source/jquery.fancybox.js?v=2.1.5"></script>
<script src="../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
<script type="text/javascript" src="../Scripts/highcharts.js"></script>
<script src="../Scripts/kindeditor/kindeditor-min.js" type="text/javascript"></script>
<script src="../Scripts/kindeditor/lang/zh_CN.js" type="text/javascript"></script>
<script type="text/javascript">
var datagrid1 = new nblf.ui.DataGrid("DataGrid1");
var WindowLoadModel = new WindowLoad();
var id = 0;
var ScanState = 0;
$(document).ready(function () {
WindowLoadModel.ApplicationPath = "../";
WindowLoadModel.ControlID = "WindowLoad";
WindowLoadModel.Isbgiframe = true;
WindowLoadModel.Load();
ajaxInit(WindowLoadModel);
CreateDataGrid();
$("#txt_trackcode").focus();
GetShopList();
ReadData();
$(document).keyup(function (event) {
if ($("#txt_trackcode").is(":focus") == true && event.keyCode == 13) {
if ($("#txt_trackcode").val()!="")
ReadData();
}
});
$("#btn_tj1").bind("click", function () {
Clearcss();
ScanState = 0;
$(this).attr("class", "btnSelected");
ReadData();
});
$("#btn_tj2").bind("click", function () {
ScanState = 2;
Clearcss();
$("#btn_Word").show();
$(this).attr("class", "btnSelected");
//$("#btn_Send").show();
ReadData();
});
$("#btn_tj3").bind("click", function () {
Clearcss();
ScanState = 1;
$(this).attr("class", "btnSelected");
ReadData();
});
$("#btn_tj6").bind("click", function () {
Clearcss();
ScanState = -1;
$(this).attr("class", "btnSelected");
ReadData();
});
$("#" + datagrid1.TableID + " input[CommandName='cmdEdit']").live("click", function () {
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
id = model.id;
$("#txt_tracking_id").val(model.tracking_id);
$("#select_offerup").val(model.IsOfferUp);
$("#select_maketplace").val(model.IsMaketPlace);
fopen();
});
$("#" + datagrid1.TableID + " input[CommandName='cmdEdit2']").live("click", function () {
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
id = model.id;
$("#txt_ERPOrderCode").val("");
fopen2();
});
$("#" + datagrid1.TableID + " input[CommandName='cmdPrint']").live("click", function () {
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
$("#txt_trackcode").val("");
PrintCode(model.barcode,model.ordercode);
});
$("#btn_excel").click(function () {
window.location = "DT_OrderReturnImport.aspx";
});
$("#div_img img").live("click", function () {
$("#img_1").attr("src", $(this).attr("src"));
});
$("#" + datagrid1.TableID + " [CommandName='cmdImg']").live("click", function () {
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
$("#img_1").attr("src", model.ImgUrl);
$("#div_img").empty();
let imgList = [model.ImgUrl, model.ImgUrl2, model.ImgUrl3, model.ImgUrl4, model.ImgUrl5].filter(it => it)
imgList.forEach(it => {
$("#div_img").append("<img src='../" + it + "' width='100px' height='80px' style='margin-right:5px'/>");
})
fopen3();
});
});
function Clearcss() {
$("#btn_tj1,#btn_tj2,#btn_tj3,#btn_tj6").attr("class", "btnUnSelected");
}
function fopen() {
$.fancybox({
'width': '40%',
'height': '40%',
'autoScale': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'href': '#test',
'onComplete': function () {
}
});
}
function fopen3() {
$.fancybox({
'width': '40%',
'height': '40%',
'autoScale': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'href': '#test3',
'onComplete': function () {
}
});
}
function GetShopList() {
$("#select_shop").empty();
//if (AllShop == "1")
$("#select_shop").append("<option value='0'>全部</option>");
var param = new Object();
param.DeptId = "0";
param.PlatType ="0";
WindowLoadModel.Show();
$.ajax({
url: "../BaseDataNew.asmx/GetShopListForTM",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
async: false,
success: function (data) {
WindowLoadModel.Hide();
if (data.d != null) {
$(data.d).each(function (i) {
$("#select_shop").append("<option value='" + this.ShopId + "'>" + this.ShopName + "</option>");
});
}
}
});
}
function fopen() {
$.fancybox({
'width': '40%',
'height': '40%',
'autoScale': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'href': '#test',
'onComplete': function () {
}
});
}
function fopen2() {
$.fancybox({
'width': '40%',
'height': '40%',
'autoScale': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'href': '#test2',
'onComplete': function () {
}
});
}
//#region 初始化DataGrid
function CreateDataGrid() {
var col = new nblf.ui.DataGridColumn();
col.HeaderText = "Shop";
col.CellTemplate = "<span>{Bind ShopName}</span>";
col.SortExpression = "c.ShopName";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "OrderCode";
//CommandName='cmdLook'
col.CellTemplate = "<a href='DD_OrderGoodsMateForTM.aspx?Title=订单查询&OrderId={Bind orderid}' target='_blank' class='linka'>{Bind ordercode}</a>";
col.SortExpression = "ordercode";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "order_date";
//CommandName='cmdLook'
col.CellTemplate = "<a>{Bind order_date,yyyy-MM-dd HH:mm}</a>";
col.SortExpression = "order_date";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "SKU";
col.CellTemplate = "<a><img src='{Bind Img_Url}' alt='' width='50px' height='50px'/>{Bind merchant_sku}</a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "return_quantity";
col.CellTemplate = "<a>{Bind return_quantity}</a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "order_amount";
col.CellTemplate = "<a>{Bind order_amount}</a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "refund_amount";
col.CellTemplate = "<a>{Bind refund_amount}</a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "label_cost";
col.CellTemplate = "<a>{Bind label_cost}</a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "tracking_id";
col.CellTemplate = "<a>{Bind tracking_id}</a> <a>【{Bind return_carrier}】</a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "return_reason_code";
col.CellTemplate = "<div>{Bind return_reason_code}</div>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "Scan Status";
col.SortExpression = "ScanState";
col.CellTemplate = "<span>{Bind ScanState}</span>";
col.CellFormatter = function (value) {
switch (value) {
case "2": return "First Scan";
case "1": return "Final Scan";
default: return "No Scan";
}
};
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "ScanDate";
col.SortExpression = "ScanDate";
col.CellTemplate = "<span>{Bind ScanDate,yyyy-MM-dd HH:mm}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "Scan Name";
col.CellTemplate = "<span>{Bind Name}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "WareHouse";
col.CellTemplate = "<span>{Bind StoreName}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "InType";
col.SortExpression = "InType";
col.CellTemplate = "<span>{Bind InType}</span>";
col.CellFormatter = function (value) {
switch (value) {
case "1": return "Restock";
case "4": return "Sale";
case "2": return "CTN change";
case "3": return "Scrap";
case "5": return "Claim";
case "6": return `<span style="color:red">Empty box</span>`;
case "7": return `<span style="color:red">Different item</span>`;
case "8": return `<span style="color:red">No item</span>`;
default: return "";
}
};
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "Return PostionCode";
col.CellTemplate = "<span>{Bind PostionCode}</span>";
col.SortExpression = "PostionCode";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "Return BarCode";
col.CellTemplate = "<span>{Bind barcode}</span>";
col.SortExpression = "barcode";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "Photos";
col.CellTemplate = "<a CommandName='cmdImg' iul='{Bind ImgUrl}' ><img src='../{Bind ImgUrl}' alt='' width='100px' height='100px'/></a>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "OfferUp";
col.CellTemplate = "<span>{Bind IsOfferUp}</span>";
col.CellFormatter = function (value) {
switch (value) {
case 0: return "No";
case 1: return "Yes";
default: return "No";
}
};
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "MaketPlace";
col.CellTemplate = "<span>{Bind IsMaketPlace}</span>";
col.CellFormatter = function (value) {
switch (value) {
case 0: return "No";
case 1: return "Yes";
default: return "No";
}
};
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "操作";
col.Width = "300px";
col.CellTemplate = "<input CommandName='cmdPrint' class='btnClass dgbtnEdit' type='button' value='PrintBarCode'></input>&nbsp;<input CommandName='cmdEdit' class='btnClass dgbtnEdit' type='button' value='Edit'></input>;&nbsp;<input CommandName='cmdEdit2' class='btnClass dgbtnEdit' type='button' value='修改单号'></input>";
Array.add(datagrid1.Columns, col);
datagrid1.SetPageSize(50);
datagrid1.SetPageIndex(1);
datagrid1.SortExpression = "Id ";
datagrid1.ViewSortDirection = "desc";
datagrid1.IsFixHeader = false;
datagrid1.ShowIndexColumn = false;
datagrid1.AllowPaging = true;
datagrid1.AllowPaging2 = true;
datagrid1.ShowIndexColumn = true;
datagrid1.Width = "100%";
datagrid1.SelectMode = nblf.ui.SelectMode.None;
datagrid1.Init();
datagrid1.Sorting(function () {
ReadData();
});
datagrid1.add_PageIndexChanged(function () { ReadData(); });
}
var PState = 0;
//#endregion
//#region 读取数据
function ReadData() {
var param = new Object();
param.ShopId = $("#select_shop").val();
param.ScanState = ScanState;// $("#select_scanstate").val();
param.OrderCode = $("#txt_OrderCode").val();
param.SKU = $("#txt_SKU").val();
param.trackcode = $("#txt_trackcode").val();
param.SDate = null;
if ($("#txt_SDate").val() != "")
param.SDate = $("#txt_SDate").val();
param.EDate = null;
if ($("#txt_EDate").val() != "")
param.EDate = $("#txt_EDate").val();
param.SDate2 = null;
if ($("#txt_SDate2").val() != "")
param.SDate2 = $("#txt_SDate2").val();
param.EDate2 = null;
if ($("#txt_EDate2").val() != "")
param.EDate2 = $("#txt_EDate2").val();
param.trackcz = $("#select_tracking").val();
param.changestate = $("#select_changestate").val();
param.warehouse = $("#select_warehouse").val();
param.InType = $("#select_InType").val();
param.PageSize = datagrid1.Get_PageSize();
param.PageIndex = datagrid1.Get_PageIndex();
param.Sort = datagrid1.SortExpression + " " + datagrid1.ViewSortDirection;
WindowLoadModel.Show();
$.ajax({
url: "../DD_OrderServiceNew.asmx/GetListOrderForReturn",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
WindowLoadModel.Hide();
datagrid1.Set_RowCount(data.d.RowCount);
datagrid1.DataBind(data.d.DataSource);
$("a[iul]").each(function () {
var iul = $(this).attr("iul");
if (iul == "")
$(this).hide();
});
}
});
}
function GetTimediff(date1)
{
// var date1= '2015/05/01 00:00:00'; //开始时间
var date2 = new Date(); //结束时间
var date3 =new Date(date1).getTime()-date2.getTime(); //时间差的毫秒数
//计算出相差天数
if(date3<=0)
return "0";
var days=Math.floor(date3/(24*3600*1000))
//计算出小时数
var leave1=date3%(24*3600*1000) //计算天数后剩余的毫秒数
var hours=Math.floor(leave1/(3600*1000))
return days+"天 "+hours+"小时";
}
function GetExcelData() {
var param = new Object();
param.IsDetail = 0;
if ($("#chk_pp").is(':checked') == true)
param.IsDetail = 1;
if ($("#select_plat").find("option").length > 0)
param.PlatType = $("#select_plat").val();
else
param.PlatType = 0;
if ($("#select_shop").find("option").length > 0)
param.ShopId = $("#select_shop").val();
else
param.ShopId = 0;
if ($("#txt_days").val() != "")
param.OutDays = $("#txt_days").val();
else
param.OutDays = 0;
param.DateType = $("#select_rqlx").val();
param.SDate = null;
if ($("#txt_SDate").val() != "")
param.SDate = $("#txt_SDate").val();
param.EDate = null;
if ($("#txt_EDate").val() != "")
param.EDate = $("#txt_EDate").val();
param.TjType = $("#select_tj").val();
param.Name = $("#txt_Name").val();
param.MateState = $("#select_ppstate").val();
param.State = $("#select_fhstate").val();
param.PrintState = $("#select_printstate").val();
param.IsSku = 0;
param.MoneyState = $("#select_moneystate").val();
if ($("#chk_sku").is(':checked') == true)
param.IsSku = 1;
param.IsError = 0;
if ($("#chk_yc").is(':checked') == true)
param.IsError = 1;
param.HBOrder = 0;
if ($("#chk_hb").is(':checked') == true)
param.HBOrder = 1;
var fname = "订单导出.xls";
WindowLoadModel.Show();
$.ajax({
url: "DD_OrderService.asmx/ExcelOrderData",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
async: false,
success: function (data) {
WindowLoadModel.Hide();
params = { FilePath: data.d, FileName: fname };
window.location = "../GlobalAshx/DownFile.ashx?" + jQuery.param(params);
}
});
}
//#endregion
//#region 删除
function Save() {
if ($("#txt_tracking_id").val() == "") {
alert("tracking_id is empty");
return;
}
var param = new Object();
param.id = id;
param.tracking_id = $("#txt_tracking_id").val();
param.IsOfferUp = $("#select_offerup").val();
param.IsMaketPlace = $("#select_maketplace").val();
$.ajax({
url: "../DD_OrderServiceNew.asmx/updatetracking",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
success: function (data) {
alert("保存成功");
$.fancybox.close();
}
});
ReadData();
}
//#region 删除
function Save2() {
if ($("#txt_ERPOrderCode").val() == "") {
alert("ERPOrderCode is empty");
return;
}
var param = new Object();
param.id = id;
param.ordercode = $("#txt_ERPOrderCode").val();
$.ajax({
url: "../DD_OrderServiceNew.asmx/UpdateOrderReturn",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
success: function (data) {
if (data.d == 1) {
alert("保存成功");
$.fancybox.close();
ReadData();
}
else {
alert("你填的订单号erp找不到");
}
}
});
}
//#region 删除
function PrintCode(code,ordercode) {
var param = new Object();
param.code = code;
param.ordercode = ordercode;
$.ajax({
url: "../HuoWuServiceNew.asmx/PrintReturnCode",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
success: function (data) {
if (data.d != "")
window.open("DD_DoneOrderListNew.aspx?url=" + data.d);
}
});
}
</script>
</head>
<body class="headbody">
<div class="title_ico">
订单退货</div>
<div style="display: none">
<div id="test" title="货物图片" style="width:600px; height:400px;">
<table width="95%" class="tableAll" border="1" ellspacing="0" cellpadding="2">
<tr>
<td style="width: 80px;" class="f1">
return label tracking_id
</td>
<td align="left">
<input id="txt_tracking_id" type="text" />
</td>
</tr>
<tr>
<td style="width: 80px;" class="f1">
OfferUp
</td>
<td align="left">
<select id="select_offerup" class="selectClass" name="D10" style="width: 120px">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</td>
</tr>
<tr>
<td style="width: 80px;" class="f1">
MaketPlace
</td>
<td align="left">
<select id="select_maketplace" class="selectClass" name="D10" style="width: 120px">
<option value="0">No</option>
<option value="1">Yes</option>
</select>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input
id="btn_Save" type="button" class="btnClass btnClassSave" value="Save" onclick="Save();" />
</td>
</tr>
</table>
</div>
<div id="test2" title="货物图片" style="width:600px; height:400px;">
<table width="95%" class="tableAll" border="1" ellspacing="0" cellpadding="2">
<tr>
<td style="width: 80px;" class="f1">
ERP OrderCode
</td>
<td align="left">
<input id="txt_ERPOrderCode" type="text" />
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input
id="btn_Save2" type="button" class="btnClass btnClassSave" value="Save" onclick="Save2();" />
</td>
</tr>
</table>
</div>
<div id="test3" title="货物图片" style="width: 700px; height: 500px;">
<table width="95%" class="tableAll" border="1" ellspacing="0" cellpadding="2">
<tr>
<td colspan="2" align="center">
<img src="" width="500px" height="350px" id="img_1" />
</td>
</tr>
<tr>
<td style="width: 80px;" class="f1">
图片:
</td>
<td align="left">
<div id="div_img">
</div>
</td>
</tr>
</table>
</div>
</div>
<table id="tb1" class="tableAll" style="width: 100%;">
<tr>
<td class="f1" width="10%">&nbsp;</td>
<td colspan="5">
<input id="btn_tj1" type="button" value="No Scan" class="btnSelected" /> <input id="btn_tj2" class="btnUnSelected" type="button" value="Return To WareHouse" /> <input id="btn_tj3" class="btnUnSelected" type="button" value="Return To Location" /> <input id="btn_tj6" class="btnUnSelected" type="button" value="ALL" /></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="f1" width="10%">tracking_id</td>
<td colspan="5">
<input id="txt_trackcode" class="editTextbox" style="width: 300px;" type="text" /> <font color="red">Scan gun scanning and printing barcode</font></td>
<td>
&nbsp;</td>
</tr>
<tr>
<td class="f1" width="10%">shop</td>
<td width="18%">
<select id="select_shop" class="selectClass" style="width: 120px" name="D7">
</select></td>
<td class="f1" width="12%">OrderCode </td>
<td width="18%">
<select id="select_dept" class="selectClass" style="width: 90px;display:none" name="D8">
</select><input id="txt_OrderCode" class="editTextbox" style="width: 120px;" type="text" /> </td>
<td class="f1" style="width: 10%;">
SKU</td>
<td width="22%">
<input id="txt_SKU" class="editTextbox" style="width: 120px;" type="text" /></td>
</tr>
<tr>
<td class="f1" width="10%">tracking_id&nbsp; exist:</td>
<td width="18%">
<select id="select_tracking" class="selectClass" name="D10" style="width: 120px">
<option value="-1">All</option>
<option value="0">no exist</option>
<option value="1">yes exist</option>
</select></td>
<td style="width: 12%;color:red" class="f1" align="center">ChangeOrder</td>
<td width="15%">
<select id="select_changestate" class="selectClass" name="D11" style="width: 120px">
<option value="-1">All</option>
<option value="0">Not processed</option>
</select></td>
<td class="f1" style="width: 10%;">
Order Date:</td>
<td width="22%" colspan="2">
<input id="txt_SDate" class="editTextbox" onfocus="WdatePicker()" style="width: 120px;" type="text" />-<input id="txt_EDate" class="editTextbox" onfocus="WdatePicker()" style="width: 120px;" type="text" /></td>
</tr>
<tr>
<td class="f1" style="width: 10%;">InType:</td>
<td width="15%">
<select id="select_InType" class="selectClass" name="D11" style="width: 120px">
<option value="0">All</option>
<option value="1">Restock</option>
<option value="4">Sale</option>
<option value="5">Claim</option>
<option value="2">CTNchange</option>
<option value="3">Scrap</option>
<option value="6">Empty box</option>
<option value="7">Different item</option>
<option value="8">No item</option>
</select>
</td>
<td class="f1" style="width: 10%;">WareHouse:</td>
<td width="15%">
<select id="select_warehouse" class="selectClass" name="D11" style="width: 120px">
<option value="-1">All</option>
<option value="0">W</option>
<option value="1">E</option>
</select>
</td>
<td class="f1" style="width: 10%;">
Scan Date:</td>
<td width="22%" colspan="2">
<input id="txt_SDate2" class="editTextbox" onfocus="WdatePicker()" style="width: 120px;" type="text" />-<input id="txt_EDate2" class="editTextbox" onfocus="WdatePicker()" style="width: 120px;" type="text" /></td>
</tr>
<tr>
<td>
<input id="btn_sch" class="btnClass btnClassFind" type="button" value="查询" onclick="ReadData();" />
<input id="btn_excel" class="btnClass btnClassEdit" type="button" value="退货订单导入" />
</td>
</tr>
<tr>
<td valign="top" colspan="7">
<div id="DataGrid1" class="DataGridStyle"></div>
</td>
</tr>
</table>
</body>
</html>