设备档案 增加 字段; IP地址,MAC地址,联网方式,采集类型,采集方式 HMacAddress varchar(50) //数采MAC地址 HIPAddress varchar(50) //数采IP地址 HLinkNETMode varchar(50) //联网方式 HCollectMode varchar(50) //采集方式 HCollectClass varchar(50) //采集类型
PDA版: 测试并完善 器具维修记录单 单据编辑 功能; 测试并完善 器具故障登记单 单据编辑功能;
优化一些其他模块页面
| | |
| | | <NameOfLastUsedPublishProfile>D:\æºäºè¿æ\MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
| | | <NameOfLastUsedPublishProfile>D:\æºäºè¿æ\MES\MES-WEB-LayUI\WebTM\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile> |
| | | <ProjectView>ProjectFiles</ProjectView> |
| | | <LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig> |
| | | <LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig> |
| | | <UseIISExpress>true</UseIISExpress> |
| | | <Use64BitIISExpress /> |
| | | <IISExpressSSLPort /> |
| | |
| | | </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> |
| | | <label class="layui-form-label">è¿æ»¤å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="请è¾å
¥è¿æ»¤å" class="layui-input"> |
| | | </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> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="btnSearch">å¿«éæ¥è¯¢</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">è¿å</button> |
| | | </div> |
| | | <div> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | |
| | | //}); |
| | | |
| | | table.on('row(mainTable)', function (obj) { |
| | | //éä¸è¡æ¹åé¢è² |
| | | // æ¸
餿æè¡çèæ¯è²åéä¸ç¶æ |
| | | $(".layui-table-body tr").attr({ "style": "background:" }); // æ¢å¤ææè¡èæ¯é¢è² |
| | | $(".layui-table-body .layui-form-checkbox").removeClass('layui-form-checked'); // æ¸
é¤å¤éæ¡é䏿 ·å¼ |
| | | |
| | | // 设置å½åè¡çéä¸ç¶æ |
| | | var flag = !obj.tr.find(':checkbox:first').prop('checked'); |
| | | obj.tr.find(':checkbox').prop('checked', flag); |
| | | |
| | | if (flag) { |
| | | obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); //设置å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" });//æ¹åå½åtrèæ¯é¢è²ååä½é¢è² |
| | | obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); // 设置å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" }); // æ¹åå½åtrèæ¯é¢è²ååä½é¢è² |
| | | } else { |
| | | obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked');//åæ¶å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:" });//åæ¶å½åtré¢è² |
| | | obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked'); // åæ¶å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:" }); // åæ¶å½åtré¢è² |
| | | } |
| | | //mainTable ä¸ºè¡¨æ ¼ID æ³¨ææ¤å¤å¦æID䏿£ç¡®å°å¯¼è´ä½ å¨çå¬å¤éæ¡æ¶è·åä¸å°ä½ éæ©çæ°æ®ï¼åé¢çåªæ¯æ·»å æå é¤é䏿ªé䏿 ·å¼ä»¥åè®¾ç½®èæ¯è²ï¼åä½é¢è² |
| | | |
| | | // æ´æ°è¡¨æ ¼ç¼åä¸çéä¸ç¶æ |
| | | layui.each(table.cache.mainTable, function (i, l) { |
| | | if (obj.tr.index() == l.LAY_TABLE_INDEX) { |
| | | l.LAY_CHECKED = flag; |
| | | } |
| | | }); |
| | | }) |
| | | }); |
| | | |
| | | |
| | | var option = { |
| | | elem: '#mainTable' |
| | |
| | | ]] |
| | | }; |
| | | |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/FaultReasonList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | 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) { |
| | | var HNumber = $("#HNumber").val(); |
| | | var HName = $("#HName").val(); |
| | | if (HNumber) { |
| | | sWhere += " and HNumber like '%" + HNumber + "%'"; |
| | | } |
| | | if (HName) { |
| | | sWhere += " and HName like '%" + HName + "%'"; |
| | | } |
| | | get_Display(sWhere); |
| | | |
| | | function get_Display(sWhere) { |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/FaultReasonList', |
| | | url: GetWEBURL() + '/PublicPageMethod/Gy_ConkReasonList_PDA', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | layer.close(index); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | } |
| | | |
| | | |
| | | form.on('submit(FH)', function () {//éæ©ä»åº |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (data.length == 0) { |
| | | parent.layer.close(index); |
| | | return; |
| | | } |
| | | parent.GetConkReasonValue(data); |
| | | parent.layer.close(index); |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) { |
| | | //var HNumber = $("#HNumber").val(); |
| | | //var HName = $("#HName").val(); |
| | | //if (HNumber) { |
| | | // sWhere += " and HNumber like '%" + HNumber + "%'"; |
| | | //} |
| | | //if (HName) { |
| | | // sWhere += " and HName like '%" + HName + "%'"; |
| | | //} |
| | | //$.ajax({ |
| | | // url: GetWEBURL() + '/PublicPageMethod/FaultReasonList', |
| | | // type: "GET", |
| | | // data: { "sWhere": sWhere }, |
| | | // 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 }); |
| | | // } |
| | | //}); |
| | | //sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | get_Display($('#Value').val()); |
| | | }); |
| | | |
| | | //以䏿¯layui模å |
| | |
| | | <div id="treeRepairItem" lay-filter="treeRepairItem" class="demo-tree demo-tree-box" style="height: 580px; overflow: scroll;"></div> |
| | | </div> |
| | | <div> |
| | | <div class="layui-inline" style="margin-left:5px;"> |
| | | <div class="layui-row"> |
| | | <label class="layui-form-label">è¿æ»¤å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="请è¾å
¥è¿æ»¤å" class="layui-input"> |
| | | </div> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="btnSearch">å¿«éæ¥è¯¢</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">è¿å</button> |
| | | </div> |
| | | <!--<div class="layui-inline" style="margin-left:5px;"> |
| | | <label style="width: 28px;">代ç </label> |
| | | |
| | | <input type="text" name="HNumber" id="HNumber" style="width:75px"> |
| | |
| | | <button type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div>--> |
| | | <div> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | </div> |
| | |
| | | , page: true |
| | | , cellMinWidth: 90 |
| | | , cols: [[ |
| | | { type: 'radio', fixed: 'left' } |
| | | { type: 'checkbox', fixed: 'left' } |
| | | , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | | , { field: 'ParentID', title: 'ParentID', sort: true, hide: true } |
| | | , { field: 'HNumber', title: '维修项ç®ä»£ç ' } |
| | |
| | | ]] |
| | | }; |
| | | |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/RepairItemList', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | |
| | | get_Display(sWhere); |
| | | |
| | | function get_Display(sWhere) { |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/Gy_RepairList_PDA', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | 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); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | } |
| | | |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) { |
| | | var HNumber = $("#HNumber").val(); |
| | | var HName = $("#HName").val(); |
| | | if (HNumber) { |
| | | sWhere += " and HNumber like '%" + HNumber + "%'"; |
| | | } |
| | | if (HName) { |
| | | sWhere += " and HName like '%" + HName + "%'"; |
| | | } |
| | | function get_Display_old(sWhere) { |
| | | var index = layer.load(0, { shade: false }); |
| | | //è¿å
¥é¡µé¢æ¾ç¤ºçç¼åå表 |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/PublicPageMethod/RepairItemList', |
| | | type: "GET", |
| | |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | | table.render(option); |
| | | layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | layer.close(index); |
| | | } else { |
| | | layer.close(index); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | } |
| | | |
| | | |
| | | form.on('submit(FH)', function () {//éæ©ä»åº |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (data.length == 0) { |
| | | parent.layer.close(index); |
| | | return; |
| | | } |
| | | parent.GetRepairValue(data); |
| | | parent.layer.close(index); |
| | | }); |
| | | |
| | | //æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) { |
| | | //var HNumber = $("#HNumber").val(); |
| | | //var HName = $("#HName").val(); |
| | | //if (HNumber) { |
| | | // sWhere += " and HNumber like '%" + HNumber + "%'"; |
| | | //} |
| | | //if (HName) { |
| | | // sWhere += " and HName like '%" + HName + "%'"; |
| | | //} |
| | | //$.ajax({ |
| | | // url: GetWEBURL() + '/PublicPageMethod/RepairItemList', |
| | | // type: "GET", |
| | | // data: { "sWhere": sWhere }, |
| | | // 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 }); |
| | | // } |
| | | //}); |
| | | //sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | get_Display($('#Value').val()); |
| | | }); |
| | | |
| | | table.on('row(mainTable)', function (obj) { |
| | | // æ¸
餿æè¡çèæ¯è²åéä¸ç¶æ |
| | | $(".layui-table-body tr").attr({ "style": "background:" }); // æ¢å¤ææè¡èæ¯é¢è² |
| | | $(".layui-table-body .layui-form-checkbox").removeClass('layui-form-checked'); // æ¸
é¤å¤éæ¡é䏿 ·å¼ |
| | | |
| | | // 设置å½åè¡çéä¸ç¶æ |
| | | var flag = !obj.tr.find(':checkbox:first').prop('checked'); |
| | | obj.tr.find(':checkbox').prop('checked', flag); |
| | | |
| | | if (flag) { |
| | | obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); // 设置å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" }); // æ¹åå½åtrèæ¯é¢è²ååä½é¢è² |
| | | } else { |
| | | obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked'); // åæ¶å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:" }); // åæ¶å½åtré¢è² |
| | | } |
| | | |
| | | // æ´æ°è¡¨æ ¼ç¼åä¸çéä¸ç¶æ |
| | | layui.each(table.cache.mainTable, function (i, l) { |
| | | if (obj.tr.index() == l.LAY_TABLE_INDEX) { |
| | | l.LAY_CHECKED = flag; |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //以䏿¯layui模å |
| | |
| | | //以䏿¯layui模å |
| | | }); |
| | | </script> |
| | | |
| | | <script src="https://cdn.staticfile.net/translate.js/3.12.0/translate.js"></script> |
| | | <script> |
| | | translate.language.setLocal('English'); //设置æ¬å°è¯ç§ï¼å½åç½é¡µçè¯ç§ï¼ã妿ä¸è®¾ç½®ï¼é»è®¤èªå¨è¯å«å½åç½é¡µæ¾ç¤ºæåçè¯ç§ã å¯å¡«åå¦ 'english'ã'chinese_simplified' çï¼å
·ä½åè§ææ¡£ä¸æ¹å
³äºæ¤ç说æã |
| | | translate.service.use('client.edge'); //设置æºå¨ç¿»è¯æå¡ééï¼ç´æ¥å®¢æ·ç«¯æ¬èº«ï¼ä¸ä¾èµæå¡ç«¯ ãç¸å
³è¯´æåè http://translate.zvo.cn/43086.html |
| | | translate.execute();//è¿è¡ç¿»è¯ |
| | | </script> |
| | | </body> |
| | | |
| | | </html> |
| | |
| | | <div class="layui-colla-item"> |
| | | <div style="margin-top:5px;margin-bottom:5px;"> |
| | | <div class="layui-inline" style="margin-left:5px;"> |
| | | <label style="width: 28px;">代ç </label> |
| | | |
| | | <input type="text" name="HNumber" id="HNumber" style="width:75px"> |
| | | |
| | | <label style="width: 28px;">åç§°</label> |
| | | |
| | | <input type="text" name="HName" id="HName" style="width:75px"> |
| | | <button type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <label class="layui-form-label">è¿æ»¤å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="Value" id="Value" lay-verify="Value" autocomplete="off" placeholder="请è¾å
¥è¿æ»¤å" class="layui-input"> |
| | | </div> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HQuery">å¿«éæ¥è¯¢</button> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="FH">è¿å</button> |
| | | </div> |
| | | <div style="margin-top:5px;"> |
| | | <table class="" id="mainTable" lay-filter="mainTable"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="set_AddNew"><i class="layui-icon layui-icon-file-b"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_ShowBill"><i class="layui-icon layui-icon-form"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_DeleteBill"><i class="layui-icon layui-icon-delete"></i>å é¤</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh"><i class="layui-icon layui-icon-refresh"></i>å·æ°</button>--> |
| | | <!--<button type="button" class="layui-btn layui-btn-sm" lay-event="set_HideColumn"><i class="layui-icon layui-icon-form"></i>å设置</button>--> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Exit"><i class="layui-icon layui-icon-logout"></i>éåº</button> |
| | | |
| | | </div> |
| | | </script> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | set_ClearBill(); |
| | | |
| | | //#endregion |
| | | |
| | | $('#Value').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | get_Display($('#Value').val()); |
| | | } |
| | | }); |
| | | |
| | | //#region 触åäºä»¶ï¼å
æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç |
| | | |
| | |
| | | //#endregion |
| | | |
| | | //#region æ¥è¯¢æé® |
| | | form.on('submit(btnSearch)', function (data) { |
| | | get_FastQuery(); |
| | | form.on('submit(HQuery)', function () {//éæ©ä»åº |
| | | get_Display($('#Value').val()); |
| | | }); |
| | | //#endregion |
| | | |
| | | table.on('row(mainTable)', function (obj) { |
| | | // æ¸
餿æè¡çèæ¯è²åéä¸ç¶æ |
| | | $(".layui-table-body tr").attr({ "style": "background:" }); // æ¢å¤ææè¡èæ¯é¢è² |
| | | $(".layui-table-body .layui-form-checkbox").removeClass('layui-form-checked'); // æ¸
é¤å¤éæ¡é䏿 ·å¼ |
| | | |
| | | // 设置å½åè¡çéä¸ç¶æ |
| | | var flag = !obj.tr.find(':checkbox:first').prop('checked'); |
| | | obj.tr.find(':checkbox').prop('checked', flag); |
| | | |
| | | if (flag) { |
| | | obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); // 设置å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" }); // æ¹åå½åtrèæ¯é¢è²ååä½é¢è² |
| | | } else { |
| | | obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked'); // åæ¶å¤éæ¡é䏿 ·å¼ |
| | | $(obj.tr.selector).attr({ "style": "background:" }); // åæ¶å½åtré¢è² |
| | | } |
| | | |
| | | // æ´æ°è¡¨æ ¼ç¼åä¸çéä¸ç¶æ |
| | | layui.each(table.cache.mainTable, function (i, l) { |
| | | if (obj.tr.index() == l.LAY_TABLE_INDEX) { |
| | | l.LAY_CHECKED = flag; |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | //#endregion |
| | | |
| | |
| | | function set_InitGrid() { |
| | | option = { |
| | | elem: '#mainTable' |
| | | , toolbar: '#toolbarDemo' |
| | | , height: 'full-50' |
| | | , page: true |
| | | , limits: [50, 500, 5000, 50000] |
| | | , limit: 50 |
| | | , cellMinWidth: 90 |
| | | //, cols: [[ |
| | | // { type: 'checkbox', fixed: 'left' } |
| | | // , { field: 'HItemID', title: 'HItemID', sort: true, hide: true } |
| | | // , { field: 'æ
éç±»å«ä»£ç ', title: 'æ
éç±»å«ä»£ç ' } |
| | | // , { field: 'æ
éç±»å«', title: 'æ
éç±»å«åç§°' } |
| | | // , { field: 'hlevel', title: 'ç级' } |
| | | // , { field: '夿³¨', title: '夿³¨' } |
| | | //]] |
| | | , cellMinWidth: 90 |
| | | }; |
| | | } |
| | | //#endregion |
| | |
| | | |
| | | //#region æ¥è¯¢ |
| | | function get_Display(sWhere) { |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | //url: "http://61.130.49.162:9090/WMSAPI///Web/GetMAXNum", |
| | | url: GetWEBURL() + '/Gy_ConkType/list', |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_ConkType/List_PDA', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | |
| | | table.render(option); |
| | | |
| | | //å·æ°è¡¨æ ¼æ°æ® |
| | | DisPlay_HideColumn(); |
| | | /* DisPlay_HideColumn();*/ |
| | | |
| | | layer.close(ajaxLoad); |
| | | |
| | | if ($("#Comparator").val() == 0 && $("#ColContent").val() == "") { |
| | | ColFilter(); |
| | | } |
| | | //layer.alert("æ¥è¯¢æå", { icon: 1 }); |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | layer.alert(data1.code + data1.Message, { icon: 5 }); |
| | |
| | | sWhere = "";//è°ç¨æ¥å£åæ¸
空sWhereç¼å |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | form.on('submit(FH)', function () {//éæ©ä»åº |
| | | var index = parent.layer.getFrameIndex(window.name); |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (data.length == 0) { |
| | | parent.layer.close(index); |
| | | return; |
| | | } |
| | | parent.GetConkTypeValue(data); |
| | | parent.layer.close(index); |
| | | }); |
| | | |
| | | //#region å·æ°éç½®è¿æ»¤æ¡ä»¶æ¹æ³ |
| | | function set_ClearQuery() { |
| | |
| | | switch (data[i].Type) { |
| | | //int |
| | | case 'DateTime': |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true }); |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }); |
| | | break; |
| | | default: |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true }); |
| | |
| | | <td class="bz_td"> |
| | | <input type="text" name="HConkTypeName" class="layui-input" id="HConkTypeName" placeholder="éæ©æ
éç±»å«" style="background-color:#efefef4d;"> |
| | | <input type="hidden" name="HConkTypeID" id="HConkTypeID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ConkType" id="ConkType" style="font-weight:bolder">...</button> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="btn_ConkType" id="btn_ConkType" style="font-weight:bolder">...</button> |
| | | </td> |
| | | </tr> |
| | | </tr> |
| | | <tr> |
| | | <th>æ
éåå <span style="color:red">*</span></th> |
| | | <td class="bz_td"> |
| | |
| | | //è¿å
¥é¡µé¢é»è®¤å
æ 卿¡å½¢ç ä¸ |
| | | $("#HBarCode").focus(); |
| | | //åå§åºæ¬ä¿¡æ¯èµå¼ |
| | | $("#HConkBeginDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //ç¹æ£å¼å§æ¶é´ |
| | | $("#HRepairEndDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //ç¹æ£ç»ææ¶é´ |
| | | $("#HConkBeginDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //æ
éåçæ¥æ |
| | | |
| | | $("#HDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //åæ®æ¥æ |
| | | $("#HMakeDate").val(Format(new Date(), "yyyy-MM-dd hh:mm:ss")); //åå»ºæ¥æ |
| | | |
| | |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | | option.data = [{ "HConkReasonID": $("#HConkReasonID").val(), "HConkReasonCode": "", "HConkReasonName": $("#HConkReasonName").val(), "HConkExplanation": $("#HExplanation").val(), "HManagerID": $("#HManagerID").val(), "HManagerCode": "", "HManagerName": $("#HManagerName").val(), "HRemark": " " }]; |
| | | table.render(option); |
| | | |
| | | |
| | | data.field.HMaker = sessionStorage["HUserName"];//å¶å人 |
| | | var oMain = JSON.stringify(data.field); |
| | | var sSubStr = JSON.stringify(table.cache['mainTable']); |
| | |
| | | //#endregion |
| | | |
| | | //æ
éç±»å« |
| | | form.on('submit(ConkType)', function () { |
| | | form.on('submit(btn_ConkType)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | |
| | | //æ
éåå |
| | | form.on('submit(ConkReason)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | |
| | | //è´è´£äººå¼¹çª |
| | | form.on('submit(HManager)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HEmp', 'yes'], |
| | | content: ['../../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HManager', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | | //以ä¸ä¸ºæ¤é¡µé¢æææ¹æ³ |
| | | //åå§åè¡¨æ ¼ |
| | |
| | | } |
| | | if (HManagerID == "") { |
| | | return layer.msg('è¯·éæ©è´è´£äºº'); |
| | | } |
| | | } |
| | | buttonArr = [];//æ¸
空æ°ç» |
| | | var checkrow = { |
| | | "HRepairID": HRepairID, "HRepairCode": HRepairCode, "HRepairName": HRepairName, |
| | |
| | | layer.msg("åç°äººæ²¡æéæ©ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | |
| | | |
| | | if (typeof (sSubStr) == "undefined" || sSubStr == "" || sSubStr == "[]") { |
| | | layer.msg("没æè®¾å¤æç»è®°å½", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return false; |
| | |
| | | return true; |
| | | } |
| | | //æ«æ¡ç |
| | | function GetMeesageByBarCode(obj) { |
| | | function GetMeesageByBarCode(obj) { |
| | | var HBarCode = $('#HBarCode').val();//æ¡å½¢ç |
| | | if (!HBarCode) { |
| | | layer.msg("æ¡å½¢ç ä¸è½ä¸ºç©ºï¼") |
| | |
| | | } |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | function GetHEmpValue(obj) { //è¿ååç°äºº |
| | | $("#HEmpName").val(obj[0].HName); |
| | | $("#HEmpID").val(obj[0].HItemID); |
| | | } |
| | | function GetConkTypeValue(obj) { //æ
éç±»å« |
| | | $("#HConkTypeName").val(obj[0].æ
éç±»å«); |
| | | $("#HConkTypeID").val(obj[0].hitemid); |
| | | } |
| | | |
| | | function GetConkReasonValue(obj) { //ä¸è¯åå |
| | | $("#HConkReasonName").val(obj[0].HName); |
| | | $("#HConkReasonID").val(obj[0].hitemid); |
| | | } |
| | | |
| | | function GetHManagerValue(obj) { //è¿åè´è´£äºº |
| | | $("#HManagerName").val(obj[0].HName); |
| | | $("#HManagerID").val(obj[0].HItemID); |
| | | } |
| | | |
| | | function GetHEmpValue(obj) { //è¿ååç°äºº |
| | | $("#HEmpName").val(obj[0].HName); |
| | | $("#HEmpID").val(obj[0].HItemID); |
| | | } |
| | | |
| | | </script> |
| | | </body> |
| | |
| | | switch (data[i].Type) { |
| | | //int |
| | | case 'DateTime': |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true }); |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd HH:mm:ss')}}</div>", sort: true }); |
| | | break; |
| | | default: |
| | | col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true }); |
| | |
| | | <th>æºåç±»å</th> |
| | | <td class="bz_td"> |
| | | <select name="HMainSourceBillType" lay-filter="HMainSourceBillType" id="HMainSourceBillType"> |
| | | <option value="æå·¥å½å
¥" selected="selected">æå·¥å½å
¥</option> |
| | | <option value="1" selected="selected">æå·¥å½å
¥</option> |
| | | <option value="3815">模å
·æ
éç»è®°å</option> |
| | | </select> |
| | | </td> |
| | |
| | | <th>ç»´ä¿®å
容</th> |
| | | <td class="bz_td"> |
| | | <textarea name="HRepairContent" id="HRepairContent" placeholder="请è¾å
¥å
容" class="layui-textarea"></textarea> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>计å维修工æ¶</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HPlanTimes" class="layui-input" id="HPlanTimes" placeholder="请è¾å
¥è®¡å维修工æ¶" value="0"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å®é
维修工æ¶</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HTimes" class="layui-input" id="HTimes" placeholder="请è¾å
¥å®é
维修工æ¶" value="0"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | |
| | | <tr> |
| | | <th>维修项ç®<span style=" color:red">*</span></th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HRepair" class="layui-input" id="HRepair" placeholder="éæ©ç»´ä¿®é¡¹ç®" style="background-color:#efefef4d;"> |
| | | <input type="text" name="HRepairName" class="layui-input" id="HRepairName" placeholder="éæ©ç»´ä¿®é¡¹ç®" style="background-color:#efefef4d;"> |
| | | <input type="hidden" name="HRepairID" id="HRepairID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HRepairList" id="HRepairList" style="font-weight:bolder">...</button> |
| | | </td> |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HEmp', 'yes'], |
| | | content: ['../../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HManager', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | title: '设å¤ç»´ä¿®ç»è®°å', |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | content: ['../../模治å
·ç®¡ç/模治å
·ç®¡ç/Sc_MouldConkBookBillList.html', 'yes'], |
| | | content: ['../../模治å
·ç®¡ç/模å
·æ
éç»´ä¿®åPDA/Sc_MouldConkBookBillList_PDA.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HRepair").val(checkStatus.data[0].HName); |
| | | $("#HRepairName").val(checkStatus.data[0].HName); |
| | | $("#HRepairID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | } |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | function GetHManagerValue(obj) { //è¿åè´è´£äºº |
| | | $("#HManagerName").val(obj[0].HName); |
| | | $("#HManagerID").val(obj[0].HItemID); |
| | | } |
| | | function GetHEmpValue(obj) { //è¿å维修人 |
| | | $("#HEmpName").val(obj[0].HName); |
| | | $("#HEmpID").val(obj[0].HItemID); |
| | | } |
| | | function GetHSupValue(obj) { //è¿åä¾åºå |
| | | $("#HSupName").val(obj[0].HName); |
| | | $("#HSupID").val(obj[0].HItemID); |
| | | } |
| | | function GetRepairValue(obj) { //è¿å维修项 |
| | | $("#HRepairName").val(obj[0].HName); |
| | | $("#HRepairID").val(obj[0].HItemID); |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |
| | |
| | | <div class="layui-inline"> |
| | | <span>æ´å¤</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¥æé´é</label> |
| | | <div class="layui-input-block"> |
| | |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HBarCode" id="HBarCode"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æºååå·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HSourceBillNo" id="HSourceBillNo"> |
| | | <div class="layui-row" style="margin-top: 5px; margin-left: 70px;" > |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æºååå·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HSourceBillNo" id="HSourceBillNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç©æåç§°</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HMaterName" id="HMaterName"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç©æåç§°</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HMaterName" id="HMaterName"> |
| | | </div> |
| | | </div> <div class="layui-inline"> |
| | | <label class="layui-form-label">ç©æä»£ç </label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" id="HMaterNumber"> |
| | | </div> |
| | | </div> |
| | | </div> <div class="layui-inline"> |
| | | <label class="layui-form-label">ç©æä»£ç </label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HMaterNumber" id="HMaterNumber"> |
| | | </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> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | <!--æ¾ç¤ºå½åè¿æ»¤æ¹æ¡--> |
| | | <div class="layui-inline" style="margin-left:5px;"> |
| | | <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> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> |
| | | <!--æ¾ç¤ºå½åè¿æ»¤æ¹æ¡--> |
| | | <div style="text-align:center;font-size:15px;font-weight:bold;color:#fc9393" id="HFilterScheme_Now"></div> |
| | | </div> |
| | | |
| | | <div class="layui-colla-content" style="padding: 0px; margin-left: 6%;"> |
| | | <div class="layui-row" style="margin-top:10px;"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è¿æ»¤</label> |
| | |
| | | <input type="text" class="layui-input" value="" name="ColContent" id="ColContent"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row" style=" margin-top: 10px; margin-left: 70px;"> |
| | | <div class="layui-row" style=" margin-top: 10px;"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è¿æ»¤</label> |
| | | <div class="layui-input-block"> |
| | |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent1" id="ColContent1"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row" style=" margin-top: 10px; margin-left: 70px;"> |
| | | <div class="layui-row" style=" margin-top: 10px;"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è¿æ»¤</label> |
| | | <div class="layui-input-block"> |
| | |
| | | var option = []; |
| | | var ins; |
| | | |
| | | var titleData = ["åæ®ID", "HMaterID", "HDeptID", "HSupID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["åæ®ID", "HMaterID", "HDeptID", "HSupID", "HItemID", "hmainid", "hsubid", "HInterID", "HUnitID", "HAuxPropID","HSTOCKORGID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var page = 1;//åé¡µæ°æ® |
| | | var size = 50; |
| | | //#region ãè¿æ»¤æ¹æ¡ã |
| | |
| | | <label class="layui-form-label">æºåç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="HMainSourceBillType" lay-filter="HMainSourceBillType" id="HMainSourceBillType"> |
| | | <option value="2" selected="selected">æ
éç»è®°å</option> |
| | | <option value="3815" selected="selected">æ
éç»è®°å</option> |
| | | <option value="1">æå·¥å½å
¥</option> |
| | | <option value="3">维修派工å</option> |
| | | <option value="3843">维修派工å</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | |
| | | <input type="text" name="HMainSourceBillNo" id="HMainSourceBillNo" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <input type="hidden" name="HMainSourceEntryID" id="HMainSourceEntryID" class="layui-input" value="" style="float:left;width:150px;"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="XDHList" id="XDHList" style="width:40px;"> |
| | | <button type="button" lay-submit="XDHList" class="layui-btn" lay-filter="XDHList" id="XDHList" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | |
| | | $('#XDHList').addClass("layui-btn-disabled").attr("disabled", true); |
| | | break; |
| | | //ææºåæ°å¢Â  æ
éç»è®°å |
| | | case '2': |
| | | case '3815': |
| | | $('#HMainSourceBillNo').attr("disabled", true); |
| | | $('#XDHList').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | break; |
| | | //ææºåæ°å¢Â  维修派工å |
| | | case '3': |
| | | case '3843': |
| | | $('#HMainSourceBillNo').attr("disabled", true); |
| | | $('#XDHList').removeClass("layui-btn-disabled").attr("disabled", false); |
| | | break; |
| | |
| | | //#region 表头信æ¯éæ©åæ®å¼¹çª |
| | | form.on('submit(XDHList)', function () { |
| | | var HMainSourceBillType = $("#HMainSourceBillType").val(); |
| | | if (HMainSourceBillType == "2") { |
| | | if (HMainSourceBillType == "3815") { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | |
| | | //layer.full(index); |
| | | } |
| | | }); |
| | | } else if (HMainSourceBillType == "3") { |
| | | } else if (HMainSourceBillType == "3843") { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | |
| | | #mainTable tr { |
| | | height: 100px; /* ä½ æ³è¦çè¡é« */ |
| | | } |
| | | #btnSignIn,#btnErrMSg,#btnQuery,#btnEdit { |
| | | font-size: 36px; /* 设置åä½å¤§å° */ |
| | | } |
| | | </style> |
| | | |
| | | </head> |
| | |
| | | <span>æ´å¤</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¥æé´é</label> |
| | | <div class="layui-input-block"> |
| | | <select name="HInitTimeCycle" id="HInitTimeCycle" class="ForFilteringSchemes" lay-filter="HInitTimeCycle" style="width:190px;"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input ForFilteringSchemes" id="HDate"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input ForFilteringSchemes" id="HDate1"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç©æç¼ç </label> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-row" style="margin-bottom:20px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">è§æ ¼åå·</label> |
| | | <div class="layui-input-block"> |
| | |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HERPID" id="HERPID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HBillno2" id="HBillno2" style="width:190px;"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnResCnz" id="btnReSearch" style="padding:0 5px">鿰忥</button> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç»ç»</label> |
| | |
| | | <div class="layui-inline"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" value="" name="ColContent2" id="ColContent2"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row" style="margin-top:5px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input ForFilteringSchemes" name="HBillno2" id="HBillno2" style="width:190px;"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnResCnz" id="btnReSearch" style="padding:0 5px">鿰忥</button> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input ForFilteringSchemes" id="HDate"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input ForFilteringSchemes" id="HDate1"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¥æé´é</label> |
| | | <div class="layui-input-block"> |
| | | <select name="HInitTimeCycle" id="HInitTimeCycle" class="ForFilteringSchemes" lay-filter="HInitTimeCycle" style="width:190px;"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | // æ ç¶å¾æ¥è¯¢ |
| | | function get_Display_Tree() { |
| | | var sWhere = " and HUSEORGID=" + sessionStorage["OrganizationID"]; |
| | | var sWhere = " and HWorkShopFlag =1 and HUSEORGID=" + sessionStorage["OrganizationID"]; |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Department/Gy_DepartmentTreeList', |
| | |
| | | |
| | | $('.cns').removeClass('check1'); //å é¤ä¸åç¶çº§clssæ ·å¼ç¸åçææå
ç´ |
| | | $("#bs" + i + "").addClass('check1'); // æ·»å å½åå
ç´ çæ ·å¼ |
| | | if (workcode != "" && workcode != null) { |
| | | if (HEquipID != "" && HEquipID != null) { |
| | | wktag = 1; |
| | | } |
| | | sWhere = { |
| | |
| | | } |
| | | |
| | | //æ¥è¯¢ é¨é¨+产线 4个å¾è¡¨ èµå¼ |
| | | function FourReport(sWhere) { |
| | | wktag = 0; |
| | | function FourReport(sWhere) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_HEquipStateDistribution/Get_EquipStateDistribution_FourReport', |
| | | type: "GET", |
| | |
| | | // é»è®¤çoptionç»æ |
| | | var option = { |
| | | title: { |
| | | text: '产è½', // é»è®¤æ é¢ä¸ºç©º |
| | | text: 'è¿ä¸å¤©äº§è½', // é»è®¤æ é¢ä¸ºç©º |
| | | left: 'center', |
| | | top: '10%', // è°æ´æ é¢ä½ç½®ï¼æ¾å°æä¸é¢ |
| | | textStyle: { |
| | |
| | | |
| | | // å¦æææ°æ®ï¼æ´æ°optionçå
容 |
| | | if (chartData && chartData.length > 0) { |
| | | option.title.text = '产è½'; // æ£å¸¸æ°æ®æ¶æ²¡ææ é¢ |
| | | option.title.text = 'è¿ä¸å¤©äº§è½'; // æ£å¸¸æ°æ®æ¶æ²¡ææ é¢ |
| | | option.xAxis.data = chartData.map(item => item.æ¥æ); // 设置xè½´æ°æ® |
| | | option.series[0].data = chartData.map(item => item['çäº§æ»æ°']); // 设置yè½´æ°æ® |
| | | |
| | |
| | | mychart11.setOption(option); |
| | | } |
| | | |
| | | //æçº¿å¾ |
| | | //æ±ç¶å¾2 |
| | | function get_LineChart(mychart22, chartData1) { |
| | | // é»è®¤çoptionç»æ |
| | | var option = { |
| | | title: { |
| | | text: 'ä¸è¯åå ', // é»è®¤æ é¢ä¸ºç©º |
| | | text: 'ç»´ä¿®', // é»è®¤æ é¢ä¸ºç©º |
| | | left: 'center', |
| | | top: '10%', // è°æ´æ é¢ä½ç½®ï¼æ¾å°æä¸é¢ |
| | | textStyle: { |
| | |
| | | series: [ |
| | | { |
| | | data: [], // é»è®¤seriesæ°æ®ä¸ºç©º |
| | | type: 'line', // å°æ±ç¶å¾æ¹ä¸ºæçº¿å¾ |
| | | smooth: true, // 使æçº¿å¾å¹³æ» |
| | | lineStyle: { |
| | | color: '#15b1fa' // 设置线æ¡é¢è² |
| | | }, |
| | | label: { |
| | | show: true, // å¨æçº¿å¾ä¸æ¾ç¤ºæ°æ® |
| | | position: 'top', |
| | | formatter: function (params) { |
| | | return echarts.format.addCommas(params.value); |
| | | } |
| | | } |
| | | type: 'bar' |
| | | } |
| | | ] |
| | | }; |
| | | |
| | | |
| | | |
| | | // å¦æææ°æ®ï¼æ´æ°optionçå
容 |
| | | if (chartData1 && chartData1.length > 0) { |
| | | option.title.text = 'ä¸è¯åå '; // æ£å¸¸æ°æ®æ¶æ²¡ææ é¢ |
| | | option.xAxis.data = chartData1.map(item => item.ä¸è¯åå ); // 设置xè½´æ°æ® |
| | | option.series[0].data = chartData1.map(item => item['æ°é']); // 设置yè½´æ°æ® |
| | | |
| | | option.series[0].label = { |
| | | normal: { |
| | | show: true, |
| | | position: 'top', |
| | | formatter: function (params) { |
| | | return echarts.format.addCommas(params.value); |
| | | } |
| | | } |
| | | }; |
| | | |
| | | option.series[0].itemStyle = { |
| | | normal: { |
| | | color: '#15b1fa', |
| | | label: { |
| | | show: true // 卿±ç¶å¾ä¸æ¾ç¤ºæ°æ® |
| | | } |
| | | } |
| | | }; |
| | | } else { |
| | | // æ²¡ææ°æ®æ¶ï¼æ¾ç¤º"ææ æ°æ®"æç¤º |
| | | option.title.text = 'ææ æ°æ®'; |
| | | } |
| | | |
| | | // æ´æ°å¾è¡¨ |
| | | mychart22.setOption(option); |
| | | } |
| | | |
| | | |
| | | //é¥¼å¾ |
| | | function get_Statistics(mychart3, chartData2) { |
| | | // 妿 chartData2 ä¸ºç©ºï¼æä¾ä¸ä¸ªâæ æ°æ®âæç¤º |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HDate" id="HDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd"> |
| | | <input class="layui-input" name="HDate" id="HDate" autocomplete="off" type="date"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ
鿥æ<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HConkBeginDate" id="HConkBeginDate" autocomplete="off" model="datetime" dateFormat="yyyy-MM-dd" placeholder="yyyy-MM-dd"> |
| | | <input class="layui-input" name="HConkBeginDate" id="HConkBeginDate" autocomplete="off" type="date"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | <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> |
| | | <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script> |
| | | var OptionData = []; |
| | | //è·ååæ° |
| | |
| | | , element = layui.element; |
| | | |
| | | //常è§ç¨æ³ |
| | | laydate.render({ |
| | | elem: '#HDate', |
| | | format: 'yyyy-MM-dd', |
| | | //laydate.render({ |
| | | // elem: '#HDate', |
| | | // format: 'yyyy-MM-dd', |
| | | |
| | | }); |
| | | laydate.render({ |
| | | elem: '#HConkBeginDate', |
| | | format: 'yyyy-MM-dd', |
| | | }); |
| | | //}); |
| | | //laydate.render({ |
| | | // elem: '#HConkBeginDate', |
| | | // format: 'yyyy-MM-dd', |
| | | //}); |
| | | //夿æ¯å¦ç»å½ æªç»å½åè·³å°ç»å½é¡µ |
| | | //if (sessionStorage.login != "login") { |
| | | // layer.confirm("ç»å½å¤±æï¼è¯·éæ°ç»å½ï¼", { |
| | |
| | | $("#HMakeDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | } |
| | | else if (OperationType == 2) { //ç¼è¾ |
| | | |
| | | //ç¼è¾ç¶ææ¶ï¼æ ¹æ®å
ç ï¼è·åä¿¡æ¯å¹¶åå
¥çé¢ |
| | | RoadBillMain(HInterID); |
| | | //æä»¶éæ©åå§å |
| | | PicUpload(); |
| | | getFile(); |
| | | //è·åæå¤§åæ®å· |
| | | get_MAXNum(); |
| | | $("#HDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HMaker").val(HMaker); |
| | | $("#HMakeDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | OperationType = 1; |
| | | } |
| | | else if (OperationType == 3) { //ç¼è¾ |
| | | $("#HInterID").val(HInterID);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | //ç¼è¾ç¶ææ¶ï¼æ ¹æ®å
ç ï¼è·åä¿¡æ¯å¹¶åå
¥çé¢ |
| | | RoadBillMain(HInterID); |
| | |
| | | $('#btn_Save').addClass("layui-btn-disabled").attr("disabled", true); |
| | | } |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HBillNo": data.åæ®å· |
| | | "HBillNo": OperationType== 2? '': data.åæ®å· |
| | | , "HDate": formatDate(data.æ¥æ) |
| | | , "HICMOInterID": data.HICMOInterID |
| | | , "HICMOEntryID": data.HICMOEntryID |
| | |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn_Export" id="btn_Export"><i class="layui-icon layui-icon-export"></i>导åº</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn_Add" id="btn_Add"><i class="layui-icon layui-icon-file-b"></i>æ°å¢</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="set_Copy" id="set_Copy"><i class="layui-icon layui-icon-file-b"></i>å¤å¶</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn_Edit" id="btn_Edit"><i class="layui-icon layui-icon-form"></i>ç¼è¾</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn_Delete" id="btn_Delete"><i class="layui-icon layui-icon-delete"></i>å é¤</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn_Refresh" id="btn_Refresh"><i class="layui-icon layui-icon-refresh-3"></i>å·æ°</button> |
| | |
| | | //æ°å¢æé® |
| | | case 'btn_Add': btn_Add(); |
| | | break; |
| | | //å¤å¶ |
| | | case 'set_Copy': set_Copy(); |
| | | break; |
| | | //ç¼è¾æé® |
| | | case 'btn_Edit': btn_Edit(); |
| | | break; |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | //å¤å¶ |
| | | function set_Copy() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | | , data = checkStatus.data; |
| | | if (checkStatus.data.length === 1) { |
| | | var linterid = data[0].hmainid.toString(); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: '设å¤å¯å¨ç¹æ£æ¸
åå表-æ°å¢' |
| | | , shift: 0//å¼¹åºå¨ç» |
| | | , content: '../../设å¤ç®¡ç/设å¤å·¥èºåæ°è®¢åç¹æ£è¡¨/SB_EquipICMOTechParamBillEdit.html?OperationType=2&linterid=' + linterid |
| | | , end: function () { |
| | | //å·æ°é¡µé¢, |
| | | location.reload(); |
| | | } |
| | | }) |
| | | } else { |
| | | layer.msg('è¯·éæ©ä¸è¡æ°æ®ç¼è¾ï¼'); |
| | | } |
| | | } |
| | | |
| | | //#region ç¼è¾ |
| | | function btn_Edit() { |
| | | var checkStatus = table.checkStatus('mainTable') |
| | |
| | | , area: ['100%', '100%'] |
| | | , title: HPageTitle + '- ç¼è¾' |
| | | , shift: 0 //å¼¹åºå¨ç» |
| | | , content: '../../设å¤ç®¡ç/设å¤å·¥èºåæ°è®¢åç¹æ£è¡¨/SB_EquipICMOTechParamBillEdit.html?OperationType=2&linterid=' + HInterID |
| | | , content: '../../设å¤ç®¡ç/设å¤å·¥èºåæ°è®¢åç¹æ£è¡¨/SB_EquipICMOTechParamBillEdit.html?OperationType=3&linterid=' + HInterID |
| | | , btn: ['ç¡®å®'], |
| | | // æé®1 çåè° |
| | | end: function (index, layero, that) { |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ°éIPå°å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HIPAddress" id="HIPAddress"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">èç½æ¹å¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HLinkNETMode" id="HLinkNETMode"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ééæ¹å¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCollectMode" id="HCollectMode"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ééç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCollectClass" id="HCollectClass"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ¯å¦ä¸»ç产设å¤</label> |
| | | <div class="layui-input-block" style="margin-left: 125px;width:55%;"> |
| | | <select name="HMainSourceFlag" lay-filter="HMainSourceFlag" id="HMainSourceFlag"> |
| | |
| | | $("#HSourceID").val(d.data[0].HSourceID); |
| | | $("#HSourceName").val(d.data[0].HSourceName); |
| | | $("#HMacAddress").val(d.data[0].æ°éç©çå°å); |
| | | $("#HIPAddress").val(d.data[0].æ°éIPå°å); |
| | | $("#HLinkNETMode").val(d.data[0].èç½æ¹å¼); |
| | | $("#HCollectMode").val(d.data[0].ééæ¹å¼); |
| | | $("#HCollectClass").val(d.data[0].ééç±»å); |
| | | $("#HMainSourceFlag").val(d.data[0].æ¯å¦ä¸»ç产设å¤); |
| | | $("#HMainSourceID").val(d.data[0].HMainSourceID); |
| | | $("#HMainSourceName").val(d.data[0].æå±ä¸»ç产设å¤); |
| | |
| | | <span>æ´å¤</span> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¼å¸¸åé¦ç±»å代ç </label> |
| | | <div class="layui-inline" style="width:400px"> |
| | | <label class="layui-form-label" style="white-space: nowrap;width:100px">å¼å¸¸åé¦ç±»å代ç </label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HNumber" id="HNumber"> |
| | | <input type="text" class="layui-input" name="HNumber" id="HNumber" style="width:200px"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¼å¸¸åé¦ç±»ååç§°</label> |
| | | <div class="layui-inline" style="width:400px"> |
| | | <label class="layui-form-label" style="white-space: nowrap;width:100px">å¼å¸¸åé¦ç±»ååç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HName" id="HName"> |
| | | <input type="text" class="layui-input" name="HName" id="HName" style="width:200px"> |
| | | </div> |
| | | </div> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> |
| | |
| | | <div class="layui-card-body"> |
| | | <!--<div class="test-table-reload-btn" style="margin-bottom: 10px;">--> |
| | | <form class="layui-form" action=""> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> |
| | | <div class="layui-collapse"> |
| | | <div class="layui-colla-item"> |
| | | <div class="layui-colla-title layui-inline"> |
| | | <div class="layui-inline"> |
| | | <span>æ´å¤</span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">æ£éªæ¹æ¡åç§°</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HQCCheckProjectName" id="HQCCheckProjectName"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input" name="HDate1" id="HDate1"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="white-space: nowrap">æ£éªæ¹æ¡åç§°</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HQCCheckProjectName" id="HQCCheckProjectName"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input" name="HDate2" id="HDate2"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input" name="HDate1" id="HDate1"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <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 class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="date" class="layui-input" name="HDate2" id="HDate2"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <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> |
| | | </div> |
| | | |
| | |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script> |
| | | //è·å页é¢è·³è½¬åæ° //åæ®ç¼è¾ç¶æï¼ 1.æ æºåæ°å¢Â  2.ææºåæ°å¢Â  3.ç¼è¾Â 4.æµè§Â 5.åæ´ |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var HName = decodeURI(params[params[1]]);//ç©æåç§° |
| | | } |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | |
| | | , soulTable = layui.soulTable |
| | | , element = layui.element; |
| | | |
| | | |
| | | |
| | | var sWhere = ""; |
| | | var HName = ""; |
| | | var option = []; |
| | | var HModName = "QC_CheckProjectList"; |
| | | |
| | | //è·å页é¢è·³è½¬åæ° //åæ®ç¼è¾ç¶æï¼ 1.æ æºåæ°å¢Â  2.ææºåæ°å¢Â  3.ç¼è¾Â 4.æµè§Â 5.åæ´ |
| | | var params = get_UrlVars(); |
| | | if (typeof (params[params[0]]) == "undefined") { |
| | | var OperationType = 1;//æä½ç±»å |
| | | } else { |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | HName = decodeURI(params[params[1]]) == "undefined" ? "" : decodeURI(params[params[1]]);//ç©æåç§° |
| | | } |
| | | //#endregion |
| | | |
| | | //åå§åè¡¨æ ¼ |
| | |
| | | sWhere += " and ç©æåç§° = '" + HName + "'"; |
| | | get_Display(sWhere); |
| | | } |
| | | |
| | | |
| | | } |
| | | |
| | | //åå§åç½æ ¼ |
| | |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: '../../设å¤ç®¡ç/设å¤å·¥èºåæ°è®¢åç¹æ£è¡¨/SB_EquipICMOTechParamBillEdit.html?OperationType=2&linterid=' + linterid + '&HSouceBillType=0' |
| | | , content: '../../设å¤ç®¡ç/设å¤å·¥èºåæ°è®¢åç¹æ£è¡¨/SB_EquipICMOTechParamBillEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0' |
| | | , resize: false, |
| | | end: function () { |
| | | } |
| | |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row" style="margin-top:5px"> |
| | | <div class="layui-row" style="margin-top:5px;margin-bottom:20px;margin-left:80px"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | |
| | | var HModName2 = "Sc_StationOutBillSub_Note"; |
| | | var HModName3 = "Sc_StationOutBillSub_SN"; |
| | | var HModName4 = "Sc_StationOutBillSub_Emp"; |
| | | var titleData = ["HMaterID", "HUnitID", "HSourceID", "hmainid", "HProcExchInterID", "HProcID", "HunitID", "HEmpID", "HGroupID", "HProcExchEntryID", "HSubID", "HICMOInterID", "éæ©", "æ¥è¯¢æ¥æ", "ææ¬å¯¹è±¡", "ææ¬å¯¹è±¡åç§°", "HBillStatus", "HBillType", "HPRDORGID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["HMaterID", "HUnitID", "HSourceID", "hmainid", "HProcExchInterID", "HProcID", "HunitID", "HEmpID", "HGroupID", "HProcExchEntryID", "HSubID", "HICMOInterID", "éæ©", "æ¥è¯¢æ¥æ", "ææ¬å¯¹è±¡", "ææ¬å¯¹è±¡åç§°", "HBillStatus", "HBillType", "HPRDORGID", "HCenterID", "HbillSubType"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | |
| | | //#region ãè¿æ»¤æ¹æ¡ã |
| | | |
| | |
| | | |
| | | var ins; //ç¨äºå¯¼åºexcel |
| | | var HModName = "Cj_StationInBillList"; |
| | | var titleData = ["hmainid", "HProcID", "HMaterID", "HEmpID", "HSourceID", "HGroupID", "HInterID", "HProcExchInterID", "HProcExchEntryID", "HICMOInterID", "HICMOEntryID"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | var titleData = ["hmainid", "HProcID", "HMaterID", "HEmpID", "HSourceID", "HGroupID", "HInterID", "HDeptID", "HProcExchInterID", "HProcExchEntryID", "HICMOInterID", "HICMOEntryID", "HICMOQty", "HRemark", "HBillType", "hsubid", "HBillStatus", "HBillSubType"];//ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± |
| | | |
| | | //å·¥åºæµè½¬å¡ä¸æ¥æ è®° |
| | | var lookDownBar = 0; //(0:䏿¥æä½ï¼1ï¼ç´æ¥æ¥ç) |