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.

858 lines
33 KiB
Plaintext

2 months ago
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CK_House.aspx.cs" Inherits="TradeManage.CangKu.CK_House" %>
<!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/default/textbox.css" />
<link rel="stylesheet" type="text/css" href="../themes/icon.css" />
<link rel="stylesheet" type="text/css" href="../themes/New.css" />
<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" type="text/javascript"></script>
<script src="../Scripts/DataPager.js" type="text/javascript"></script>
<script src="../Scripts/DateBox.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>
<link rel="stylesheet" type="text/css" href="../Scripts/fancybox/jquery.fancybox-1.3.4.css"
media="screen" />
<script type="text/javascript" src="../Scripts/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
<script type="text/javascript" src="../Scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<script src="../Scripts/DatePicker/WdatePicker.js" type="text/javascript"></script>
<script src="../Scripts/MaskedTextBox.js" type="text/javascript"></script>
<script src="../Scripts/LodopFuncs.js" type="text/javascript"></script>
<script src="../Scripts/JSLINQ.js" type="text/javascript"></script>
<script type="text/javascript">
var datagrid1 = new nblf.ui.DataGrid("DataGrid1");
var datagrid2 = new nblf.ui.DataGrid("DataGrid2");
var WindowLoadModel = new WindowLoad();
var StoreId = 0;
$(document).ready(function () {
WindowLoadModel.ApplicationPath = "../";
WindowLoadModel.ControlID = "WindowLoad";
WindowLoadModel.Isbgiframe = true;
WindowLoadModel.Load();
ajaxInit(WindowLoadModel);
CreateDataGrid();
CreateDataGrid2();
ReadData();
$("#chk_ckyxj").MaskedTextBox();
$("#" + datagrid1.TableID + " input[CommandName='cmdEdit']").live("click", function () {
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
StoreId = model.StoreId;
GetStoreModel();
fopen();
});
$("#" + datagrid1.TableID + " input[CommandName='cmdSet']").live("click", function () {
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
StoreId = model.StoreId;
ReadData2();
fopen1();
});
$("#" + datagrid1.TableID + " input[CommandName='cmdOpen']").live("click", function () {
if (window.confirm('确定要"' + $(this).val() + '"这个仓库吗?') == false) return;
var RowIndex = $(this).parentsUntil("tr").parent().attr("index");
var model = datagrid1.Get_Model(RowIndex);
StoreId = model.StoreId;
if ($(this).val() == "关闭") {
if (model.IsDefault == 1) {
alert("该仓库是默认入库仓库,不能关闭,请另外设置一个默认仓库后再来删除");
return;
}
UpdateStoreState(0);
}
else
UpdateStoreState(1);
});
$("#div_img img").live("click", function () {
$("#img_1").attr("src", $(this).attr("src"));
});
$("#btn_add").bind("click", function () {
StoreId = 0;
// GetShop("");
// GetCountry("");
fopen();
});
// $('#select_cklx').bind("change", function () {
// if ($(this).val() == "2") {
// $("#tr1").show();
// $("#tr2").show();
// }
// else {
// $("#tr1").hide();
// $("#tr2").hide();
// }
// });
//CheckIsInstall();
$("#btn_Print").bind("click", function () {
Print();
});
$("#btn_sch").bind("click", function () {
ReadData2();
});
});
function Print() {
var list = datagrid2.GetSelectListModel();
if (list == null || list.length == 0) {
alert("请选择要打印的库位");
return;
}
//var WareNo = "";
//$(list).each(function () {
// WareNo += this.PostionCode + ",";
//});
var param = new Object();
param.list = list;
$.ajax({
url: "../HuoWuServiceNew.asmx/GeStoreLabel",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
if (data.d != "")
window.parent.addTab("打印", "../DingDan/DD_DoneOrderListNew.aspx?url=" + data.d, true);
}
});
// window.parent.addTab("打印", "PrintTemplate/WarePrint.aspx?Title=订单打印&WareNo=" + WareNo, true);
}
function PrintCode(Code, Name) {
LODOP.ADD_PRINT_BARCODE(12, 15, 160, 40, "128A", Code);
LODOP.SET_PRINT_STYLEA(0, "Horient", 3);
LODOP.SET_PRINT_STYLEA(0, "Vorient", 3);
LODOP.ADD_PRINT_TEXT(61, 15, 160, 20, Name);
}
function PrintCode2(Code, Name) {
LODOP.ADD_PRINT_BARCODE(12, 10, 130, 45, "128A", Code);
LODOP.SET_PRINT_STYLEA(0, "Horient", 3);
LODOP.SET_PRINT_STYLEA(0, "Vorient", 3);
LODOP.ADD_PRINT_TEXT(61, 10, 100, 20, Name);
}
//#region 检测是否安装过打印机控件
function CheckIsInstall() {
try {
LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
if (LODOP != null) { return true; }
else { return false; }
} catch (err) {
//alert("Error:本机未安装或需要升级!");
return false;
}
}
function GetStoreModel() {
var param = new Object();
param.StoreId = StoreId;
WindowLoadModel.Show();
$.ajax({
url: "CangKuServer.asmx/GetStoreModel",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
WindowLoadModel.Hide();
if (data.d != null) {
$("#txt_cjcode").val(data.d.StoreCode);
$("#txt_cjmc").val(data.d.StoreName);
$("#txt_bz").val(data.d.Remark);
$("#select_cklx").val(data.d.StoreType);
if (data.d.StoreType == 1)
{
$("#tr1").hide();
$("#tr2").hide();
}
else {
$("#tr1").show();
$("#tr2").show();
}
$("#chk_ckyxj").val(data.d.LevelGrade);
if(data.d.IsUse==1)
$("#chk_sfsy").attr("checked", "checked");
else
$("#chk_sfsy").removeAttr("checked");
if (data.d.IsDefault == 1)
$("#chk_mrrk").attr("checked", "checked");
else
$("#chk_mrrk").removeAttr("checked");
if (data.d.UseShop != null && data.d.UseShop != "") {
GetShop(data.d.UseShop);
}
else
GetShop("");
if (data.d.UseCountry != null && data.d.UseCountry != "") {
GetCountry(data.d.UseCountry);
}
else
GetCountry("");
}
}
});
}
function UpdateStoreState(IsUse) {
var param = new Object();
param.StoreId = StoreId;
param.IsUse = StoreId;
WindowLoadModel.Show();
$.ajax({
url: "CangKuServer.asmx/UpdateStoreHouse",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
WindowLoadModel.Hide();
if (data.d == 1) {
alert("该仓库是默认入库仓库,不能关闭,请另外设置一个默认仓库后再来删除");
return;
}
else {
alert("修改成功");
ReadData();
}
}
});
}
function GetShop(ShopIds) {
$("#div_pt").empty();
var param = new Object();
param.ShopIds = ShopIds;
var shophtml = new Sys.StringBuilder();
$.ajax({
url: "CangKuServer.asmx/GetShopList",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
async: false,
success: function (data) {
if (data.d != null) {
$(data.d).each(function () {
shophtml.append("<span style='width:70px;display:inline-block;display:-moz-inline-box;'>" + this.PlatName + ":</span>");
$(this.ShopList).each(function (i) {
if (this.IsCheck == true)
shophtml.append("<input id='chk_1'+'" + i.toString() + "' shopid='" + this.ShopId + "' type='checkbox' checked='checked'/><label for='chk_1'+'" + i.toString() + "'>" + this.ShopName + "</label>");
else
shophtml.append("<input id='chk_1'+'" + i.toString() + "' shopid='" + this.ShopId + "' type='checkbox' /><label for='chk_1'+'" + i.toString() + "'>" + this.ShopName + "</label>");
});
shophtml.append("<br/>");
});
$("#div_pt").html(shophtml.toString());
}
}
});
}
function GetCountry(CountryIds) {
$("#div_gj").empty();
var param = new Object();
param.CountryIds = CountryIds;
var shophtml = new Sys.StringBuilder();
$.ajax({
url: "CangKuServer.asmx/GetFbaCountry",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
async: false,
success: function (data) {
if (data.d != null) {
$(data.d).each(function (i) {
if (this.IsCheck == true)
shophtml.append("<input id='chk_1'+'" + i.toString() + "' countryid='" + this.Code + "' type='checkbox' checked='checked'/><label for='chk_1'+'" + i.toString() + "'>" + this.Name + "</label>");
else
shophtml.append("<input id='chk_1'+'" + i.toString() + "' countryid='" + this.Code + "' type='checkbox' /><label for='chk_1'+'" + i.toString() + "'>" + this.Name + "</label>");
});
$("#div_gj").html(shophtml.toString());
}
}
});
}
function fopen() {
$.fancybox({
'width': '40%',
'height': '40%',
'autoScale': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'href': '#test',
'onComplete': function () {
}
});
}
function fopen1() {
$.fancybox({
'width': '40%',
'height': '40%',
'autoScale': false,
'transitionIn': 'elastic',
'transitionOut': 'elastic',
'href': '#test1',
'onComplete': function () {
}
});
}
//#endregion
//#region 初始化DataGrid
function CreateDataGrid() {
var col = new nblf.ui.DataGridColumn();
col.HeaderText = "仓库编码";
col.CellTemplate = "<span>{Bind StoreCode}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "仓库名称";
col.CellTemplate = "<span>{Bind StoreName}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "仓库地址";
col.CellTemplate = "<span>{Bind Remark}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "仓库类型";
col.CellTemplate = "<span>{Bind StoreTypeName}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "发货优先级";
col.CellTemplate = "<span>{Bind LevelGrade}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "当前启用状态";
col.CellTemplate = "<span style='color:red'>{Bind UseState}</span>&nbsp;&nbsp;&nbsp;&nbsp;<input CommandName='cmdOpen' class='btnClass dgbtnEdit' type='button' value='{Bind BackState}'>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "是否默认入库仓库";
col.CellTemplate = "<span>{Bind CKDefault}</span>";
Array.add(datagrid1.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "操作";
col.Width = "250px";
col.CellTemplate = "<input CommandName='cmdSet' class='btnClass dgbtnEdit' type='button' value='设置库位'></input>&nbsp;&nbsp;<input CommandName='cmdEdit' class='btnClass dgbtnEdit' type='button' value='编辑'></input>&nbsp;&nbsp;<input CommandName='cmdDel' class='btnClass dgbtnDel' type='button' value='删除' onclick='DelCol(this,0);'></input>";
Array.add(datagrid1.Columns, col);
datagrid1.SetPageSize(50);
datagrid1.SetPageIndex(1);
datagrid1.IsFixHeader = false;
datagrid1.ShowIndexColumn = false;
datagrid1.AllowPaging = false;
datagrid1.Width = "100%";
datagrid1.SelectMode = nblf.ui.SelectMode.None;
datagrid1.Init();
}
function CreateDataGrid2() {
var col = new nblf.ui.DataGridColumn();
col.HeaderText = "所属货架";
col.CellTemplate = "<span>{Bind PostionBox}</span>";
Array.add(datagrid2.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "库位编码";
col.CellTemplate = "<span>{Bind PostionCode}</span>";
Array.add(datagrid2.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "货架层";
col.CellTemplate = "<span>{Bind SortNo}</span>";
Array.add(datagrid2.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "库位名称";
col.CellTemplate = "<span>{Bind PostionDesc}</span>";
Array.add(datagrid2.Columns, col);
col = new nblf.ui.DataGridColumn();
col.HeaderText = "操作";
col.Width = "150px";
col.CellTemplate = "<input onclick='EditPostion(this);' class='btnClass dgbtnEdit' type='button' value='编辑'></input>&nbsp;&nbsp;<input class='btnClass dgbtnDel' type='button' value='删除' onclick='DelPostion(this);'></input>";
Array.add(datagrid2.Columns, col);
datagrid2.SetPageSize(10);
datagrid2.SetPageIndex(1);
datagrid2.IsFixHeader = false;
datagrid2.ShowIndexColumn = false;
datagrid2.AllowPaging = true;
datagrid2.Width = "100%";
datagrid2.SelectMode = nblf.ui.SelectMode.CheckBox;
datagrid2.Init();
datagrid2.add_PageIndexChanged(function () { ReadData2(); });
}
var PostionId = 0;
function EditPostion(obj) {
var rowindex = $(obj).parent().parent().attr("index");
var param = new Object();
var model = datagrid2.Get_Model(rowindex);
PostionId = model.PostionId;
if (model.IsLS == 1) {
$("#chk_IsLS").attr("checked", "checked");
}
else
$("#chk_IsLS").removeAttr("checked");
$("#txtPostionCode").val(model.PostionCode);
$("#txtPostionBox").val(model.PostionBox);
$("#txtPostionDesc").val(model.PostionDesc);
$("#txtRemark").val(model.Remark);
$("#txt_SortNo").val(model.SortNo);
}
function DelPostion(obj) {
if (window.confirm('确定要删除吗?') == false) return;
var rowindex = $(obj).parent().parent().attr("index");
var param = new Object();
var model = datagrid2.Get_Model(rowindex);
param.PostionId = model.PostionId;
if (model.PostionId > 0) {
$.ajax({
url: "CangKuServer.asmx/DeletePostion",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
success: function (data) {
alert("删除成功");
}
});
}
datagrid2.Del_Row(rowindex);
}
//#endregion
//#region 读取数据
function ReadData() {
WindowLoadModel.Show();
$.ajax({
url: "CangKuServer.asmx/GetStoreHouseInfo",
//data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
WindowLoadModel.Hide();
datagrid1.DataBind(data.d);
}
});
}
function ReadData2() {
var param = new Object();
param.StoreId = StoreId;
param.Name = $("#txt_Code").val();
param.IsLs = 0;
if ($("#chk_ls").is(":checked") == true)
param.IsLs = 1;
param.PageSize = datagrid2.Get_PageSize();
param.PageIndex = datagrid2.Get_PageIndex();
param.Sort = "SortNo desc";
WindowLoadModel.Show();
$.ajax({
url: "CangKuServer.asmx/GetStorePostionListForTM",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
WindowLoadModel.Hide();
datagrid2.Set_RowCount(data.d.RowCount);
datagrid2.DataBind(data.d.DataSource);
}
});
}
//#endregion
//#region 删除
function DelCol(obj,flag) {
if (window.confirm('确定要删除吗?') == false) return;
var rowindex = $(obj).parent().parent().attr("index");
var param = new Object();
var model = datagrid1.Get_Model(rowindex);
if (model.IsDefault == 1) {
alert("该仓库是默认入库仓库,不能删除,请另外设置一个默认仓库后再来删除");
return;
}
param.StoreId = model.StoreId;
$.ajax({
url: "CangKuServer.asmx/DeleteStore",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
success: function (data) {
if (data.d == 1) {
alert("该仓库下面有货物库存或者有订单货物匹配着,请移除该仓库下面的货物后再删除");
return;
}
else {
alert("删除成功");
datagrid1.Del_Row(rowindex);
}
}
});
}
function save() {
if ($("#txt_cjcode").val() == "") {
alert("请填写仓库编码");
return;
}
if ($("#txt_cjmc").val() == "") {
alert("请填写仓库名称");
return;
}
var param = new Object();
var Model = new Object();
Model.StoreId = StoreId;
Model.StoreCode = $("#txt_cjcode").val();
Model.StoreName = $("#txt_cjmc").val();
Model.Remark = $("#txt_bz").val();
Model.StoreType = $('#select_cklx').val();
Model.LevelGrade = $("#chk_ckyxj").val();
Model.IsUse = 1;
if ($("#chk_sfsy").is(':checked') == false)
Model.IsUse = 0;
Model.IsDefault = 0;
if ($("#chk_mrrk").is(':checked') == true)
Model.IsDefault = 1;
Model.UsePlat = "0";
// var UseShopIds = "";
// $("input[shopid]:checked").each(function () {
// UseShopIds += $(this).attr("shopid") + ",";
//
// });
// if (UseShopIds != "")
// Model.UseShop = UseShopIds;
// var UseCountryIds = "";
// $("input[countryid]:checked").each(function () {
// UseCountryIds += $(this).attr("countryid") + ",";
// });
// if (UseCountryIds != "")
// Model.UseCountry = UseCountryIds;
param.model = Model;
$.ajax({
url: "CangKuServer.asmx/SaveStore",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
dataType: "json",
success: function (data) {
if (data.d == 0)
{
alert("仓库编码已经存在");
return;
}
alert("保存成功");
$.fancybox.close();
ReadData();
}
});
}
function savekw() {
if ($("#txtPostionCode").val() == "") {
alert("请填写库位编码");
return;
}
if ($("#txtPostionDesc").val() == "") {
alert("请填写库位名称");
return;
}
if ($("#txt_SortNo").val() == "") {
alert("请填写货架层");
return;
}
if ($("#txtPostionBox").val() == "") {
alert("请填写货架号");
return;
}
var param = new Object();
var Model = new Object();
Model.PostionId = PostionId;
Model.StoreId = StoreId;
Model.PostionBox = $("#txtPostionBox").val();
Model.PostionCode = $("#txtPostionCode").val();
Model.PostionDesc = $("#txtPostionDesc").val();
Model.IsLS = 0;
if ($("#chk_IsLS").is(":checked") == true)
Model.IsLS =1;
Model.Remark = $("#txtRemark").val();
Model.SortNo = $("#txt_SortNo").val();
param.model = Model;
$.ajax({
url: "CangKuServer.asmx/SaveGoodsPostion2",
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
success: function (data) {
if (data.d == -1)
{
alert("该库位编码已经存在");
return;
}
alert("保存成功");
ReadData2();
PostionId = 0;
$("#txtPostionCode").val("");
$("#txtPostionDesc").val("");
$("#txtRemark").val("");
$("#chk_IsLS").removeAttr("checked");
}
});
}
//#endregion
</script>
</head>
<body class="headbody">
<div class="title_ico">
仓库设置
</div>
<div style="display: none">
<div id="test" title="仓库管理" style="width:550px; height:350px;">
<table width="95%" class="tableAll" border="1" ellspacing="0" cellpadding="2">
<tr>
<td class="f1">
仓库类型:
</td>
<td align="left">
<select id="select_cklx" style="width:200px;" class="selectClass">
<option value="1">自有仓</option>
<option value="2">自建海外仓</option>
<option value="3">亚马逊FBA</option>
<option value="4">第三方海外仓</option>
</select>
</td>
</tr>
<tr>
<td style="width: 100px;" class="f1">
<font color="red" style="font-weight:bolder">*</font> 仓库编码:
</td>
<td align="left"><input id="txt_cjcode" class="editTextbox" style="width:200px;height:25px" type="text" />
</td>
</tr>
<tr>
<td style="width: 100px;" class="f1">
<font color="red" style="font-weight:bolder">*</font> 仓库名称:
</td>
<td align="left"><input id="txt_cjmc" class="editTextbox" style="width:200px;height:25px" type="text" />
</td>
</tr>
<tr>
<td class="f1">
备注描述:
</td>
<td align="left"><input id="txt_bz" class="editTextbox" style="width:200px;" type="text" />
</td>
</tr>
<tr style="display:none" id="tr1">
<td class="f1">
海外仓店铺:
</td>
<td align="left"> <div id="div_pt" style="width:95%"></div>
</td>
</tr>
<tr style="display:none" id="tr2">
<td class="f1">
海外仓国家:
</td>
<td align="left"> <div id="div_gj" style="width:95%"></div>
</td>
</tr>
<tr>
<td align="left" colspan="2"><input id="chk_sfsy" type="checkbox" checked="checked"/><label for="chk_IsUse">是否启用</label><input id="chk_mrrk" type="checkbox" /><label for="chk_mrrk">默认入库仓库</label><font color="red">注:默认入库只能一个,设置后另外的默认仓库将取消</font>
</td>
</tr>
<tr>
<td class="f1">
出库优先级:
</td>
<td align="left">
<input id="chk_ckyxj" min='0' max='1000000' precision='0' class="editTextbox" value="1" style="width:50px;"/><a>注:数字越大级别越高,优先出库</a>
</td>
</tr>
<tr>
<td align="center" colspan="2">
<input id="btn_Save" type="button" class="btnClass btnClassSave" value="保存" onclick="save();"/>
</td>
</tr>
</table>
</div>
<div id="test1" title="仓库库位" style="width:700px; height:520px;">
<table width="95%" class="tableAll" border="1" ellspacing="0" cellpadding="2">
<tr>
<td class="f1" width="10%" >
<font color="red" style="font-weight:bolder">*</font> 所属货架:
</td>
<td align="left" colspan="3"><input id="txtPostionBox" class="editTextbox" style="width:120px;height:25px" type="text" />一排货架一个编号例如 H
</td>
</tr>
<tr>
<td class="f1" width="10%" >
<font color="red" style="font-weight:bolder">*</font> 库位编码:
</td>
<td align="left"><input id="txtPostionCode" class="editTextbox" style="width:120px;height:25px" type="text" />
</td> <td class="f1" width="10%" >
<font color="red" style="font-weight:bolder">*</font> 库位名称:
</td>
<td align="left"><input id="txtPostionDesc" class="editTextbox" style="width:120px;height:25px" type="text" />
<input type="button" class="btnClass btnClassSave" value="保存库位" onclick="savekw();"/>
</td>
</tr>
<tr>
<td class="f1" width="10%" >
备注:
</td>
<td align="left" colspan="3"><input id="txtRemark" class="editTextbox" style="width:180px;" type="text" />
货架层:
<input id="txt_SortNo" min='0' max='1000000' precision='0' class="editTextbox" value="1" style="width:50px;"/>越小分配越优先 <input id="chk_IsLS" type="checkbox" style="display:none" />
</td>
  
</tr>
<tr>
<td align="center" colspan="4">
条码尺寸: <select id="select_tmcc" class="selectClass" name="D4" style="width:120px">
<option value="1">40mm*30mm</option>
</select> <input type="button" class="btnClass btnClassEdit" value="打印库位条码" id="btn_Print"/>
</td>
</tr>
<tr>
<td class="f1" width="10%" >
库位:
</td>
<td align="left"><input id="txt_Code" class="editTextbox" style="width:120px;height:25px" type="text" />
</td> <td class="f1" width="10%" >
是否临时入库点:
</td>
<td align="left"><input id="chk_ls" type="checkbox" />
<input id="btn_sch" type="button" class="btnClass btnClassFind" value="查询" />
</td>
</tr>
<tr>
<td colspan="4">
<div id="DataGrid2" class="DataGridStyle" style="overflow:auto;height:320px"></div>
</td>
</tr>
</table>
</div>
</div>
<table id="tb1" class="tableAll" style="width:100%;" >
<tr>
<td colspan="6">
<input id="btn_add" class="btnClass btnClassAdd" type="button" value="新增仓库" />
</td>
</tr>
<tr>
<td valign="top" colspan="6">
<div id="DataGrid1" class="DataGridStyle"></div>
</td>
</tr>
</table>
</body>
</html>