| | |
| | | <script src="../../../layuiadmin/Scripts/webConfig.js"></script> |
| | | <script src="../../../layuiadmin/PubCustom.js"></script> |
| | | <script src="../../../layuiadmin/PageTitle.js"></script> |
| | | <script src="../../../layuiadmin/MESLanguage.js"></script> |
| | | <style> |
| | | .main-btn { /*头é¨ä¸»æé®*/ |
| | | padding: 0 2px; /*è°æ´æé®å·¦å³ç©ºé大å°*/ |
| | |
| | | <div class="layui-card-header"> |
| | | <div class="layui-btn-group"> |
| | | <button type="button" id="set_SaveBill" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel">éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btn_print">æå°</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Cancel" id="Cancel">éåº</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btn_print" id="btn_print">æå°</button> |
| | | <button class="layui-btn layui-btn-normal" style="margin-left: 0px" type="button" lay-submit="" lay-filter="HideColumn" id="HideColumn">éèå设置</button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill"> |
| | | <h1 style="text-align:center;"><b>å·¥åºæµè½¬å¡</b></h1> |
| | | <h1 style="text-align:center;" id="BT_GXLZK"><b>å·¥åºæµè½¬å¡</b></h1> |
| | | <ul class="layui-tab-title" lay-filter="tab-all"> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="5" style="padding:1px;">ç¾æ¯ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">å
¶ä»ä¿¡æ¯</li> |
| | | <li lay-id="3" style="padding:1px;">æ£ç§»ç¥¨ä¿¡æ¯</li> |
| | | <li lay-id="4" style="padding:1px;">å¶åä¿¡æ¯</li> |
| | | <li lay-id="1" style="padding:1px;" class="layui-this">åºæ¬ä¿¡æ¯</li> |
| | | <li lay-id="2" style="padding:1px;">ç¾æ¯ä¿¡æ¯</li> |
| | | <li lay-id="3" style="padding:1px;">å
¶ä»ä¿¡æ¯</li> |
| | | <li lay-id="4" style="padding:1px;">æ£ç§»ç¥¨ä¿¡æ¯</li> |
| | | <li lay-id="5" style="padding:1px;">å¶åä¿¡æ¯</li> |
| | | </ul> |
| | | <div class="layui-tab-content"> |
| | | <!--åºæ¬ä¿¡æ¯--> |
| | |
| | | <div class="layui-form-item" style="padding-top: 3px;"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åæ®å·</label> |
| | | <label class="layui-form-label" id="BT_HBillNo">åæ®å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HInterID" id="HInterID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ¥æ</label> |
| | | <label class="layui-form-label" id="BT_HDate">æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="datetime" class="layui-input" name="HDate" id="HDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æè²è¦æ±</label> |
| | | <label class="layui-form-label" id="BT_HColorRemark">æè²è¦æ±</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HColorRemark" id="HColorRemark" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">éå®è®¢åç±»å</label> |
| | | <label class="layui-form-label" id="BT_HMainSourceBillSubType">éå®è®¢åç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <select name="HMainSourceBillSubType" id="HMainSourceBillSubType" lay-filter="HMainSourceBillSubType" disabled="disabled" style="width: 180px; "> |
| | | <option style="color:blue;" selected="selected" value=""></option> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产ååç§°</label> |
| | | <label class="layui-form-label" id="BT_HMaterName2">产ååç§°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterName2" id="HMaterName2" onmouseover="this.title=this.value" style="float: left; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HMaterID2" id="HMaterID2" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产å代ç </label> |
| | | <label class="layui-form-label" id="BT_HMaterNumber2">产å代ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterNumber2" id="HMaterNumber2" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">产åè§æ ¼</label> |
| | | <label class="layui-form-label" id="BT_HMaterModel2">产åè§æ ¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterModel2" id="HMaterModel2" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">项ç®ç¼å·</label> |
| | | <label class="layui-form-label" id="BT_HProjectNum">项ç®ç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProjectNum" id="HProjectNum"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ç产订åå·</label> |
| | | <label class="layui-form-label" id="BT_HICMOBillNo">ç产订åå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HICMOBillNo" id="HICMOBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HICMOInterID" id="HICMOInterID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬å¡æ°é</label> |
| | | <label class="layui-form-label" id="BT_HQty">æµè½¬å¡æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HQty" id="HQty"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä½</label> |
| | | <label class="layui-form-label" id="BT_HUnitName">åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUnitName" id="HUnitName" style="background-color:#efefef4d;" readonly> |
| | | <input type="hidden" name="HUnitID" id="HUnitID" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ¹æ¬¡å·</label> |
| | | <label class="layui-form-label" id="BT_HBatchNo">æ¹æ¬¡å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HBatchNo" id="HBatchNo" value=""> |
| | | </div> |
| | |
| | | </div>--> |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">éåå·</label> |
| | | <label class="layui-form-label" id="BT_textBox2">éåå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="textBox2" id="textBox2" style="float: left; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchICMOBill" id="btnSearchICMOBill" style="width: 40px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å·¥èºè·¯çº¿</label> |
| | | <label class="layui-form-label" id="BT_RoutingBill">å·¥èºè·¯çº¿</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="RoutingBill" id="RoutingBill" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HRoutingBillID" id="HRoutingBillID"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å¹
宽</label> |
| | | <label class="layui-form-label" id="BT_HWidth">å¹
宽</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWidth" id="HWidth" style="background-color: #efefef4d; float: left;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç产å¹
宽</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HWidth_New">ç产å¹
宽</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWidth_New" lay-verify="HWidth_New" id="HWidth_New" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | |
| | | <div class="layui-row"> |
| | | <!--<div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">夿³¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width:610px;"> |
| | | </div> |
| | | </div> |
| | | <label class="layui-form-label" style="width:12.5%">夿³¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width:610px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ¥è®¡åå·¥åéåå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkBillSortNo" id="HWorkBillSortNo" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchWorkBillSort" id="btnSearchWorkBillSort" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ¥è®¡åå·¥åéåå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkBillSortNo" id="HWorkBillSortNo" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchWorkBillSort" id="btnSearchWorkBillSort" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¾
æ°é</label> |
| | | <label class="layui-form-label" id="BT_HAuxQty">è¾
æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HAuxQty" id="HAuxQty" style="float: left;" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æåå·</label> |
| | | <label class="layui-form-label" id="BT_HSplitNo">æåå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSplitNo" id="HSplitNo" style="float: left;" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å缸å·</label> |
| | | <label class="layui-form-label" id="BT_HSplitColorQty">å缸å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSplitColorQty" id="HSplitColorQty" style="float: left;" value="0"> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label" id="BT_HMouldNum">模穴å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMouldNum" id="HMouldNum" style="float: left;" value=""> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æåæ»é</label> |
| | | <label class="layui-form-label" id="BT_HSplitSumQty">æåæ»é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSplitSumQty" id="HSplitSumQty" style="float: left;" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¾
å©åä½</label> |
| | | <label class="layui-form-label" id="BT_HAuxUnitName">è¾
å©åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HAuxUnitName" id="HAuxUnitName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HAuxUnit" id="HAuxUnit" value="0"> |
| | |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å
é</label> |
| | | <label class="layui-form-label" id="BT_HWeight">å
é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWeight" id="HWeight" style="float: left;background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç产å
é</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HWeight_New">ç产å
é</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWeight_New" lay-verify="HWeight_New" id="HWeight_New" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ä¸å¡å</label> |
| | | <label class="layui-form-label" id="BT_HEmpName">ä¸å¡å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEmpName" id="HEmpName" style="float: left; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HEmpID" id="HEmpID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">客æ·</label> |
| | | <label class="layui-form-label" id="BT_HCusNames">客æ·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCusNames" id="HCusNames" style="float: left; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HCusID" id="HCusID"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label"> ææè§æ ¼</label> |
| | | <label class="layui-form-label" id="BT_HMaterModel"> ææè§æ ¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterModel" id="HMaterModel" style="float: left;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label" id="BT_HMateOutBatchNo">åææ¹æ¬¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMateOutBatchNo" id="HMateOutBatchNo"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">订åç级</label> |
| | | <label class="layui-form-label" id="BT_HName">订åç级</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HName" id="HName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HOrderLevID" id="HOrderLevID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¾
æ°é2</label> |
| | | <label class="layui-form-label" id="BT_HAuxQty2">è¾
æ°é2</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HAuxQty2" id="HAuxQty2" style="float: left;" value="0"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¾
å©åä½2</label> |
| | | <label class="layui-form-label" id="BT_HAuxUnitName2">è¾
å©åä½2</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HAuxUnitName2" id="HAuxUnitName2" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HAuxUnit2" id="HAuxUnit2" value="0"> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">夿³¨</label> |
| | | <label class="layui-form-label" style="width:12.5%" id="BT_HRemark">夿³¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark" id="HRemark" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width: 610px;"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">ç½å¯è¦æ±</label> |
| | | <label class="layui-form-label" style="width:12.5%" id="BT_HRemark2">ç½å¯è¦æ±</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark2" id="HRemark2" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width: 610px; background-color: #efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">çäº§è§æ ¼</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HRemark_New">çäº§è§æ ¼</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HRemark_New" lay-verify="HRemark_New" id="HRemark_New" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">åºé¨å¤æ³¨</label> |
| | | <label class="layui-form-label" style="width:12.5%" id="BT_HRemark3">åºé¨å¤æ³¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRemark3" id="HRemark3" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width: 610px;"> |
| | | </div> |
| | |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¯é«</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HHeight">æ¯é«</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HHeight" id="HHeight"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">寸æ°ç»ç»</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HInches">寸æ°ç»ç»</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HInches" id="HInches"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
¨æ¯é¿</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HAl1Long">å
¨æ¯é¿</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HAl1Long" id="HAl1Long"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¯å¸å¯åº¦</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HDensity">å¯å¸å¯åº¦</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDensity" id="HDensity"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">æ¯çº±åç§°åè§æ ¼</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HTela">æ¯çº±åç§°åè§æ ¼</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HTela" id="HTela"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åºä¸</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HUnderTela">åºä¸</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HUnderTela" id="HUnderTela"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å®åæµæ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HSizing">å®åæµæ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HSizing" id="HSizing"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">äº¤è´§æ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HSellDate">äº¤è´§æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HSellDate" id="HSellDate" style="padding-left: 32px;"> |
| | | </div> |
| | |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ç产车é´</label> |
| | | <label class="layui-form-label" id="BT_HWorkShopName">ç产车é´</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkShopName" id="HWorkShopName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkShopID" id="HWorkShopID" value="0"> |
| | |
| | | </div>--> |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å§å¤å å·¥åä½</label> |
| | | <label class="layui-form-label" id="BT_HSupName">å§å¤å å·¥åä½</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSupName" id="HSupName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HSupID" id="HSupID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">订åè·è¸ªå·</label> |
| | | <label class="layui-form-label" id="BT_HOrderProcNO">订åè·è¸ªå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä»¶åç§°</label> |
| | | <label class="layui-form-label" id="BT_HMaterName">åä»¶åç§°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterName" id="HMaterName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HMaterID" id="HMaterID" value="0"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å件代ç </label> |
| | | <label class="layui-form-label" id="BT_HMaterNumber">å件代ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä»¶è§æ ¼</label> |
| | | <label class="layui-form-label" id="BT_HMaterModel1">åä»¶è§æ ¼</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterModel1" id="HMaterModel1" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å¾å·çæ¬</label> |
| | | <label class="layui-form-label" id="BT_HPicNumVer">å¾å·çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åä½ä»£ç </label> |
| | | <label class="layui-form-label" id="BT_HUnitNumber">åä½ä»£ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUnitNumber" id="HUnitNumber" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ä¸»è¦ææ</label> |
| | | <label class="layui-form-label" id="BT_HMainMaterID">ä¸»è¦ææ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMainMaterID" id="HMainMaterID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">ç产æ°é</label> |
| | | <label class="layui-form-label" id="BT_HPlanQty">ç产æ°é</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPlanQty" id="HPlanQty" value="0" style=" background-color: #efefef4d; width: 90px; float: left; margin-right: 4px;" readonly> |
| | | <input type="text" class="layui-input" name="HprocExQty" id="HprocExQty" style="background-color:#efefef4d; width: 90px;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ»è£
å¾å·</label> |
| | | <label class="layui-form-label" id="BT_HPicNumAssemble">æ»è£
å¾å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumAssemble" id="HPicNumAssemble" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å
³é®ææ</label> |
| | | <label class="layui-form-label" id="BT_HKeyMaterID">å
³é®ææ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HKeyMaterID" id="HKeyMaterID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">HICMOEntryID</label> |
| | | <label class="layui-form-label" id="BT_HICMOEntryID">HICMOEntryID</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HICMOEntryID" id="HICMOEntryID" value="0" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">åææ¹æ¬¡</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMateOutBatchNo" id="HMateOutBatchNo" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æè´¨</label> |
| | | <label class="layui-form-label" id="BT_HMaterTexture">æè´¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterTexture" id="HMaterTexture"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">çæ¬</label> |
| | | <label class="layui-form-label" id="BT_HVerNum">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¯ä½ç©æä»£ç </label> |
| | | <label class="layui-form-label" id="BT_HXTNumber">è¯ä½ç©æä»£ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HXTNumber" id="HXTNumber"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">计åå¼å·¥æ¥æ</label> |
| | | <label class="layui-form-label" id="BT_HPlanBeginDate">计åå¼å·¥æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HPlanBeginDate" id="HPlanBeginDate" style="padding-left: 32px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">计åå®å·¥æ¥æ</label> |
| | | <label class="layui-form-label" id="BT_HPlanEndDate">计åå®å·¥æ¥æ</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="date" class="layui-input" name="HPlanEndDate" id="HPlanEndDate" style="padding-left: 32px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¡¥æåå </label> |
| | | <label class="layui-form-label" id="BT_HExplanation">è¡¥æåå </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HExplanation" id="HExplanation" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¯ä½è§æ ¼åå·</label> |
| | | <label class="layui-form-label" id="BT_HXTModel">è¯ä½è§æ ¼åå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HXTModel" id="HXTModel"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">模å
·è®¾å¤</label> |
| | | <label class="layui-form-label" id="BT_HEquipMentName">模å
·è®¾å¤</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEquipMentName" id="HEquipMentName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HEquipMentID" id="HEquipMentID" value="0"> |
| | |
| | | |
| | | |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æ¥è®¡åå·¥åéåå·</label> |
| | | <label class="layui-form-label" id="BT_HWorkBillSortNo">æ¥è®¡åå·¥åéåå·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkBillSortNo" id="HWorkBillSortNo" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchWorkBillSort" id="btnSearchWorkBillSort" style="width: 40px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">è¡¥ææ è®°</label> |
| | | <label class="layui-form-label" id="BT_isHBLFlag">è¡¥ææ è®°</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="checkbox" name="isHBLFlag" id="isHBLFlag" value="false" lay-skin="primary" lay-filter="isHBLFlag"> |
| | | <input type="hidden" name="HBLFlag" id="HBLFlag" value="false" lay-skin="primary" lay-filter="HBLFlag"> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">æºå客æ·ä»£ç </label> |
| | | <label class="layui-form-label" style="width:12.5%" id="BT_HCusNumber">æºå客æ·ä»£ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HCusNumber" id="HCusNumber" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width:610px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">å
è£
æ è¯</label> |
| | | <label class="layui-form-label" style="width:12.5%" id="BT_HPickLabel">å
è£
æ è¯</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPickLabel" id="HPickLabel" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width:610px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs6 layui-inline"> |
| | | <label class="layui-form-label" style="width:12.5%">å
è£
æ è¯ç¼ç </label> |
| | | <label class="layui-form-label" style="width:12.5%" id="BT_HPickLabelNumber">å
è£
æ è¯ç¼ç </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPickLabelNumber" id="HPickLabelNumber" placeholder="请è¾å
¥å
容" onmouseover="this.title=this.value" style="width:610px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">订åè·è¸ªå·</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HPlanOrderProcNo">订åè·è¸ªå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HPlanOrderProcNo" id="HPlanOrderProcNo" value="" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">产åCODE</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HProdMaterCode">产åCODE</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProdMaterCode" id="HProdMaterCode"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">éå®è®¢åå·</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HSeOrderBillNo">éå®è®¢åå·</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HSeOrderBillNo" id="HSeOrderBillNo"> |
| | | <!--<input type="hidden" class="layui-input" name="HSeOrderEntryID" id="HSeOrderEntryID"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">客æ·ç®ç§°</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HCusShortName">客æ·ç®ç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCusShortName" id="HCusShortName"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 115px;padding: 9px 0px;">客æ·è¦æ±æææå</label> |
| | | <label class="layui-form-label" style="width: 115px;padding: 9px 0px;" id="BT_HCusNeedMaterial">客æ·è¦æ±æææå</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCusNeedMaterial" id="HCusNeedMaterial"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">é¢è®¡åºè´§æ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HPlanSendGoodsDate">é¢è®¡åºè´§æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="date" class="layui-input" name="HPlanSendGoodsDate" id="HPlanSendGoodsDate" style="padding-left: 32px;"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">产ååç§°</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HProdMaterName">产ååç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProdMaterName" id="HProdMaterName"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">客æ·åç§°</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HCusName">客æ·åç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCusName" id="HCusName"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">çäº§å¤æ³¨</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HWorkRemark">çäº§å¤æ³¨</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HWorkRemark" id="HWorkRemark"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">éè¦æç¤º</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HImportNote">éè¦æç¤º</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HImportNote" id="HImportNote"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææç¼å·A</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_A">åææç¼å·A</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterNumber_A" id="HMaterNumber_A"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææç¼å·B</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_B">åææç¼å·B</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterNumber_B" id="HMaterNumber_B"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææç¼å·C</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_C">åææç¼å·C</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterNumber_C" id="HMaterNumber_C"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææç¼å·D</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterNumber_D">åææç¼å·D</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterNumber_D" id="HMaterNumber_D"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç产类å</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HProdType">ç产类å</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HProdType" id="HProdType"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææç®ç§°</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterShortName">åææç®ç§°</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterShortName" id="HMaterShortName"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææå
ç A</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDA">åææå
ç A</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterIDA" id="HMaterIDA"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææå
ç B</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDB">åææå
ç B</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterIDB" id="HMaterIDB"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææå
ç C</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDC">åææå
ç C</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterIDC" id="HMaterIDC"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åææå
ç D</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaterIDD">åææå
ç D</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaterIDD" id="HMaterIDD"> |
| | | </div> |
| | |
| | | <div class="layui-form-item"> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¶å人</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMaker">å¶å人</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMaker" id="HMaker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å®¡æ ¸äºº</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HChecker">å®¡æ ¸äºº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HChecker" id="HChecker" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
³é人</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HCloseMan">å
³é人</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCloseMan" id="HCloseMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¶åæ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HMakeDate">å¶åæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMakeDate" id="HMakeDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å®¡æ ¸æ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HCheckDate">å®¡æ ¸æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCheckDate" id="HCheckDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å
³éæ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HCloseDate">å
³éæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCloseDate" id="HCloseDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä¿®æ¹äºº</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HUpDater">ä¿®æ¹äºº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HUpDater" id="HUpDater" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä½åºäºº</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HDeleteMan">ä½åºäºº</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDeleteMan" id="HDeleteMan" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä¿®æ¹æ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HUpDateDate">ä¿®æ¹æ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HUpDateDate" id="HUpDateDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ä½åºæ¥æ</label> |
| | | <label class="layui-form-label" style="width: 85px;" id="BT_HDeleteDate">ä½åºæ¥æ</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HDeleteDate" id="HDeleteDate" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | |
| | | |
| | | <script type="text/html" id="toolbarDemo"> |
| | | <div class="layui-btn-container"> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine"><i class="layui-icon layui-icon-form"></i>å¢å ä¸è¡</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine"><i class="layui-icon layui-icon-form"></i>å¤å¶ä¸è¡</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-AddLine" id="BT_AddLine"><i class="layui-icon layui-icon-form"></i>å¢å ä¸è¡</button> |
| | | <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-CopyLine" id="BT_CopyLine"><i class="layui-icon layui-icon-form"></i>å¤å¶ä¸è¡</button> |
| | | </div> |
| | | </script> |
| | | <input id="HItemID" name="HItemID" type="hidden" /> |
| | |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "" |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "", |
| | | "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0 |
| | | }]; |
| | | table.render(option); |
| | | } |
| | |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "" |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "", |
| | | "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0 |
| | | }]; |
| | | table.render(option); |
| | | } |
| | |
| | | } |
| | | else if (OperationType == 3) {//ç¼è¾ |
| | | $("#HItemID").val(linterid);//ä¿®æ¹æ¶ä¸»è¡¨ID |
| | | $("#btnRoutingBill").addClass("layui-btn-disabled").attr("disabled", true); |
| | | set_EditFromGrid(); |
| | | |
| | | } |
| | |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | |
| | | |
| | | initFunction(1,HModName, sessionStorage["HTranSlate"]); |
| | | //#endregion |
| | | |
| | | |
| | |
| | | , { field: 'HSupFlag', title: 'æ¯å¦å§å¤', templet: '#HSupFlag' } |
| | | , { field: 'HQty', title: 'æµè½¬å¡æ°é', totalRow: true, edit: 'text', width:120 } |
| | | , { field: 'HSNCtrl', title: 'SNè¿ç«æ§å¶', templet: "#HSNCtrl", width: 120 } |
| | | |
| | | , { field: 'HRoutingBillMainID', title: 'å·¥èºè·¯çº¿ID', hide: true } |
| | | , { field: 'HRoutingBillEntryID', title: 'å·¥èºè·¯çº¿åID', hide: true } |
| | | //, { field: 'HWorkRemark', title: 'å 工说æ', edit: 'text' } |
| | | //, { field: 'HDeptID', title: 'é¨é¨ID', hide: true } |
| | | //, { field: 'HDeptNumber', title: 'é¨é¨ä»£ç ', edit: 'text', event: "HDeptCheck" } |
| | |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "" |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "", |
| | | "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0 |
| | | }; |
| | | switch (obj.event) { |
| | | case 'btn-AddLine': |
| | |
| | | case 'btn-CopyLine': |
| | | var copydata = JSON.stringify(data); |
| | | if (data.length <= 0) { |
| | | layer.msg("è¯·éæ©éè¦å¤å¶çä¸è¡ï¼"); |
| | | layer.msg(get_MessageError("[0000-2-001]è¯·éæ©éè¦å¤å¶çä¸è¡ï¼", sessionStorage["HTranSlate"])); |
| | | } |
| | | else if (data.length > 1) { |
| | | layer.msg("åªè½éæ©å¤å¶ä¸è¡ï¼"); |
| | | layer.msg(get_MessageError("[0000-2-002]åªè½éæ©å¤å¶ä¸è¡ï¼", sessionStorage["HTranSlate"])); |
| | | } |
| | | else { |
| | | var copydata2 = copydata.substring(1, copydata.length);//å»é¤é¦è¡å符'[' |
| | |
| | | } |
| | | break; |
| | | } |
| | | initFunction(1,HModName, sessionStorage["HTranSlate"]); |
| | | }); |
| | | |
| | | //è¡å
äºä»¶ |
| | |
| | | var data = obj.data; |
| | | var rowIndex = $(obj.tr).attr("data-index"); |
| | | if (obj.event === 'del') { |
| | | layer.confirm('ççå é¤è¡åï¼', function (index) { |
| | | layer.confirm(get_MessageError('[0000-1-003]ççå é¤è¡åï¼', sessionStorage["HTranSlate"]), function (index) { |
| | | if (rowIndex === '0') { |
| | | layer.msg('é¦è¡æ æ³å é¤ï¼ï¼ï¼'); |
| | | layer.msg(get_MessageError('[0000-2-003]é¦è¡æ æ³å é¤ï¼ï¼ï¼', sessionStorage["HTranSlate"])); |
| | | } else { |
| | | obj.del(); |
| | | option.data = table.cache["mainTable"];//å°æ°æ®ç»å®å°dataä¸ |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index]; |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable'); |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | obj.update({ |
| | | HProcName: checkStatus.data[0].å·¥åºåç§° |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index]; |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable'); |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | obj.update({ |
| | | HCenterName: checkStatus.data[0].å·¥ä½ä¸å¿åç§° |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index]; |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable'); |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | obj.update({ |
| | | HSupName: checkStatus.data[0].ä¾åºååç§° |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index]; |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable'); |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | obj.update({ |
| | | HDeptName: checkStatus.data[0].é¨é¨åç§° |
| | |
| | | } |
| | | }); |
| | | |
| | | $("#HQty").on("input", function (e) { |
| | | //è·åinputè¾å
¥çå¼ |
| | | if (parseInt(e.delegateTarget.value)> parseInt($("#HPlanQty").val())) { |
| | | return layer.msg("æåæ°éä¸è½è¶
è¿å¯æåæ°é!"); |
| | | } |
| | | else { |
| | | $(document).ready(function () { |
| | | var currentValue = $("#HQty").val(); // åå¨å½åå¼çåé |
| | | |
| | | $("#HQty").on("input", function (e) { |
| | | var previousValue = currentValue; // åæ´åçå¼ |
| | | currentValue = $(this).val(); // æ´æ°å½åå¼ |
| | | |
| | | //è·åinputè¾å
¥çå¼ |
| | | if (parseInt(e.delegateTarget.value) > parseInt($("#HPlanQty").val())) { |
| | | $("#HQty").val(previousValue); |
| | | currentValue = previousValue; |
| | | return layer.msg(get_MessageError("[3772-2-004]æåæ°éä¸è½è¶
è¿å¯æåæ°é!", sessionStorage["HTranSlate"])); |
| | | } |
| | | else { |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option.data[i]["HQty"] = e.delegateTarget.value; |
| | | } |
| | | } |
| | | table.render(option); |
| | | |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option.data[i]["HQty"] = e.delegateTarget.value; |
| | | $('#HSupFlag' + (i + 1)).find("option[value='" + (option.data[i].HSupFlag == "false" ? "false" : "true") + "']").attr("selected", true); |
| | | |
| | | if (option.data[i].HSNCtrl.toString() == "true") { |
| | | $('#HSNCtrl' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | } |
| | | table.render(option); |
| | | |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | $('#HSupFlag' + (i + 1)).find("option[value='" + (option.data[i].HSupFlag == "false" ? "false" : "true") + "']").attr("selected", true); |
| | | form.render('select'); |
| | | form.render('checkbox'); |
| | | |
| | | if (option.data[i].HSNCtrl.toString() == "true") { |
| | | $('#HSNCtrl' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | |
| | | form.render('select'); |
| | | form.render('checkbox'); |
| | | |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | | //çå¬åå
æ ¼ç¼è¾ åå
æ ¼ç¼è¾å åæ´ |
| | | table.on('edit(mainTable)', function (obj) { |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HMaterName2").val(checkStatus.data[0].HName); |
| | | $("#HMaterID2").val(checkStatus.data[0].HItemID); |
| | |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }) |
| | | |
| | | } else { |
| | | layer.msg("请å
ä¿å,å¨è¿è¡æå°!"); |
| | | layer.msg(get_MessageError("[3772-2-005]请å
ä¿å,å¨è¿è¡æå°!", sessionStorage["HTranSlate"])); |
| | | } |
| | | } else { |
| | | layer.close(ajaxLoad); |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }); |
| | | |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HMaterModel1").val(checkStatus.data[0].è§æ ¼åå·); |
| | | $("#HMaterNumber").val(checkStatus.data[0].ç©æä»£ç ); |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HEquipMentName").val(checkStatus.data[0].设å¤åç§°); |
| | | $("#HEquipMentID").val(checkStatus.data[0].hmainid); |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HWorkShopName").val(checkStatus.data[0].é¨é¨åç§°); |
| | | $("#HWorkShopID").val(checkStatus.data[0].HItemID); |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HSupName").val(checkStatus.data[0].ä¾åºååç§°); |
| | | $("#HSupID").val(checkStatus.data[0].HItemID); |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | |
| | | GetICMOBillValue(checkStatus.data[0].hmainid, checkStatus.data[0].HEntryID) |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HWorkBillSortNo").val(checkStatus.data[0].åæ®å·); |
| | | GetICMOBillValue(checkStatus.data[0].æºå主å
ç , checkStatus.data[0].æºååå
ç ) |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | getRoutingBill(checkStatus.data[0].åæ®å·); |
| | | |
| | |
| | | } |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "LEMS/MES_Gy_RoutingBillList_Json", |
| | | url: GetWEBURL() + "/LEMS/MES_Gy_RoutingBillList_Json", |
| | | async: true, |
| | | data: { "sWhere": " and åæ®å·='" + HBillNo + "'" + " and å·¥åºä»£ç !='" + 9999 + "'", "user": sessionStorage["HUserName"], "HBillSubType": HRoutType }, |
| | | success: function (result) { |
| | |
| | | var Tablerow = []; |
| | | |
| | | if (result.data.length == 0) { |
| | | return layer.msg("请ç»å®å¯¹åºçå·¥èºè·¯çº¿!"); |
| | | return layer.msg(get_MessageError("[3772-2-006]请ç»å®å¯¹åºçå·¥èºè·¯çº¿!", sessionStorage["HTranSlate"])); |
| | | } |
| | | |
| | | $("#RoutingBill").val(data[0].åæ®å·) |
| | |
| | | |
| | | for (var i = 0; i < data.length; i++) { |
| | | Tablerow.push({ |
| | | "HProcNo": data[i].å·¥åºå·, "HProcID": data[i].hprocid, "HProcNumber": data[i].å·¥åºä»£ç , "HProcName": data[i].å·¥åº, "HWorkRemark": data[i].表ä½å¤æ³¨, |
| | | "HProcNo": data[i].å·¥åºå·, "HProcID": data[i].HProcID, "HProcNumber": data[i].å·¥åºä»£ç , "HProcName": data[i].å·¥åº, "HWorkRemark": data[i].表ä½å¤æ³¨, |
| | | "HCenterID": data[i].HCenterID, "HCenterNumber": data[i].å·¥ä½ä¸å¿ä»£ç , "HCenterName": data[i].å·¥ä½ä¸å¿åç§°, |
| | | "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | "HSupID": data[i].HSupID, "HSupNumber": data[i].ä¾åºå代ç , "HSupName": data[i].ä¾åºå, "HSupFlag": data[i].å§å¤æ è®° == 0 ? "false" : "true", |
| | | "HQty": HLZQty, "HSNCtrl": data[i].SNè¿ç«æ§å¶ == 0 ? "false" : "true", "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": data[i].å·¥èºåæ°, "HPicNum": data[i].å¾çº¸ç¼å·, "HProcCheckNote": data[i].æ¬å·¥åºç¡®è®¤è®°å½, |
| | | "HRelationQty_OutBad": "0" |
| | | "HRelationQty_OutBad": "0", "HRoutingBillMainID": data[i].hmainid, "HRoutingBillEntryID": data[i].hsubid |
| | | }); |
| | | } |
| | | option.data = Tablerow; |
| | |
| | | form.render('checkbox'); |
| | | }, |
| | | error: function (result) { |
| | | layer.close(index); |
| | | //layer.close(index); |
| | | console.log(result); |
| | | //layer.msg('è·åéè´è®¢ååºç°å¼å¸¸', { icon: 2, time: 2000 }); |
| | | } |
| | |
| | | //ä¿åæäº¤ |
| | | form.on('submit(btnSave)', function (data) {//æäº¤ |
| | | if ($("#HICMOInterID").val() == 0) { |
| | | layer.msg("è¯·éæ©ä»»å¡åï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-007]è¯·éæ©ä»»å¡åï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"])}); |
| | | return; |
| | | } |
| | | //if ($("#HBatchNo").val() == "" ) { |
| | | // layer.msg("请è¾å
¥æ¹æ¬¡å·ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | if ($("#HQty").val() == "" || $("#HQty").val() <= 0) { |
| | | layer.msg("åºæ¬ä¿¡æ¯ä¸æµè½¬å¡æ°éä¸è½ä¸ºç©ºä¸ä¸è½å°äºçäº0ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-010]åºæ¬ä¿¡æ¯ä¸æµè½¬å¡æ°éä¸è½ä¸ºç©ºä¸ä¸è½å°äºçäº0ï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | if (!$("#HPlanBeginDate").val()) { |
| | | layer.msg("è¯·éæ©è®¡åå¼å·¥æ¥æï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-011]è¯·éæ©è®¡åå¼å·¥æ¥æï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | if (!$("#HPlanEndDate").val()) { |
| | | layer.msg("è¯·éæ©è®¡åå®å·¥æ¥æï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-012]è¯·éæ©è®¡åå®å·¥æ¥æï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | |
| | | var HAuxQty = $('#HAuxQty').val(); |
| | | if (HAuxQty.substring(HAuxQty.length - 1, HAuxQty.length) == ".") { |
| | | layer.msg("è¾
æ°éçç»å°¾ä¸è½æ¯.ï¼"); |
| | | layer.msg(get_MessageError("[3772-2-013]è¾
æ°éçç»å°¾ä¸è½æ¯.ï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+\.?[0-9]*$/; |
| | | if (!ref.test(HAuxQty)) { |
| | | layer.msg("è¾
æ°éè¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | layer.msg(get_MessageError("[3772-2-014]è¾
æ°éè¯·è¾æ£ç¡®å
¥æ°åï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HWidth = $('#HWidth').val(); |
| | | if (HWidth.substring(HWidth.length - 1, HWidth.length) == ".") { |
| | | layer.msg("å¹
宽çç»å°¾ä¸è½æ¯.ï¼"); |
| | | layer.msg(get_MessageError("[3772-2-015]å¹
宽çç»å°¾ä¸è½æ¯.ï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HWidth)) { |
| | | layer.msg("å¹
å®½è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | layer.msg(get_MessageError("[3772-2-016]å¹
å®½è¯·è¾æ£ç¡®å
¥æ°åï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HWeight = $('#HWeight').val(); |
| | | if (HWeight.substring(HWeight.length - 1, HWeight.length) == ".") { |
| | | layer.msg("å
éçç»å°¾ä¸è½æ¯.ï¼"); |
| | | layer.msg(get_MessageError("[3772-2-017]å
éçç»å°¾ä¸è½æ¯.ï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HWeight)) { |
| | | layer.msg("å
éè¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | layer.msg(get_MessageError("[3772-2-018]å
éè¯·è¾æ£ç¡®å
¥æ°åï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HSplitNo = $('#HSplitNo').val(); |
| | | if (HSplitNo.substring(HSplitNo.length - 1, HSplitNo.length) == ".") { |
| | | layer.msg("æåå·çç»å°¾ä¸è½æ¯.ï¼"); |
| | | layer.msg(get_MessageError("[3772-2-019]æåå·çç»å°¾ä¸è½æ¯.ï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HSplitNo)) { |
| | | layer.msg("æåå·è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | layer.msg(get_MessageError("[3772-2-020]æåå·è¯·è¾æ£ç¡®å
¥æ°åï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HSplitSumQty = $('#HSplitSumQty').val(); |
| | | if (HSplitSumQty.substring(HSplitSumQty.length - 1, HSplitSumQty.length) == ".") { |
| | | layer.msg("æåæ»éçç»å°¾ä¸è½æ¯.ï¼"); |
| | | layer.msg(get_MessageError("[3772-2-021]æåæ»éçç»å°¾ä¸è½æ¯.ï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HSplitSumQty)) { |
| | | layer.msg("æåæ»éè¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | layer.msg(get_MessageError("[3772-2-022]æåæ»éè¯·è¾æ£ç¡®å
¥æ°åï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | var HSplitColorQty = $('#HSplitColorQty').val(); |
| | | if (HSplitColorQty.substring(HSplitColorQty.length - 1, HSplitColorQty.length) == ".") { |
| | | layer.msg("å缸å·çç»å°¾ä¸è½æ¯.ï¼"); |
| | | layer.msg(get_MessageError("[3772-2-023]å缸å·çç»å°¾ä¸è½æ¯.ï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } else { |
| | | var ref = /^[0-9]+$/; |
| | | if (!ref.test(HSplitColorQty)) { |
| | | layer.msg("å缸å·è¯·è¾æ£ç¡®å
¥æ°åï¼"); |
| | | layer.msg(get_MessageError("[3772-2-024]å缸å·è¯·è¾æ£ç¡®å
¥æ°åï¼", sessionStorage["HTranSlate"])); |
| | | return; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | //å é¤åè¡¨æ°æ®æ¶ ä¼å ç¨æ°ç»çä½ç½®,éè¦éæ°æä¸ä¸é¡ºåº |
| | |
| | | if (table.cache["mainTable"][i] != "") { |
| | | table.cache["mainTable"][i].LAY_TABLE_INDEX = i; |
| | | sSubTable.push(table.cache["mainTable"][i]) |
| | | } |
| | | } |
| | | } |
| | | for (var i = 0; i < sSubTable.length; i++) { |
| | | if (!sSubTable[i].HProcNo) { |
| | | var indexRow = i + 1; |
| | | layer.msg("第" + indexRow + "è¡ï¼æµæ°´å·ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-025]第" + indexRow + "è¡ï¼æµæ°´å·ä¸è½ä¸ºç©ºï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | if (sSubTable[i].HProcNo == 0) { |
| | | var indexRow = i + 1; |
| | | layer.msg("第" + indexRow + "è¡ï¼æµæ°´å·ä¸è½ä¸º0ï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-026]第" + indexRow + "è¡ï¼æµæ°´å·ä¸è½ä¸º0ï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | if (!sSubTable[i].HProcID) { |
| | | var indexRow = i + 1; |
| | | layer.msg("第" + indexRow + "è¡ï¼å·¥åºä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-027]第" + indexRow + "è¡ï¼å·¥åºä¸è½ä¸ºç©ºï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | if (!sSubTable[i].HCenterID) { |
| | | var indexRow = i + 1; |
| | | layer.msg("第" + indexRow + "è¡ï¼å·¥ä½ä¸å¿ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return; |
| | | } |
| | | //if (!sSubTable[i].HCenterID) { |
| | | // var indexRow = i + 1; |
| | | // layer.msg("第" + indexRow + "è¡ï¼å·¥ä½ä¸å¿ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return; |
| | | //} |
| | | if (sSubTable[i].HSupFlag == "true") { |
| | | if (!sSubTable[i].HSupID) { |
| | | var indexRow = i + 1; |
| | | layer.msg("第" + indexRow + "è¡ï¼ä¾åºåä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(get_MessageError("[3772-2-028]第" + indexRow + "è¡ï¼ä¾åºåä¸è½ä¸ºç©ºï¼", sessionStorage["HTranSlate"]), { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | return; |
| | | } |
| | | } |
| | | } |
| | | data.field.HPRDORGID = sessionStorage["OrganizationID"];//ç»ç» |
| | | |
| | | data.field.HMaterNumber2 = data.field.HMaterNumber2.replace("\"", "â").replace(";", "ï¼"); |
| | | data.field.HMaterName2 = data.field.HMaterName2.replace("\"", "â").replace(";", "ï¼"); |
| | | data.field.HMaterNumber = data.field.HMaterNumber.replace("\"", "â").replace(";", "ï¼"); |
| | | data.field.HMaterName = data.field.HMaterName.replace("\"", "â").replace(";", "ï¼"); |
| | | |
| | | //var HBLFlag = data.field.HBLFlag; |
| | | //HBLFlag == "on" ? data.field.HBLFlag = 'true' : data.field.HBLFlag = 'false';//å°æ°ç»åå¹¶æå符串 |
| | | var sMainStr = JSON.stringify(data.field); |
| | |
| | | data: { "sMainSub": sMainSub }, |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { |
| | | if (data.count == 1) { |
| | | layer.msg(data.Message, { icon: 1 }); |
| | | $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true); |
| | | if (data.Verify == "Y") //èªå¨å®¡æ ¸ |
| | | { |
| | | $("#HInterID").val(data.HInterID);//è·åæäº¤æåè¿åç忮䏻ID |
| | | set_CheckBill(1); //å®¡æ ¸ |
| | | } |
| | | layer.close(index); |
| | | layer.msg("æäº¤æå"); |
| | | $('#set_SaveBill').addClass("layui-btn-disabled").attr("disabled", true);//ä¿åæé®ç¦ç¨ |
| | | |
| | | } |
| | | else { |
| | | layer.close(index); |
| | | layer.msg(data.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(data.Message, { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | } |
| | | }, |
| | | error: function (err) { |
| | | layer.close(index); |
| | | layer.msg("é误:" + err, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg("é误:" + err, { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | } |
| | | }); |
| | | }); |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Xt_grdAlignment_WMES/grdAlignmentWMESList', |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HModName": HModName, "user": sessionStorage["HUserName"] }, |
| | | success: function (data1) { |
| | | if (data1.data.length != 0) { |
| | |
| | | table.render(option); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }) |
| | | } |
| | |
| | | set_EditGrid(linterid); //ç¼è¾è·åè¡¨ä½ |
| | | get_DisplayHMainID(linterid); //ç¼è¾è·å表ä½(å¨å
·æ¸
å) |
| | | get_Display3(linterid); //ç¼è¾è·å表ä½(å·¥èºåæ°æ¸
å) |
| | | option.data = [{ |
| | | "HProcNo": "", "HProcID": 0, "HProcNumber": "", "HProcName": "", "HWorkRemark": "", |
| | | "HCenterID": 0, "HCenterNumber": "", "HCenterName": "", |
| | | "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HSNCtrl": "false", "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "" |
| | | }]; |
| | | table.render(option); |
| | | |
| | | //option.data = [{ |
| | | // "HProcNo": "", "HProcID": 0, "HProcNumber": "", "HProcName": "", "HWorkRemark": "", |
| | | // "HCenterID": 0, "HCenterNumber": "", "HCenterName": "", |
| | | // "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | // "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | // "HQty": 0, "HSNCtrl": "false", "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | // "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | // "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "", |
| | | // "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0,"HSourceID":0 |
| | | //}]; |
| | | //table.render(option); |
| | | } |
| | | //ç¼è¾è·å表头 |
| | | function set_EditForm(linterid) { |
| | |
| | | , "HAuxQty2": data.è¾
æ°é2 |
| | | , "HAuxUnit2": data.HAuxUnit2 |
| | | , "HAuxUnitName2": data.è¾
å©åä½2 |
| | | , "HMouldNum": data.æ¨¡ç©´å· |
| | | |
| | | |
| | | , "HName": data.订åç级 |
| | |
| | | form.render("checkbox"); |
| | | |
| | | } else { |
| | | layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | layer.alert(get_MessageError(result.msg, sessionStorage["HTranSlate"]), { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("åçé误!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]åçé误!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'Sc_ProcessExchangeBill/GetProcessExchangeBillSub', |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HInterID": linterid }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | |
| | | form.render('checkbox'); |
| | | |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | layer.alert(get_MessageError(result.code + result.Message, sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }, error: function () { |
| | | layer.close(index0); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HAuxUnit").val(checkStatus.data[0].HItemID); |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HAuxUnit2").val(checkStatus.data[0].HItemID); |
| | |
| | | var checkStatus = iframeWindow.layui.table.checkStatus("mainTable");//è·åéä¸çæ°æ® |
| | | |
| | | if (checkStatus.data.length != 1) { |
| | | return layer.msg("è¯·éæ©ä¸æ¡æ°æ®"); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | //æ´æ°è¡¨æ ¼ç¼åçæ°æ® |
| | | $("#HName").val(checkStatus.data[0].订åç级); |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessExchangeBillList/QJQD', |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HProcExchHinteID": linterid }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessExchangeBill/GetProcessExchangeBillSubTech', |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HInterID": linterid}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | |
| | | } |
| | | }, error: function () { |
| | | layer.close(ajaxLoad); |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | $("#HMaterNumber2").val(data.ç©æä»£ç ); |
| | | $("#HMaterModel").val(data.è§æ ¼åå·); |
| | | $("#HMaterModel2").val(data.è§æ ¼åå·); |
| | | $("#HBatchNo").val(data.æ¹å·); |
| | | $("#HBatchNo").val(); |
| | | $("#HUnitID").val(data.hunitid); |
| | | $("#HUnitName").val(data.计éåä½åç§°); |
| | | $("#HUnitNumber").val(data.计éåä½ä»£ç ); |
| | |
| | | |
| | | } |
| | | else { |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(result.Message, { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | } |
| | | } |
| | | }) |
| | |
| | | function getRoutingBillList(sWhere) { |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "LEMS/Gy_RoutingBillList", |
| | | url: GetWEBURL() + "/LEMS/Gy_RoutingBillList", |
| | | async: false, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HSNCtrl": false, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "HRelationQty_WWOrder": 0, "HRelationQty_Bad": 0, "HOverRate": 0, "HMaxQty": 0, |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "" |
| | | "HPassRate": 0, "HSumPassRate": 0, "HTechnologyParameter": "", "HPicNum": "", "HProcCheckNote": "", |
| | | "HRoutingBillMainID": 0, "HRoutingBillEntryID": 0 |
| | | }]; |
| | | table.render(option); |
| | | } |
| | | }, |
| | | error: function (result) { |
| | | layer.close(index); |
| | | //layer.close(index); |
| | | console.log(result); |
| | | //layer.msg('è·åéè´è®¢ååºç°å¼å¸¸', { icon: 2, time: 2000 }); |
| | | } |
| | |
| | | form.render('checkbox'); |
| | | } |
| | | else { |
| | | layer.msg(result.Message, { icon: 5, btn: ['确认'], time: 100000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | layer.msg(result.Message, { icon: 5, btn: [get_MessageError('[0000-2-008]确认', sessionStorage["HTranSlate"])], time: 100000, offset: 't', skin: 'layui-layer-lan', title: get_MessageError("[0000-2-009]温馨æç¤º", sessionStorage["HTranSlate"]) }); |
| | | } |
| | | } |
| | | }) |
| | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | function set_CheckBill(num) { |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Sc_ProcessExchangeBill/CheckSc_ProcessExchangeBill', |
| | | type: "GET", |
| | | data: { "HInterID": $("#HInterID").val(), "Type": num, "user": sessionStorage["HUserName"], "HBillSubType": "3772" }, |
| | | success: function (result) { |
| | | if (result.count == 1) { |
| | | layer.msg(result.Message, { icon: 1 }); |
| | | layer.close(wait); |
| | | } else { |
| | | layer.alert(result.code + result.Message, { icon: 5 }); |
| | | layer.close(wait); |
| | | } |
| | | }, error: function () { |
| | | layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); |
| | | layer.close(wait); |
| | | } |
| | | }); |
| | | } |
| | | |
| | | //以ä¸ä¸ºlayui模å |
| | | }); |
| | | |