| | |
| | | <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"> |
| | | <div class="layui-fluid" style="padding:0"> |
| | | <div class="layui-card"> |
| | | <!--<div class="layui-card-header"></div>--> |
| | | <div class="layui-card-body" style="padding: 15px;"> |
| | | <div class="layui-card-body" style="padding: 0;"> |
| | | <form class="layui-form" action="" lay-filter="component-form-group"> |
| | | <div class="layui-form-item" style="margin-bottom: 20px;"> |
| | | <div style="background-color:#0085E8;"> |
| | | <span style="color: white;"><i class="layui-icon layui-icon-form"></i>å·¥åºåºç«æ±æ¥å</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="Saver" 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="Refresh" 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> |
| | | <button type="button" lay-submit="" onclick="check();">æµè¯</button> |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row" style="padding:10px 0"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <fieldset class="layui-elem-field layui-field-title" style="text-align:center;"> |
| | | <legend>å·¥åºåºç«æ±æ¥å</legend> |
| | | </fieldset> |
| | | </div> |
| | | <div class="layui-col-xs1 layui-inline"> |
| | | <img src="222.jpg" style="width:70%;height:50%;" /> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <div class=""> |
| | | <label class="layui-inline" style="width:60px;">æ¡å½¢ç </label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;width:254%" name="æ¡å½¢ç " id="HFbarcode" lay-verify="HFbarcode" autocomplete="off" placeholder="请è¾å
¥æ¡å½¢ç " class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class=""> |
| | | <label class="layui-inline" style="width:60px;">æµæ°´å·</label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;" name="æµæ°´å·" id="Serial_number" lay-verify="Serial_number" autocomplete="off" placeholder="请è¾å
¥æµæ°´å·" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-inline" style="width:60px;">åæ ¼æ°é</label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;" name="åæ ¼æ°é" id="QualifiedQuantity" lay-verify="sQty" autocomplete="off" placeholder="请è¾å
¥æµæ°´å·" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-inline" style="width:60px;">æ¥åºæ°é</label> |
| | | <div class="layui-inline"> |
| | | <input type="text" style="border-radius: 50px;" name="æ¥åºæ°é" id="ScrapQuantity" lay-verify="HBarCode" autocomplete="off" placeholder="请è¾å
¥è¿ç«æ°é" class="layui-input"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <!--åºç«ä¿¡æ¯&å
¶ä»ä¿¡æ¯--> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-col-md8 layui-card-body layui-inline"> |
| | | <div class="layui-tab"> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li data-status="" class="layui-this">åºç«ä¿¡æ¯</li> |
| | | <li data-status="2">å
¶ä»ä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <div class="layui-tab-item layui-show" style="height:250px;"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æµè½¬å¡å·</th> |
| | | <td> |
| | | <input type="text" name="æµè½¬å¡å·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æµè½¬å¡å·å·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:90px;padding:10px">æ±æ¥æ¶é´</th> |
| | | <td> |
| | | <input type="text" class="layui-input" id="HDateNow" style="background-color:#efefef4d;width:120px" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">ç产订åå·</th> |
| | | <td> |
| | | <input type="text" name="ç产订åå·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è¿ç«æ¶é´" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">产å代ç </th> |
| | | <td> |
| | | <input type="text" name="产å代ç " id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="产å代ç " class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">产ååç§°</th> |
| | | <td> |
| | | <input type="text" name="产ååç§°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="产ååç§°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">è§æ ¼åå·</th> |
| | | <td> |
| | | <input type="text" name="è§æ ¼åå·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è§æ ¼åå·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">计éåä½</th> |
| | | <td> |
| | | <input type="text" name="计éåä½" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="计éåä½" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">产åç±»å</th> |
| | | <td> |
| | | <input type="text" name="产åç±»å" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="产åç±»å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æ±æ¥ç±»å</th> |
| | | <td> |
| | | <input type="text" name="æ±æ¥ç±»å" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æ±æ¥ç±»å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æµè½¬å¡æ°é</th> |
| | | <td> |
| | | <input type="text" name="æµè½¬å¡æ°é" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æµè½¬å¡æ°é" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">çäº§è®¢åæ°é</th> |
| | | <td> |
| | | <input type="text" name="çäº§è®¢åæ°é" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="çäº§è®¢åæ°é" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">åæ®å·</th> |
| | | <td> |
| | | <input type="text" name="åæ®å·" id="HBillNo2" lay-verify="HBillNo2" autocomplete="off" placeholder="åæ®å·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="åæ®å·ID" id="HInterID" lay-verify="HInterID"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">订åè·è¸ªå·</th> |
| | | <td> |
| | | <input type="text" name="订åè·è¸ªå·" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="订åè·è¸ªå·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æä½å2</th> |
| | | <td> |
| | | <input type="text" name="æä½å2" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å2" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æä½å3</th> |
| | | <td> |
| | | <input type="text" name="æä½å3" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å3" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æä½å4</th> |
| | | <td> |
| | | <input type="text" name="æä½å4" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å4" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æä½å5</th> |
| | | <td> |
| | | <input type="text" name="æä½å5" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æä½å5" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | <div class="layui-tab-item" style="height:250px;"> |
| | | <table> |
| | | <tbody> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">å¶å人</th> |
| | | <td> |
| | | <input type="text" name="å¶å人" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="å¶å人" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">å¶åæ¥æ</th> |
| | | <td> |
| | | <input type="text" name="å¶åæ¥æ" class="layui-input" id="HDateNow" placeholder="å¶åæ¥æ" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">ä¿®æ¹äºº</th> |
| | | <td> |
| | | <input type="text" name="ä¿®æ¹äºº" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="ä¿®æ¹äºº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">ä¿®æ¹æ¥æ</th> |
| | | <td> |
| | | <input type="text" name="ä¿®æ¹æ¥æ" class="layui-input" id="HDateNow" placeholder="ä¿®æ¹æ¥æ" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">å®¡æ ¸äºº</th> |
| | | <td> |
| | | <input type="text" name="å®¡æ ¸äºº" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="å®¡æ ¸äºº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">å®¡æ ¸æ¥æ</th> |
| | | <td> |
| | | <input type="text" name="å®¡æ ¸æ¥æ" class="layui-input" id="HDateNow" placeholder="å®¡æ ¸æ¥æ" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px"></th> |
| | | <td></td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">è¿ç«PNLæ°</th> |
| | | <td> |
| | | <input type="text" name="è¿ç«PNLæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è¿ç«PNLæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">è¿ç«PSCæ°</th> |
| | | <td> |
| | | <input type="text" name="è¿ç«PSCæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="è¿ç«PSCæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æ¥åºPNLæ°</th> |
| | | <td> |
| | | <input type="text" name="æ¥åºPNLæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æ¥åºPNLæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">æºå°</th> |
| | | <td> |
| | | <input type="text" name="æºå°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æºå°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">æå¼¯åæ°</th> |
| | | <td> |
| | | <input type="text" name="æå¼¯åæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="æå¼¯åæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">å质确认人</th> |
| | | <td> |
| | | <input type="text" name="å质确认人" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="å质确认人" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">NCT岿¬¡æ°</th> |
| | | <td> |
| | | <input type="text" name="NCT岿¬¡æ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="NCT岿¬¡æ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">NCT忬¡</th> |
| | | <td> |
| | | <input type="text" name="NCT忬¡" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="NCT忬¡" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th style="width:80px;padding:10px">移交PNLæ°</th> |
| | | <td> |
| | | <input type="text" name="移交PNLæ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="移交PNLæ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | <th style="width:80px;padding:10px">ç³»æ°</th> |
| | | <td> |
| | | <input type="text" name="ç³»æ°" id="HBillNo" lay-verify="HBillNo" autocomplete="off" placeholder="ç³»æ°" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | </td> |
| | | </tr> |
| | | </tbody> |
| | | </table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--æ¬ç«ä¿¡æ¯--> |
| | | <div class="layui-inline" style="padding-left:5px;border:1px solid #e6e6e6;width:28%"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs4"> |
| | | <label class="layui-form-label">æ¬ç«ä¿¡æ¯</label> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">å½åå·¥åº</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="å½åå·¥åº" id="HWorkShopName" lay-verify="HWorkShopName" autocomplete="off" placeholder="éæ©å½åå·¥åº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="å½åå·¥åºä»£ç " id="HWorkShopID" lay-verify="HWorkShopID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HWorkShop-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">å·¥ä½ä¸å¿</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="å·¥ä½ä¸å¿" id="HProcName" lay-verify="HProcName" autocomplete="off" placeholder="鿩工ä½ä¸å¿" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="å·¥ä½ä¸å¿ä»£ç " id="HProcID" lay-verify="HProcID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HWorkingProcedure-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">ç产车é´</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="ç产车é´" id="HScOrgName" lay-verify="HScOrgName" autocomplete="off" placeholder="éæ©ç产车é´" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="ç产车é´ä»£ç " id="HScOrgID" lay-verify="HScOrgID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOrganization-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">ç产ç»ç»</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="ç产ç»ç»" id="HOrganization" lay-verify="HOrganization" autocomplete="off" placeholder="éæ©ç产ç»ç»" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="ç产ç»ç»ä»£ç " id="HOrganizationID" lay-verify="HOrganizationID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOrganization-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æä½å</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="æä½å" id="Operator" lay-verify="Operator" autocomplete="off" placeholder="éæ©æä½å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="æä½å代ç " id="OperatorID" lay-verify="OperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="Operator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">ç产çç»</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="ç产çç»" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©ç产çç»" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="ç产çç»ä»£ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">çäº§èµæº</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="çäº§èµæº" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©çäº§èµæº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="çäº§èµæºä»£ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æ ¸ç®å·¥åº</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="æ ¸ç®å·¥åº" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©æ ¸ç®å·¥åº" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="æ ¸ç®å·¥åºä»£ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">æ£éªå</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="æ£éªå" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©æ£éªå" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="æ£éªå代ç " id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">å·¥æ¶</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="HOperatorName" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="鿩工æ¶" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="HOperatorID" id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">è®¾å¤æ¸
å</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="HOperatorName" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©è®¾å¤æ¸
å" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="HOperatorID" id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3"> |
| | | <label class="layui-form-label" style="width:60px;padding-left:0px;">模穴å·</label> |
| | | </div> |
| | | <div class="layui-col-xs6"> |
| | | <input type="text" name="HOperatorName" id="HOperatorName" lay-verify="HOperatorName" autocomplete="off" placeholder="éæ©æ¨¡ç©´å·" class="layui-input" style="background-color:#efefef4d" readonly> |
| | | <input type="hidden" name="HOperatorID" id="HOperatorID" lay-verify="HOperatorID" value="0" autocomplete="off" class="layui-input"> |
| | | </div> |
| | | <div class=""> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2" lay-filter="HOperator-BT">...</button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <!--å¾
åºç«å·¥å&仿¥åºç«--> |
| | | <div class="layui-card"> |
| | | <div class="layui-card-body"> |
| | | <div class="layui-tab"> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li data-status="" class="layui-this">å¾
åºç«å·¥å</li> |
| | | <li data-status="2">仿¥åºç«</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <div class="layui-tab-item layui-show"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs12"> |
| | | <table class="layui-hide" id="djs-table" lay-filter="djs-table"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs12"> |
| | | <table class="layui-hide" id="jr-table" lay-filter="jr-table"></table> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <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="HProcExchBillNo" class="layui-input" id="HProcExchBillNo" placeholder="æµè½¬å¡å·" style="background-color:#efefef4d;" readonly> |
| | | </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" class="layui-input" id="HEmp" placeholder="请è¾å
¥å建人" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HEmpID" id="HEmpID" value="0" 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="t1_input"> |
| | | <input type="text" name="HWorkTimes" class="layui-input" id="HWorkTimes" placeholder="请è¾å
¥å·¥æ¶"> |
| | | </td> |
| | | </tr> |
| | | <tr style="display:none;"> |
| | | <th>æ¥åºæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HWasterQty" class="layui-input" id="HWasterQty" 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="bz_td"> |
| | | <input type="text" name="HCenter" class="layui-input" id="HCenter" placeholder="鿩工ä½ä¸å¿" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HCenterID" id="HCenterID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HWorkingProcedure-BT">...</button> |
| | | </td> |
| | | </tr> |
| | | <tr style="display:none;"> |
| | | <th>æ£éªå</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="HQCCheck" class="layui-input" id="HQCCheck" placeholder="éæ©æ£éªå" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HQCCheckID" id="HQCCheckID" value="0" autocomplete="off" class="layui-input"> |
| | | <button type="button" lay-submit="" class="layui-btn layui-col-xs2 bz_btu" lay-filter="HSecManagerID-BT">...</button> |
| | | </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="date" name="HStationOutTime" class="layui-input" id="HStationOutTime" placeholder="è¯·éæ©æ¥æ"> |
| | | </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="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="HMaterModel" class="layui-input" id="HMaterModel" placeholder="请è¾å
¥è§æ ¼åå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>订åè·è¸ªå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="HOrderProcNO" class="layui-input" id="HOrderProcNO" 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> |
| | | |
| | | </div> |
| | | |
| | | <script src="../../layuiadmin/layui/layui.js"></script> |
| | | <script src="../../layuiadmin/Scripts/json2.js" type="text/javascript"></script> |
| | | <script src="../../layuiadmin/Scripts/jquery-1.4.1.js" type="text/javascript"></script> |
| | | <script src="../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script type="text/html" id="wl-BT"> |
| | | <a class="layui-btn layui-btn-xs HEdit" lay-event="DeleteOne">å é¤</a> |
| | | </script> |
| | | <script src="../../layuiadmin/zgqCustom/zgqCustom.js"></script> |
| | | <script> |
| | | |
| | | function getUrlVars() { |
| | |
| | | index: 'lib/index' //主å
¥å£æ¨¡å |
| | | }).use(['index', 'form', 'laydate', 'table', 'element'], function () { |
| | | var $ = layui.$ |
| | | , admin = layui.admin |
| | | , element = layui.element |
| | | , layer = layui.layer |
| | | , laydate = layui.laydate |
| | | , table = layui.table |
| | | , form = layui.form; |
| | | |
| | | , admin = layui.admin |
| | | , element = layui.element |
| | | , layer = layui.layer |
| | | , table = layui.table |
| | | , laydate = layui.laydate |
| | | , form = layui.form; |
| | | |
| | | //è·åå½åæ¶é´å¤ç |
| | | var data = new Date(); |
| | | var year = data.getFullYear(); //è·åå¹´ |
| | | var month = data.getMonth() + 1; //è·åæ |
| | | var day = data.getDate(); //è·åæ¥ |
| | | var time = year + "-" + month + "-" + day; |
| | | $("#HStationOutTime").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() + "/Web/GetMAXNum", |
| | | url: GetWEBURL() + "/api/newBill/getNewInterBillNo", |
| | | type: "GET", |
| | | data: { "HBillType": '3791' }, |
| | | data: { "billType": '3791' }, |
| | | success: function (d) { |
| | | $("#HInterID").val(d.data[0].HInterID); |
| | | $("#HBillNo2").val(d.data[0].HBillNo); |
| | | $("#HBillNo").val(d.data.HBillNo);//è¿ç«åå· |
| | | $("#HInterID").val(d.data.HInterID);//è¿ç«åå·ID |
| | | }, error: function () { |
| | | layer.alert("è·ååæ®å·å¤±è´¥!", { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | | $("#HDateNow").val(time);//å è½½å½åæ¶é´ |
| | | $("#HBarCode").focus(); |
| | | $("#HBarCode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | |
| | | $("#HFbarcode").focus(); |
| | | $("#HFbarcode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#Serial_number").attr("readonly", "readonly");//æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "#efefef4d"); |
| | | $("#QualifiedQuantity").attr("readonly", "readonly");//åæ ¼æ°éåªè¯» |
| | | $("#QualifiedQuantity").css("background-color", "#efefef4d"); |
| | | $("#ScrapQuantity").attr("readonly", "readonly");//æ¥åºæ°éåªè¯» |
| | | $("#ScrapQuantity").css("background-color", "#efefef4d"); |
| | | |
| | | //æ«æ¡å½¢ç æ¹æ³ |
| | | $('#HFbarcode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HFbarcode = $('#HFbarcode').val(); |
| | | $('#HBarCode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HBarCode = $('#HBarCode').val();//æ¡å½¢ç ï¼æµè½¬å¡å·ï¼ï¼æ°æ®åºä¸ä¸ºåæ®å·ï¼ |
| | | if (event.keyCode == 13) { |
| | | //å¤æææ¬æ¡æ¯å¦ææ°æ® new |
| | | if (HFbarcode == "") { |
| | | if (HBarCode == "") { |
| | | layer.alert("æ¡å½¢ç 为空ï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | // |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/LEMS/TxtHBarCode_KeyDown", |
| | | url: GetWEBURL() + "api/newBill/getHbarCodeDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sBillBarCode": HFbarcode |
| | | "sBillBarCode": HBarCode |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data; |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "订åè·è¸ªå·": data[0].订åè·è¸ªå· |
| | | , "产å代ç ": data[0].产å代ç |
| | | , "产ååç§°": data[0].产å |
| | | , "è§æ ¼åå·": data[0].è§æ ¼åå· |
| | | , "æµè½¬å¡æ°é": data[0].æµè½¬å¡æ°é |
| | | , "å¶å人": data[0].å¶å人 |
| | | , "å¶åæ¥æ": data[0].å¶åæ¥æ |
| | | , "ä¿®æ¹äºº": data[0].ä¿®æ¹äºº |
| | | , "ä¿®æ¹æ¥æ": data[0].ä¿®æ¹æ¥æ |
| | | , "å®¡æ ¸äºº": data[0].å®¡æ ¸äºº |
| | | , "å®¡æ ¸æ¥æ": data[0].å®¡æ ¸æ¥æ |
| | | , "ç产订åå·": data[0].æºååå· |
| | | , "çäº§è®¢åæ°é": data[0].ç产æ°é |
| | | , "æµè½¬å¡å·": $("#HFbarcode").val() |
| | | "HProcExchBillNo": $("#HBarCode").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.订åè·è¸ªå· |
| | | }); |
| | | $("#HFbarcode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | $("#HFbarcode").css("background-color", "#efefef4d"); |
| | | $("#HFbarcode").css("box-shadow", "none"); |
| | | $("#Serial_number").removeAttr("readonly");//ç§»é¤æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "white"); |
| | | $("#Serial_number").focus(); |
| | | $("#Serial_number").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | //$("#HBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#HBarCode").css("background-color", "#efefef4d"); |
| | | $("#HBarCode").css("box-shadow", "none"); |
| | | } else { |
| | | // $("#verifycode").click(); |
| | | //layer.msg(result.Message, { icon: 5 }); |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ«æ¡å½¢ç æ¹æ³åçé误!", { icon: 5 }); |
| | | } |
| | | }); |
| | | // layer.msg($('#HFbarcode').val(), { icon: 1 }); |
| | | } |
| | | }); |
| | | |
| | | //æµæ°´å·åè½¦æ¹æ³ |
| | | $('#Serial_number').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var sProcNo = $('#Serial_number').val(); |
| | | var sBillNo = $('#HBillNo').val(); |
| | | $('#HProcNo').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HProcNo = $('#HProcNo').val(); |
| | | var HBarCode = $('#HBarCode').val(); |
| | | if (event.keyCode == 13) { |
| | | if (sProcNo == "" || sBillNo == "") { |
| | | if (HProcNo == "" || HBarCode == "") { |
| | | layer.alert("æµæ°´å·ææµè½¬å¡å·ä¸ºç©ºï¼", { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | return; |
| | | } |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/LEMS/TxtHProcNo_KeyDown", |
| | | url: GetWEBURL() + "/api/newBill/getProcDetail", |
| | | type: "GET", |
| | | data: { |
| | | "sProcNo": sProcNo |
| | | , "sBillNo": sBillNo |
| | | "sBillNo": HBarCode |
| | | , "sProcNo": HProcNo |
| | | }, |
| | | success: function (result) { |
| | | var data = result.data; |
| | | if (result.count == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | var data = result.data.h_v_Sc_ProcessExchangeBillList[0]; |
| | | form.val("component-form-group", { //formTest å³ class="layui-form" æå¨å
ç´ å±æ§ lay-filter="" 对åºçå¼ |
| | | "订åè·è¸ªå·": data[0].订åè·è¸ªå· |
| | | , "产å代ç ": data[0].产å代ç |
| | | , "产ååç§°": data[0].产å |
| | | , "è§æ ¼åå·": data[0].è§æ ¼åå· |
| | | , "æµè½¬å¡æ°é": data[0].æµè½¬å¡æ°é |
| | | , "å·¥ä½ä¸å¿": data[0].å·¥ä½ä¸å¿ |
| | | , "å·¥ä½ä¸å¿ä»£ç ": data[0].å·¥ä½ä¸å¿ä»£ç |
| | | , "å½åå·¥åº": data[0].å·¥åº |
| | | , "å½åå·¥åºä»£ç ": data[0].å·¥åºä»£ç |
| | | , "ç产车é´": data[0].çäº§è½¦é´ |
| | | , "ç产车é´ä»£ç ": data[0].ç产车é´ä»£ç |
| | | , "æä½å": data[0].æä½å·¥ |
| | | , "æä½å代ç ": data[0].æä½å·¥ä»£ç |
| | | , "ç产çç»": data[0].çç» |
| | | , "ç产çç»ä»£ç ": data[0].çç»ä»£ç |
| | | , "çäº§èµæº": data[0].çäº§èµæº |
| | | , "çäº§èµæºä»£ç ": data[0].çäº§èµæºä»£ç |
| | | , "å¶å人": data[0].å¶å人 |
| | | , "å¶åæ¥æ": data[0].å¶åæ¥æ |
| | | , "ä¿®æ¹äºº": data[0].ä¿®æ¹äºº |
| | | , "ä¿®æ¹æ¥æ": data[0].ä¿®æ¹æ¥æ |
| | | , "å®¡æ ¸äºº": data[0].å®¡æ ¸äºº |
| | | , "å®¡æ ¸æ¥æ": data[0].å®¡æ ¸æ¥æ |
| | | , "ç产订åå·": data[0].æºååå· |
| | | , "çäº§è®¢åæ°é": data[0].ç产æ°é |
| | | , "æµè½¬å¡å·": $("#HFbarcode").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.ç产æ°é |
| | | }); |
| | | $("#Serial_number").attr("readonly", "readonly");//æµæ°´å·åªè¯» |
| | | $("#Serial_number").css("background-color", "#efefef4d"); |
| | | $("#Serial_number").css("box-shadow", "none"); |
| | | $("#QualifiedQuantity").removeAttr("readonly");//ç§»é¤åæ ¼æ°éåªè¯» |
| | | $("#QualifiedQuantity").css("background-color", "white"); |
| | | $("#QualifiedQuantity").focus(); |
| | | $("#QualifiedQuantity").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HProcNo").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } else { |
| | | // $("#verifycode").click(); |
| | | //layer.msg(result.Message, { icon: 5 }); |
| | | layer.alert(result.Message, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | |
| | | }); |
| | | |
| | | //åæ ¼æ°éåè½¦æ¹æ³ |
| | | $('#QualifiedQuantity').on('keydown', function (event) { |
| | | $('#HQty').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#QualifiedQuantity").attr("readonly", "readonly");//åæ ¼æ°éåªè¯» |
| | | $("#QualifiedQuantity").css("background-color", "#efefef4d"); |
| | | $("#QualifiedQuantity").css("box-shadow", "none"); |
| | | $("#ScrapQuantity").removeAttr("readonly");//ç§»é¤æ¥åºæ°éåªè¯» |
| | | $("#ScrapQuantity").focus(); |
| | | $("#ScrapQuantity").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HQty").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //å·¥æ¶åè½¦æ¹æ³ |
| | | $('#HWorkTimes').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#HWorkTimes").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //æ¥åºæ°éåè½¦æ¹æ³ |
| | | $('#ScrapQuantity').on('keydown', function (event) { |
| | | $('#HWasterQty').on('keydown', function (event) { |
| | | if (event.keyCode == 13) { |
| | | $("#ScrapQuantity").attr("readonly", "readonly");//æ¥åºæ°éåªè¯» |
| | | $("#ScrapQuantity").css("background-color", "#efefef4d"); |
| | | $("#ScrapQuantity").css("box-shadow", "none"); |
| | | if ($("#Operator").val()) { |
| | | $("#Operator").css("box-shadow", "none"); |
| | | } else { |
| | | $("#Operator").css("box-shadow", "1px 1px 1px 2px #00ff00"); |
| | | } |
| | | $("#HWasterQty").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | }); |
| | | |
| | | //éæ©æä½åå¼¹çª |
| | | form.on('submit(Operator-BT)', function () {//éæ©ä»ä½ |
| | | //éæ©ç产çç»å¼¹çª |
| | | form.on('submit(ProductionTeam-BT)', function () {//éæ©ç产çç» |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['60%', '60%'] |
| | | , title: 'æ¬ç«å·¥åº' |
| | | , 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(HSecManagerID-BT)', function (data) {//éæ©æ£éªå |
| | | var sMainStr = JSON.stringify(data.field); |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['100%', '100%'] |
| | | , title: 'æ£éªåå表' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HWorker', 'yes'] |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_EmployeeList.html?Type=HSecManager', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | |
| | | }) |
| | | }); |
| | | |
| | | //éæ©ç产ç»ç»å¼¹çª |
| | | form.on('submit(HOrganization-BT)', function () {//éæ©ç产ç»ç» |
| | | layer.open({ |
| | | type: 2 |
| | | , area: ['60%', '60%'] |
| | | , title: 'ç产ç»ç»' |
| | | , shade: 0.6 //é®ç½©éæåº¦ |
| | | , maxmin: true //å
许å
¨å±æå°å |
| | | , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ |
| | | , content: ['../Baseset/åºç¡èµæ/Gy_OrgList.html', 'yes'] |
| | | , resize: false |
| | | , cancel: function () { |
| | | //$(".layui-btn").removeClass("layui-btn-disabled"); |
| | | } |
| | | }) |
| | | //ä¿åæé® |
| | | form.on('submit(Saver)', function (data) {//æäº¤ |
| | | //debugger; |
| | | var sMainStr = data.field; |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/api/newBill/setStationOutBill", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | //url:"http://localhost:12761/api/newBill/setStationOutBill", |
| | | async: true, |
| | | data: sMainStr, |
| | | dataType: "json", |
| | | success: function (result) { |
| | | console.log(result); |
| | | if (result.code == 1) { // 说æéªè¯æåäºï¼ |
| | | $("#sHWHID").val(""); |
| | | layer.alert(result.msg + "åå·ä¸ºï¼" + $("#HBillNo").val(), { icon: 1 }, 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.layui.admin.events.closeThisTabs(); |
| | | parent.location.href = "../../views/index.html"; |
| | | }); |
| | | }); |
| | | |
| | | //å¾
æ¥æ¶å·¥åé¡µç¾ |
| | | table.render({ |
| | | elem: '#djs-table' |
| | | , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' |
| | | , cols: [[ |
| | | { field: 'HInterID', title: 'åºå·' } |
| | | , { field: 'HBillNo', title: 'ç¶æ', sort: true } |
| | | , { field: 'HMaker', title: 'ç产订å' } |
| | | , { field: 'HMakeDate', title: 'è®¡åæ¥æ' } |
| | | , { field: 'HQty', title: 'ç©æç¼ç ' } |
| | | , { field: 'HSourceBillNo', title: 'ç©æåç§°' } |
| | | , { field: 'HRedBlueFlag', title: 'è§æ ¼åå·' } |
| | | , { field: 'HSourceBillType', title: 'è®¡åæ°é' } |
| | | , { field: 'HSourceBillType', title: 'å·²æ±æ¥æ°é' } |
| | | , { field: 'HSourceBillType', title: 'å·²å
¥åºæ°é' } |
| | | ]] |
| | | , height: 300 |
| | | , done: function () { |
| | | layer.closeAll("loading"); |
| | | } |
| | | //æ°å¢æé® |
| | | form.on('submit(HAddBT)', function (data) {//éåº |
| | | layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | window.location.reload(); |
| | | }); |
| | | }); |
| | | |
| | | //仿¥è¿ç«é¡µç¾ |
| | | table.render({ |
| | | elem: '#jr-table' |
| | | , url: GetWEBURL1() + '/Web/DisBillEntryList_Mate_Webs_Json' |
| | | , cellMinWidth: 100 |
| | | , cols: [[ |
| | | { field: 'HInterID', title: 'åºå·',width:80 } |
| | | , { field: 'HBillNo', title: 'æ±æ¥æ¥æ', width: 110, sort: true } |
| | | , { field: 'HMaker', title: 'çäº§æ±æ¥åå·' } |
| | | , { field: 'HMakeDate', title: 'ç产订åå·' } |
| | | , { field: 'HQty', title: 'ç©æç¼ç ' } |
| | | , { field: 'HSourceBillNo', title: 'ç©æåç§°' } |
| | | , { field: 'HRedBlueFlag', title: 'è§æ ¼åå·' } |
| | | , { field: 'HSourceBillType', title: 'è®¡åæ°é' } |
| | | , { field: 'HSourceBillType', title: 'æ±æ¥æ°é' } |
| | | , { field: 'HSourceBillType', title: 'å¶å人' } |
| | | , { field: 'HSourceBillType', title: 'å¶åæ¥æ' } |
| | | ]] |
| | | , height: 300 |
| | | , done: function () { |
| | | layer.closeAll("loading"); |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | //åçjsåå§å |
| | | $(function () { |
| | | |
| | | }); |
| | | |
| | | |
| | | |
| | | function GetOrgValue(obj) //è¿åç产ç»ç» |
| | | { |
| | | $("#HOrganization").val(obj[0].HName); |
| | | $("#HOrganizationID").val(obj[0].HNumber); |
| | | //æ ¡éªæ¯å¦éæ©å¼¹çªäºä»¶ |
| | | function checkPopup() { |
| | | if (!$("#HQty").val()) { |
| | | $("#HQty").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#HQty").focus(); |
| | | } |
| | | //else if (!$("#HWorkTimes").val()) {//å·¥æ¶ |
| | | // $("#HWorkTimes").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | // $("#HWorkTimes").focus(); |
| | | //} |
| | | //else if (!$("#HWasterQty").val()) {//æ¥åºæ°é |
| | | // $("#HWasterQty").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | // $("#HWasterQty").focus(); |
| | | //} |
| | | //else if (!$("#HSource").val()) {//çäº§èµæº |
| | | // $("#HSource").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | // $("#HSource").focus(); |
| | | //} |
| | | else if (!$("#HGroup").val()) { |
| | | $("#HGroup").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HGroup").focus(); |
| | | } |
| | | else if (!$("#HCenter").val()) { |
| | | $("#HCenter").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | $("#HCenter").focus(); |
| | | } |
| | | } |
| | | |
| | | function GetHWorkerValue(obj) //è¿åæä½å |
| | | { |
| | | $("#Operator").val(obj[0].HName); |
| | | $("#OperatorID").val(obj[0].HItemID); |
| | | //è¿åç产çç» |
| | | 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 GetHDeptNameValue(obj) //è¿åé¨é¨ |
| | | //{ |
| | | // $("#HDeptName").val(obj[0].HName); |
| | | // $("#HDeptID").val(obj[0].HItemID); |
| | | //} |
| | | |
| | | //è¿åçäº§èµæº |
| | | 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(); |
| | | } |
| | | } |
| | | |
| | | //è¿åæ£éªå |
| | | function GetHSecManagerValue(obj) { //è¿åæ£éªå |
| | | $("#HQCCheck").val(obj[0].HName); |
| | | $("#HQCCheckID").val(obj[0].HItemID); |
| | | } |
| | | |
| | | |
| | | </script> |