Merge branch 'master' of http://101.37.171.70:10101/r/MESWMS-LayUI
| | |
| | | <Content Include="views\PublicPage\PeopleInformations.html" /> |
| | | <Content Include="views\PublicPage\PeopleInformation.html" /> |
| | | <Content Include="views\PublicPage\PowerInformation.html" /> |
| | | <Content Include="views\PublicPage\ProcessInformation.html" /> |
| | | <Content Include="views\PublicPage\PurchOrder.html" /> |
| | | <Content Include="views\PublicPage\HSourceReportHtml.html" /> |
| | | <Content Include="views\PublicPage\transfer.html" /> |
| | |
| | | <Content Include="views\模治å
·ç®¡ç\模治å
·ç®¡ç\KF_BarCodeStatusChangeBillList.html" /> |
| | | <Content Include="views\模治å
·ç®¡ç\模治å
·ç®¡ç\Sb_Add_MouldRepairWorkBillList.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å·¥åºæ±æ¥å\Sc_ProcessReportList_Last.html" /> |
| | | <Content Include="views\ç³»ç»ç®¡ç\ç¨æ·ç®¡ç\Gy_UserProcess.html" /> |
| | | <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬å¡\Sc_ProcessExchangeBill_Mul.html" /> |
| | | <Content Include="views\ç³»ç»ç®¡ç\åæ®ç±»å\Xt_BillSubTypeList.html" /> |
| | | <Content Include="views\ç³»ç»ç®¡ç\åæ®ç±»å\Xt_BillSubType_Edit.html" /> |
| | |
| | | //var WEBURL = "http://localhost:8082/LuBaoAPI/"; //æ¨ä¹æ¬å°é
ç½® |
| | | var WEBURL = "http://localhost:8082/LuBaoAPI/"; //ä½ææ°æ¬å°é
ç½® |
| | | //var WEBURL = "http://10.1.4.155/API/"; //æ±ä¸°å®¢æ·NEW |
| | | //var WEBURL = "http://47.96.97.237/API/"; //æºäºæå¡å¨ |
| | | var WEBURL = "http://47.96.97.237/API/"; //æºäºæå¡å¨ |
| | | //var WEBURL = "http://183.129.128.86:9090/API/"; //å¯è´å¥ç¹å®¢æ·æå¡å¨å¤ç½ |
| | | //var WEBURL = "http://192.168.1.253:8080/API/"; //å¯è´å¥ç¹å®¢æ·æå¡å¨å
ç½ |
| | | //var WEBURL = "http://220.189.218.154:8092/API/"; //丸äºåç»´å°æå¡å¨ |
| | |
| | | //var WEBURL = "http://192.168.10.66/API/"; //森楷æå¡å¨ |
| | | //var WEBURL = "http://localhost/API/"; |
| | | //var WEBURL = "http://192.168.80.90:9090/API/"; //å®çæå¡å¨ |
| | | //var WEBURL = "http://192.168.16.53:8081/API/"; //é¾å±±æ±½é
|
| | | return WEBURL |
| | | } |
| | | |
| New file |
| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <title>鿩工åºèµæ</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <link rel="stylesheet" href="../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../layuiadmin/treeTable.js"></script> |
| | | <script src="../../layuiadmin/Scripts/json2.js"></script> |
| | | <script src="../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../layuiadmin/layui/lay/modules/util.js"></script> |
| | | <style media="screen"> |
| | | .custom-tree-item-clicked { |
| | | color: #FC9003 |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid"> |
| | | <div class="layui-col-md12"> |
| | | <div class="layui-card" style="padding: 1px"> |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div class="layui-collapse"> |
| | | <div class="layui-colla-item"> |
| | | <div class="layui-form-item" style="border-top: solid 1px #F6F6F6;"> |
| | | <div class="layui-row" style="padding:10px 0"> |
| | | <div class="layui-col-xs3 layui-inline" style="width: 23%; display:none;"> |
| | | <div id="treeSupplier" lay-filter="treeSupplier" class="demo-tree demo-tree-box" style="height: 580px; overflow: scroll;"></div> |
| | | </div> |
| | | <div class="layui-col-xs12 layui-inline"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">代ç </label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HNumber" id="HNumber"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åç§°</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HName" id="HName"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | <div> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <script src="../../layuiadmin/layui/zgqlayui.js"></script> |
| | | <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script> |
| | | var treeCkData = { id: 0 }; |
| | | var TagId = ""; |
| | | var TagParentId = ""; |
| | | |
| | | layui.config({ |
| | | base: '../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index', //主å
¥å£æ¨¡å |
| | | }).use(['tree', 'index', 'form', 'table', 'element', 'laypage', 'laydate'], function () { |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , element = layui.element |
| | | , laypage = layui.laypage |
| | | , laydate = layui.laydate |
| | | , util = layui.util |
| | | , tree = layui.tree |
| | | var sWhere = " where HStopFlag=0 and HEndFlag<>'1' and HUSEORGID = " + sessionStorage["OrganizationID"] + " "; //æ å |
| | | var sWhere1 = " where HStopFlag=0 and HEndFlag=1 and HUSEORGID = " + sessionStorage["OrganizationID"] + " "; //å表 |
| | | |
| | | //tree.render({ |
| | | // elem: '#treeSupplier', |
| | | // data: getData(sWhere), |
| | | // showCheckbox: false, //æ¯å¦æ¾ç¤ºå¤éæ¡ |
| | | // id: 'demoId', |
| | | // isJump: false, //æ¯å¦å
许ç¹å»èç¹æ¶å¼¹åºæ°çªå£è·³è½¬ |
| | | // showLine: true,//æ¯å¦å¼å¯è¿æ¥çº¿ |
| | | // onlyIconControl: true, //ç¹å»å䏿¶ç¼© |
| | | // click: function (obj) { |
| | | // //ç¹å»é«å
|
| | | // if (obj.data.id !== treeCkData.id) { |
| | | // $('div[data-id="' + obj.data.id + '"] span').eq(1).last().addClass("custom-tree-item-clicked"); |
| | | // $('div[data-id="' + treeCkData.id + '"] span').eq(1).last().removeClass('custom-tree-item-clicked'); |
| | | // treeCkData = obj.data; |
| | | // TagId = obj.data.id; |
| | | // TagParentId = obj.data.ParentID; |
| | | // } |
| | | // else { |
| | | // $('div[data-id="' + treeCkData.id + '"] span').eq(1).last().removeClass('custom-tree-item-clicked'); |
| | | // treeCkData = { id: 0 }; |
| | | // TagId = ""; |
| | | // TagParentId = ""; |
| | | // } |
| | | |
| | | |
| | | // $.ajax({ |
| | | // url: GetWEBURL() + '/Gy_MaintenanceMode/SupplierCX', |
| | | // type: "GET", |
| | | // data: { "HInterID": obj.data.id }, |
| | | // success: function (data1) { |
| | | // if (data1.count == 1) { |
| | | // option.data = data1.data; |
| | | // table.render(option); |
| | | // layer.close(index); |
| | | // } else { |
| | | // layer.close(index); |
| | | // layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | // } |
| | | // }, error: function () { |
| | | // layer.close(index); |
| | | // layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | // } |
| | | // }); |
| | | // } |
| | | //}); |
| | | |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | | //, toolbar: '#toolbarDemo' |
| | | , height: 'full-120' |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | | , { field: 'ParentID', title: 'ParentID', sort: true, hide: true } |
| | | , { field: 'HNumber', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'HName', title: 'å·¥åº' } |
| | | ]] |
| | | }; |
| | | |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/ProcessList', |
| | | type: "GET", |
| | | data: { "sWhere": SeachFilter(sWhere1) }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.close(index); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) { |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/ProcessList', |
| | | type: "GET", |
| | | data: { "sWhere": SeachFilter(sWhere1) }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | sWhere1 = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | sWhere1 = " where HStopFlag=0 and HEndFlag=1 and HUSEORGID = " + sessionStorage["OrganizationID"] + " "; //å表 |
| | | }); |
| | | |
| | | //以䏿¯layui模å |
| | | }); |
| | | |
| | | //æ¥è¯¢æ ç¶æ°æ® |
| | | function getData(sWhere) { |
| | | var treeData; |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_MaintenanceMode/SupplierLoadTree', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | async: false, |
| | | success: function (result) { |
| | | var data = result.data; |
| | | //çææ°æ®å¯¹è±¡éå |
| | | treeData = LoadTree(data); |
| | | |
| | | } |
| | | }); |
| | | return treeData; |
| | | } |
| | | /**å¤çæ å½¢å±ç¤ºæ°æ®ï¼è¦æ±æIDåParentIDãtitleåæ®µ**/ |
| | | function LoadTree(data) { |
| | | let map = {}; |
| | | let treeData = []; |
| | | data.forEach(it => { |
| | | map[it.id] = it; //ID为æ¯ä¸ªèç¹çid |
| | | }) |
| | | //çæç»æé |
| | | data.forEach(it => { |
| | | const parent = map[it.ParentID]; //ParentID为ç¶èç¹çid |
| | | if (parent) { |
| | | if (!Array.isArray(parent.children)) parent.children = []; |
| | | parent.children.push(it); |
| | | } else { |
| | | treeData.push(it) |
| | | } |
| | | }) |
| | | return treeData; |
| | | } |
| | | |
| | | function SeachFilter(sWhere1) { |
| | | var HNumber = $("#HNumber").val(); |
| | | var HName = $("#HName").val(); |
| | | if (HNumber) { |
| | | sWhere1 += " and HNumber like '%" + HNumber + "%'"; |
| | | } |
| | | if (HName) { |
| | | sWhere1 += " and HName like '%" + HName + "%'"; |
| | | } |
| | | return sWhere1; |
| | | } |
| | | </script> |
| | | |
| | | </body> |
| | | </html> |
| | |
| | |  |
| | | |
| | | <!DOCTYPE html> |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8"> |
| | |
| | | </li>--> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../éªæ¶å
¥åº/å¤è´å
¥åº/Kf_POStockInBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-console"></i> |
| | | <i class="layui-icon layui-icon-add-circle"></i> |
| | | <cite>å¤è´å
¥åº</cite> |
| | | </a> |
| | | </li> |
| | |
| | | </a> |
| | | </li>--> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-template-1"></i> |
| | | <cite>产åå
¥åº</cite> |
| | | <a href="../颿åè´§/颿åºåº/Kf_MateOutBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-theme"></i> |
| | | <cite>çäº§é¢æ</cite> |
| | | </a> |
| | | </li> |
| | | |
| | | <!--<li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/颿åºåº/Kf_MateOutBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-chart"></i> |
| | |
| | | </a> |
| | | </li>--> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../ä»å管ç/ä»åºè°æ¨/Kf_MoveStockBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>è°æ¨å</cite> |
| | | <a href="../颿åè´§/ç产补æ/Kf_MateReplenishOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-addition"></i> |
| | | <cite>ç产补æ</cite> |
| | | </a> |
| | | </li> |
| | | <!--<li class="layui-col-xs3"> |
| | |
| | | </a> |
| | | </li>--> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>å
¶ä»åºåºåæ ¡éª</cite> |
| | | <a href="../ç产管ç/çäº§æ±æ¥å/Sc_ICMOReportBill_FastNew.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-align-center"></i> |
| | | <cite>çäº§æ±æ¥å</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherOutBill_CheckList_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>å
¶ä»åºåºåæ ¡éªç¼åå表</cite> |
| | | <a href="../éªæ¶å
¥åº/产åå
¥åº/Kf_ProductInBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-android"></i> |
| | | <cite>ç产å
¥åº</cite> |
| | | </a> |
| | | </li> |
| | | <!--<li class="layui-col-xs3"> |
| | |
| | | </a> |
| | | </li>--> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/颿åºåº/Kf_MateOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>颿åºåºåæ ¡éª</cite> |
| | | <a href="../颿åè´§/éå®åºåº/Kf_SellOutBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-app"></i> |
| | | <cite>éå®åºåº</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/颿åºåº/Kf_MateOutBill_CheckList_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>颿åºåºåæ ¡éªç¼åå表</cite> |
| | | <a href="../ä»å管ç/ä»åºè°æ¨/Kf_MoveStockBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-at"></i> |
| | | <cite>ç´æ¥è°æ¨</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../ä»å管ç/ä»åºè°æ¨/Kf_MoveStockBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>ç´æ¥è°æ¨åæ ¡éª</cite> |
| | | <a href="../颿åè´§/忥å¼è°åºå/Fb_StepFoldOutBillList.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-auz"></i> |
| | | <cite>åå¸è°åº</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../ä»å管ç/ä»åºè°æ¨/Kf_MoveStockBill_CheckList_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>ç´æ¥è°æ¨åæ ¡éªç¼åå表</cite> |
| | | <a href="../颿åè´§/å§å¤åºåº/Kf_EntrustOutBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-bluetooth"></i> |
| | | <cite>å§å¤é¢æ</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../éªæ¶å
¥åº/å§å¤å
¥åº/Kf_EntrustInBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-mike"></i> |
| | | <cite>å§å¤å
¥åº</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-carousel"></i> |
| | | <cite>å
¶ä»å
¥åº</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/å
¶ä»åºåº/Kf_OtherOutBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-cellphone"></i> |
| | | <cite>å
¶ä»åºåº</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/æ¶æå
¥åº/Kf_ReciveBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-chart"></i> |
| | | <cite>å°è´§ç¡®è®¤</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../è´¨é管ç/æ¥ææ£éªå/Kf_QCStockInCheckBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>æ¥ææ£éªå</cite> |
| | | <i class="layui-icon layui-icon-chrome"></i> |
| | | <cite>æ¥ææ£éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../è´¨é管ç/æ¥ææ£éªå/Kf_SCStockInCheckBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>ç产æ£éªå</cite> |
| | | <i class="layui-icon layui-icon-diamond"></i> |
| | | <cite>ç产æ£éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/æ¶æå
¥åº/Kf_ReciveBill_Fast_AR.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>å°è´§ç¡®è®¤(å®ç)</cite> |
| | | <a href="../ä»å管ç/ä»åºè°æ¨/Kf_ARPD.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-dollar"></i> |
| | | <cite>è°æ¨çç¹</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/颿åºåº/Kf_MateOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-home"></i> |
| | | <cite>çäº§é¢ææ ¡éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/ç产补æ/Kf_MateReplenishOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <i class="layui-icon layui-icon-windows"></i> |
| | | <cite>çäº§è¡¥ææ ¡éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/å§å¤è¡¥æ/Kf_EntrustReplenishOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>å§å¤è¡¥ææ ¡éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/å§å¤åºåº/Kf_EntrustOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <i class="layui-icon layui-icon-list"></i> |
| | | <cite>å§å¤é¢ææ ¡éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/éå®åºåº/Kf_SellOutBill_Check_New.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <i class="layui-icon layui-icon-search"></i> |
| | | <cite>éå®åºåºæ ¡éª</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/颿åºåº/Kf_MateOutBackBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>ç产éæ</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../颿åè´§/å
¶ä»åºåº/Kf_OtherOutBill_Fast.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>å
¶ä»åºåº</cite> |
| | | </a> |
| | | </li> |
| | | <li class="layui-col-xs3"> |
| | | <a href="../ä»å管ç/ä»åºè°æ¨/Kf_ARPD.html" target="main_self_frame"> |
| | | <i class="layui-icon layui-icon-find-fill"></i> |
| | | <cite>çç¹å</cite> |
| | | </a> |
| | | </li> |
| | | </ul> |
| | |
| | | <dd><a lay-href="ç³»ç»ç®¡ç/ç¨æ·ç®¡ç/Gy_UserByUser.html">ç¨æ·å
³èç¨æ·</a></dd> |
| | | <dd><a lay-href="ç³»ç»ç®¡ç/ç¨æ·ç®¡ç/Gy_UserMater.html">ç¨æ·å
³èç©æ</a></dd> |
| | | <dd><a lay-href="ç³»ç»ç®¡ç/ç¨æ·ç®¡ç/Gy_UserCustomer.html">ç¨æ·å
³è客æ·</a></dd> |
| | | <dd><a lay-href="ç³»ç»ç®¡ç/ç¨æ·ç®¡ç/Gy_UserProcess.html">ç¨æ·å
³èå·¥åº</a></dd> |
| | | <dd><a lay-href="">æéæ¥è¯¢n</a></dd> |
| | | <dd><a lay-href="set/user/password.html">å¯ç 设置</a></dd> |
| | | </dl> |
| | |
| | | å
¶ä»å
¥åº |
| | | </a> |
| | | </dd> |
| | | <dd> |
| | | <a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_RedOtherInBill_Fast.html" target="main_self_frame" style="color: aqua;"> |
| | | <!--<dd> |
| | | <a href="éªæ¶å
¥åº/å
¶ä»å
¥åº/Kf_OtherInBackBill_Fast.html" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | | å
¶ä»å
¥åºï¼çº¢åï¼ |
| | | </a> |
| | | </dd> |
| | | </dd>--> |
| | | <dd> |
| | | <a href="颿åè´§/颿åºåº/Kf_MateOutBill_Fast.html" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | |
| | | è°æ¨å |
| | | </a> |
| | | </dd> |
| | | <dd> |
| | | <!--<dd> |
| | | <a href="" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | | 忥å¼è°å
¥n |
| | | </a> |
| | | </dd> |
| | | </dd>--> |
| | | <dd> |
| | | <a href="ä»å管ç/ä»åºè°æ¨/Kf_MoveStockOutBill_Fast.html" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | |
| | | </a> |
| | | </dd> |
| | | <dd> |
| | | <a href="" target="main_self_frame" style="color: aqua;"> |
| | | <a href="ç产管ç/ç产è£
ç®±å/Sc_PackUnionBill_Fast.html" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | | ç产è£
ç®±å |
| | | </a> |
| | |
| | | çäº§æ±æ¥å |
| | | </a> |
| | | </dd> |
| | | <dd> |
| | | <!--<dd> |
| | | <a href="" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | | æ¡ç æ¥è¯¢n |
| | | </a> |
| | | </dd> |
| | | </dd>--> |
| | | <dd> |
| | | <a href="ä»å管ç/æ¡ç åºå/KF_ICInventoryByMaterID.html" target="main_self_frame" style="color: aqua;"> |
| | | <img src="../layuiadmin/myicon/åæ®å½å¶.svg" alt="åæ®å½å¶" style="width:25px;height:25px;margin-right: 5px;" /> |
| | |
| | | // |
| | | |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | //window.close();//å
³éå½å页 |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | | form.on('submit(cmdModify)', function () {//ç¼è¾ |
| | |
| | | <option value="-1">æå·¥å½å
¥</option> |
| | | <option value="3720">ç产任å¡å-ææ</option> |
| | | <option value="1243">è°æ¨ç³è¯·å</option> |
| | | <!--<option value="1201">å§å¤è®¢å-ææ</option> |
| | | <option value="1402">åè´§éç¥å</option> |
| | | <option value="1234">䏿¶éç¥å</option> |
| | | <option value="1201">å§å¤è®¢å-ææ</option> |
| | | <option value="1402">åè´§éç¥å</option> |
| | | <!--<option value="1234">䏿¶éç¥å</option> |
| | | <option value="1243">è°æ¨ç³è¯·å</option>--> |
| | | </select> |
| | | <!--<input type="text" name="cmbSourceType" id="cmbSourceType" lay-verify="cmbSourceType" autocomplete="off" class="layui-input">--> |
| | |
| | | }); |
| | | } |
| | | }); |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | | //æäº¤ |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | //sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | // |
| | | |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | //sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| New file |
| | |
| | | <!DOCTYPE html> |
| | | <html> |
| | | <head> |
| | | <meta charset="utf-8" /> |
| | | <title>ç¨æ·å
³èå·¥åº</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/json2.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <style type="text/css"> |
| | | |
| | | /*begin æ¤æ ·å¼ç¨äºæ¶é¤è¡å
ç´ ä¸å¸å±å®½åº¦ä¸å¤çé®é¢*/ |
| | | .layui-form-item .layui-inline { |
| | | margin-top: 5px; |
| | | margin-bottom: 5px; |
| | | margin-right: 0px; |
| | | } |
| | | |
| | | .layui-form-label { |
| | | float: left; |
| | | display: block; |
| | | padding: 9px 15px; |
| | | width: 31px; |
| | | font-weight: 400; |
| | | line-height: 20px; |
| | | text-align: left; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div id="layout1" class="layui-fluid"> |
| | | <div class="layui-row layui-col-space15"> |
| | | <div class="layui-col-md12"> |
| | | <div class="layui-card"> |
| | | <form id="form0" class="layui-form" lay-filter="component-form-group" action=""> |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit">éåº</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-card-body"> |
| | | <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief"> |
| | | <div class="layui-tab-content"> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç¨æ·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="UserName" id="UserName" readonly class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="UserID" id="UserID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="UserList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <table class="layui-hide" id="mainTable" lay-filter="mainTable"></table> |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine"><i class="layui-icon layui-icon-form"></i>å¢å ä¸è¡</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>å¤å¶ä¸è¡</button> |
| | | |
| | | </div> |
| | | </script> |
| | | <script type="text/html" id="xuhao"> |
| | | {{d.LAY_TABLE_INDEX+1}} |
| | | </script> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <script type="text/html" id="barDemo"> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">å é¤</a> |
| | | </script> |
| | | <script> |
| | | //è·ååæ° |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | var closeType = 2; //å
³éç±»å |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HSouceBillType = params[params[2]];//æºåç±»å |
| | | var closeType = params[params[3]]; //å
³éç±»å |
| | | } |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index' //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'laydate', 'table', 'element'], function () { |
| | | //#region å
Œ
±åé |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , form = layui.form |
| | | , laydate = layui.laydate |
| | | , element = layui.element; |
| | | //æ¥è¯¢æ¡ä»¶ |
| | | var option = []; |
| | | TabRow = { "HProcID": 0, "HProcNumber": "", "HProcName": "" }; |
| | | //#endregion |
| | | |
| | | |
| | | //#region è¿å
¥é¡µé¢æ¢å è½½ |
| | | |
| | | //åå§åè¡¨æ ¼ |
| | | set_InitGrid(); |
| | | |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºæ°å¢ |
| | | //æ æºæ°å¢ |
| | | set_AddFNew(); |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | set_EditFromGrid(linterid); |
| | | } |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region ç¹å»äºä»¶ï¼å
æ¬onåformäºä»¶ |
| | | //头工å
·æ |
| | | table.on('toolbar(mainTable)', function (obj) { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data;; |
| | | var AddRow = table.cache['mainTable']; |
| | | var NewRow = TabRow; |
| | | switch (obj.event) { |
| | | //æ°å¢ä¸è¡ |
| | | case 'btn-AddLine': btnAddLine(NewRow); |
| | | break; |
| | | //å¤å¶ä¸è¡ |
| | | case 'btn-CopyLine': btnCopyLine(data); |
| | | break; |
| | | } |
| | | }); |
| | | //è¡å
äºä»¶ |
| | | table.on('tool(mainTable)', function (obj) { |
| | | set_GridDelete(obj); //è¡å
å é¤ |
| | | set_GridCellCheck(obj); //è¡å
å¿«æ·é®çé |
| | | }); |
| | | //ç¨æ·ä¿¡æ¯å¼¹çª |
| | | form.on('submit(UserList)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'ç¨æ·å表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/PeopleInformation.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | | //æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#UserName").val(checkStatus.data[0].HName); |
| | | $("#UserID").val(checkStatus.data[0].HNumber); |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Xt_User/ProcessPlaylist", |
| | | type: "GET", |
| | | data: { "HUserID": checkStatus.data[0].HNumber }, |
| | | success: function (data) { |
| | | if (data.data != null && data.data != "") { |
| | | option.data = data.data; |
| | | table.render(option); |
| | | } |
| | | else { |
| | | table.reload("mainTable", {}); |
| | | table.reload('mainTable', { data: [] }); |
| | | } |
| | | |
| | | } |
| | | }); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //è¡¨æ ¼è¡å
äºä»¶å¿«æ·é®çé |
| | | function set_GridCellCheck(obj) { |
| | | $(document).off('keydown', ".layui-table-edit").on('keydown', '.layui-table-edit', function (e) { |
| | | if (event.key == "F7") { |
| | | //å·¥åºä»£ç |
| | | if (obj.event === 'HProcNumber') //模å
·ä¿¡æ¯ 妿卿¨¡å
·ä»£ç å æF7 |
| | | { |
| | | //页é¢å±-èªå®ä¹ //F7éæ©å·¥åº |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'å·¥åºå表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/ProcessInformation.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | | //æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | //console.log(obj.data); |
| | | //åæ¥æ´æ°è¡¨æ ¼åç¼å对åºçå¼ |
| | | obj.update({ |
| | | HProcID: checkStatus.data[0].HItemID, |
| | | HProcNumber: checkStatus.data[0].HNumber, |
| | | HProcName: checkStatus.data[0].HName |
| | | }); |
| | | |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | } |
| | | }); |
| | | } |
| | | |
| | | obj.event = ""; |
| | | return false; |
| | | } |
| | | }) |
| | | } |
| | | |
| | | //ä¿å |
| | | form.on('submit(Saver)', function (data) { |
| | | if ($("#UserName").val() == "") { |
| | | layer.msg("ç¨æ·ä¸è½ä¸ºç©ºï¼"); |
| | | return false; |
| | | } |
| | | var UserID = $("#UserID").val(); //è·åéæ©çç¨æ·ç¼ç |
| | | //debugger; |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | | if (!AllowLoadData(sSubStr))//æ°æ®éªè¯ |
| | | { |
| | | return false; |
| | | } |
| | | var list = []; |
| | | for (var i = 0; i < JSON.parse(sSubStr).length; i++) { |
| | | list.push(JSON.parse(sSubStr)[i].HProcNumber) |
| | | } |
| | | if (isAllEqual(list)) { |
| | | layer.msg("æéå¤çå·¥åºä¿¡æ¯ï¼"); |
| | | return false; |
| | | } |
| | | |
| | | var sMainSub = sSubStr + ';' + UserID |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/Xt_User/SaveUserProcess", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "msg": sMainSub }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { // 说æéªè¯æåäºï¼ |
| | | layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | $('#add-btn').addClass("layui-btn-disabled").attr("disabled", true); |
| | | var index = parent.layer.getFrameIndex(window.name); //å
å¾å°å½åiframeå±çç´¢å¼ |
| | | parent.layer.close(index); //åæ§è¡å
³é           |
| | | }); |
| | | } |
| | | else { |
| | | |
| | | layer.alert(data.Message); |
| | | console.log("Reason" + sMainSub + "sub:" + JSON.stringify(layui.table.cache.mainTable)); |
| | | } |
| | | layer.closeAll("loading"); |
| | | }, |
| | | error: function (err) { |
| | | |
| | | layer.alert("é误:" + err); |
| | | console.log("Reason" + sMainStr); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //éåº |
| | | form.on('submit(Exit)', function (data) { |
| | | if (OperationType == 1) { |
| | | Pub_Close(closeType);//ç´æ¥æ°å¢closeTypeå¼ä¸º2ï¼åè¡¨è°æ°å¢closeTypeå¼ä»åè¡¨ä¼ é |
| | | } |
| | | else if (OperationType == 3) { |
| | | Pub_Close(closeType); |
| | | } |
| | | else { |
| | | Pub_Close(2); |
| | | } |
| | | }); |
| | | |
| | | //#endregion |
| | | |
| | | //#region æ¤é¡µé¢æææ¹æ³ |
| | | //åå§åè¡¨æ ¼ |
| | | function set_InitGrid() { |
| | | columns = [ |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { templet: '#xuhao', title: 'åºå·', sort: true, fixed: 'left', event: "qwe" } |
| | | , { field: 'HProcID', title: 'HProcID', edit: 'text', hide: true } |
| | | , { field: 'HProcNumber', title: 'å·¥åºä»£ç ', edit: 'text', event: 'HProcNumber' } |
| | | , { field: 'HProcName', title: 'å·¥åºåç§°', edit: 'text' } |
| | | , { fixed: 'right', title: 'æä½', toolbar: '#barDemo' } |
| | | ]; |
| | | option = { |
| | | id: 'mainTable' |
| | | , elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , page: false |
| | | , cellMinWidth: 120 |
| | | , height: 680 |
| | | , cols: [columns] |
| | | , limit: 500 //æ¯é¡µé»è®¤æ¾ç¤ºçæ°é |
| | | , done: function (res, curr, count) { |
| | | } |
| | | }; |
| | | } |
| | | //æ æºåæ°å¢ |
| | | function set_AddFNew() { |
| | | option.data = [TabRow]; |
| | | table.render(option); |
| | | } |
| | | |
| | | //å¢å ä¸è¡ |
| | | function btnAddLine(NewRow) { |
| | | var tableBak = table.cache["mainTable"]; //è·åä¹åç¼è¾è¿çè¡¨æ ¼æ°æ® |
| | | |
| | | buttonArr = [];//æ¸
空æ°ç» |
| | | for (var i = 0; i < tableBak.length; i++) { |
| | | buttonArr.push(tableBak[i]); //å°ä¹åçæ°æ®åå¨ |
| | | } |
| | | buttonArr.push(NewRow); //å¨å°¾é¨å ä¸è¡ |
| | | table.reload("mainTable", { |
| | | data: buttonArr //å°æ°æ®éæ°è½½å
¥è¡¨æ ¼ |
| | | }) |
| | | } |
| | | //å¤å¶ä¸è¡ |
| | | function btnCopyLine(data) { |
| | | var copydata = JSON.stringify(data); |
| | | if (data.length <= 0) { |
| | | layer.msg("è¯·éæ©éè¦å¤å¶çä¸è¡ï¼"); |
| | | } |
| | | else if (data.length > 1) { |
| | | layer.msg("åªè½éæ©å¤å¶ä¸è¡ï¼"); |
| | | } |
| | | else { |
| | | var copydata2 = copydata.substring(1, copydata.length);//å»é¤é¦è¡å符'[' |
| | | var copyrow = copydata2.substring(0, copydata2.length - 1);//å»é¤æ«å°¾å符']' |
| | | table.cache["mainTable"].push(JSON.parse(copyrow));//å°å¤å¶çè¡å¼ºè½¬æjson追å å°è¡¨æ ¼ä¸ |
| | | option.data = table.cache["mainTable"];//å°æ°æ®ç»å®å°dataä¸ |
| | | table.render(option);//å°æ°æ®æ¸²æå°è¡¨æ ¼ä¸ |
| | | } |
| | | } |
| | | // è¡¨æ ¼è¡å
äºä»¶å é¤ |
| | | function set_GridDelete(obj) { |
| | | var data = obj.data; |
| | | var rowIndex = $(obj.tr).attr("data-index"); |
| | | if (obj.event === 'del') { |
| | | layer.confirm('ççå é¤è¡ä¹', function (index) { |
| | | var oldData = table.cache["mainTable"]; |
| | | oldData.splice(obj.tr.data('index'), 1); |
| | | table.reload('mainTable', { data: oldData }); |
| | | layer.close(index); |
| | | }); |
| | | } |
| | | } |
| | | //#region å¤ææ°æ®æ°ç»ä¸ç弿¯å¦ç¸å |
| | | function isAllEqual(list) { |
| | | var s = list.join(",") + ","; |
| | | for (var i = 0; i < list.length; i++) { |
| | | if (s.replace(list[i] + ",", "").indexOf(list[i] + ",") > -1) { |
| | | return true; |
| | | } |
| | | } |
| | | } |
| | | //#region é空éªè¯ |
| | | function AllowLoadData(sSubStr) { //é空éªè¯ |
| | | var Result = true; |
| | | if (typeof (sSubStr) == "undefined" || sSubStr == "") { |
| | | layer.msg("没æç©ææç»è®°å½", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if (typeof (sSubStr) != "undefined" && typeof (sSubStr) != "") { |
| | | sSubStr = JSON.parse(sSubStr); |
| | | for (var i = 0; i < sSubStr.length; i++) { |
| | | if (sSubStr[i].å·¥åºä»£ç == "") { |
| | | layer.msg("æç»è®°å½ç¬¬" + (i + 1) + "è¡,å·¥åºä»£ç 为空!", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | } |
| | | } |
| | | else { |
| | | return Result = true; |
| | | } |
| | | return Result; |
| | | } |
| | | |
| | | }); |
| | | </script> |
| | | </body> |
| | | </html> |
| | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //ç¼è¾ |
| | | form.on('submit(cmdModify)', function () { |
| | |
| | | async: true, |
| | | data: { |
| | | "HZJOrgNumber": HZJOrgNumber, "HMaterNumber": HMaterNumber, "HUnitNumber": HUnitNumber, "HCheckQty": HCheckQty, "HRightQty": HRightQty |
| | | , "HBadQty": HBadQty, "HCheckResult": HCheckResult, "HSupNumber": HSupNumber, "HWHNumber": HWHNumber |
| | | , "HBadQty": HBadQty, "HCheckResult": HCheckResult, "HSupNumber": HSupNumber |
| | | , "HUseResult": HUseResult, "HSeQ": HSeQ, "HSourceInterID": HSourceInterID, "HSourceEntryID": HSourceEntryID, "HSourceBillNo": HSourceBillNo |
| | | , "user": sessionStorage["HUserName"], "HWHID": HWHID, "HSPID": HSPID, "HSupID": HSupID, "HKeeperID": HKeeperID |
| | | , "HMaterID": HMaterID, "HSourceBillType": HSourceBillType, "HSLInterID": HSLInterID, "HSLEntryID": HSLEntryID, "HSLBillNo": HSLBillNo, "HSLSeQ": HSLSeQ, "HBillNo": HBillNo, "HInterID": HInterID |
| | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //ç¼è¾ |
| | | form.on('submit(cmdModify)', function () { |
| | |
| | | |
| | | var HProcExchHinteID = $('#HProcExchHinteID').val(); |
| | | |
| | | var HInterID = data.hmainid; |
| | | //èªå¨å¹é
æµæ°´å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Sc_StationInBill/autoGetProcNo", |
| | | type: "GET", |
| | | data: { "HUserName": sessionStorage["HUserName"], "HInterID": HInterID }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var data = data1.data[0]; |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "lngBillSubKey": data.hsubid, |
| | | "HProcName": data.å·¥åº, |
| | | "HProcID": data.å·¥åºID, |
| | | "HProcNo": data.æµæ°´å·, |
| | | "HCenterName": data.å·¥ä½ä¸å¿, |
| | | "HCenterID": data.HCenterID |
| | | }); |
| | | $("#HProcNo").attr("readonly", "readonly"); |
| | | $("#HProcNo").css("background-color", "#efefef4d"); |
| | | } |
| | | } |
| | | }) |
| | | |
| | | //卿å |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Cj_StationEntrustInBill/DisBillEntryList", |
| | |
| | | } |
| | | table.render(option) |
| | | } |
| | | }) |
| | | }) |
| | | //layer.close(index); |
| | | //set_InitGrid(); |
| | | //table.render(option); |
| | |
| | | HProcExchBillNoFlag = true; |
| | | |
| | | var HProcExchHinteID = $('#HProcExchHinteID').val(); |
| | | |
| | | var HInterID = data.hmainid; |
| | | //èªå¨å¹é
æµæ°´å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Sc_StationInBill/autoGetProcNo", |
| | | type: "GET", |
| | | data: { "HUserName": sessionStorage["HUserName"], "HInterID": HInterID }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var data = data1.data[0]; |
| | | form.val("formData", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "lngBillSubKey": data.hsubid, |
| | | "HProcName": data.å·¥åº, |
| | | "HProcID": data.å·¥åºID, |
| | | "HProcNo": data.æµæ°´å·, |
| | | "HCenterName": data.å·¥ä½ä¸å¿, |
| | | "HCenterID": data.HCenterID, |
| | | "NoOutboundHqty": (data.æµè½¬å¡æ°é - data.åºç«æ¥åºå
³èæ°é - data.åºç«å
³èæ°é) |
| | | }); |
| | | |
| | | if (data.é¦éå·¥åº == "æ¯") { |
| | | FirstEndHProcNo = 1; |
| | | } else if (data.æ«éå·¥åº == "æ¯") { |
| | | FirstEndHProcNo = 2; |
| | | } |
| | | $("#HProcNo").attr("readonly", "readonly"); |
| | | $("#HProcNo").css("background-color", "#efefef4d"); |
| | | } |
| | | } |
| | | }) |
| | | //$.ajax({ |
| | | // url: GetWEBURL() + "/Cj_StationEntrustInBill/DisBillEntryList", |
| | | // type: "GET", |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | //window.close();//å
³éå½å页 |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }) |
| | | |
| | | form.on('submit(cmdModify)', function () { |
| | |
| | | }); |
| | | } |
| | | }); |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | | form.on('submit(cmdModify)', function () {//ç¼è¾ |
| | |
| | | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | $("#HBarCode").focus(); |
| | | } |
| | | form.on('submit(btn_Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //å®¡æ ¸ |
| | | form.on('submit(btn_Check)', function (data) {//å®¡æ ¸ |
| | |
| | | data: { "HBarCode": HBarCode, "HOrgID": sessionStorage["OrganizationID"], HInterID: HInterID, HBillNo: HBillNo }, |
| | | success: function (result) { |
| | | if (result.code == "1") { |
| | | |
| | | element.tabChange('TabTest', '2'); //è·³è½¬é¡µç¾ |
| | | //var sSubStr =; |
| | | option.data = result.data; |
| | |
| | | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | //#region éåºåè½æ§ä»¶ |
| | | form.on('submit(cmdCancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //#endregion |
| | | |
| | |
| | | }); |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | | //ç¼è¾ |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | //}) |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | //ç¼è¾ |
| | | form.on('submit(cmdModify)', function () {//ç¼è¾ |
| | |
| | | // |
| | | |
| | | form.on('submit(cmdCancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | //parent.location.href = "../../../views/index.html" |
| | | //window.close();//å
³éå½å页 |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.history.back(); |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <title>颿åºåºåç¼åå表</title> |
| | | <title>çäº§é¢æç¼åå表</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index.html"; |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | }); |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | }) |
| | | |
| | | ////å é¤ |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | //sessionStorage["SourceFlag"] = false; |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | </div> |
| | | <div class="layui-form-item" style="padding:15px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">æ¡ç </label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | | <div class="layui-col-xs5"> |
| | | <input type="text" name="HBarCode" id="HBarCode" lay-verify="HBarCode" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class="layui-col-xs2"> |
| | |
| | | </div> |
| | | <div class="layui-form-item" style="padding:0px;margin:0px"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:40px;padding-left:0px;">æ°é</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æºåç±»å</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æºåå·</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">åæ®ç±»å</label> |
| | | </div> |
| | | <div class="layui-col-xs8"> |
| | |
| | | <div class="layer-footer" style="z-index: 10; position: fixed; text-align: center; bottom: 0; width:100%; height:50px"> |
| | | <button type="button" lay-submit="" class="layui-btn" id="Saver" lay-filter="Saver">æäº¤</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdModify">ç¼è¾</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdRefresh">å·æ°</button> |
| | | <!-- <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdRefresh">å·æ°</button>--> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="cmdDelete">å é¤</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="Cancel">éåº</button> |
| | | </div> |
| | |
| | | } |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | |
| | | |
| | | |
| | | parent.location.href = "../../../views/index.html" |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | <html xmlns="http://www.w3.org/1999/xhtml"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> |
| | | <title>å¤è´å
¥åºåç¼åå表</title> |
| | | <title>éè´å
¥åºç¼åå表</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | |
| | | //读ååæ®å表 |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index.html"; |
| | | }); |
| | | //parent.location.href = "../../../views/index.html" |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | sessionStorage["SourceFlag"] = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | //读ååæ®å表 |
| | | // |
| | | |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |
| | |
| | | //å
³éæé® |
| | | form.on('submit(Cancel)', function () { |
| | | Flag = false; |
| | | parent.location.href = "../../../views/index.html" |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.close(); |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | |
| | |
| | | |
| | | |
| | | //éåº |
| | | form.on('submit(Cancel)', function () { |
| | | parent.location.href = "../../../views/index.html" |
| | | form.on('submit(cmdCancel)', function () { |
| | | layer.confirm('æ¨ç¡®å®è¦éåºåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index_Mobile.html" |
| | | }); |
| | | //window.close();//å
³éå½å页 |
| | | }) |
| | | //ç¼è¾ |