From a4c9640034563dc03ab422a6e7cea86efb761d40 Mon Sep 17 00:00:00 2001 From: wxw <Administrator@DESKTOP-5BIMHQ3> Date: 星期日, 21 九月 2025 16:21:41 +0800 Subject: [PATCH] 修改入库单删除功能,SAP下发的单据也可删除 --- Pda/View/SoSetting/productOutCode.html | 826 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 826 insertions(+), 0 deletions(-) diff --git a/Pda/View/SoSetting/productOutCode.html b/Pda/View/SoSetting/productOutCode.html new file mode 100644 index 0000000..8f41278 --- /dev/null +++ b/Pda/View/SoSetting/productOutCode.html @@ -0,0 +1,826 @@ +<!DOCTYPE html> +<html> + +<head> + <meta charset="UTF-8" /> + <meta name="viewport" content="user-scalable=0,width=device-width,initial-scale=1.0" /> + <!-- <meta name="viewport" content="width=device-width, initial-scale=0.665, minimum-scale=0.5, maximum-scale=2.0, user-scalable=no" /> --> + <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"> + .layout-bill-info { + height: auto; + /* background-color: #009E94; */ + } + + .layout-tbl-submit { + margin-top: 10px; + } + + /* .out-scatter-num { + background-color: #009688; + + } */ + .out-scatter-num .local-input { + width: 40%; + height: 25px; + float: left; + } + + .out-scatter-num .local-ok button { + height: 25px; + border: 0; + color: #FFFFFF; + background-color: #0a93e3; + border-radius: 3px; + padding: 2px; + margin-left: 10px; + width: 100%; + } + + .out-scatter-num .layui-input-block { + width: 100%; + /* background-color: #009E94; */ + margin-left: 0; + } + + .out-scatter-num .local-ok { + width: 20%; + height: 25px; + float: left; + } + + .btn-ok-blue { + border: none; + color: #FFFFFF; + background-color: #0a93e3; + width: 48%; + height: 36px; + border-radius: 5px; + } + + .btn-ok-red { + border: none; + color: #FFFFFF; + background-color: #9f1707; + width: 48%; + height: 36px; + border-radius: 5px; + } + + .btn-ok-blue:active { + opacity: 0.8; + } + + .btn-ok-red:active { + opacity: 0.8; + } + + .layout-tbl-paging { + margin-top: 20px; + } + + .foot-container { + text-align: center; + } + + .layout-tab-page { + height: auto; + } + + .layui-form-checkbox { + margin: auto; + /* padding-left: 2px; */ + /* padding-right: 2px; */ + } + + .div-tbl-title { + width: 98%; + margin: auto; + /* background-color: #4476A7; */ + height: 30px; + } + + .div-tbl-title table { + width: 100%; + height: 30px; + } + + td { + word-break: break-all; + word-wrap: break-word; + } + + .layui-input-block .layui-input, + .layui-input-block .layui-textarea { + padding-left: 0rem; + font-size: 13px; + } + + .lableWidth { + width: 17%; + } + + .layui-input-block { + width: 83%; + margin-left: 17%; + } + + .layui-form-switch { + margin-top: 0; + } + + 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" /> +</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">鎴愬搧鎷h揣</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">涓婚〉</a></li> + <li><a href="../login.html">閲嶆柊鐧诲綍</a></li> + </ul> + </div> + + + <div id="" class="layout-bill-info"> + <form class="layui-form" action="" style="height: auto;"> + + <div id="layout-bill" class="layui-form-item layout-dropdownlist"> + <label class="layui-form-label lableWidth">鍑哄簱鍗曪細</label> + <div class="layui-input-block" id="selectDiv"> + <select id="bar" lay-filter="getbar" lay-search> + <option value=""></option> + </select> + <img src="/assets/down_arraw.png"> + </div> + </div> + <div id="layout-skuLotNo" class="layui-form-item layout-dropdownlist"> + <label class="layui-form-label lableWidth">鐗╂枡 - 鎵规锛�</label> + <div class="layui-input-block"> + <select id="skuLotNo" lay-filter="getSkuLotNo" lay-search> + <option value=""></option> + </select> + <img src="/assets/down_arraw.png"> + </div> + </div> + <div id="" class="layout-tab-page"> + <table class="tbl-box-sim-info" border="" cellspacing="" cellpadding=""> + <tr> + <td colspan="3"> + <div class="layui-form-item"> + <label class="layui-form-label" style="width: 17%;">涓嬪彂鍗曞彿锛�</label> + <div class="layui-input-block" style="width: 83%;margin-left:17%;"> + <input id="OrderCode" type="text" lay-verify="" disabled placeholder="" + class="layui-input"> + </div> + </div> + </td> + + </tr> + <tr> + <td> + <div class="layui-form-item"> + <label class="layui-form-label" style="width: 50%;">璁″垝鏁伴噺锛�</label> + <div class="layui-input-block" style="width: 50%;margin-left:50%;"> + <input id="planQty" type="text" lay-verify="" disabled placeholder="" + class="layui-input"> + </div> + </div> + </td> + <td> + <div class="layui-form-item"> + <label class="layui-form-label" style="width: 50%">瀹屾垚鏁伴噺锛�</label> + <div class="layui-input-block" style="width: 50%;margin-left:50%;"> + <input id="finishQty" type="text" lay-verify="" disabled placeholder="" + class="layui-input"> + </div> + </div> + + </td> + <td> + <div class="layui-form-item"> + <label class="layui-form-label" style="width: 34%;">鍑哄簱鍙o細</label> + <div class="layui-input-block" style="width: 66%;margin-left:34%;"> + <input id="outModel" type="text" lay-verify="" disabled placeholder="" + class="layui-input"> + </div> + </div> + </td> + </tr> + <tr> + <td colspan="3"> + <div class="layui-form-item"> + <label class="layui-form-label" style="width: 17%;">瑙勬牸锛�</label> + <div class="layui-input-block" style="width: 83%;margin-left:17%;"> + <input id="standard" type="text" lay-verify="" disabled placeholder="" + class="layui-input"> + </div> + </div> + </td> + + </tr> + </table> + </div> + + <div id="layout-pallet" class="layui-form-item layout-input"> + <label class="layui-form-label lableWidth">鎵樼洏鏉$爜锛�</label> + <div class="layui-input-block"> + <input id="palletNo" type="text" lay-verify="stock" placeholder="璇锋壂鎻忔墭鐩樻潯鐮�" + autocomplete="off" class="layui-input" style="height:24px"> + </div> + </div> + <div id="" class="layui-form-item layout-input"> + <label class="layui-form-label" lang>鏄惁鏁存墭鍑哄簱锛�</label> + <div class="layui-input-block"> + <input type="checkbox" name="IsZhengTuo" id="IsZhengTuo" lay-skin="switch" + lay-text="鏄瘄鍚�" lay-filter="IsZhengTuo"> + </div> + </div> + <div id="BoxDIv" class="layout-tab-page"> + <table class="layout-tab-content" border="" cellspacing="" cellpadding=""> + <tr> + <td> + <div class="layui-form-item layout-input"> + <label class="layui-form-label lableWidth">鏍囩鏉$爜锛�</label> + <div class="layui-input-block"> + <input id="boxNo" type="text" placeholder="璇锋壂鎻忔爣绛炬潯鐮�" autocomplete="off" + class="layui-input"> + </div> + </div> + </td> + </tr> + </table> + </div> + <div id="" class="layout-tab-page"> + <table class="layout-tab-content" border="" cellspacing="" cellpadding=""> + <tr> + <td> + <table class="tbl-box-sim-info" border="" cellspacing="" cellpadding=""> + <tr> + <td> + <div class="layui-form-item"> + <label class="layui-form-label lableWidth">寰呮嫞鏁伴噺锛�</label> + <div class="layui-input-block"> + <input id="pickQty" type="text" lay-verify="" disabled + placeholder="" class="layui-input"> + </div> + </div> + </td> + <td> + <div class="layui-form-item"> + <label class="layui-form-label lableWidth">宸叉壂鏁伴噺锛�</label> + <div class="layui-input-block"> + <input id="scanQty" type="text" lay-verify="" disabled + placeholder="" class="layui-input"> + </div> + </div> + </td> + + </tr> + </table> + </td> + </tr> + </table> + <table class="layout-tab-content"> + <tr> + <td style="width: 33%;"></td> + <td> + <button class="layout-btn layout-btn-red" lang type="button" lay-submit + lay-filter="formPickScatter">鎷h揣</button> + </td> + <td style="width: 33%;"></td> + + </tr> + </table> + <div id="" style="text-align: right;margin-top: 10px; display: none;"> + <div id="" class="cut-line"> + <img src="/assets/fengexian.png"> + </div> + </div> + </div> + + </form> + </div> + + <div class="layout-tbl-paging" id=""> + <table id="tableBoxList" class="tbl-box-list" border="" cellspacing="" cellpadding=""> + <tr id="tableHead"> + <th style="width: 54%;">鏍囩鏉$爜</th> + <th style="width: 20%;">鏁伴噺</th> + </tr> + <tr id="boxCell" style="display: none;"> + <td name="boxNo">AG000001</td> + <td name="qty">30</td> + </tr> + </table> + + </div> + + </div> + + </div> + + + <script src="/js/jquery-3.5.1.min.js"></script> + <script src="/layui/layui.js"></script> + <script src="/js/jquery.cookie.js"></script> + <script src="/js/public.js"></script> + + <script> + layui.use(['form', 'jquery'], function () { + var form = layui.form; + + /* 鏍囩鍒囨崲浠g爜 */ + + var xianshiyemian = 0; + + + var boxes = []; + var scanQty=0; + //鏄惁鏁存墭鎷h揣 + var isContinue = "0"; + var tableData = null + var tableData2 = null + var canPickBox = true + $("#palletNo").focus();//鍏夋爣榛樿閫変腑 + + function clear1() { + $("#OrderCode").val("");//涓嬪彂鍗曞彿 + $('#outModel').val("");//鍑哄簱鍙� + $('#standard').val("");//瑙勬牸 + + $('#pickQty').val("");//寰呮嫞鏁伴噺 + } + function clear2() { + //鐗╂枡鎵规 + $("#skuLotNo").empty() + $("#skuLotNo").append('<option value =>' + '</option>'); + form.render('select'); + } + function clear3() { + $("#planQty").val(""); //璁″垝鏁伴噺 + $("#finishQty").val("");//瀹屾垚鏁伴噺 + } + function clear4() { + $('#boxNo').val("");//绠辩爜 + $('#boxQty').val("");//绠卞唴鏁伴噺 + } + //褰撴墭鐩樻潯鐮佽緭鍏ユ鏂囨湰鏀瑰彉鏃�,妫�鏌ヤ竴涓嬫墭鐩樼姸鎬� + $("#palletNo").on('input', function () { + + if ($("#palletNo").val() == "" || $("#palletNo").val().length < 8) { + return + } + if ($("#palletNo").val().length >= 8) { + $("#palletNo").val($("#palletNo").val().substr(-8)) + } + checkPalletState() + }) + + form.on('switch(IsZhengTuo)', function (obj) { + if (obj.elem.checked) { + var boxNum=0; + var param = { + "PalletNo": $("#palletNo").val() + } + synData(IP + "/PdaSo/CheckBoxForPick", param, 'get', function (res) { + if (res.code == 0) { //鎴愬姛 + boxNum=res.data + $('#scanQty').val(boxNum); + + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + return; + } + }); + $('#BoxDIv').attr("style", "display:none") + isContinue = "1"; + refreshTable(); + boxes = []; + } else { + $('#BoxDIv').attr("style", "display:block") + isContinue = "0"; + $('#scanQty').val(0); + } + $('#boxNo').val(""); + }); + + //绠辩爜鏂囨湰妗嗗洖杞︿簨浠� + $("#boxNo").blur(function () { + + }); + //褰撶鐮佽緭鍏ユ鏂囨湰鏀瑰彉鏃� + $("#boxNo").on('input', function () { + if ($("#boxNo").val() == "" || $("#boxNo").val().length < 20) { + return + } + if ($("#palletNo").val() == "" || $("#palletNo").val().length < 8) { + layer.msg("璇峰厛鎵弿鎵樼洏鏉$爜", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { + //鍥炶皟 + }); + $("#boxNo").val('') + return; + } + var box; + if ($("#boxNo").val().length >= 20) { + var boxNum=0; + var param = { + "PalletNo": $("#palletNo").val(), + "BoxNo":$("#boxNo").val() + } + synData(IP + "/PdaSo/CheckBoxForPick", param, 'get', function (res) { + if (res.code == 0) { //鎴愬姛 + boxNum=res.data + box={BoxNo: $("#boxNo").val(), Qty:boxNum } + + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + return; + } + }); + + var isExist = boxes.some(function(item) { + return item.BoxNo === box.BoxNo; + }); + if (isExist) { + layer.msg("璇ユ潯鐮佸凡鎵弿锛�", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { + //鍥炶皟 + }); + $("#boxNo").val('') + return; + } + boxes.push(box); + tableData = deepCopy(boxes) + refreshTable(tableData) + $("#boxNo").val('') + + scanQty=scanQty+boxNum + $('#scanQty').val(scanQty); + } + }) + + //妫�鏌ユ墭鐩樼姸鎬� + function checkPalletState() { + + var param = { + "PalletNo": $("#palletNo").val() + } + synData(IP + "/PdaSo/IsEnableOkPalletNo", param, 'post', function (res) { + + if (res.code == 0) { //鎴愬姛 + updateBillList(); + if ($('#bar').val() == "") { + clear1(); + return; + } else { + updateSkuLotNoList(); + updateQtyList(); + getBar(); + } + + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + } + }); + } + //涓嬫媺鍗曟嵁閫変腑鍚庝簨浠� + form.on('select(getbar)', function (data) { + if ($('#palletNo').val() == "") { + layer.msg("璇疯緭鍏ユ墭鐩樻潯鐮�", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { + //鍥炶皟 + }); + return + } + if ($('#bar').val() == "") { + clear1(); + clear2(); + clear3(); + return + } + updateSkuLotNoList(); + updateQtyList(); + getBar(); + }); + //涓嬫媺鐗╂枡鎵规閫変腑鍚庝簨浠� + form.on('select(getSkuLotNo)', function (data) { + if ($('#palletNo').val() == "") { + layer.msg("璇疯緭鍏ユ墭鐩樻潯鐮�", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { + clear1(); + clear3(); + }); + return + } + if ($('#skuLotNo').val() == "") { + clear1(); + clear3(); + return + } + updateQtyList(); + getBar(); + }); + + //鍒濆鍖栨覆鏌� 鍑哄簱鍗� + function updateBillList() { + + $("#bar").empty() + $("#bar").append('<option value =>' + '</option>'); + form.render('select'); + + var param = { + PalletNo: $("#palletNo").val(), + }; + synData(IP + "/PdaSo/GetRunSoNoticeList", param, 'post', function (res) { + if (res.code == 0) { //鎴愬姛 + console.log(res.data); + for (var i = 0; i < res.data.length; i++) { + if (i == 0) { + $("#bar").append('<option value =' + res.data[i] + ' selected>' + res.data[i] + '</option>'); + } else { + $("#bar").append('<option value =' + res.data[i] + '>' + res.data[i] + '</option>'); + } + } + form.render('select'); + + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); + } + }); + } + + //鍒濆鍖栨覆鏌� 鐗╂枡-鎵规 + function updateSkuLotNoList() { + clear2(); + + var param = { + PalletNo: $("#palletNo").val(), + SoNo: $("#bar").val(), + }; + synData(IP + "/PdaSo/GetSoSkuLotNoListByPallet", param, 'post', function (res) { + if (res.code == 0) { //鎴愬姛 + for (var i = 0; i < res.data.length; i++) { + if (i == 0) { + $("#skuLotNo").append('<option value =' + res.data[i].SoDetailId + ' selected>' + res.data[i].SkuName + " - " + res.data[i].LotNo + '</option>'); + + } else { + $("#skuLotNo").append('<option value =' + res.data[i].SoDetailId + '>' + res.data[i].SkuName + " - " + res.data[i].LotNo + '</option>'); + } + } + form.render('select'); + + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + } + }); + } + + //鍒濆鍖栨覆鍗曟嵁鐨勮鍒掓暟閲忓拰瀹屾垚鏁伴噺 + function updateQtyList() { + clear3(); + var param = { + SoDetailId: $("#skuLotNo").val(), + }; + synData(IP + "/PdaSo/GetPlanAndFinishQty", param, 'post', function (res) { + if (res.code == 0) { //鎴愬姛 + console.log(res.data); + $("#planQty").val(res.data.PlanQty) + $("#finishQty").val(res.data.FinishQty) + $("#OrderCode").val(res.data.OrderCode) + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + } + }); + } + + //鏍规嵁鍗曟嵁鑾峰彇鍑哄簱鍙� + function getBar() { + clear1(); + + var param = { + PalletNo: $("#palletNo").val(), + SoDetailId: $("#skuLotNo").val(), + } + synData(IP + "/PdaSo/GetOutlets", param, 'post', function (res) { + if (res.code == 0) { //鎴愬姛 + let data = res.data + console.log(res.data); + $('#outModel').val(res.data.OutModel); + $('#standard').val(res.data.Standard); + + $('#pickQty').val(res.data.PickQty); + } else { //涓嶆垚鍔� + if ($("#planQty").val() == $("#finishQty").val()) { + return; + } + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { }); + } + }); + + } + + //娓叉煋琛ㄦ牸鏁版嵁 + function refreshTable(list) { + //鍏堟竻绌轰竴涓嬩俊鎭垪琛� + let trs = $("#tableBoxList tr") + let len = trs.length + for (i = len - 1; i >= 2; i--) { + trs[i].remove(); + } + + if (list != null && list.length > 0) { //鎴愬姛 + + var arrTrs = new Array() + let idx = 0 + for (var i in list) { + // list[i].BoxCode + var tr = $("#boxCell").eq(0).clone(); + tr.appendTo("#tableBoxList"); + // tr.attr('id', list[i].BoxCode) + idx++; + tr.attr('index', idx) + tr.find("td[name='boxNo']").html(list[i].BoxNo); + tr.find("td[name='qty']").html(list[i].Qty); + + tr.show(); + arrTrs[i] = tr + } + canPickBox = true + + } else { //涓嶆垚鍔� + // layer.msg("鏃犳暟鎹�", { + // icon: 2, + // time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + // }, function () { }); + // $("#boxNum").val(0) + } + } + //鍗曟嫞璐э紙纭鎸夐挳锛� + form.on('submit(formPickScatter)', function (data) { + + if ($('#bar').val() == "") { + layer.msg("璇烽�夋嫨鍑哄簱鍗�", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); return; + } + if ($('#bar').val() == "") { + layer.msg("璇烽�夋嫨鐗╂枡-鎵规", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); return; + } + if ($('#palletNo').val() == "") { + layer.msg("璇疯緭鍏ユ墭鐩樼爜", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); return; + } + if($("#planQty").val()!=$("#scanQty").val()){ + layer.msg("宸叉壂鏁伴噺鍜岃鍒掓暟閲忎笉涓�鑷达紒", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); return; + } + if (isContinue == "0") { + if (boxes == null || boxes.length<=0) { + layer.msg("璇锋壂鎻忔爣绛剧爜", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); return; + } + } + if (canPickBox == false) { + + layer.msg("璇锋眰鏈畬鎴愶紝涓嶈閲嶅璇锋眰", { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }); + return; + } + + reqPickScatter() + + return false; //闃绘琛ㄥ崟璺宠浆銆傚鏋滈渶瑕佽〃鍗曡烦杞紝鍘绘帀杩欐鍗冲彲銆� + }); + + //纭鎷h揣 + function reqPickScatter() { + var boxList=[]; + for(var i=0;i<boxes.length;i++){ + boxList.push(boxes[i].BoxNo) + } + var param = { + "SoNo": $("#bar").val(), + "SoDetailId": $("#skuLotNo").val(), + "PalletNo": $('#palletNo').val(), + "BoxNoList": boxList + } + sendData(IP + "/PdaSo/SoSetPickCode", param, 'post', function (res) { + //console.log(res); + + if (res.code == 0) { //鎴愬姛 + layer.msg(res.msg, { + icon: 1, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { + canPickBox = true//鍥炶皟 + $("#boxNo").val(''); + updateQtyList(); + getBar(); + refreshTable(); + boxes = []; + }); + } else { //涓嶆垚鍔� + layer.msg(res.msg, { + icon: 2, + time: 2000 //2绉掑叧闂紙濡傛灉涓嶉厤缃紝榛樿鏄�3绉掞級 + }, function () { + canPickBox = true;//鍥炶皟 + }); + } + }); + } + + //---------------------------------------------------------------------------------- + //涓婚〉鍙婇噸鏂扮櫥褰� + $("#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> \ No newline at end of file -- Gitblit v1.8.0