| | |
| | | <html> |
| | | <head> |
| | | <meta 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.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
| | |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <select name="HOrderLevID" id="HOrderLevID" lay-filter="HOrderLevID" style="width:120px;"> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ä»»å¡ç±»å«</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" lay-verify="HTaskClassName" name="HTaskClassName" id="HTaskClassName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" name="HTaskClassID" id="HTaskClassID" lay-verify="HTaskClassID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHTaskClass" id="btnSearchHTaskClass" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | get_checkSearchHCopyEmp(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#region éæ©æ´¾å人æé® |
| | | form.on('submit(btnSearchHTaskClass)', function () { |
| | | get_checkSearchHTaskClass(); |
| | | }); |
| | | //#endregion |
| | | |
| | | //#endregion |
| | | |
| | | |
| | |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | |
| | | //#region æ´¾åäººéæ©é¡µé¢ |
| | | function get_checkSearchHSendEmp() { |
| | | var HOrgID = $("#HOrgID").val(); |
| | |
| | | |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | |
| | | //#region ä»»å¡ç±»å«éæ©é¡µé¢ |
| | | function get_checkSearchHTaskClass() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å工表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../项ç®ç®¡ç/åºç¡å»ºæ¨¡/Gy_TaskClass.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HTaskClassID").val(checkStatus.data[0].HItemID); |
| | | $("#HTaskClassName").val(checkStatus.data[0].ä»»å¡ç±»å«åç§°); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | , end: function () { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | |
| | | , "HRemark": tableMain[0]["HRemark"] |
| | | , "HOrgID": tableMain[0]["HOrgID"] |
| | | , "HOrderLevID": tableMain[0]["HOrderLevID"] |
| | | , "HTaskClassID": tableMain[0]["HTaskClassID"] |
| | | , "HTaskClassName": tableMain[0]["HTaskClassName"] |
| | | |
| | | , "HMainSourceInterID": tableMain[0]["HMainSourceInterID"] |
| | | , "HMainSourceEntryID": tableMain[0]["HMainSourceEntryID"] |
| | |
| | | function GetHReceiveValue(obj) { |
| | | $("#HReceiveEmp").val(obj[0].èååç§°);//æ¥æ¶äººåç§° |
| | | } |
| | | //ä»»å¡ç±»å« |
| | | function GetTaskClassValue(obj) { |
| | | $("#HTaskClassID").val(obj[0].HItemID); |
| | | $("#HTaskClassName").val(obj[0].ä»»å¡ç±»å«åç§°); |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |