| | |
| | | <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="æ¡å½¢ç " class="layui-input" id="sBillBarCode" placeholder="请è¾å
¥æ¡å½¢ç " style="border-radius: 50px;"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æµè½¬å¡å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æµè½¬å¡å·" class="layui-input" id="æµè½¬å¡å·" placeholder="æµè½¬å¡å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æµæ°´å·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æµæ°´å·" class="layui-input" id="sProcNo" placeholder="请è¾å
¥æµæ°´å·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºä»£ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å·¥åºä»£ç " class="layui-input" id="å·¥åºä»£ç " placeholder="请è¾å
¥å·¥åºä»£ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥åºåç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å·¥åºåç§°" class="layui-input" id="å·¥åºåç§°" placeholder="请è¾å
¥å·¥åºåç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å建人</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å建人" class="layui-input" id="å建人" placeholder="请è¾å
¥å建人" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>åæ ¼æ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="åæ ¼æ°é" class="layui-input" id="åæ ¼æ°é" placeholder="请è¾å
¥åæ ¼æ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>å·¥æ¶</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="å·¥æ¶" class="layui-input" id="å·¥æ¶" placeholder="请è¾å
¥å·¥æ¶"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ¥åºæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="æ¥åºæ°é" class="layui-input" id="æ¥åºæ°é" placeholder="请è¾å
¥æ¥åºæ°é"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>çäº§èµæº</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="ç产çç»" class="layui-input" id="ProductionResources" placeholder="éæ©çäº§èµæº" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="çäº§èµæºä»£ç " id="ProductionResourcesID" 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="ç产çç»" class="layui-input" id="ProductionTeam" placeholder="éæ©ç产çç»" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="ç产çç»ä»£ç " id="ProductionTeamID" 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="å·¥ä½ä¸å¿" class="layui-input" id="WorkCenter" placeholder="鿩工ä½ä¸å¿" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="å·¥ä½ä¸å¿ID" id="WorkCenterID" 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> |
| | | <th>æ£éªå</th> |
| | | <td class="bz_td"> |
| | | <input type="text" name="æ£éªå" class="layui-input" id="Employee" placeholder="éæ©æ£éªå" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="æ£éªåID" id="EmployeeID" 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="åºç«åå·" class="layui-input" id="HBillNo" placeholder="请è¾å
¥åºç«åå·" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="åºç«åå·ID" class="layui-input" id="HInterID"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>æ¥æ</th> |
| | | <td class="t1_input"> |
| | | <input type="date" name="æ¥æ" class="layui-input HDateNow" id="HDateNow" placeholder="è¯·éæ©æ¥æ"> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>ç产订å</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="ç产订å" class="layui-input" id="ç产订å" placeholder="请è¾å
¥ç产订å" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产å代ç </th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="产å代ç " class="layui-input" id="产å代ç " placeholder="请è¾å
¥äº§å代ç " style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>产ååç§°</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="产ååç§°" class="layui-input" id="产ååç§°" placeholder="请è¾å
¥äº§ååç§°" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>è§æ ¼åå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="è§æ ¼åå·" class="layui-input" id="è§æ ¼åå·" placeholder="请è¾å
¥è§æ ¼åå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>订åè·è¸ªå·</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="订åè·è¸ªå·" class="layui-input" id="订åè·è¸ªå·" placeholder="请è¾å
¥è®¢åè·è¸ªå·" style="background-color:#efefef4d;" readonly> |
| | | </td> |
| | | </tr> |
| | | <tr> |
| | | <th>çäº§è®¢åæ°é</th> |
| | | <td class="t1_input"> |
| | | <input type="text" name="çäº§è®¢åæ°é" class="layui-input" id="çäº§è®¢åæ°é" placeholder="请è¾å
¥çäº§è®¢åæ°é" style="background-color:#efefef4d;" readonly> |
| | | </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; |
| | | $("#HDateNow").val(Format(new Date(), "yyyy-MM-dd")); |
| | | $("#å建人").val(sessionStorage["HUserName"]); |
| | | |
| | | //页é¢åå§åèµå¼ |
| | | //è·ååæ®å· |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | url: GetWEBURL() + "/api/newBill/getNewInterBillNo", |
| | | type: "GET", |
| | | data: { "HBillType": '3791' }, |
| | | //data: { "HBillType": '3790' }, |
| | | 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);//å è½½å½åæ¶é´ |
| | | |
| | | $("#HFbarcode").focus(); |
| | | $("#HFbarcode").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | $("#sBillBarCode").focus(); |
| | | $("#sBillBarCode").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"); |
| | | $("#Entrants_number").attr("readonly", "readonly");//è¿ç«æ°éåªè¯» |
| | | $("#Entrants_number").css("background-color", "#efefef4d"); |
| | | |
| | | |
| | | //æ«æ¡å½¢ç æ¹æ³ |
| | | $('#HFbarcode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var HFbarcode = $('#HFbarcode').val(); |
| | | $('#sBillBarCode').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var sBillBarCode = $('#sBillBarCode').val();//æ¡å½¢ç ï¼æµè½¬å¡å·ï¼ï¼æ°æ®åºä¸ä¸ºåæ®å·ï¼ |
| | | if (event.keyCode == 13) { |
| | | //å¤æææ¬æ¡æ¯å¦ææ°æ® new |
| | | if (HFbarcode == "") { |
| | | if (sBillBarCode == "") { |
| | | 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": sBillBarCode |
| | | }, |
| | | 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() |
| | | "æµè½¬å¡å·": $("#sBillBarCode").val() |
| | | , "å·¥åºä»£ç ": data.å·¥åºä»£ç |
| | | , "å·¥åºåç§°": data.å·¥åº |
| | | , "åæ ¼æ°é": data.è®¡åæ°é |
| | | , "产å代ç ": data.产å代ç |
| | | , "产ååç§°": data.产å |
| | | , "è§æ ¼åå·": data.è§æ ¼åå· |
| | | , "çäº§è®¢åæ°é": 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"); |
| | | //$("#sBillBarCode").attr("readonly", "readonly");//æ¡å½¢ç åªè¯» |
| | | //$("#sBillBarCode").css("background-color", "#efefef4d"); |
| | | $("#sBillBarCode").css("box-shadow", "none"); |
| | | $("#sProcNo").removeAttr("readonly");//ç§»é¤æµæ°´å·åªè¯» |
| | | $("#sProcNo").css("background-color", "white"); |
| | | $("#sProcNo").focus(); |
| | | $("#sProcNo").css("box-shadow", "0 0 0 1px #00ff00"); |
| | | } else { |
| | | // $("#verifycode").click(); |
| | | //layer.msg(result.Message, { icon: 5 }); |
| | | layer.alert(result.Message, { 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(); |
| | | $('#sProcNo').on('keydown', function (event) { //æ«æ¡å½¢ç |
| | | var sProcNo = $('#sProcNo').val(); |
| | | var sBillNo = $('#sBillBarCode').val(); |
| | | if (event.keyCode == 13) { |
| | | if (sProcNo == "" || sBillNo == "") { |
| | | 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": sBillNo |
| | | , "sProcNo": sProcNo |
| | | }, |
| | | 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].æä½å·¥ä»£ç |
| | | , "ç产çç»": 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() |
| | | "å·¥åºä»£ç ": data.å·¥åºä»£ç |
| | | , "å·¥åºåç§°": data.å·¥åº |
| | | , "åæ ¼æ°é": data.è®¡åæ°é |
| | | , "产å代ç ": data.产å代ç |
| | | , "产ååç§°": data.产å |
| | | , "è§æ ¼åå·": data.è§æ ¼åå· |
| | | , "çäº§è®¢åæ°é": 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"); |
| | | $("#sProcNo").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) { |
| | | 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"); |
| | | } |
| | | //å·¥æ¶åè½¦æ¹æ³ |
| | | $('#å·¥æ¶').on('keydown', function (event) { |
| | | checkPopup(); |
| | | }); |
| | | |
| | | //æ¥åºæ°éåè½¦æ¹æ³ |
| | | $('#ScrapQuantity').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"); |
| | | } |
| | | } |
| | | $('#æ¥åºæ°é').on('keydown', function (event) { |
| | | $('#æ¥åºæ°é').blur(); |
| | | 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) {//éæ©æ£éªå |
| | | 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 = JSON.stringify(data.field); |
| | | console.log(sMainStr); |
| | | $.ajax( |
| | | { |
| | | type: "POST", |
| | | url: GetWEBURL() + "/test", //æ¹æ³æå¨é¡µé¢åæ¹æ³å |
| | | async: true, |
| | | data: { "oMain": sMainStr }, |
| | | dataType: "json", |
| | | success: function (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 }); |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //éåºæé® |
| | |
| | | }); |
| | | }); |
| | | |
| | | //å¾
æ¥æ¶å·¥åé¡µç¾ |
| | | 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"); |
| | | } |
| | | }); |
| | | |
| | | //仿¥è¿ç«é¡µç¾ |
| | | 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"); |
| | | } |
| | | }); |
| | | |
| | | //æ°å¢æé® |
| | | //form.on('submit(HAddBT)', function (data) {//éåº |
| | | // layer.confirm('æ¨ç¡®å®è¦æ°å¢åï¼', { icon: 3, title: 'æç¤º' }, function (index) { |
| | | // window.location.reload(); |
| | | // }); |
| | | //}); |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |
| | | //åçjsåå§å |
| | | $(function () { |
| | | |
| | | }); |
| | | |
| | | |
| | | |
| | | function GetOrgValue(obj) //è¿åç产ç»ç» |
| | | { |
| | | $("#HOrganization").val(obj[0].HName); |
| | | $("#HOrganizationID").val(obj[0].HNumber); |
| | | //æç¤ºæ¯å¦éæ©å¼¹çªäºä»¶åæ¯å¦è¾å
¥å·¥æ¶ååæ ¼æ°é |
| | | function checkPopup() { |
| | | $("#å·¥æ¶").css("box-shadow", "none"); |
| | | $("#æ¥åºæ°é").css("box-shadow", "none"); |
| | | $("#ProductionResources").css("box-shadow", "none"); |
| | | $("#ProductionTeam").css("box-shadow", "none"); |
| | | $("#WorkCenter").css("box-shadow", "none"); |
| | | $("#Employee").css("box-shadow", "none"); |
| | | if (!$("#å·¥æ¶").val()) { |
| | | $("#å·¥æ¶").focus(); |
| | | $("#å·¥æ¶").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#æ¥åºæ°é").val()) { |
| | | $("#æ¥åºæ°é").focus(); |
| | | $("#æ¥åºæ°é").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#ProductionResources").val()) { |
| | | $("#ProductionResources").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#ProductionTeam").val()) { |
| | | $("#ProductionTeam").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#WorkCenter").val()) { |
| | | $("#WorkCenter").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | else if (!$("#Employee").val()) { |
| | | $("#Employee").css("box-shadow", "0 0 1px 2px #00ff00"); |
| | | } |
| | | } |
| | | |
| | | 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 { |
| | | $("#ProductionTeam").val(obj[0].çç»); |
| | | $("#ProductionTeamID").val(obj[0].HItemID); |
| | | $("#ProductionTeam").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | | } |
| | | //function GetHDeptNameValue(obj) //è¿åé¨é¨ |
| | | //{ |
| | | // $("#HDeptName").val(obj[0].HName); |
| | | // $("#HDeptID").val(obj[0].HItemID); |
| | | //} |
| | | |
| | | //è¿åçäº§èµæº |
| | | function GetProductionResourcesValue(obj) { //è¿åçäº§èµæº |
| | | if ($("#ProductionResources").val()) { |
| | | $("#ProductionResources").css("box-shadow", "none"); |
| | | } |
| | | $("#ProductionResources").val(obj[0].çäº§èµæº); |
| | | $("#ProductionResourcesID").val(obj[0].çäº§èµæºä»£ç ); |
| | | $("#ProductionResources").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | |
| | | //è¿åå·¥ä½ä¸å¿ |
| | | function GetWorkCenterValue(obj) { //è¿åå·¥ä½ä¸å¿ |
| | | if (obj.length == 0) { |
| | | layer.msg("请å
éæ©çç»", { index: 0 }); |
| | | } else { |
| | | $("#WorkCenter").val(obj[0].ç产çç»); |
| | | $("#WorkCenterID").val(obj[0].HItemID); |
| | | $("#WorkCenter").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | layer.closeAll(); |
| | | } |
| | | } |
| | | |
| | | //è¿åæ£éªå |
| | | function GetHSecManagerValue(obj) { //è¿åæ£éªå |
| | | $("#Employee").val(obj[0].HName); |
| | | $("#EmployeeID").val(obj[0].HNumber); |
| | | $("#Employee").css("box-shadow", "none"); |
| | | checkPopup(); |
| | | } |
| | | |
| | | </script> |
| | | </body> |