| | |
| | | </ul> |
| | | </div> |
| | | |
| | | <div id="zongDiv" class="layout-bill-info" style="height: 255px;"> |
| | | <div id="zongDiv" class="layout-bill-info" style="height: 335px;"> |
| | | <form class="layui-form" action=""> |
| | | <div id="" class="layui-form-item layout-dropdownlist"> |
| | | <label class="layui-form-label" lang>入库单:</label> |
| | |
| | | <label class="layui-form-label" lang>尾箱条码:</label> |
| | | <div class="layui-input-block"> |
| | | <input id="BOXCODE2" type="text" lang langholder placeholder="请扫描外箱条码" autocomplete="off" |
| | | class="layui-input"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div id="" class="layui-form-item layout-input BOX01"> |
| | | <label class="layui-form-label" lang>二级条码:</label> |
| | | <div class="layui-input-block"> |
| | | <input id="BOXCODE01" type="text" lang langholder placeholder="请扫描二级条码" autocomplete="off" |
| | | class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div id="" class="layui-form-item layout-input BOX01"> |
| | | <label class="layui-form-label" lang>二级连组:</label> |
| | | <div class="layui-input-block"> |
| | | <input type="checkbox" name="IsLianXu2" id="IsLianXu2" lay-skin="switch" lay-text="是|否" |
| | | lay-filter="IsLianXu2"> |
| | | </div> |
| | | </div> |
| | | <div id="" class="layui-form-item layout-input BOX02" style="display: none;"> |
| | | <label class="layui-form-label" lang>二级尾码:</label> |
| | | <div class="layui-input-block"> |
| | | <input id="BOXCODE02" type="text" lang langholder placeholder="请扫描二级条码尾码" autocomplete="off" |
| | | class="layui-input"> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | //当前分页 |
| | | var curPageIndex = 1; |
| | | //是否连续组托 |
| | | //是否连续外箱组托 |
| | | isContinue = "0"; |
| | | //是否连续二级码组托 |
| | | isContinue2 = "0"; |
| | | //清楚文本框中数据 |
| | | function clear() { |
| | | $("#ImportQuantity").val(""); |
| | |
| | | |
| | | function checkBoxInfo() { |
| | | var param = { |
| | | "ASNNo":$("#bar").val(), |
| | | "BoxNo": $("#BOXCODE").val(), |
| | | } |
| | | sendData(IP + "/PdaAsn/GetBoxInfos", param, 'post', function (res) { |
| | | sendData(IP + "/PdaAsn/GetBindBoxInfos", param, 'post', function (res) { |
| | | if (res.code == 0) { //成功 |
| | | var bl = false; console.log(res.data); |
| | | if (res.data.length == 0) { |
| | |
| | | form.on('switch(IsLianXu)', function (obj) { |
| | | if (obj.elem.checked) { |
| | | $('#BOX2').attr("style", "display:block") |
| | | $('#zongDiv').attr("style", "height: 285px;") |
| | | isContinue = "1"; |
| | | $('#zongDiv').attr("style", "height: 335px;") |
| | | isContinue = "1"; |
| | | |
| | | $('.BOX01').attr("style", "display:none") |
| | | $('.BOX02').attr("style", "display:none") |
| | | |
| | | } else { |
| | | $('#BOX2').attr("style", "display:none") |
| | | $('#zongDiv').attr("style", "height: 255px;") |
| | | $('#zongDiv').attr("style", "height: 315px;") |
| | | isContinue = "0"; |
| | | } |
| | | |
| | | $('.BOX01').attr("style", "display:block"); |
| | | } |
| | | $('#BOXCODE2').val(""); |
| | | |
| | | $('#BOXCODE01').val(""); |
| | | $('#BOXCODE02').val(""); |
| | | $('#IsLianXu2').attr("checked", false); |
| | | isContinue2 = "0"; |
| | | }); |
| | | |
| | | form.on('switch(IsLianXu2)', function (obj) { |
| | | if (obj.elem.checked) { |
| | | $('.BOX02').attr("style", "display:block") |
| | | $('#zongDiv').attr("style", "height: 345px;") |
| | | isContinue = "1"; |
| | | } else { |
| | | $('.BOX02').attr("style", "display:none") |
| | | $('#zongDiv').attr("style", "height: 315px;") |
| | | isContinue2 = "0"; |
| | | } |
| | | $('#BOXCODE02').val(""); |
| | | }); |
| | | |
| | | $("#menuImg").click(function (e) { |