| | |
| | | <!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> |
| | | <!--更改桌面icon 仅Android支持--> |
| | | <link rel="shortcut icon" href="../assets/icon.png"> |
| | | <!-- <meta name="mobile-web-app-capable" content="yes"> --> |
| | | |
| | | <link rel="stylesheet" href="../css/my.css" /> |
| | | <style type="text/css"> |
| | | .layout-bill-info { |
| | | height: 255px; |
| | | } |
| | | .layout-tbl-submit { |
| | | margin-top: 10px; |
| | | } |
| | | .menu { |
| | | height: 40px; |
| | | } |
| | | .sub-title-bg { |
| | | background-image: url(../assets/subtitle_bg.png); |
| | | /* margin:20px 10px 5px 10px; */ |
| | | /* background-color: #009688; */ |
| | | height: 26px; |
| | | line-height: 26px; |
| | | margin: auto; |
| | | margin-top: 20px; |
| | | width: 96%; |
| | | } |
| | | .sub-title-bg span { |
| | | font-size: 16px; |
| | | color: #FFFFFF; |
| | | margin-left: 4px; |
| | | /* background-color: #0000FF; */ |
| | | margin-top: 0px; |
| | | } |
| | | .layout-btn-container { |
| | | width: 96%; |
| | | /* margin:5px 10px 5px 10px; */ |
| | | margin: auto; |
| | | } |
| | | .layout-btn-container table { |
| | | width: 100%; |
| | | border-collapse: separate; |
| | | border-spacing: 0px 10px; |
| | | } |
| | | .layout-btn-container table td { |
| | | width: 50%; |
| | | } |
| | | .btn{ |
| | | width: 95%; |
| | | height: 50px; |
| | | font-size: 0.8rem; |
| | | } |
| | | .btn:active{ |
| | | opacity: 0.5; |
| | | } |
| | | .mybtn-primary { |
| | | color: #fff; |
| | | background-color: #007bff; |
| | | border-color: #007bff; |
| | | border: 1px solid transparent; |
| | | font-size: 16px; |
| | | border-radius: 5px; |
| | | line-height: 16px; |
| | | font-weight:normal; |
| | | height: 50px; |
| | | width: 98%; |
| | | } |
| | | .mybtn-primary:active { |
| | | opacity: 0.8; |
| | | } |
| | | .show{ |
| | | display: block; |
| | | } |
| | | .noshow{ |
| | | display: none; |
| | | } |
| | | </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="/View/login.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> |
| | | <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> |
| | | <!--更改桌面icon 仅Android支持--> |
| | | <link rel="shortcut icon" href="../assets/icon.png"> |
| | | <!-- <meta name="mobile-web-app-capable" content="yes"> --> |
| | | |
| | | <link rel="stylesheet" href="../css/my.css" /> |
| | | <style type="text/css"> |
| | | .layout-bill-info { |
| | | height: 255px; |
| | | } |
| | | |
| | | .layout-tbl-submit { |
| | | margin-top: 10px; |
| | | } |
| | | |
| | | .menu { |
| | | height: 40px; |
| | | } |
| | | |
| | | .sub-title-bg { |
| | | background-image: url(../assets/subtitle_bg.png); |
| | | /* margin:20px 10px 5px 10px; */ |
| | | /* background-color: #009688; */ |
| | | height: 26px; |
| | | line-height: 26px; |
| | | margin: auto; |
| | | margin-top: 20px; |
| | | width: 96%; |
| | | } |
| | | |
| | | .sub-title-bg span { |
| | | font-size: 16px; |
| | | color: #FFFFFF; |
| | | margin-left: 4px; |
| | | /* background-color: #0000FF; */ |
| | | margin-top: 0px; |
| | | } |
| | | |
| | | .layout-btn-container { |
| | | width: 96%; |
| | | /* margin:5px 10px 5px 10px; */ |
| | | margin: auto; |
| | | } |
| | | |
| | | .layout-btn-container table { |
| | | width: 100%; |
| | | border-collapse: separate; |
| | | border-spacing: 0px 10px; |
| | | } |
| | | |
| | | .layout-btn-container table td { |
| | | width: 50%; |
| | | } |
| | | |
| | | .btn { |
| | | width: 95%; |
| | | height: 50px; |
| | | font-size: 0.8rem; |
| | | } |
| | | |
| | | .btn:active { |
| | | opacity: 0.5; |
| | | } |
| | | |
| | | .mybtn-primary { |
| | | color: #fff; |
| | | background-color: #007bff; |
| | | border-color: #007bff; |
| | | border: 1px solid transparent; |
| | | font-size: 16px; |
| | | border-radius: 5px; |
| | | line-height: 16px; |
| | | font-weight: normal; |
| | | height: 50px; |
| | | width: 98%; |
| | | } |
| | | |
| | | .mybtn-primary:active { |
| | | opacity: 0.8; |
| | | } |
| | | |
| | | .show { |
| | | display: block; |
| | | } |
| | | |
| | | .noshow { |
| | | display: none; |
| | | } |
| | | </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="/View/login.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 lang href="/View/login.html">重新登录</a></li> |
| | | </ul> |
| | | </div> |
| | | <div id="" class="layout-sub-content"> |
| | | <div id="menuList" class="menu"> |
| | | <ul class="" style="text-align: center;"> |
| | | <li><a lang href="/pda_09/View/login.html">重新登录</a></li> |
| | | </ul> |
| | | </div> |
| | | <div class="" > |
| | | <section> |
| | | <div class="sub-title-bg" > |
| | | <span lang>入库作业区</span> |
| | | </div> |
| | | <div class="layout-btn-container" > |
| | | |
| | | <div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="ruKu"> |
| | | <!-- <a href="/View/AsnSetting/materialEnter.html"><button type="button" class="mybtn-primary" lang>采购入库</button></a> |
| | | <div class=""> |
| | | <section> |
| | | <div class="sub-title-bg"> |
| | | <span lang>入库作业区</span> |
| | | </div> |
| | | <div class="layout-btn-container"> |
| | | |
| | | <div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="ruKu"> |
| | | <!-- <a href="/View/AsnSetting/materialEnter.html"><button type="button" class="mybtn-primary" lang>采购入库</button></a> |
| | | |
| | | <a href="/View/AsnSetting/returnEnter.html"><button type="button" class="mybtn-primary" lang>退货入库</button></a> |
| | | --> |
| | | </div> |
| | | </div> |
| | | </section> |
| | | <section> |
| | | <div class="sub-title-bg" > |
| | | <span lang>出库作业区</span> |
| | | </div> |
| | | |
| | | <div class="layout-btn-container"> |
| | | <div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="chuKu"> |
| | | </div> |
| | | </section> |
| | | <section> |
| | | <div class="sub-title-bg"> |
| | | <span lang>出库作业区</span> |
| | | </div> |
| | | |
| | | </div> |
| | | <div class="layout-btn-container"> |
| | | <div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="chuKu"> |
| | | |
| | | </div> |
| | | </section> |
| | | <section> |
| | | <div class="sub-title-bg" > |
| | | <span lang>库内作业区</span> |
| | | </div> |
| | | </section> |
| | | <section> |
| | | <div class="sub-title-bg"> |
| | | <span lang>库内作业区</span> |
| | | </div> |
| | | <div class="layout-btn-container"> |
| | | <div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="kuNei"> |
| | | |
| | | </div> |
| | | <div class="layout-btn-container" > |
| | | <div style="display: flex; flex-direction: row; flex-wrap: wrap;" id="kuNei"> |
| | | |
| | | </div> |
| | | </div> |
| | | </section> |
| | | <!-- <section> |
| | | </div> |
| | | </section> |
| | | <!-- <section> |
| | | <div class="sub-title-bg" > |
| | | <span lang>单据操作区</span> |
| | | </div> |
| | |
| | | </table> |
| | | </div> |
| | | </section> --> |
| | | </div> |
| | | </div> |
| | | |
| | | </div> |
| | | |
| | | <script src="../js/jquery-3.5.1.min.js"></script> |
| | | <script src="../js/jquery.cookie.js"></script> |
| | | <script src="../layui/layui.js"></script> |
| | | <script src="../js/public.js"></script> |
| | | <script src="../js/language.js"></script> |
| | | <script> |
| | | layui.use([], function() { |
| | | // var carousel = layui.carousel; |
| | | |
| | | initLanguage() |
| | | setLanguage() |
| | | |
| | | sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function(res) { |
| | | if (res.code == 0) { //成功 |
| | | var list = res.data.filter(item => item.level == "0"); |
| | | |
| | | if (list) { |
| | | for (var i = 0; i < list.length; i++) { |
| | | if (list[i].MenuNo != "9000") { //判断是否是pda的权限 是:跳过 |
| | | continue; |
| | | } |
| | | list[i].MenuName |
| | | list[i].MenuNo |
| | | //查询有无子菜单 |
| | | var list2 = res.data.filter(item => item.ParentNo == list[i].MenuNo); |
| | | console.log(list2); |
| | | list2.forEach(element => { |
| | | var html = |
| | | `<a href="`+element.Url+`" style="width: 50%; margin-top: 10px;"> |
| | | <button type="button" class="mybtn-primary" lang>`+ element.MenuName+`</button> |
| | | </a>`; |
| | | if (element.Url.includes("AsnSetting")) { |
| | | $("#ruKu").append(html); |
| | | } |
| | | if (element.Url.includes("SoSetting")) { |
| | | $("#chuKu").append(html); |
| | | } |
| | | if (element.Url.includes("HouseDataSetting")) { |
| | | $("#kuNei").append(html); |
| | | } |
| | | }); |
| | | </div> |
| | | |
| | | <script src="../js/jquery-3.5.1.min.js"></script> |
| | | <script src="../js/jquery.cookie.js"></script> |
| | | <script src="../layui/layui.js"></script> |
| | | <script src="../js/public.js"></script> |
| | | <script src="../js/language.js"></script> |
| | | <script> |
| | | layui.use([], function () { |
| | | // var carousel = layui.carousel; |
| | | |
| | | initLanguage() |
| | | setLanguage() |
| | | |
| | | sendData(IP + "/Basis/GetRoleRightList", {}, 'get', function (res) { |
| | | if (res.code == 0) { //成功 |
| | | var list = res.data.filter(item => item.level == "0"); |
| | | |
| | | if (list) { |
| | | for (var i = 0; i < list.length; i++) { |
| | | if (list[i].MenuNo != "9000") { //判断是否是pda的权限 是:跳过 |
| | | continue; |
| | | } |
| | | } |
| | | } else { //不成功 |
| | | layer.msg('获取当前登录人权限信息失败', { |
| | | icon: 2, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }, function() { |
| | | //回调 |
| | | }); |
| | | list[i].MenuName |
| | | list[i].MenuNo |
| | | //查询有无子菜单 |
| | | var list2 = res.data.filter(item => item.ParentNo == list[i].MenuNo); |
| | | console.log(list2); |
| | | list2.forEach(element => { |
| | | var html = |
| | | `<a href="` + element.Url + `" style="width: 50%; margin-top: 10px;"> |
| | | <button type="button" class="mybtn-primary" lang>`+ element.MenuName + `</button> |
| | | </a>`; |
| | | if (element.Url.includes("AsnSetting")) { |
| | | $("#ruKu").append(html); |
| | | } |
| | | if (element.Url.includes("SoSetting")) { |
| | | $("#chuKu").append(html); |
| | | } |
| | | if (element.Url.includes("HouseDataSetting")) { |
| | | $("#kuNei").append(html); |
| | | } |
| | | }); |
| | | } |
| | | } |
| | | }); |
| | | } else { //不成功 |
| | | layer.msg('获取当前登录人权限信息失败', { |
| | | icon: 2, |
| | | time: 2000 //2秒关闭(如果不配置,默认是3秒) |
| | | }, function () { |
| | | //回调 |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | $("#menuImg").click(function(e){ |
| | | //console.log("menuImg") |
| | | e.stopPropagation() |
| | | |
| | | if($("#menuList").is(":hidden")){ |
| | | $("#menuList").show() |
| | | }else{ |
| | | $("#menuList").hide() |
| | | } |
| | | }) |
| | | $('body').click(function(){ |
| | | // //console.log("body") |
| | | $("#menuImg").click(function (e) { |
| | | //console.log("menuImg") |
| | | e.stopPropagation() |
| | | |
| | | if ($("#menuList").is(":hidden")) { |
| | | $("#menuList").show() |
| | | } else { |
| | | $("#menuList").hide() |
| | | }) |
| | | } |
| | | }) |
| | | </script> |
| | | </body> |
| | | </html> |
| | | $('body').click(function () { |
| | | // //console.log("body") |
| | | $("#menuList").hide() |
| | | }) |
| | | }) |
| | | </script> |
| | | </body> |
| | | |
| | | </html> |