Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-LayUI
| | |
| | | //var WEBURL = "http://localhost:8082/API/"; //æè´ºæ¬å°é
ç½® |
| | | /*var WEBURL = "http://localhost/API/";*/ //æ½æµæ¸¸æ¬å°é
ç½® |
| | | //var WEBURL = "http://localhost:8082/API/"; //å¼ ç广æ¬å°é
ç½® |
| | | var WEBURL = "http://localhost:81/API/" //ç¿æ¶æ¶æ¬å°é
ç½® |
| | | //var WEBURL = "http://localhost:81/API/" //ç¿æ¶æ¶æ¬å°é
ç½® |
| | | //var WEBURL = "http://47.96.97.237/API/"; //æºäºæå¡å¨ |
| | | /*var WEBURL = "http://localhost:8082/LuBaoAPI/"; */ //ä½ææ°æ¬å°é
ç½® |
| | | //var WEBURL = "http://localhost:8088/ARAPI/"; //ä½ææ°æ¬å°é
ç½®(å®ç) |
| | |
| | | , { field: 'HEmpID', title: 'HEmpID', width: 100, hide: true, style: 'background-color:#efefef4d;' } |
| | | , { field: 'HEmpNumber', title: 'èå代ç ', width: 100, edit: 'text', event: "HEmpNumber" } //F7 |
| | | , { field: 'HEmpName', title: 'èååç§°', width: 100, style: 'background-color:#efefef4d;' } |
| | | , { field: 'HEmpRate', title: 'èåç³»æ°', width: 100, edit: 'text' } |
| | | , { field: 'HEmpRate', title: 'èåç³»æ°', width: 100, edit: 'text', event: "HEmpRate" } |
| | | , { field: 'HAMTimes', title: 'ä¸åå·¥æ¶', width: 100, edit: 'text', totalRow: true } |
| | | , { field: 'HPMTimes', title: 'ä¸åå·¥æ¶', width: 100, edit: 'text', totalRow: true } |
| | | , { field: 'HBaseTimes', title: 'åºæ¬å·¥æ¶', width: 100, edit: 'text', totalRow: true } |
| | | , { field: 'HBaseTimes', title: 'åºæ¬å·¥æ¶', width: 100, edit: 'text', totalRow: true, event: "HBaseTimes" } |
| | | , { field: 'HBaseDays', title: 'åºæ¬å¤©æ°', width: 100, edit: 'text', totalRow: true } |
| | | , { field: 'HOverTimes', title: 'å çå·¥æ¶', width: 100, edit: 'text', totalRow: true } |
| | | , { field: 'HOverDays', title: 'å ç天æ°', width: 100, edit: 'text', totalRow: true } |
| | |
| | | } |
| | | }) |
| | | } |
| | | //obj.event = ""; |
| | | return false; |
| | | } |
| | | |
| | | |
| | | //#region æ¹éå¡«å
|
| | | //æ°å¼æ ¼å¼æ ¡éªå·¥å
· |
| | | var ref = /^\d+(\.\d+)?$/; //éè´æ°æ£åè¡¨è¾¾å¼ |
| | | var temp = ""; |
| | | //æä½è¡ç´¢å¼ |
| | | var rowIndex = $(obj.tr).attr("data-index"); |
| | | |
| | | if (event.key == "F6") { |
| | | //èåç³»æ° |
| | | if (obj.event == "HEmpRate") { |
| | | var oldText = table.cache["mainTable"][rowIndex].HEmpRate; |
| | | var value = e.target.value; //å¾å°ä¿®æ¹åçå¼ |
| | | |
| | | //æ°æ®æ ¼å¼æ ¡éª |
| | | temp = value + ""; |
| | | if (!ref.test(temp) || temp == 0) { |
| | | //æ¢å¤æ°æ®å°ç¼è¾å |
| | | option.data[rowIndex].HEmpRate = oldText; |
| | | table.render(option); |
| | | //å·æ°è®¾ç½®å¤éæ¡ç¶æ |
| | | CheckedSet_tableSub(); |
| | | |
| | | layer.msg("æè¾å
¥å¼å¿
须为大äº0çæ°å!"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | for (var i = rowIndex * 1; i < option.data.length; i++) { |
| | | //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ |
| | | var HEmpRate = isNaN(value) ? 0 : value * 1; //èåç³»æ° |
| | | |
| | | //åæ¥æ´æ°è¡¨æ ¼åç¼å对åºçå¼ |
| | | option.data[i].HEmpRate = HEmpRate; |
| | | } |
| | | table.render(option); |
| | | //å·æ°è®¾ç½®å¤éæ¡ç¶æ |
| | | CheckedSet_tableSub(); |
| | | } |
| | | |
| | | //åºæ¬å·¥æ¶ |
| | | if (obj.event == "HBaseTimes") { |
| | | var oldText = table.cache["mainTable"][rowIndex].HBaseTimes; |
| | | var value = e.target.value; //å¾å°ä¿®æ¹åçå¼ |
| | | |
| | | //æ°æ®æ ¼å¼æ ¡éª |
| | | temp = value + ""; |
| | | if (!ref.test(temp) || temp == 0) { |
| | | //æ¢å¤æ°æ®å°ç¼è¾å |
| | | option.data[rowIndex].HBaseTimes = oldText; |
| | | table.render(option); |
| | | //å·æ°è®¾ç½®å¤éæ¡ç¶æ |
| | | CheckedSet_tableSub(); |
| | | |
| | | layer.msg("æè¾å
¥å¼å¿
须为大äº0çæ°å!"); |
| | | return; |
| | | } |
| | | |
| | | |
| | | for (var i = rowIndex * 1; i < option.data.length; i++) { |
| | | //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ |
| | | var HBaseTimes = isNaN(value) ? 0 : value * 1; //åºæ¬å·¥æ¶ |
| | | var HAMTimes = HBaseTimes / 2; //ä¸åå·¥æ¶ |
| | | var HPMTimes = HBaseTimes / 2; //ä¸åå·¥æ¶ |
| | | var HPayMoney = isNaN(option.data[i].HPayMoney) ? 0 : option.data[i].HPayMoney; //å°æ¶å·¥èµ |
| | | var HMoney = HPayMoney * HBaseTimes; //å·¥èµ=å°æ¶å·¥èµ*åºæ¬å·¥æ¶ |
| | | |
| | | //åæ¥æ´æ°è¡¨æ ¼åç¼å对åºçå¼ |
| | | option.data[i].HBaseTimes = HBaseTimes; |
| | | option.data[i].HAMTimes = HAMTimes; |
| | | option.data[i].HPMTimes = HPMTimes; |
| | | option.data[i].HMoney = HMoney; |
| | | } |
| | | table.render(option); |
| | | //å·æ°è®¾ç½®å¤éæ¡ç¶æ |
| | | CheckedSet_tableSub(); |
| | | } |
| | | |
| | | obj.event = ""; |
| | | return false; |
| | | } |
| | | |
| | | //#endregion |
| | | }) |
| | | } |
| | | //#endregion |
| | |
| | | } |
| | | |
| | | //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ |
| | | var HAMTimes = isNaN(value) ? 0 : value; //ä¸åå·¥æ¶ |
| | | var HAMTimes = isNaN(value) ? 0 : value * 1; //ä¸åå·¥æ¶ |
| | | var HPMTimes = isNaN(obj.data.HPMTimes) ? 0 : obj.data.HPMTimes; //ä¸åå·¥æ¶ |
| | | var HBaseTimes = Number(HPMTimes) + Number(HAMTimes); //åºæ¬å·¥æ¶=ä¸åå·¥æ¶+ä¸åå·¥æ¶ |
| | | var HPayMoney = isNaN(obj.data.HPayMoney) ? 0 : obj.data.HPayMoney; //å°æ¶å·¥èµ |
| | |
| | | } |
| | | |
| | | //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ |
| | | var HPMTimes = isNaN(value) ? 0 : value; //ä¸åå·¥æ¶ |
| | | var HPMTimes = isNaN(value) ? 0 : value * 1; //ä¸åå·¥æ¶ |
| | | var HAMTimes = isNaN(obj.data.HAMTimes) ? 0 : obj.data.HAMTimes; //ä¸åå·¥æ¶ |
| | | var HBaseTimes = Number(HPMTimes) + Number(HAMTimes); //åºæ¬å·¥æ¶=ä¸åå·¥æ¶+ä¸åå·¥æ¶ |
| | | var HPayMoney = isNaN(obj.data.HPayMoney) ? 0 : obj.data.HPayMoney; //å°æ¶å·¥èµ |
| | |
| | | obj.update({ |
| | | HPMTimes: HPMTimes |
| | | , HBaseTimes: HBaseTimes |
| | | , HMoney: HMoney |
| | | }); |
| | | table.render(option); |
| | | //å·æ°è®¾ç½®å¤éæ¡ç¶æ |
| | | CheckedSet_tableSub(); |
| | | break; |
| | | case "HBaseTimes": //åºæ¬å·¥æ¶ |
| | | //æ°æ®æ ¼å¼æ ¡éª |
| | | temp = value + ""; |
| | | if (!ref.test(temp) || temp == 0) { |
| | | //æ¢å¤æ°æ®å°ç¼è¾å |
| | | obj.update({ |
| | | HBaseTimes: oldText |
| | | }); |
| | | table.render(option); |
| | | //å·æ°è®¾ç½®å¤éæ¡ç¶æ |
| | | CheckedSet_tableSub(); |
| | | |
| | | layer.msg("æè¾å
¥å¼å¿
须为大äº0çæ°å!"); |
| | | return; |
| | | } |
| | | |
| | | //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ |
| | | var HBaseTimes = isNaN(value) ? 0 : value * 1; //åºæ¬å·¥æ¶ |
| | | var HAMTimes = HBaseTimes / 2; //ä¸åå·¥æ¶ |
| | | var HPMTimes = HBaseTimes / 2; //ä¸åå·¥æ¶ |
| | | var HPayMoney = isNaN(obj.data.HPayMoney) ? 0 : obj.data.HPayMoney; //å°æ¶å·¥èµ |
| | | var HMoney = HPayMoney * HBaseTimes; //å·¥èµ=å°æ¶å·¥èµ*åºæ¬å·¥æ¶ |
| | | |
| | | //åæ¥æ´æ°è¡¨æ ¼åç¼å对åºçå¼ |
| | | obj.update({ |
| | | HBaseTimes: HBaseTimes |
| | | , HAMTimes: HAMTimes |
| | | , HPMTimes: HPMTimes |
| | | , HMoney: HMoney |
| | | }); |
| | | table.render(option); |
| | |
| | | } |
| | | |
| | | //æ°æ®æ ¡éªåæ ¼ï¼éç®è®°å½ |
| | | var HPayMoney = isNaN(value) ? 0 : value; //å°æ¶å·¥èµ |
| | | var HPayMoney = isNaN(value) ? 0 : value * 1; //å°æ¶å·¥èµ |
| | | var HBaseTimes = isNaN(obj.data.HBaseTimes) ? 0 : obj.data.HBaseTimes; //åºæ¬å·¥æ¶ |
| | | var HMoney = HPayMoney * HBaseTimes; //å·¥èµ=å°æ¶å·¥èµ*åºæ¬å·¥æ¶ |
| | | |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">夿ç»è®º</label> |
| | | <div class="layui-input-block"> |
| | | <input type="radio" name="HLastResult" id="HLastResult" value="true" title="åæ ¼" checked> |
| | | <input type="radio" name="HLastResult" id="HLastResult" value="false" title="ä¸åæ ¼"> |
| | | <input type="radio" name="HLastResult" id="HLastResult" value="true" title="åæ ¼" > |
| | | <input type="radio" name="HLastResult" id="HLastResult" value="false" title="ä¸åæ ¼" checked> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" id="hidediv1"> |
| | |
| | | , "HBatchNo": data.æ¹å· |
| | | , "HTakeSampleCheckBillID": data.HTakeSampleCheckBillID |
| | | , "HTakeSampleCheckBillNo": data.HTakeSampleCheckBillNo |
| | | , "HProcID": data.HProcID |
| | | , "HProcName": data.HProcName |
| | | }); |
| | | $("input[name=HLastResult][value=true]").prop("checked", data.å¤å®ç»è®º === "åæ ¼"); |
| | | $("input[name=HLastResult][value=false]").prop("checked", data.å¤å®ç»è®º === "ä¸åæ ¼"); |
| | |
| | | { |
| | | "HQCCheckItemID": data[i]["HQCCheckItemID"], "æ£éªé¡¹ç®ä»£ç ": data[i].æ£éªé¡¹ç®ä»£ç , "æ£éªé¡¹ç®": data[i]["æ£éªé¡¹ç®"], "HInspectInstruMentID": data[i]["HInspectInstruMentID"], "æ£éªä»ªå¨": data[i]["æ£éªä»ªå¨"], "HQCStd": data[i]["HQCStd"], "HUnit": data[i]["åä½åç§°"], "HQCNote": "", "HAnalysisMethod": data[i]["åææ¹æ³"], "HResult": data[i]["é»è®¤ç»è®º"], |
| | | "HMax": "", "HMin": "", "HAvg": "", "HRemark": "", "HKeyInspect": data[i]["éç¹æ£æ¥"] == 1 ? true : false, "HStatus": 0, "HSampleSchemeID": data[i]["HSampleSchemeID"] == null ? 0 : data[i]["HSampleSchemeID"], "HUnitID": data[i]["HUnitID"], |
| | | "HInspectVal": '', "HTargetVal": '', "HUpLimit": '', "HDownLimit": '', "HUpOffSet": '', "HDownOffSet": '', "HSampleDamageQty": "0", |
| | | "HInspectVal": '', "HTargetVal": '', "HUpLimit": + data[i].ä¸éå¼, "HDownLimit": + data[i].ä¸éå¼, "HUpOffSet": '', "HDownOffSet": '', "HSampleDamageQty": "0", |
| | | "HSampleSchemeName": data[i].æ½æ ·æ¹æ¡åç§°, "HSampleQty": data[i].æ ·æ¬é, "HAcceptQty": data[i].å
è®¸æ° == null ? 0 : data[i].å
许æ°, "HInspectionLevel": data[i].æ£éªæ°´å¹³, "HRejectQty": data[i].æç»æ° == null ? 0 : data[i].æç»æ°, |
| | | "HStrictness": data[i].ä¸¥æ ¼åº¦, "HSampleUnRightQty": "0", "HAQL": data[i].AQL, "HSamplingType": data[i].æ½æ ·ç±»å |
| | | } |
| | |
| | | , { field: 'HQCStd', title: 'æ£éªæ å', edit: 'text' } |
| | | , { field: 'HUnit', title: 'åä½', edit: 'text' } |
| | | , { field: 'HQCNote', title: 'æ£éªè®°å½', edit: 'text' } |
| | | , { field: 'HInspectVal', title: 'æ£éªå¼' } |
| | | , { field: 'HInspectVal', title: 'æ£éªå¼', edit: 'text' } |
| | | , { field: 'HUpLimit', title: 'ä¸éå¼' } |
| | | , { field: 'HDownLimit', title: 'ä¸éå¼' } |
| | | , { field: 'HMax', title: 'æå¤§å¼', edit: 'text', totalRow: true } |
| | |
| | | } |
| | | if (HQty > 0) { |
| | | document.querySelectorAll("[name='HLastResult']")[0].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } else { |
| | | document.querySelectorAll("[name='HLastResult']")[1].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } |
| | | form.render('radio'); |
| | | } |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">夿ç»è®º</label> |
| | | <div class="layui-input-block"> |
| | | <input type="radio" name="HCheckerResult" id="HCheckerResult" value="true" title="åæ ¼" checked> |
| | | <input type="radio" name="HCheckerResult" id="HCheckerResult" value="false" title="ä¸åæ ¼"> |
| | | <input type="radio" name="HCheckerResult" id="HCheckerResult" value="true" title="åæ ¼" > |
| | | <input type="radio" name="HCheckerResult" id="HCheckerResult" value="false" title="ä¸åæ ¼" checked> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" id="hidediv1"> |
| | |
| | | <input type="hidden" name="HMainSourceInterID" id="HMainSourceInterID" value="0"> |
| | | <input type="hidden" name="HMainSourceEntryID" id="HMainSourceEntryID" value="1"> |
| | | <input type="hidden" name="HMainSourceBillNo" id="HMainSourceBillNo"> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="1"> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | , "HBatchNo": data.æ¹å· |
| | | , "HTakeSampleCheckBillID": data.HTakeSampleCheckBillID |
| | | , "HTakeSampleCheckBillNo": data.HTakeSampleCheckBillNo |
| | | , "HProcID": data.HProcID |
| | | , "HProcName": data.HProcName |
| | | }); |
| | | |
| | | $("input[name=HCheckerResult][value=true]").prop("checked", data.å¤å®ç»è®º === "åæ ¼"); |
| | | $("input[name=HCheckerResult][value=false]").prop("checked", data.å¤å®ç»è®º === "ä¸åæ ¼"); |
| | | form.render(); |
| | | data = result.data; |
| | | //å表 èµå¼ |
| | | var rowdata = []; |
| | |
| | | { |
| | | "HQCCheckItemID": data[i]["HQCCheckItemID"], "æ£éªé¡¹ç®ä»£ç ": data[i].æ£éªé¡¹ç®ä»£ç , "æ£éªé¡¹ç®": data[i]["æ£éªé¡¹ç®"], "HInspectInstruMentID": data[i]["HInspectInstruMentID"], "æ£éªä»ªå¨": data[i]["æ£éªä»ªå¨"], "HQCStd": data[i]["HQCStd"], "HUnit": data[i]["åä½åç§°"], "HQCNote": "", "HAnalysisMethod": data[i]["åææ¹æ³"], "HResult": data[i]["é»è®¤ç»è®º"], |
| | | "HMax": "", "HMin": "", "HAvg": "", "HRemark": "", "HKeyInspect": data[i]["éç¹æ£æ¥"] == 1 ? true : false, "HStatus": 0, "HSampleSchemeID": data[i]["HSampleSchemeID"], "HUnitID": data[i]["HUnitID"], |
| | | "HInspectVal": '', "HTargetVal": '', "HUpLimit": '', "HDownLimit": '', "HUpOffSet": '', "HDownOffSet": '', "HSampleDamageQty": "0", |
| | | "HInspectVal": '', "HTargetVal": '', "HUpLimit": + data[i].ä¸éå¼, "HDownLimit": + data[i].ä¸éå¼, "HUpOffSet": '', "HDownOffSet": '', "HSampleDamageQty": "0", |
| | | "HSampleSchemeName": data[i].æ½æ ·æ¹æ¡åç§°, "HSampleQty": data[i].æ ·æ¬é, "HAcceptQty": data[i].å
许æ°, "HInspectionLevel": data[i].æ£éªæ°´å¹³, "HRejectQty": data[i].æç»æ°, |
| | | "HStrictness": data[i].ä¸¥æ ¼åº¦, "HSampleUnRightQty": "", "HAQL": data[i].AQL, "HSamplingType": data[i].æ½æ ·ç±»å |
| | | } |
| | |
| | | //, { field: 'HQCStd', title: 'æ£éªæ å', edit: 'text' } |
| | | , { field: 'HUnit', title: 'åä½', edit: 'text' } |
| | | , { field: 'HQCNote', title: 'æ£éªè®°å½', edit: 'text' } |
| | | , { field: 'HInspectVal', title: 'æ£éªå¼' } |
| | | , { field: 'HInspectVal', title: 'æ£éªå¼', edit: 'text' } |
| | | , { field: 'HUpLimit', title: 'ä¸éå¼' } |
| | | , { field: 'HDownLimit', title: 'ä¸éå¼' } |
| | | , { field: 'HMax', title: 'æå¤§å¼', edit: 'text', totalRow: true} |
| | |
| | | layer.msg("æ£éªåæªéæ©ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | if ($("#HBatchNo").val() == "") { |
| | | layer.msg("æ¹æ¬¡å·ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | var sSubTable = table.cache['mainTable']; |
| | | for (var i = 0; i < sSubTable.length; i++) { |
| | | if (!sSubTable[i].HQCCheckItemID) { |
| | |
| | | } |
| | | if (HQty > 0) { |
| | | document.querySelectorAll("[name='HLastResult']")[0].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } else { |
| | | document.querySelectorAll("[name='HLastResult']")[1].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } |
| | | form.render('radio'); |
| | | } |
| | |
| | | </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> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">å¼å§æ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HDate1" id="HDate1"> |
| | | <input type="date" class="layui-input" name="HDate1" id="HDate1"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»ææ¥æ</label> |
| | | <div class="layui-input-block"> |
| | | <input type="text" class="layui-input" name="HDate2" id="HDate2"> |
| | | <input type="date" class="layui-input" name="HDate2" id="HDate2"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | |
| | | var HBillNo = $("#HBillNo").val(); |
| | | var HDate1 = $("#HDate1").val(); |
| | | var HDate2 = $("#HDate2").val(); |
| | | var HQCCheckProjectName = $("#HQCCheckProjectName").val(); |
| | | if (HQCCheckProjectName) { |
| | | sWhere += " and æ£éªæ¹æ¡åç§° like '%" + HQCCheckProjectName + "%'"; |
| | | } |
| | | if (HBillNo) { |
| | | sWhere += " and åæ®å· like '%" + HBillNo + "%'"; |
| | | } |
| | |
| | | |
| | | option_ZXT_Avg = { |
| | | title: { |
| | | text: 'å¹³åå¼', |
| | | text: 'xÌ管å¶å¾', |
| | | left: 'center' |
| | | }, |
| | | grid: { |
| | |
| | | |
| | | option_ZXT_Diff = { |
| | | title: { |
| | | text: 'å·®å¼', |
| | | text: 'R管å¶å¾', |
| | | left: 'center' |
| | | }, |
| | | grid: { |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" id="hidediv1"> |
| | | <label class="layui-form-label" style="width: 85px;">å·¥åº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProcName" id="HProcName" style="background-color:#efefef4d;" readonly value="1"> |
| | | <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" name="HProcName" id="HProcName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHProc" id="btnHProc" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | $("#HInterID").val(""); |
| | | $("#HBillNo").val(""); |
| | | $('#btn-AddNew').addClass("layui-btn-disabled").attr("disabled", true);//ææºåæ¶æ°å¢æé®ç¦ç¨ |
| | | $('#btnSearchSource').addClass("layui-btn-disabled").attr("disabled", true);//ææºåæ¶çäº§èµæºæé®ç¦ç¨ |
| | | //$('#btnSearchSource').addClass("layui-btn-disabled").attr("disabled", true);//ææºåæ¶çäº§èµæºæé®ç¦ç¨ |
| | | $('#btnSearchICMOBill').addClass("layui-btn-disabled").attr("disabled", true);//ææºåæ¶ä»»å¡åå·æé®ç¦ç¨ |
| | | $('#btnSearchMater').addClass("layui-btn-disabled").attr("disabled", true);//ææºåæ¶äº§åå
ç æé®ç¦ç¨ |
| | | $('#btnSearchProcExch').addClass("layui-btn-disabled").attr("disabled", true);//ææºåæ¶æµè½¬å¡å·æé®ç¦ç¨ |
| | |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | //表头信æ¯å·¥åº |
| | | form.on('submit(btnHProc)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'å·¥åºå表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | maxmin: true, |
| | | content: ['../../åºç¡èµæ/ç产åºç¡èµæ/Gy_Process.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HProcName").val(checkStatus.data[0].å·¥åºåç§°); |
| | | $("#HProcID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | get_ICMOBillStatusList(); |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //éåºæé® |
| | | form.on('submit(btn-Exit)', function (data) { |
| | |
| | | , "HShiftsID": data.HShiftsID |
| | | , "HShiftsName": data.çæ¬¡åç§° |
| | | , "HErrTreatment": data.å¼å¸¸ä¸´æ¶å¤çæ¹æ¡ |
| | | , "HProcID": data.HProcID |
| | | , "HProcName": data.HProcName |
| | | }); |
| | | $("input[name=HLastResult][value=true]").prop("checked", data.å¤å®ç»è®º === "åæ ¼"); |
| | | $("input[name=HLastResult][value=false]").prop("checked", data.å¤å®ç»è®º === "ä¸åæ ¼"); |
| | |
| | | } |
| | | $("#HSourceName").val(checkStatus.data[0].çäº§èµæºåç§°); |
| | | $("#HSourceID").val(checkStatus.data[0].HItemID); |
| | | get_ICMOBillStatusList(); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | |
| | | } |
| | | if (HQty > 0) { |
| | | document.querySelectorAll("[name='HLastResult']")[0].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } else { |
| | | document.querySelectorAll("[name='HLastResult']")[1].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } |
| | | form.render('radio'); |
| | | } |
| | |
| | | } |
| | | //#endregion |
| | | |
| | | //æ ¹æ®çäº§èµæºæè
å·¥åº æ¥è¯¢ç产工åä¿¡æ¯ |
| | | function get_ICMOBillStatusList() { |
| | | var sWhere = ""; |
| | | var HProcID = $("#HProcID").val(); |
| | | var HSourceID = $("#HSourceID").val(); |
| | | var HProcExchInterID = $("#HProcExchInterID").val(); |
| | | |
| | | if (HProcID != "0") { |
| | | sWhere += " and HProcID=" + HProcID; |
| | | } |
| | | if (HSourceID != "0") { |
| | | sWhere += " and HSourceID=" + HSourceID |
| | | } |
| | | |
| | | sWhere += " and HSourceInterID=" + HProcExchInterID; |
| | | |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/CheckBill/GetICMOBillStatusList", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | $("#HProcID").val(result.data[0]["HProcID"]); |
| | | $("#HProcName").val(result.data[0]["å·¥åº"]); |
| | | $("#HSourceID").val(result.data[0]["HSourceID"]); |
| | | $("#HSourceName").val(result.data[0]["çäº§èµæº"]); |
| | | |
| | | } else { |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥ï¼" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | //#region ãéèæ£æµå¼å段ã |
| | | function IsHide(HAnalysisMethod_Value) { |
| | | if (HAnalysisMethod_Value == 1) { //妿éä¸ã宿§åæãï¼åéèå®éãå
¶ä»åæ |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">夿ç»è®º</label> |
| | | <div class="layui-input-block"> |
| | | <input type="radio" name="HLastResult" id="HLastResult" value="true" title="åæ ¼" checked> |
| | | <input type="radio" name="HLastResult" id="HLastResult" value="false" title="ä¸åæ ¼"> |
| | | <input type="radio" name="HLastResult" value="true" title="åæ ¼" > |
| | | <input type="radio" name="HLastResult" value="false" title="ä¸åæ ¼" checked> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" id="hidediv1" style="margin-left:20px;"> |
| | |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | maxmin: true, |
| | | content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_InspectInstruMentList.html', 'yes'], |
| | | content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_InspectInstruMent.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | , "HICMOEntryID": data.HICMOEntryID |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.ç©æåç§° |
| | | , "HProcID": data.HProcID |
| | | , "HProcName": data.HProcName |
| | | , "HProcExchQty": data.HProcExchQty |
| | | , "HProcExchBillNo": data.HProcExchBillNo |
| | | , "HProcExchInterID": data.HProcExchInterID |
| | |
| | | for (var i = 0; i < data.length; i++) { |
| | | rowdata.push( |
| | | { |
| | | "HQCCheckItemID": data[i].HQCCheckItemID, "æ£éªé¡¹ç®ä»£ç ": data[i].æ£éªé¡¹ç®ä»£ç , "æ£éªé¡¹ç®": data[i].æ£éªé¡¹ç®åç§°, "HInspectInstruMentID": data[i].HInspectInstruMentID, "æ£éªä»ªå¨": data[i].æ£éªä»ªå¨, "HQCStd": data[i].æ£éªæ å, |
| | | "HQCCheckItemID": data[i].HQCCheckItemID, "æ£éªé¡¹ç®ä»£ç ": data[i].æ£éªé¡¹ç®ä»£ç , "æ£éªé¡¹ç®": data[i].æ£éªé¡¹ç®åç§°, "HInspectInstruMentID": data[i].HInspectInstruMentID, "æ£éªä»ªå¨": data[i].æ£éªä»ªå¨åç§°, "HQCStd": data[i].æ£éªæ å, |
| | | "HUnit": data[i].åä½åç§°, "HQCNote": data[i].æ£éªè®°å½, "HResult": data[i].ç»è®º == "åæ ¼" ? 1 : 2, |
| | | "HMax": data[i].æå¤§å¼, "HMin": data[i].æå°å¼, "HAvg": data[i].å¹³åå¼, "HRemark": data[i].表ä½å¤æ³¨, |
| | | "HAnalysisMethod": data[i].åææ¹æ³ == "宿§åæ" ? 1 : (data[i].åææ¹æ³ == "å®éåæ" ? 2 : 3), "HKeyInspect": data[i].éç¹æ£æ¥ == "å¦" ? false : true, |
| | |
| | | { |
| | | "HQCCheckItemID": data[i]["HQCCheckItemID"], "æ£éªé¡¹ç®ä»£ç ": data[i].æ£éªé¡¹ç®ä»£ç , "æ£éªé¡¹ç®": data[i]["æ£éªé¡¹ç®"], "HInspectInstruMentID": data[i]["HInspectInstruMentID"], "æ£éªä»ªå¨": data[i]["æ£éªä»ªå¨"], "HQCStd": data[i]["HQCStd"], "HUnit": data[i]["åä½åç§°"], "HQCNote": "", "HAnalysisMethod": data[i]["åææ¹æ³"], "HResult": data[i]["é»è®¤ç»è®º"], |
| | | "HMax": "", "HMin": "", "HAvg": "", "HRemark": "", "HKeyInspect": data[i]["éç¹æ£æ¥"] == 1 ? true : false, "HStatus": 0, "HSampleSchemeID": data[i]["HSampleSchemeID"], "HUnitID": data[i]["HUnitID"], |
| | | "HInspectVal": '', "HTargetVal": '', "HUpLimit": '', "HDownLimit": '', "HUpOffSet": '', "HDownOffSet": '', "HSampleDamageQty": "0", |
| | | "HInspectVal": '', "HTargetVal": '', "HUpLimit": + data[i].ä¸éå¼ , "HDownLimit": + data[i].ä¸éå¼, "HUpOffSet": '', "HDownOffSet": '', "HSampleDamageQty": "0", |
| | | "HSampleSchemeName": data[i].æ½æ ·æ¹æ¡åç§°, "HSampleQty": data[i].æ ·æ¬é, "HAcceptQty": data[i].å
许æ°, "HInspectionLevel": data[i].æ£éªæ°´å¹³, "HRejectQty": data[i].æç»æ°, |
| | | "HStrictness": data[i].ä¸¥æ ¼åº¦, "HSampleUnRightQty": "", "HAQL": data[i].AQL, "HSamplingType": data[i].æ½æ ·ç±»å |
| | | } |
| | |
| | | |
| | | //éæ©çselect对象å¼ï¼ |
| | | var selectValue = data.value; |
| | | if (selectValue == 1) { |
| | | if (selectValue == "1") { |
| | | selectValue = "åæ ¼" |
| | | $("#HInspectResultToSee").css("background-color", "#CEE3F2");//æ¹åæ£éªç»æè¾å
¥æ¡èæ¯é¢è² |
| | | $("#HInspectResultToSee2").css("background-color", "#CEE3F2");//æ¹åæ£éªç»æè¾å
¥æ¡èæ¯é¢è² |
| | |
| | | } |
| | | if (HQty > 0) { |
| | | document.querySelectorAll("[name='HLastResult']")[0].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + false + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value='false']").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } else { |
| | | document.querySelectorAll("[name='HLastResult']")[1].removeAttribute('checked'); //å é¤éæ©å±æ§ |
| | | $("input:radio[name=HLastResult][value=" + true + "]").attr("checked", "true"); //æ·»å 鿩屿§ |
| | | $("input:radio[name=HLastResult][value='true']").prop("checked", "true"); //æ·»å 鿩屿§ |
| | | } |
| | | form.render('radio'); |
| | | form.render("radio"); |
| | | } |
| | | |
| | | ////è¡éæ©å¤çï¼æ£éªç»æï¼-- å¤ä»½ |
| | |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | if (result.data.length > 0) { |
| | | $("#HTakeSampleCheckBillID").val(result.data[0]["hmainid"]); |
| | | $("#HTakeSampleCheckBillNo").val(result.data[0]["åæ®å·"]); |
| | | } |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.msg("æ¥å£è¯·æ±å¤±è´¥ï¼" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | |
| | | //#region æ¥è¯¢ |
| | | function RoadHBillNo(sqlWhere) { |
| | | var ajaxLoad = layer.load(); |
| | | sqlWhere+=" order by åæ®å· desc " |
| | | $.ajax({ |
| | | //h_v_QC_FirstPieceCheckBill |
| | | url: GetWEBURL() + '/QC_FirstPieceCheckBill/QC_FirstPieceCheckBillList', |
| | | url: GetWEBURL() + '/QC_FirstPieceCheckBillMain/QC_FirstPieceCheckBillMainList', |
| | | type: "GET", |
| | | async: false, |
| | | data: { "sWhere": sqlWhere, "user": sessionStorage["HUserName"] }, |
| | |
| | | layer.msg("æ¡å½¢ç ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } else { |
| | | if (HBarCode.length != 29) { |
| | | layer.alert("åä»¶æ¡ç é¿åº¦ä¸ä¸º29ä½!", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | if (HBarCode.length != 29 && HBarCode.length != 50) { |
| | | layer.alert("åä»¶æ¡ç é¿åº¦ä¸ä¸º29使50ä½!", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | |
| | |
| | | layer.msg("æ¡å½¢ç ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } else { |
| | | if (HBarCode.length != 29) { |
| | | layer.alert("åä»¶æ¡ç é¿åº¦ä¸ä¸º29ä½!", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | if (HBarCode.length != 29 && HBarCode.length != 50) { |
| | | layer.alert("åä»¶æ¡ç é¿åº¦ä¸ä¸º29使50ä½!", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | |
| | |
| | | layer.msg("æ¡å½¢ç ä¸è½ä¸ºç©ºï¼") |
| | | return; |
| | | } else { |
| | | if (HBarCode.length != 29) { |
| | | layer.alert("åä»¶æ¡ç é¿åº¦ä¸ä¸º29ä½!", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | if (HBarCode.length != 29 && HBarCode.length != 50) { |
| | | layer.alert("åä»¶æ¡ç é¿åº¦ä¸ä¸º29使50ä½!", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | |
| | |
| | | |
| | | //æ¥è¯¢æªæ´¾å·¥çæµè½¬å¡ |
| | | function get_Display2(sWhere) { |
| | | sWhere += " and çäº§èµæº is null and HBillSubType<>'SUB'"; |
| | | sWhere += " and çäº§èµæº is null and HBillSubType<>'SUB' and å·¥åº<>'转工åº' "; |
| | | if ($("#HDeptName").val() != "") { |
| | | sWhere += " and é¨é¨='" + $("#HDeptName").val() + "'"; |
| | | } |
| | | |
| | | var ajaxLoad = layer.load(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/LEMS/MES_ProcessExchangeBillList_PG', |
| | |
| | | <input type="text" class="layui-input" name="HMaterModel" id="HMaterModel" style="float: left;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åææ¹æ¬¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMateOutBatchNo" id="HMateOutBatchNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | |
| | | <input type="text" class="layui-input" name="HICMOEntryID" id="HICMOEntryID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åææ¹æ¬¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMateOutBatchNo" id="HMateOutBatchNo" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æè´¨</label> |
| | | <div class="layui-input-inline"> |
| | |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼ä¸»è¡¨ï¼ |
| | | var titleData = ["HEntryID", "HWorkShopID", "HMaterID", "HSupID", "HPRDORGID", "HEquipMentID", "hsubid", "HICMOEntryID", "HDeptID", "hmainid", "hicmointerid", "HICMOInterID", "HMaterID2", "HUnitID", "HBillType", "HRoutingBillID", "HAuxUnit", "ç产车é´ä»£ç ", "ç产车é´", "æè´¨", "æåç¼å·", "çæ¬", "æ»è£
å¾å·", "å¾å·çæ¬", "å件代ç ", "åä»¶åç§°", "åä»¶è§æ ¼", "å§å¤å å·¥åä½ä»£ç ", "å§å¤å å·¥åä½", "设å¤åç§°", "设å¤ä»£ç ", "åææ¹æ¬¡", "è¡¥ææ è®°", "项ç®ç¼å·", "ä¸»è¦ææ", "å
³é®ææ", "产åCODE", "客æ·ç®ç§°", "客æ·è¦æ±æææå", "产ååç§°2", "客æ·åç§°", "çäº§å¤æ³¨", "éè¦æç¤º", "åææç¼å·A", "åææç¼å·B", "åææç¼å·C", "åææç¼å·D", "åææå
ç A", "åææå
ç B", "åææå
ç C", "åææå
ç D", "æ¥è®¡åå·¥åå·", "客æ·ç¼ç ", "è¯ä½è§æ ¼åå·", "è¯ä½ç©æä»£ç ", "æºå客æ·ä»£ç ", "HEmpID", "HCusID","HBillSubType"]; |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼å·¥èºæµç¨ï¼ |
| | | var titleData2 = ["å·¥åºå·", "åºç«æ¥åºå
³èæ°é", "HProcID", "å·¥åºä»£ç ", "HBackProc", "å 工说æ", "模å
·ç¼å·", "HCenterID", "å·¥ä½ä¸å¿ä»£ç ", "HDeptID", "å 工车é´ä»£ç ", "å 工车é´", "HGroupID", "çç»ä»£ç ", "çç»", "HWorkerID", "æä½å·¥ä»£ç f", "æä½å·¥", "HSourceID", "çäº§èµæºä»£ç ", "çäº§èµæº", "è®¡åæ°é", "hmainid", "åæ®å·", "hicmointerid", "ä»»å¡åå·", "HICMOEntryID", "HWorkShopID", "ç产车é´ä»£ç ", "ç产车é´", "HMaterID", "产å代ç ", "产ååç§°", "è§æ ¼åå·", "HUnitID", "åä½ä»£ç ", "åä½", "ç产æ°é", "计åå¼å·¥æ¥æ", "计åå®å·¥æ¥æ", "æè¦", "å
é¨åæ®å·", "å§å¤è®¢åå
ç ", "å§å¤è®¢ååå
ç ", "å§å¤è®¢åå·", "HSupID", "ä¾åºå", "ä¾åºå代ç ", "è¡¨å¤´å¤æ³¨", "HBillType", "isEntrust", "æ¶é´åä½", "å·¥åºè®¡åå å·¥æ¶é´", "å计åå¼å·¥æ¥æ", "å计åå®å·¥æ¥æ", "å®é
å¼å·¥æ¥æ", "å®é
å®å·¥æ¥æ", "å¼å·¥ä½é天æ°", "å¼å·¥ä½éåºæ°", "ä¸éåºå®å¤©æ°", "çäº§å¨æ", "å å·¥åä»·", "æåæ±æ¥æ¥æ", "å 工费ç¨éé¢", "æ«éå·¥åº", "é¦éå·¥åº", "è¡å
³é人", "å
³éç±»å", "æµè½¬å¡æ°é", "å§å¤å·¥åæ°é", "ä¸åæ ¼æ°é", "è¶
颿¯ä¾", "è¯ç", "累计è¯ç", "å¾çº¸ç¼å·", "æ¬å·¥åºç¡®è®¤è®°å½", "æºå主å
ç ", "æºååå
ç ", "æºååå·", "æºåç±»å", "æ±æ¥æ°é", "HEntryID", "hsubid", "HPRDORGID", "ç»ç»", "HOrderProcNO"]; |
| | | var titleData2 = ["å·¥åºå·", "åºç«æ¥åºå
³èæ°é", "HProcID", "å·¥åºä»£ç ", "HBackProc", "å 工说æ", "模å
·ç¼å·", "HCenterID", "å·¥ä½ä¸å¿ä»£ç ", "HDeptID", "å 工车é´ä»£ç ", "å 工车é´", "HGroupID", "çç»ä»£ç ", "çç»", "HWorkerID", "æä½å·¥ä»£ç ", "æä½å·¥", "HSourceID", "è®¡åæ°é", "hmainid", "åæ®å·", "hicmointerid", "ä»»å¡åå·", "HICMOEntryID", "HWorkShopID", "ç产车é´ä»£ç ", "ç产车é´", "HMaterID", "产å代ç ", "产ååç§°", "è§æ ¼åå·", "æ¹å·", "HUnitID", "åä½ä»£ç ", "åä½", "ç产æ°é", "计åå¼å·¥æ¥æ", "计åå®å·¥æ¥æ", "æè¦", "å
é¨åæ®å·", "å§å¤è®¢åå
ç ", "å§å¤è®¢ååå
ç ", "å§å¤è®¢åå·", "HSupID", "ä¾åºå", "ä¾åºå代ç ", "è¡¨å¤´å¤æ³¨", "HBillType", "isEntrust", "æ¶é´åä½", "å·¥åºè®¡åå å·¥æ¶é´", "å计åå¼å·¥æ¥æ", "å计åå®å·¥æ¥æ", "å®é
å¼å·¥æ¥æ", "å®é
å®å·¥æ¥æ", "å¼å·¥ä½é天æ°", "å¼å·¥ä½éåºæ°", "ä¸éåºå®å¤©æ°", "çäº§å¨æ", "å å·¥åä»·", "æåæ±æ¥æ¥æ", "å 工费ç¨éé¢", "æ«éå·¥åº", "é¦éå·¥åº", "è¡å
³é人", "å
³éç±»å", "æµè½¬å¡æ°é", "å§å¤å·¥åæ°é", "ä¸åæ ¼æ°é", "è¶
颿¯ä¾", "è¯ç", "累计è¯ç", "å¾çº¸ç¼å·", "æ¬å·¥åºç¡®è®¤è®°å½", "æºå主å
ç ", "æºååå
ç ", "æºååå·", "æºåç±»å", "æ±æ¥æ°é", "HEntryID", "hsubid", "HPRDORGID", "ç»ç»", "HOrderProcNO"]; |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼å¨å
·æ¸
åï¼ |
| | | var titleData3 = ["HEntryID", "HMouldID", "HMaterID", "HUnitID", "hmainid","hicmointerid"]; |
| | | //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± ï¼å·¥èºåæ°æ¸
åï¼ |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº2</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="ProductionResources-BT" id="ProductionResources-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº3</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="ProductionResources-BT" id="ProductionResources-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº4</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="ProductionResources-BT" id="ProductionResources-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">çäº§èµæº5</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSourceName" id="HSourceName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button type="button" class="layui-btn" lay-submit="" lay-filter="ProductionResources-BT" id="ProductionResources-BT" style="width: 40px; padding: 0 10px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs4 layui-inline"> |
| | | <label class="layui-form-label">è¿ç«æ¶é´</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HStationInTime" id="HStationInTime" style="background-color:#efefef4d;" readonly> |