| | |
| | | <File Include="views/ç产工åºç®¡ç/å§å¤å·¥åºæ±æ¥å/Sc_StationOutBillMainList.html"> |
| | | <publishTime>04/08/2021 09:14:52</publishTime> |
| | | </File> |
| | | <File Include="views/ç产工åºç®¡ç/å·¥åºæ±æ¥å/Sc_ProcessReport_PDA.html"> |
| | | <publishTime>04/08/2021 20:15:42</publishTime> |
| | | </File> |
| | | <File Include="views/ç产工åºç®¡ç/å·¥åºæ´¾å·¥å/Sc_Add_ProcessSendWork.html"> |
| | | <publishTime>04/08/2021 09:14:52</publishTime> |
| | | </File> |
| | |
| | | <File Include="views/车é´ç®¡ç/å§å¤å·¥åºæ¥æ¶å/Cj_StationEntrustOutBillList.html"> |
| | | <publishTime>03/30/2021 10:39:26</publishTime> |
| | | </File> |
| | | <File Include="views/车é´ç®¡ç/å§å¤å·¥åºååºå/Cj_StationEntrustInBill.html"> |
| | | <publishTime>04/08/2021 10:57:44</publishTime> |
| | | </File> |
| | | <File Include="views/车é´ç®¡ç/å§å¤å·¥åºååºå/Cj_StationEntrustInBillList.html"> |
| | | <publishTime>04/08/2021 10:57:44</publishTime> |
| | | </File> |
| | | <File Include="views/车é´ç®¡ç/å§å¤å·¥åºæ¥æ¶å/Cj_StationEntrustOutBillList.html"> |
| | | <publishTime>04/08/2021 10:57:44</publishTime> |
| | | </File> |
| | | <File Include="views/车é´ç®¡ç/å·¥åºæµè½¬/MES_StationInBill.html"> |
| | | <publishTime>03/29/2021 10:48:22</publishTime> |
| | | </File> |
| | |
| | | <Content Include="views\ç产工åºç®¡ç\å§å¤å·¥å\WW_EntrustWorkOrderBillMainList.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å§å¤å·¥åºæ±æ¥å\Sc_StationOutBillMainList.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å·¥åºæ±æ¥å\Sc_ProcessReportList.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å·¥åºæ±æ¥å\Sc_ProcessReport_PDA.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å·¥åºæ´¾å·¥å\Sc_Add_ProcessSendWork.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å·¥åºæ´¾å·¥å\Sc_ProcessSendWorkList.html" /> |
| | | <Content Include="views\ç产工åºç®¡ç\å·¥åºè®¡åå\Sc_ProcessPlanList.html" /> |
| | |
| | | <a>å·¥åºæ±æ¥å</a> |
| | | <dl class="layui-nav-child"> |
| | | <dd><a lay-href="ç产工åºç®¡ç/å·¥åºæ±æ¥å/Sc_ProcessReportList.html">å·¥åºæ±æ¥åå表</a></dd> |
| | | <dd><a lay-href="ç产工åºç®¡ç/å·¥åºæ±æ¥å/Sc_ProcessReport_PDA.html">PDAå·¥åºæ±æ¥åå表</a></dd> |
| | | </dl> |
| | | </dd> |
| | | <dd class="layui-nav-itemed"> |
New file |
| | |
| | | <!DOCTYPE html> |
| | | <html xmlns="http://www.w3.org/1999/xhtml" style="background-color:white;"> |
| | | <head> |
| | | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| | | <title>PDAå·¥åºæ±æ¥å</title> |
| | | <meta name="renderer" content="webkit"> |
| | | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| | | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> |
| | | <script src="../../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../../layuiadmin/Scripts/json2.js" type="text/javascript"></script> |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <style> |
| | | .layui-form-label { |
| | | font-size: 14px; |
| | | width: 85px; |
| | | text-align: inherit; |
| | | } |
| | | /*å
¨å±è®¾ç½®è¾å
¥æ¡é«åº¦*/ |
| | | .layui-input { |
| | | height: 30px; |
| | | } |
| | | /*设置表头è¾å
¥æ¡*/ |
| | | .t1_input { |
| | | padding: 1%; |
| | | } |
| | | /*æ¬ç«ä¿¡æ¯td*/ |
| | | .bz_td { |
| | | display: -webkit-box; /*设置æé®ä¸æ¢è¡*/ |
| | | padding: 1%; /*设置è¾å
¥æ¡è¾¹è·*/ |
| | | } |
| | | /*设置æ¬ç«ä¿¡æ¯æé®é«åº¦*/ |
| | | .bz_btu { |
| | | height: 30px; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | <div class="layui-fluid" style="padding:0"> |
| | | <div class="layui-card"> |
| | | <!--<div class="layui-card-header"></div>--> |
| | | <div class="layui-card-body" style="padding: 0;"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div style="background-color:#0085E8;"> |
| | | <span style="color: white;"><i class="layui-icon layui-icon-form"></i>PDAå·¥åºæ±æ¥å</span> |
| | | </div> |
| | | <div class="layui-form-item" style="margin: 1% 0;text-align: right;"> |
| | | <button type="button" lay-submit="" lay-filter="HAddBT" class="layui-btn layui-btn-radius">æ°å¢</button> |
| | | <!--<button type="button" lay-submit="" lay-filter="" class="layui-btn layui-btn-radius">æ¸
空</button>--> |
| | | <button type="button" lay-submit="" lay-filter="Saver" class="layui-btn layui-btn-radius">ä¿å</button> |
| | | <button type="button" lay-submit="" lay-filter="Close" class="layui-btn layui-btn-radius layui-btn-danger">éåº</button> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <table style="width:80%;"> |
| | | <tbody> |
| | | <tr> |
| | | <th>æ¡å½¢ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HBarCode" class="layui-input" id="HBarCode" placeholder="è¯·æ«ææ¡å½¢ç " style="border-radius: 50px;"> |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <th>æ´¾å·¥åæ®å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HSendWorkBillNo" class="layui-input" id="HSendWorkBillNo" placeholder="æ´¾å·¥åæ®å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ±æ¥åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HBillNo" class="layui-input" id="HBillNo" placeholder="请è¾å
¥æ±æ¥åå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" class="layui-input" id="HInterID"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProcNo" class="layui-input" id="HProcNo" placeholder="请è¾å
¥å·¥åºå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <th>å·¥åºä»£ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProcName" class="layui-input" id="HProcName" placeholder="请è¾å
¥å·¥åºä»£ç " style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HProcID" id="HProcID" value="0" autocomplete="off" class="layui-input"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºåç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HProc" class="layui-input" id="HProc" placeholder="请è¾å
¥å·¥åºåç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>è§æ ¼åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HMaterModel" class="layui-input" id="HMaterModel" placeholder="请è¾å
¥è§æ ¼åå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å建人</th> |
| | | <td class="t1_input"> |
| | | <input type="text" class="layui-input" id="HEmp" name="HEmp" placeholder="请è¾å
¥å建人" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" autocomplete="off" class="layui-input"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å®ä½æ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HQty" class="layui-input" id="HQty" placeholder="请è¾å
¥å®ä½æ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr style="display:none;"> |
| | | <th>çäº§èµæº</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HSource" class="layui-input" id="HSource" placeholder="éæ©çäº§èµæº" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HSourceID" id="HSourceID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ProductionResources-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产çç»</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HGroup" class="layui-input" id="HGroup" placeholder="éæ©ç产çç»" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HGroupID" id="HGroupID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="ProductionTeam-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产订å</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HICMOBillNo" class="layui-input" id="HICMOBillNo" placeholder="请è¾å
¥ç产订å" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <th>æ¥æ</th> |
| | | <td class="t1_input"> |
| | | <input type="date" name="HReportTime" class="layui-input" id="HReportTime" placeholder="è¯·éæ©æ¥æ"> |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <th>产å代ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HMaterID" class="layui-input" id="HMaterID" placeholder="请è¾å
¥äº§å代ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产ååç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HMaterName" class="layui-input" id="HMaterName" placeholder="请è¾å
¥äº§ååç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | |
| | | <tr> |
| | | <th>çäº§è®¢åæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HICMOQty" class="layui-input" id="HICMOQty" placeholder="请è¾å
¥çäº§è®¢åæ°é" style="background-color:#efefef4d;" readonly> |
| | | <!--éèåæ®µ--> |
| | | <input type="hidden" name="HICMOInterID" class="layui-input" id="HICMOInterID"><!--ä»»å¡åå·IDåhicmointerid--> |
| | | <input type="hidden" name="HDeptID" class="layui-input" id="HDeptID"><!--ç产车é´id--> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script> |
| | | <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script> |
| | | |
| | | function getUrlVars() { |
| | | var vars = [], hash; |
| | | var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&'); |
| | | for (var i = 0; i < hashes.length; i++) { |
| | | hash = hashes[i].split('='); |
| | | vars.push(hash[0]); |
| | | vars[hash[0]] = hash[1]; |
| | | } |
| | | return vars; |
| | | } |
| | | var params = getUrlVars(); |
| | | var BillStatusjson = params[params[0]]; |
| | | var InterID = params[params[1]]; |
| | | |
| | | layui.config({ |
| | | base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ |
| | | }).extend({ |
| | | index: 'lib/index' //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'laydate', 'table', 'element'], function () { |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , element = layui.element |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , laydate = layui.laydate |
| | | , form = layui.form; |
| | | |
| | | //è·åå½åæ¶é´å¤ç |
| | | $("#HReportTime").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HEmp").val(sessionStorage["HUserName"]);//å建人 |
| | | $("#HEmpID").val(sessionStorage["HEmpID"]); |
| | | $("#HProc").val(sessionStorage["HProc"]);//å·¥åº |
| | | $("#HProcName").val(sessionStorage["HProcName"]);//å·¥åºä»£ç |
| | | $("#HProcID").val(sessionStorage["HProcID"]);//å·¥åºID |
| | | $("#HSource").val(sessionStorage["HSource"]);//çäº§èµæº |
| | | $("#HSourceID").val(sessionStorage["HSourceID"]); |
| | | $("#HGroup").val(sessionStorage["HGroup"]);//ç产çç» |
| | | $("#HGroupID").val(sessionStorage["HGroupID"]); |
| | | $("#HCenter").val(sessionStorage["HWorkCenter"]);//å·¥ä½ä¸å¿ |
| | | $("#HCenterID").val(sessionStorage["HWorkCenterID"]); |
| | | $("#HProcNo").val(sessionStorage["HProcNo"]);//å·¥åºå· |
| | | |
| | | |
| | | |
| | | //页é¢åå§åèµå¼ |
| | | //è·ååæ®å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/api/newBill/getNewInterBillNo", |
| | | type: "GET", |
| | | data: { "billType": '3714' }, |
| | | success: function (d) { |
| | | $("#HBillNo").val(d.data.HBillNo);//æ±æ¥åå· |
| | | $("#HInterID").val(d.data.HInterID);//è¿ç«åå·ID |
| | | }, error: function () { |
| | | layer.alert("è·ååæ®å·å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | $("#HBarCode").focus(); |
| | | $("#HBarCode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | |
| | | |
| | | //æ«æ¡å½¢ç æ¹æ³ |
| | | $('#HBarCode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HBarCode = $('#HBarCode').val();//æ¡å½¢ç ï¼æµè½¬å¡å·ï¼ï¼æ°æ®åºä¸ä¸ºåæ®å·ï¼ |
| | | if (event.keyCode == 13) { |
| | | //å¤æææ¬æ¡æ¯å¦ææ°æ® new |
| | | if (HBarCode == "") { |
| | | layer.alert("æ¡å½¢ç 为空ï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | //æ¥è¯¢æ´¾å·¥åæ®æ¯å¦åå¨ |
| | | $.ajax({ |
| | | url: GetWEBURL() + "Sc_ProcessMangement/getHbarCodeDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sBillBarCode": HBarCode |
| | | }, |
| | | success: function (result) { |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessSendWorkList[0]; |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "HSendWorkBillNo": $("#HBarCode").val() |
| | | , "HEmp": $("#HEmp").val() |
| | | //, "HProcID": data.HProcID |
| | | //, "HProc": data.å·¥åº |
| | | //, "HCenter": data.å·¥ä½ä¸å¿ |
| | | //, "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | , "HICMOInterID": data.HICMOInterID |
| | | , "HICMOBillNo": data.ç产任å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.æ°é |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.ç©æåç§° |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.æ°é |
| | | //, "HOrderProcNO":data.订åè·è¸ªå· |
| | | }); |
| | | //$("#HBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#HBarCode").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").css("box-shadow", "none"); |
| | | } else { |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ«æ¡å½¢ç æ¹æ³åçé误!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | //æ±æ¥åå·åè½¦æ¹æ³ |
| | | $('#HProcNo').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HProcNo = $('#HProcNo').val(); |
| | | var HBarCode = $('#HBarCode').val(); |
| | | if (event.keyCode == 13) { |
| | | if (HProcNo == "" || HBarCode == "") { |
| | | layer.alert("å·¥åºå·ææ±æ¥åå·ä¸ºç©ºï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | $.ajax({ |
| | | url: GetWEBURL() + "Sc_ProcessMangement/getProcDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sBillNo": HBarCode |
| | | , "sProcNo": HProcNo |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | //"HProcID": data.HProcID |
| | | //, "HProc": data.å·¥åº |
| | | //, "HCenter": data.å·¥ä½ä¸å¿ |
| | | //, "HCenterID": data.å·¥ä½ä¸å¿ä»£ç |
| | | "HICMOInterID": data.hicmointerid |
| | | , "HEmp": $("#HEmp").val() |
| | | , "HICMOBillNo": data.ç产任å¡åå· |
| | | , "HDeptID": data.HDeptID |
| | | , "HQty": data.æ°é |
| | | , "HMaterID": data.HMaterID |
| | | , "HMaterName": data.ç©æåç§° |
| | | , "HMaterModel": data.è§æ ¼åå· |
| | | , "HICMOQty": data.æ°é |
| | | }); |
| | | $("#HProcNo").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } else { |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("å·¥åºå·æ¹æ³åçé误!", { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | |
| | | //è¿ç«æ°éåè½¦æ¹æ³ |
| | | //$('#Entrants_number').on('keydown', function (event) { |
| | | // if (event.keyCode == 13) { |
| | | // $("#Entrants_number").attr("readonly", "readonly");//è¿ç«æ°éåªè¯» |
| | | // $("#Entrants_number").css("background-color", "#efefef4d"); |
| | | // $("#Entrants_number").css("box-shadow", "none"); |
| | | // if ($("#Receiver").val()) { |
| | | // $("#Receiver").css("box-shadow", "none"); |
| | | // } else { |
| | | // $("#Receiver").css("box-shadow", "1px 1px 1px 2px #00ff00"); |
| | | // } |
| | | // } |
| | | //}); |
| | | |
| | | //éæ©ç产çç»å¼¹çª |
| | | form.on('submit(ProductionTeam-BT)', function () {//éæ©ç产çç» |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | | , title: 'ç产çç»' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_GetProductionTeamList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //éæ©çäº§èµæºå¼¹çª |
| | | form.on('submit(ProductionResources-BT)', function () {//çäº§èµæº |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | | , title: 'çäº§èµæº' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_GetProductionResourcesList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //鿩工ä½ä¸å¿å¼¹çª |
| | | form.on('submit(HWorkingProcedure-BT)', function () {//鿩工ä½ä¸å¿ |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['80%', '80%'] |
| | | , title: 'å·¥ä½ä¸å¿' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | //, maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_WorkCenterList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function (index, layero) { |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //ä¿åæé® |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | | //debugger; |
| | | var sMainStr = JSON.stringify(data.field); |
| | | console.log(sMainStr); |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "SaveProcessReport", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: {"msg":sMainStr}, |
| | | dataType: "json", |
| | | success: function (result) { |
| | | console.log(result); |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | |
| | | layer.msg(data.Message, { icon: 1 }); |
| | | //$("#sHWHID").val(""); |
| | | //layer.alert(result.msg + "åå·ä¸ºï¼" + $("#HBillNo").val(), { icon: 1 }, function () { |
| | | // window.location.reload();//å·æ°é¡µé¢ |
| | | //}); |
| | | //layer.confirm(result.msg + "åå·ä¸ºï¼" + $("#HBillNo").val(), { |
| | | // btn: ['åºç«', 'æ°å¢'], skin: 'layui-layer-lan', title: "温馨æç¤º", icon: 1 |
| | | //}, function () { |
| | | // parent.location.href = "../../../views/车é´ç®¡ç/å·¥åºæ±æ¥/MES_StationOutBill_PDA.html"; |
| | | //}, function () { |
| | | // window.location.reload(); |
| | | //}); |
| | | } |
| | | else { |
| | | layer.alert(result.msg, { icon: 5 }); |
| | | } |
| | | layer.closeAll("loading"); |
| | | layui.form.render(); |
| | | }, |
| | | error: function (err) { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥:" + err, { icon: 5 }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //éåºæé® |
| | | form.on('submit(Close)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦å
³éæ¬é¡µåï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | parent.location.href = "../../../views/index.html"; |
| | | }); |
| | | }); |
| | | |
| | | //æ°å¢æé® |
| | | form.on('submit(HAddBT)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.location.reload(); |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | //åçjsåå§å |
| | | $(function () { |
| | | |
| | | }); |
| | | |
| | | //æ ¡éªæ¯å¦éæ©å¼¹çªäºä»¶ |
| | | function checkPopup() { |
| | | //if (!$("#HSource").val()) {//çäº§èµæº |
| | | // $("#HSource").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | //} |
| | | //else |
| | | if (!$("#HGroup").val()) { |
| | | $("#HGroup").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#HCenter").val()) { |
| | | $("#HCenter").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | } |
| | | |
| | | //è¿åç产çç» |
| | | function GetProductionTeamValue(obj) { //è¿åç产çç» |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | } else { |
| | | $("#HGroup").val(obj[0].çç»); |
| | | $("#HGroupID").val(obj[0].HItemID); |
| | | $("#HGroup").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | | } |
| | | |
| | | //è¿åçäº§èµæº |
| | | function GetProductionResourcesValue(obj) { //è¿åçäº§èµæº |
| | | if ($("#HSource").val()) { |
| | | $("#HSource").css("box-shadow", "none"); |
| | | } |
| | | $("#HSource").val(obj[0].çäº§èµæº); |
| | | $("#HSourceID").val(obj[0].HItemID); |
| | | $("#HSource").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | |
| | | //è¿åå·¥ä½ä¸å¿ |
| | | function GetWorkCenterValue(obj) { //è¿åå·¥ä½ä¸å¿ |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
鿩工ä½ä¸å¿", { index: 0 }); |
| | | } else { |
| | | $("#HCenter").val(obj[0].å·¥ä½ä¸å¿); |
| | | $("#HCenterID").val(obj[0].HItemID); |
| | | $("#HCenter").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | | } |
| | | |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |
| | |
| | | ,cellMinWidth: 90 |
| | | , cols: [[ |
| | | //{ field: 'hmainid', title: 'hmainid', sort: true, width: 165 } |
| | | { type: 'checkbox' } |
| | | ,{ field: 'HDate', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'HBillNo', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HBillStatus ', title: 'åæ®ç¶æ', width: 105 } |
| | | , { field: 'HICMOBillNo', title: 'ä»»å¡åå·' } |
| | | , { field: 'HCheckItemNowID', title: 'å½åå®¡æ ¸é¡¹ç®' } |
| | | , { field: 'HCheckItemNextID', title: 'å¾
å®¡æ ¸é¡¹ç®' } |
| | | , { field: 'HCheckFlowID', title: 'å®¡æ¹æµ' } |
| | | , { field: 'HICMOInterID', title: 'ä»»å¡åID', width: 115 } |
| | | , { field: 'HProcPlanBillNo', title: 'å·¥åºè®¡ååå·', width: 115 } |
| | | , { field: 'HPlanBeginDate', title: 'å·¥åºè®¡åå¼å·¥æ¥æ' } |
| | | , { field: 'HPlanEndDate', title: 'å·¥åºè®¡åå®å·¥æ¥æ', width: 160 } |
| | | , { field: 'HBatchNo', title: 'æ¹å·', width: 160 } |
| | | , { field: 'HSeOrderInterID ', title: 'éå®è®¢å主ID', width: 215 } |
| | | { type: 'checkbox' } |
| | | ,{ field: 'hmainid', title: 'hmainid', sort: true, fixed: true, hide: true } |
| | | ,{ field: 'æ¥æ', title: 'æ¥æ', sort: true, width: 120 } |
| | | , { field: 'åæ®å·', title: 'åæ®å·', sort: true, width: 170 } |
| | | , { field: 'HDeptID ', title: 'HDeptID', width: 105 } |
| | | , { field: 'é¨é¨ä»£ç ', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'é¨é¨', title: 'é¨é¨' } |
| | | , { field: 'HMaterID', title: 'HMaterID' } |
| | | , { field: 'ç©æä»£ç ', title: 'ç©æä»£ç ' } |
| | | , { field: 'ç©æåç§°', title: 'ç©æåç§°', width: 115 } |
| | | , { field: 'è§æ ¼åå·', title: 'è§æ ¼åå·', width: 115 } |
| | | , { field: 'HUnitID', title: 'HUnitID' } |
| | | , { field: '计éåä½ä»£ç ', title: '计éåä½ä»£ç ', width: 160 } |
| | | , { field: '计éåä½', title: '计éåä½', width: 160 } |
| | | , { field: 'HprocID ', title: 'HprocID', width: 215 } |
| | | ////, { field: 'hunitid', title: 'hunitid' } |
| | | , { field: 'HSeOrderEntryID ', title: 'éå®åID ', width: 115 } |
| | | , { field: 'HSeOrderBillNo', title: 'éå®è®¢åå·' } |
| | | , { field: 'å·¥åºä»£ç ', title: 'å·¥åºä»£ç ', width: 115 } |
| | | , { field: 'å·¥åº', title: 'å·¥åº' } |
| | | ////, { field: 'hempid', title: 'hempid' } |
| | | , { field: 'HProcID ', title: 'å·¥åºID', width: 100 } |
| | | , { field: 'HProcNumber', title: 'å·¥åºä»£ç ' } |
| | | , { field: 'HDeptID', title: 'é¨é¨ID' } |
| | | , { field: 'HDeptNumber', title: 'é¨é¨ä»£ç ' } |
| | | , { field: 'HGroupID', title: 'çç»ID' } |
| | | , { field: 'HGroupID ', title: 'HGroupID', width: 100 } |
| | | , { field: 'çç»ä»£ç ', title: 'çç»ä»£ç ' } |
| | | , { field: 'çç»åç§°', title: 'çç»åç§°' } |
| | | , { field: 'HSourceID', title: 'HSourceID' } |
| | | , { field: 'èµæºä»£ç ', title: 'èµæºä»£ç ' } |
| | | ////, { field: 'HCenterID', title: 'HCenterID' } |
| | | , { field: 'HGroupNumber', title: 'çç»ä»£ç ' } |
| | | , { field: 'HMaterID ', title: '产åID' } |
| | | , { field: 'çäº§èµæº', title: 'çäº§èµæº' } |
| | | , { field: 'HWorkerID ', title: 'HWorkerID' } |
| | | ////, { field: 'hbomid', title: 'hbomid' } |
| | | , { field: 'HMaterNumber', title: '产å代ç ' } |
| | | , { field: 'èå代ç ', title: 'èå代ç ' } |
| | | ////, { field: 'HRoutingInterID', title: 'HRoutingInterID' } |
| | | , { field: 'HUnitID ', title: 'åä½ID' } |
| | | , { field: 'HUnitNumber', title: 'åä½ä»£ç ' } |
| | | , { field: 'HRoutingInterID', title: 'å·¥åºè·¯çº¿ID' } |
| | | , { field: 'HPlanQty', title: 'å·¥åºè®¡åç产æ°é' } |
| | | , { field: 'HExplanation', title: 'æè¦' } |
| | | , { field: 'HInnerBillNo', title: 'å
é¨åæ®å·' } |
| | | , { field: 'HBacker', title: 'éå人' } |
| | | , { field: 'HBackDate', title: 'é忥æ ' } |
| | | , { field: 'HChecker', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'HCheckDate', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'HMaker', title: 'å¶å人' } |
| | | , { field: 'èå ', title: 'èå' } |
| | | , { field: 'hsubid', title: 'hsubid', hide: true } |
| | | , { field: 'æ°é', title: 'æ°é' } |
| | | , { field: '计åå¼å·¥æ¥æ', title: '计åå¼å·¥æ¥æ' } |
| | | , { field: '计åå®å·¥æ¥æ', title: '计åå®å·¥æ¥æ' } |
| | | , { field: '计åå·¥æ¶', title: '计åå·¥æ¶' } |
| | | , { field: '表ä½å¤æ³¨', title: '表ä½å¤æ³¨' } |
| | | , { field: 'HICMOInterID', title: 'HICMOInterID ' } |
| | | , { field: 'ç产任å¡åå·', title: 'ç产任å¡åå·' } |
| | | , { field: 'HSeOrderInterID', title: 'HSeOrderInterID' } |
| | | , { field: 'éå®è®¢åå·', title: 'éå®è®¢åå·' } |
| | | ////, { field: 'hsubid', title: 'hsubid' } |
| | | , { field: 'HMakeDate', title: 'å¶åæ¥æ' } |
| | | , { field: 'HUpDater', title: 'ä¿®æ¹äºº' } |
| | | , { field: 'HUpDateDate', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'HCloseMan', title: 'å
³é人' } |
| | | , { field: 'HCloseDate', title: 'å
³éæ¥æ' } |
| | | , { field: 'HCloseType', title: 'å
³éç±»å ' } |
| | | , { field: 'HDeleteMan', title: 'ä½åºäºº' } |
| | | , { field: 'HDeleteDate', title: 'ä½åºæ¥æ' } |
| | | //, { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | //, { field: 'HDeleteMan', title: 'å
³é人' } |
| | | //, { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | //, { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | //, { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | //, { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | //, { field: 'å
³éç±»å', title: 'å
³éç±»å' } |
| | | //, { field: 'åæ®ç±»å', title: 'åæ®ç±»å' } |
| | | //, { field: '计åè·è¸ªå·', title: '计åè·è¸ªå·' } |
| | | , { field: 'è¡¨å¤´å¤æ³¨', title: 'è¡¨å¤´å¤æ³¨' } |
| | | , { field: 'å¶å人', title: 'å¶å人' } |
| | | , { field: 'å¶åæ¥æ', title: 'å¶åæ¥æ' } |
| | | , { field: 'å®¡æ ¸äºº', title: 'å®¡æ ¸äºº' } |
| | | , { field: 'å®¡æ ¸æ¥æ', title: 'å®¡æ ¸æ¥æ' } |
| | | , { field: 'ä¿®æ¹äºº', title: 'ä¿®æ¹äºº ' } |
| | | , { field: 'ä¿®æ¹æ¥æ', title: 'ä¿®æ¹æ¥æ' } |
| | | , { field: 'å
³é人', title: 'å
³é人' } |
| | | , { field: 'å
³éæ¥æ', title: 'å
³éæ¥æ' } |
| | | , { field: 'ä½åºäºº', title: 'ä½åºäºº' } |
| | | , { field: 'ä½åºæ¥æ', title: 'ä½åºæ¥æ' } |
| | | , { field: 'æºå主å
ç ', title: 'æºå主å
ç ' } |
| | | , { field: 'æºååå
ç ', title: 'æºååå
ç ' } |
| | | , { field: 'æºååå·', title: 'æºååå·' } |
| | | , { field: 'æºåç±»å', title: 'æºåç±»å' } |
| | | , { field: 'è¡å
³é人', title: 'è¡å
³é人' } |
| | | , { field: 'HBillType', title: 'HBillType' } |
| | | , { field: 'HQtyDecimal', title: 'HQtyDecimal' } |
| | | , { field: 'HPriceDecimal', title: 'HPriceDecimal' } |
| | | |
| | | ]] |
| | | }; |
| | | |