| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | |
| | | <head> |
| | | <meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=1.0" /> |
| | | <meta charset="UTF-8" /> |
| | |
| | | height: auto; |
| | | /* background-color: #009E94; */ |
| | | } |
| | | |
| | | .btn-ok-blue { |
| | | border: none; |
| | | color: #FFFFFF; |
| | |
| | | height: 36px; |
| | | border-radius: 5px; |
| | | } |
| | | |
| | | .btn-ok-red { |
| | | border: none; |
| | | color: #FFFFFF; |
| | |
| | | height: 36px; |
| | | border-radius: 5px; |
| | | } |
| | | |
| | | .btn-ok-blue:active { |
| | | opacity: 0.8; |
| | | } |
| | | |
| | | .btn-ok-red:active { |
| | | opacity: 0.8; |
| | | } |
| | | |
| | | .foot-container { |
| | | text-align: center; |
| | | /* background-color: #007DDB; */ |
| | |
| | | </style> |
| | | <link rel="stylesheet" href="/css/adapter.css" /> |
| | | </head> |
| | | |
| | | <body> |
| | | <div id="" class="main-content"> |
| | | <div id="" class="layout-title"> |
| | |
| | | </table> |
| | | </div> |
| | | <table id="tableBoxList" class="tbl-box-list" border="" cellspacing="" cellpadding=""> |
| | | <tr><th lang>箱码</th><th lang>名称</th><th lang>数量</th></tr> |
| | | <tr> |
| | | <th lang>箱码</th> |
| | | <th lang>名称</th> |
| | | <th lang>数量</th> |
| | | </tr> |
| | | <tr id="boxCell" style="display: none"> |
| | | <td id="BoxNo" name="BoxNo">AG000001</td> |
| | | <td id="SkuName" name="SkuName">疫苗名称名称名称</td> |
| | |
| | | var curPageIndex = 1 |
| | | var billList = null |
| | | var IsHuiKu=0 //是否回库,0:否 1:是 |
| | | |
| | | // |
| | | //获取入库单 |
| | | function getBar(selectedvalue) { |
| | | if (selectedvalue) { |
| | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | // 储位信息(地码)失去焦点后触发验证 |
| | | $("#LocatNo").blur(function () { |
| | | CheckLocatNo() |
| | | }) |
| | | // 储位信息(地码)点击回车后触发验证 |
| | | $("#LocatNo").keydown(function (e) { |
| | | if (e.keyCode === 13) { |
| | | CheckLocatNo(); |
| | | } |
| | | }); |
| | | // 验证储位信息(地码)是否可用 |
| | | function CheckLocatNo() { |
| | | if ($("#LocatNo").val() == "") { |
| | | return |
| | | } |
| | | var param1 = { |
| | | "LocatNo": $("#LocatNo").val() |
| | | } |
| | | //获取托盘管理的入库单 |
| | | sendData(IP + "/PdaAsn/CheckLocatNo", param1, 'post', function (res) { |
| | | if (res.code != 0) { //成功 |
| | | layer.msg(res.msg, { |
| | | icon: 0, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }); |
| | | |
| | | // 清空地码信息。暂定清空输入框信息 |
| | | $("#LocatNo").val(''); |
| | | return |
| | | } |
| | | }); |
| | | } |
| | | |
| | | //渲染列表 |
| | | function refreshTable() { |
| | | //先清空一下箱子列表 |
| | |
| | | setCurPage(curPageIndex + 1) |
| | | } |
| | | |
| | | function getBoxPageNum() |
| | | { |
| | | function getBoxPageNum() { |
| | | let num = $("#tableBoxList tr").length |
| | | if(num <= 2 ){ |
| | | return 0 |
| | |
| | | }) |
| | | </script> |
| | | </body> |
| | | |
| | | </html> |