| | |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥åºä»£ç </label> |
| | | <label class="layui-form-label">å·¥åºä»£ç *</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HNumber" lay-verify="HNumber" id="HNumber" autocomplete="off"> |
| | | <input id="HItemID" name="HItemID" type="hidden" /> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥åºåç§°</label> |
| | | <label class="layui-form-label">å·¥åºåç§°*</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HName" lay-verify="HName" id="HName" autocomplete="off"> |
| | | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¥ä½ä¸å¿</label> |
| | | <label class="layui-form-label">å·¥ä½ä¸å¿*</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HWorkCenterName" id="HWorkCenterName" class="layui-input" value="" style="float: left; width: 150px; background-color: #efefef4d;" readonly> |
| | | <input type="hidden" name="HWorkCenterID" id="HWorkCenterID" value="0"> |
| | |
| | | <input class="layui-input" name="HHelpCode" id="HHelpCode" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">转æ å¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHTProcessFlag" id="checkboxHTProcessFlag" lay-filter="checkboxHTProcessFlag" lay-skin="primary" value="true" title="æ¯å¦è½¬å·¥åº"> |
| | | <input type="hidden" value="false" name="HTProcessFlag" id="HTProcessFlag"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">工段</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HProcMulName" id="HProcMulName" class="layui-input" value="" style="float: left; width: 150px; background-color: #efefef4d;" readonly> |
| | | <input type="hidden" name="HProcMulID" id="HProcMulID" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HProcMulID-BT" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">é¦ä»¶æ£éªæ¹æ¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HQCSchemeName_Fst" id="HQCSchemeName_Fst" class="layui-input" value="" style="float: left; width: 150px; background-color: #efefef4d;" readonly> |
| | | <input type="hidden" name="HQCSchemeID_Fst" id="HQCSchemeID_Fst" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_Fst-BT" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è½¬åºæ£éªæ¹æ¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HQCSchemeName_Proc" id="HQCSchemeName_Proc" class="layui-input" value="" style="float: left; width: 150px; background-color: #efefef4d;" readonly> |
| | | <input type="hidden" name="HQCSchemeID_Proc" id="HQCSchemeID_Proc" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_Proc-BT" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">å·¡æ£æ£éªæ¹æ¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HQCSchemeName_Patrol" id="HQCSchemeName_Patrol" class="layui-input" value="" style="float: left; width: 150px; background-color: #efefef4d;" readonly> |
| | | <input type="hidden" name="HQCSchemeID_Patrol" id="HQCSchemeID_Patrol" value="0"> |
| | | <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_Patrol-BT" style="width:40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs8 layui-inline"> |
| | |
| | | <input class="layui-input" name="HRemark" id="HRemark" autocomplete="off" style=" width: 75%;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">计件工èµç±»å</label> |
| | | <div class="layui-input-inline" style="margin-bottom: -15px;"> |
| | | <div class="layui-form"> |
| | | <div class="layui-form-item"> |
| | | <select name="HPayMentType" id="HPayMentType"> |
| | | <option value="">è¯·éæ©ç±»å</option> |
| | | <option value="个人计件" selected>个人计件</option> |
| | | <option value="éä½è®¡ä»¶">éä½è®¡ä»¶</option> |
| | | <option value="å
¶ä»">å
¶ä»</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ç»ç»</label> |
| | | |
| | | <div class="layui-col-xs8 layui-inline"> |
| | | <label class="layui-form-label" style="width: 12.5%;">ç»ç»*</label> |
| | | <div class="layui-input-inline" style="margin-bottom: -15px;"> |
| | | <div class="layui-form"> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-form-item" style=" width: 375%;"> |
| | | <select name="HUSEORGID" id="HUSEORGID" lay-verify="HUSEORGID"> |
| | | <!--å¨ææ¸²æç»ç»--> |
| | | </select> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">ç产å®é¢</label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HFixPrice" lay-verify="HFixPrice" id="HFixPrice" autocomplete="off"> |
| | | <input class="layui-input" name="HFixPrice" lay-verify="HFixPrice" id="HFixPrice" value="0" autocomplete="off"> |
| | | |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ¡å½¢ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input class="layui-input" name="HBarCode" id="HBarCode" autocomplete="off"> |
| | | <input class="layui-input" name="HBarCodeForBase" id="HBarCodeForBase" autocomplete="off"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">åºå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" name="HSno" id="HSno" lay-verify="" autocomplete="off" class="layui-input"> |
| | | <input type="text" name="HSno" id="HSno" lay-verify="" autocomplete="off" value="0" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-col-xs4 layui-inline"> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬æ è®°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHTypeFlow" id="checkboxHTypeFlow" lay-skin="primary" lay-filter="checkboxHTypeFlow" value="true" title="æ¯å¦ç¦ç¨"> |
| | | <input type="checkbox" name="checkboxHTypeFlow" id="checkboxHTypeFlow" lay-skin="primary" lay-filter="checkboxHTypeFlow" value="true" title="æ¯å¦æµè½¬"> |
| | | <input type="hidden" value="false" name="HTypeFlow" id="HTypeFlow"> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">æ ¸ç®æ è®°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHTypeCount" id="checkboxHTypeCount" lay-skin="primary" lay-filter="checkboxHTypeCount" value="true" title="æ¯å¦ç¦ç¨"> |
| | | <input type="checkbox" name="checkboxHTypeCount" id="checkboxHTypeCount" lay-skin="primary" lay-filter="checkboxHTypeCount" value="true" title="æ¯å¦æ ¸ç®"> |
| | | <input type="hidden" value="false" name="HTypeCount" id="HTypeCount"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">èªå¨ç§»è½¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="checkboxHAutoTrunFlag" id="checkboxHAutoTrunFlag" lay-skin="primary" lay-filter="checkboxHAutoTrunFlag" value="true" title="æ¯å¦ç¦ç¨"> |
| | | <input type="checkbox" name="checkboxHAutoTrunFlag" id="checkboxHAutoTrunFlag" lay-skin="primary" lay-filter="checkboxHAutoTrunFlag" value="true" title="æ¯å¦ç§»è½¬"> |
| | | <input type="hidden" value="false" name="HAutoTrunFlag" id="HAutoTrunFlag"> |
| | | </div> |
| | | </div> |
| | |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºåæ°å¢ |
| | | $("#HItemID").val(0); |
| | | //ç¦ç¨ç»ç»é项 |
| | | $("#HUSEORGID").attr("disabled", true); |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | //ç¦ç¨ç»ç»é项 |
| | |
| | | $("#HStopflag").val(data.elem.checked); |
| | | }); |
| | | |
| | | //æ¯å¦è½¬å·¥åº |
| | | form.on('checkbox(checkboxHTProcessFlag)', function (data) { |
| | | $("#HTProcessFlag").val(data.elem.checked); |
| | | }); |
| | | |
| | | |
| | | //æµè½¬æ è®°æé® |
| | | form.on('checkbox(checkboxHTypeFlow)', function (data) { |
| | | $("#HTypeFlow").val(data.elem.checked); |
| | |
| | | get_checkDept(); |
| | | }); |
| | | |
| | | //éæ©é¦ä»¶æ£éªæ¹æ¡æé® |
| | | form.on('submit(HQCSchemeID_Fst-BT)', function () { |
| | | get_checkQCSchemeID_Fst(); |
| | | }); |
| | | |
| | | //éæ©è½¬åºæ£éªæ¹æ¡æé® |
| | | form.on('submit(HQCSchemeID_Proc-BT)', function () { |
| | | get_checkQCSchemeID_Proc(); |
| | | }); |
| | | |
| | | //éæ©å·¡æ£æ£éªæ¹æ¡æé® |
| | | form.on('submit(HQCSchemeID_Patrol-BT)', function () { |
| | | get_checkHQCSchemeID_Patrol(); |
| | | }); |
| | | |
| | | //鿩工ä½ä¸å¿æé® |
| | | form.on('submit(HWorkCenterID-BT)', function () { |
| | | get_checkWorkCenter(); |
| | | }); |
| | | |
| | | //éæ©å·¥æ®µæé® |
| | | form.on('submit(HProcMulID-BT)', function () { |
| | | get_checkProcMul(); |
| | | }); |
| | | |
| | | //éæ©çç»æé® |
| | |
| | | var IsHTypeFlow = data.æµè½¬æ è®°; |
| | | var IsHTypeCount = data.æ ¸ç®æ è®°; |
| | | var IsHAutoTrunFlag = data.èªå¨ç§»è½¬; |
| | | var HTProcessFlag = data.HTProcessFlag; |
| | | //ç¦ç¨æ è®° |
| | | if (IsHStopflag) { |
| | | $("input[name='checkboxHStopflag'][value='" + IsHStopflag + "']").attr("checked", true); |
| | |
| | | if (IsHAutoTrunFlag) { |
| | | $("input[name='checkboxHAutoTrunFlag'][value='" + IsHAutoTrunFlag + "']").attr("checked", true); |
| | | } |
| | | if (HTProcessFlag) { |
| | | $("input[name='checkboxHTProcessFlag'][value='" + HTProcessFlag + "']").attr("checked", true); |
| | | } |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HNumber": data.å·¥åºä»£ç |
| | | , "HItemID": data.HItemID |
| | | , "HName": data.å·¥åºåç§° |
| | | , "HFixPrice": data.ç产å®é¢ |
| | | , "HLevel": data.ç级 |
| | | //, "HProcMulName": data.工段åç§° |
| | | //, "HProcMulID": data.工段ID |
| | | , "HBarCode": data.æ¡å½¢ç |
| | | , "HProcMulName": data.工段åç§° |
| | | , "HProcMulID": data.HProMulID |
| | | , "HBarCodeForBase": data.æ¡å½¢ç |
| | | , "HHelpCode": data.å©è®°ç |
| | | , "HDeptName": data.é¨é¨ |
| | | , "HDeptID": data.HDeptID |
| | |
| | | , "HWHName": data.HWHName |
| | | , "HWorkCenterID": data.HWorkCenterID |
| | | , "HWorkCenterName": data.HWorkCenterName |
| | | , "HQCSchemeID_Fst": data.HQCSchemeID_Fst |
| | | , "HQCSchemeName_Fst": data.é¦ä»¶æ£éªæ¹æ¡ |
| | | , "HQCSchemeID_Proc": data.HQCSchemeID_Proc |
| | | , "HQCSchemeName_Proc": data.è½¬åºæ£éªæ¹æ¡ |
| | | , "HQCSchemeID_Patrol": data.HQCSchemeID_Patrol |
| | | , "HQCSchemeName_Patrol": data.å·¡æ£æ£éªæ¹æ¡ |
| | | , "HPayMentType": data.计件工èµç±»å |
| | | }); |
| | | layer.close(ajaxLoad); |
| | | } else { |
| | |
| | | layer.msg("è¯·éæ©å·¥ä½ä¸å¿ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | if ($("#HProcMulName").val() == "") { |
| | | layer.msg("è¯·éæ©å·¥æ®µï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | //if (!$("#HProcessID_K3").val()) { |
| | | // layer.msg("è¯·éæ©ERPå·¥åºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | |
| | | var HFixPrice = $('#HFixPrice').val(); |
| | | if (HFixPrice.substring(HFixPrice.length - 1, HFixPrice.length) == ".") { |
| | | layer.msg("ç产å®é¢çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HFixPrice)) { |
| | | layer.msg("ç产å®é¢è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HOverFixPrice = $('#HOverFixPrice').val(); |
| | | if (HOverFixPrice.substring(HOverFixPrice.length - 1, HOverFixPrice.length) == ".") { |
| | | layer.msg("å ç补贴å®é¢çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HOverFixPrice)) { |
| | | layer.msg("å ç补贴å®é¢è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HSno = $('#HSno').val(); |
| | | if (HSno.substring(HSno.length - 1, HSno.length) == ".") { |
| | | layer.msg("åºå·çç»å°¾ä¸è½æ¯.ï¼"); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HSno)) { |
| | | layer.msg("åºå·è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var sMainStr = JSON.stringify(data.field) + ";" + sessionStorage["HUserName"]; |
| | | $.ajax({ |
| | | type: "POST", |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å·¥åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_ProcList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/ç产åºç¡èµæ/Gy_Process.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HProcName").val(checkStatus.data[0].å·¥åº); |
| | | $("#HProcName").val(checkStatus.data[0].å·¥åºåç§°); |
| | | $("#HProcID").val(checkStatus.data[0].HItemID); |
| | | $("#HProcNumber").val(checkStatus.data[0].å·¥åºä»£ç ); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'é¨é¨å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/DeptInformation.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_DepartmentList.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HDeptName").val(checkStatus.data[0].HName); |
| | | $("#HDeptName").val(checkStatus.data[0].é¨é¨åç§°); |
| | | $("#HDeptID").val(checkStatus.data[0].HItemID); |
| | | $("#HDeptNumber").val(checkStatus.data[0].HNumber); |
| | | $("#HDeptNumber").val(checkStatus.data[0].é¨é¨ä»£ç ); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å·¥ä½ä¸å¿å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WorkCenterList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_WorkCenter.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HWorkCenterName").val(checkStatus.data[0].å·¥ä½ä¸å¿); |
| | | $("#HWorkCenterName").val(checkStatus.data[0].å·¥ä½ä¸å¿åç§°); |
| | | $("#HWorkCenterID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©å·¥æ®µæ¹æ³ |
| | | function get_checkProcMul() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: '工段å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/ç产åºç¡èµæ/Gy_ProcMul.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HProcMulName").val(checkStatus.data[0].工段åç§°); |
| | | $("#HProcMulID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©é¦ä»¶æ£éªæ¹æ¡æ¹æ³ |
| | | function get_checkQCSchemeID_Fst() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æ£éªæ¹æ¡å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HQCSchemeName_Fst").val(checkStatus.data[0].æ£éªæ¹æ¡åç§°); |
| | | $("#HQCSchemeID_Fst").val(checkStatus.data[0].hmainid); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©è½¬åºæ£éªæ¹æ¡æ¹æ³ |
| | | function get_checkQCSchemeID_Proc() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æ£éªæ¹æ¡å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HQCSchemeName_Proc").val(checkStatus.data[0].æ£éªæ¹æ¡åç§°); |
| | | $("#HQCSchemeID_Proc").val(checkStatus.data[0].hmainid); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //#endregion |
| | | |
| | | //#region éæ©å·¡æ£æ£éªæ¹æ¡æ¹æ³ |
| | | function get_checkHQCSchemeID_Patrol() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æ£éªæ¹æ¡å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HQCSchemeName_Patrol").val(checkStatus.data[0].æ£éªæ¹æ¡åç§°); |
| | | $("#HQCSchemeID_Patrol").val(checkStatus.data[0].hmainid); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'çç»å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../PublicPage/GroupInformation.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å·¥èµåºç¡èµæ/Gy_Group.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HGroup").val(checkStatus.data[0].HName); |
| | | $("#HGroup").val(checkStatus.data[0].çç»åç§°); |
| | | $("#HGroupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'ä¸è¯ä»åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WarehouseList.html?Type=0&HOrgID=' + sessionStorage["OrganizationID"], 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HBadWHName").val(checkStatus.data[0].HName); |
| | | $("#HBadWHName").val(checkStatus.data[0].ä»åºåç§°); |
| | | $("#HBadWHID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'æ¥åºä»åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WarehouseList.html?Type=0&HOrgID=' + sessionStorage["OrganizationID"], 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HWasterWHName").val(checkStatus.data[0].HName); |
| | | $("#HWasterWHName").val(checkStatus.data[0].ä»åºåç§°); |
| | | $("#HWasterWHID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'ç åä¸è¯åä»åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WarehouseList.html?Type=0&HOrgID=' + sessionStorage["OrganizationID"], 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HBadCountDevelopWHName").val(checkStatus.data[0].HName); |
| | | $("#HBadCountDevelopWHName").val(checkStatus.data[0].ä»åºåç§°); |
| | | $("#HBadCountDevelopWHID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å§å¤ä¸è¯ä»åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WarehouseList.html?Type=0&HOrgID=' + sessionStorage["OrganizationID"], 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HWWBadWHName").val(checkStatus.data[0].HName); |
| | | $("#HWWBadWHName").val(checkStatus.data[0].ä»åºåç§°); |
| | | $("#HWWBadWHID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'å§å¤æ¥åºä»åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WarehouseList.html?Type=0&HOrgID=' + sessionStorage["OrganizationID"], 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HWWWasterWHName").val(checkStatus.data[0].HName); |
| | | $("#HWWWasterWHName").val(checkStatus.data[0].ä»åºåç§°); |
| | | $("#HWWWasterWHID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: 'è¯åä»åºå表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WarehouseList.html?Type=0&HOrgID=' + sessionStorage["OrganizationID"], 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Warehouse.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HWHName").val(checkStatus.data[0].HName); |
| | | $("#HWHName").val(checkStatus.data[0].ä»åºåç§°); |
| | | $("#HWHID").val(checkStatus.data[0].HItemID); |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | $("#HWHName").val(obj[0].è¯åä»åº); |
| | | $("#HWHID").val(obj[0].HItemID); |
| | | } |
| | | //è¿å工段 |
| | | function GetGyProcMulValue(obj) { |
| | | $("#HProcMulName").val(obj[0].工段åç§°); |
| | | $("#HProcMulID").val(obj[0].HItemID); |
| | | } |
| | | </script> |
| | | </body> |
| | | </html> |