<!DOCTYPE html>
|
<html>
|
|
<head>
|
<meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=1.0" />
|
<meta charset="UTF-8" />
|
<!-- <meta name="viewport" content="width=device-width, initial-scale=0.665, minimum-scale=0.5, maximum-scale=1, user-scalable=no" /> -->
|
<!-- <meta name="viewport" content="width=device-width, initial-scale=0.665" /> -->
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
<title>Boxline PDA</title>
|
|
<link rel="stylesheet" href="/layui/css/layui.css" />
|
<link rel="stylesheet" href="/css/style.css" />
|
<script src="/js/adaptive.js"></script>
|
<link rel="stylesheet" href="/css/my.css" />
|
<style type="text/css">
|
td {
|
word-break: break-all;
|
word-wrap: break-word;
|
}
|
|
.layui-form-switch {
|
margin-top: 0;
|
}
|
|
/* 标签样式 */
|
.tableyang-this a {
|
margin: 10px 10px 0px 0px;
|
line-height: 30px;
|
width: 100px;
|
color: #999;
|
text-align: center;
|
float: left;
|
background: #f7f7f7;
|
user-select: none;
|
position: relative;
|
z-index: 1;
|
cursor: pointer;
|
border-radius: 5px;
|
border: 1px solid #ccc;
|
transition: all 0.3s ease;
|
}
|
|
.tableyang-this a.hover {
|
color: #5298ff;
|
background-color: #eff2ff;
|
border: 1px solid #5298ff;
|
}
|
|
/* 内容居中 */
|
.tableyang-tab {
|
display: flex;
|
/* justify-content: center; */
|
/* align-items: center; */
|
flex-direction: column;
|
height: 90vh;
|
}
|
|
/* 必用样式 */
|
.tableyang-2,
|
.tableyang-3 {
|
display: none;
|
}
|
|
ul {
|
list-style-type: none;
|
padding: 0;
|
}
|
|
li {
|
cursor: pointer;
|
background-color: lightgray;
|
padding: 10px;
|
margin-bottom: 5px;
|
}
|
</style>
|
<link rel="stylesheet" href="/css/adapter.css" />
|
<script src="../../js/jquery.js"></script>
|
<script src="../../js/jquery-3.5.1.min.js"></script>
|
</head>
|
|
<body>
|
<div id="" class="main-content">
|
|
<div id="" class="layout-title">
|
<table border="" cellspacing="" cellpadding="">
|
<tr>
|
<td class="img-back"><a href="../index.html"><img src="/assets/back.jpg"></a></td>
|
<td class="title-text" lang>指定储位</td>
|
<td class="title-menu-icon"><img id="menuImg" src="/assets/menu.jpg"></td>
|
</tr>
|
</table>
|
</div>
|
|
<div id="" class="layout-sub-content">
|
<div id="menuList" class="menu">
|
<ul class="" style="text-align: center;">
|
<li><a href="../index.html" lang>主页</a></li>
|
<!-- <li><a href="productEnterConfirm.html">入库信息确认</a></li> -->
|
<li><a href="../login.html" lang>重新登录</a></li>
|
</ul>
|
</div>
|
|
<!-- 无码 -->
|
<div id="content2">
|
<div id="zongDiv" class="layout-bill-info" style="height: 150px;">
|
<form class="layui-form" id="form2" action="">
|
<div id="" class="layui-form-item layout-input">
|
<label class="layui-form-label">托盘码</label>
|
<div class="layui-input-block">
|
<input id="pln" type="text" placeholder=""
|
autocomplete="off" class="layui-input" >
|
</div>
|
</div>
|
<div id="" class="layui-form-item layout-input">
|
<label class="layui-form-label">储位码</label>
|
<div class="layui-input-block">
|
<input id="locateNo" type="text" placeholder=""
|
autocomplete="off" class="layui-input" >
|
</div>
|
</div>
|
|
<table class="layout-tbl-submit" border="" cellspacing="" cellpadding="">
|
<tr>
|
<td style="width: 30%;"></td>
|
<td style="width: 40%;">
|
<button class="layout-btn layout-btn-blue" lang type="button" lay-submit
|
lay-filter="formCall1">指定</button>
|
</td>
|
<td style="width: 30%;"></td>
|
|
</tr>
|
</table>
|
|
</form>
|
</div>
|
|
<br>
|
|
|
</div>
|
|
</div>
|
</div>
|
<script src="/js/jquery-3.5.1.min.js"></script>
|
<script src="/layui/layui.js"></script>
|
<script src="/js/public.js"></script>
|
<script src="/js/language.js"></script>
|
<script src="/js/jquery.cookie.js"></script>
|
<script>
|
layui.use(['form', 'jquery'], function () {
|
var form = layui.form
|
|
/*——————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————*/
|
$("#TaskNo").val("");
|
$("#TaskId").val("");
|
initLanguage()
|
setLanguage()
|
|
form.on('submit(formCall1)', function (data) {
|
if ($("#pln").val() == "") {
|
layer.msg('托盘码不能为空', {
|
icon: 2,
|
time: 2000 //2秒关闭(如果不配置,默认是3秒)
|
});
|
return;
|
}
|
if ($("#locateNo").val() == "") {
|
layer.msg('储位不能为空', {
|
icon: 2,
|
time: 2000 //2秒关闭(如果不配置,默认是3秒)
|
});
|
return;
|
}
|
var param = {
|
PalletNo: $("#pln").val(),
|
LocatNo:$("#locateNo").val()
|
}
|
//呼叫小车
|
sendData(IP + "/PdaAsn/SaveAppointLocate", param, 'post', function (res) {
|
if (res.Success == "0") { //成功
|
layer.msg(res.Message, {
|
icon: 1,
|
time: 1000 //2秒关闭(如果不配置,默认是3秒)
|
}, function () {
|
$("#pln").val(""),
|
$("#locateNo").val("")
|
});
|
} else { //不成功
|
layer.msg(res.Message, {
|
icon: 2,
|
time: 2000 //2秒关闭(如果不配置,默认是3秒)
|
}, function () {
|
$("#pln").val(""),
|
$("#locateNo").val("")
|
});
|
}
|
});
|
|
|
return false; //阻止表单跳转。如果需要表单跳转,去掉这段即可。
|
});
|
|
/*——————————————————————————————————————————————————————————*/
|
|
|
$("#menuImg").click(function (e) {
|
//console.log("menuImg")
|
e.stopPropagation()
|
|
if ($("#menuList").is(":hidden")) {
|
$("#menuList").show()
|
} else {
|
$("#menuList").hide()
|
}
|
})
|
$('body').click(function () {
|
// //console.log("body")
|
$("#menuList").hide()
|
})
|
})
|
</script>
|
</body>
|
|
</html>
|