| | |
| | | <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> |
| | | <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; /*è°æ´æé®å·¦å³ç©ºé大å°*/ |
| | |
| | | .layui-form-label { |
| | | width: 25%; |
| | | } |
| | | |
| | | </style> |
| | | </head> |
| | | <body> |
| | |
| | | <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;" 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"> |
| | | <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" > |
| | | <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" 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> |
| | | <option style="color:blue;" value="0">æ®éåæ®</option> |
| | | <option style="color:blue;" value="1">è¿ä¿®åæ®</option> |
| | | </select> |
| | | </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="HOrderProcNO" id="HOrderProcNO" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">订åè·è¸ªå·</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-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å¾å·çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">å¾å·çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HPicNumVer" id="HPicNumVer" style="background-color:#efefef4d;" readonly> |
| | | </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_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"> |
| | | <!--<button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchMater2" id="btnSearchMater2" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button>--> |
| | | <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_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=""> |
| | | <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" id="BT_HProjectNum">项ç®ç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProjectNum" id="HProjectNum"> |
| | | </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="HPicNumAssemble" id="HPicNumAssemble" onmouseover="this.title=this.value" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">æ»è£
å¾å·</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> |
| | | <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" 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> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterTexture" id="HMaterTexture"> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">æè´¨</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterTexture" id="HMaterTexture"> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <!--<div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">计åå¼å·¥æ¥æ</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> |
| | | <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">计åå¼å·¥æ¥æ</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;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button>--> |
| | | <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">计åå®å·¥æ¥æ</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" 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;"> |
| | | <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" 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="float: left;" > |
| | | <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;" 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> |
| | | |
| | | <!--<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="HProductNum" id="HProductNum" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">æåç¼å·</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HProductNum" id="HProductNum" onmouseover="this.title=this.value"> |
| | | </div> |
| | | </div>--> |
| | | </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> |
| | | <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>--> |
| | | <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> |
| | | <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> |
| | | <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> |
| | | <div class="layui-input-block"> |
| | | <input type="checkbox" name="HBLFlag" id="HBLFlag" lay-skin="primary" title="" checked=""> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">å
é</label> |
| | | <label class="layui-form-label">è¡¥æåå </label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWeight" id="HWeight" style="float: left;"> |
| | | <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> |
| | | <div class="layui-input-block"> |
| | | <input type="checkbox" name="HBLFlag" id="HBLFlag" lay-skin="primary" title="" checked=""> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <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;" 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> |
| | | <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" 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" 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"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnOrderID" id="btnOrderID" 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" 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" 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"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHAuxUnit2" id="btnHAuxUnit2" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </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_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;"> |
| | | <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;" 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> |
| | | <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"> |
| | |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <!--<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="HProjectNum" id="HProjectNum" 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_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-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">æµè½¬å¡ç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkTypeName" id="HWorkTypeName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkTypeID" id="HWorkTypeID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHWorkType" id="btnSearchHWorkType" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">æµè½¬å¡ç±»å</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HWorkTypeName" id="HWorkTypeName" style="float: left; width: 150px; background-color: #efefef4d; display: inline-block;" readonly> |
| | | <input type="hidden" name="HWorkTypeID" id="HWorkTypeID" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearchHWorkType" id="btnSearchHWorkType" style="width: 40px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> |
| | | </button> |
| | | </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_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 class="layui-col-xs3 layui-inline"> |
| | | <label class="layui-form-label">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" 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="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <label class="layui-form-label">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" 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">çæ¬</label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HVerNum" id="HVerNum" style="background-color:#efefef4d;" readonly> |
| | | </div> |
| | | </div>--> |
| | | <div class="layui-col-xs3 layui-inline"> |
| | | <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"> |
| | |
| | | </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="HMaterModel" id="HMaterModel" style="float: left;"> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | | <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;" 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> |
| | | </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"> |
| | | <input type="hidden" class="layui-input" name="HSeOrderInterID" id="HSeOrderInterID">--> |
| | | <input type="hidden" class="layui-input" name="HSeOrderInterID" id="HSeOrderInterID">--> |
| | | </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" /> |
| | | <input id="HEntryID" name="HEntryID" type="hidden" /> |
| | | <input id="HMainSourceInterID" name="HMainSourceInterID" value="0" type="hidden" /> |
| | | <input id="HMainSourceEntryID" name="HMainSourceEntryID" value="0" type="hidden" /> |
| | | <input id="HMainSourceBillNo" name="HMainSourceBillNo" value="" type="hidden" /> |
| | | </form> |
| | | </div> |
| | | </div> |
| | |
| | | <option value="true">æ¯</option> |
| | | </select> |
| | | </script> |
| | | |
| | | <!--å¤éæ¡ SNè¿ç«æ§å¶--> |
| | | <script type="text/html" id="HSNCtrl"> |
| | | <div class="layui-input-block" style="margin-left: 20px;"> |
| | | <input type="checkbox" name="HSNCtrl" lay-filter="HSNCtrl" id="HSNCtrl{{d.LAY_TABLE_INDEX+1}}" lay-skin="primary"> |
| | | </div> |
| | | </script> |
| | | |
| | | <script> |
| | | |
| | | layui.config({ |
| | |
| | | var OperationType = params[params[0]];//æä½ç±»å |
| | | var linterid = params[params[1]];//æºåid |
| | | var HEntryID = params[params[2]];//æºååid |
| | | var HSouceBillType = params[params[3]];//æºåç±»å |
| | | var HSouceBillType = params[params[3]];//æºåç±»å å¨ç±»å 5 å·¥åºid |
| | | var HproID = params[params[4]];//æºåç±»å å¨ç±»å 5 å·¥åºid |
| | | } |
| | | |
| | | //#region è¿å
¥é¡µé¢å³å è½½ |
| | | |
| | | //#region ã卿è·å模ååç§°ã |
| | | var HModuleType = "3772"; |
| | | //éè¿åæ®ç±»åï¼ä»æ°æ®åºå¨æè·ååæ®æ¨¡åå½å,å¼ç¨jsæä»¶ PageTitle.js |
| | | var HPageTitle = get_PageTitle(HModuleType) == "" ? $("h1").html() : get_PageTitle(HModuleType); |
| | | $("h1").html('<b>' + HPageTitle + '</b>'); |
| | | //#endregion |
| | | |
| | | $("#HPlanBeginDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | | $("#HPlanEndDate").val(Pub_Format(new Date(), "yyyy-MM-dd")); |
| | |
| | | DisPlay_HideColumn(); |
| | | |
| | | //夿æä½ç±»å |
| | | if (OperationType == 1) {//æ æºåæ°å¢ |
| | | if (OperationType == 1 ) {//æ æºåæ°å¢ |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | url: GetWEBURL() + "/Web/GetMAXNumPDA", |
| | | type: "GET", |
| | | data: { "HBillType": '3772' }, |
| | | success: function (d) { |
| | |
| | | "HCenterID": 0, "HCenterNumber": "", "HCenterName": "", |
| | | "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "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); |
| | | } |
| | |
| | | layer.alert(result.Message, { icon: 5 }); |
| | | } else { |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | url: GetWEBURL() + "/Web/GetMAXNumPDA", |
| | | type: "GET", |
| | | data: { "HBillType": '3772' }, |
| | | success: function (d) { |
| | |
| | | "HCenterID": 0, "HCenterNumber": "", "HCenterName": "", |
| | | "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "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 if (OperationType == 5) {//5 æ°å¢åæµè½¬å¡ |
| | | $("#HMainSourceInterID").val(linterid); |
| | | $("#HMainSourceEntryID").val(HEntryID); |
| | | $("#btnRoutingBill").addClass("layui-btn-disabled").attr("disabled", true); |
| | | |
| | | set_EditForm(linterid); |
| | | |
| | | var sWhere = "and HMaterID=" + btnHMaterID + " and HOrgID = " + sessionStorage["OrganizationID"] + " and HMainProcID=" + HproID +" and é»è®¤å·¥èº='1'"; |
| | | getRoutingBillList(sWhere); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Web/GetMAXNum", |
| | | type: "GET", |
| | | async: false, |
| | | data: { "HBillType": '3772' }, |
| | | success: function (d) { |
| | | var HBillNo = d.data[0].HBillNo.replace('GXLX', 'ZYK0'); |
| | | $("#HInterID").val(d.data[0].HInterID); |
| | | $("#HBillNo").val(HBillNo); |
| | | $("#HMakeDate").val(Pub_Format(new Date(), "yyyy-MM-dd hh:mm:ss")); |
| | | $("#HMaker").val(sessionStorage["HUserName"]); |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.alert("æªç¥æä½ç±»åï¼", { icon: 5 }); |
| | | } |
| | | |
| | | |
| | | initFunction(1,HModName, sessionStorage["HTranSlate"]); |
| | | //#endregion |
| | | |
| | | |
| | |
| | | //表头 |
| | | columns = [ //表头 |
| | | { type: 'checkbox', totalRowText: 'å计è¡' } |
| | | , { type: 'numbers', title: 'åºå·', totalRow: true } |
| | | , { type: 'numbers', title: 'åºå·'} |
| | | , { field: 'HProcNo', title: 'æµæ°´å·', edit: 'text' } |
| | | , { field: 'HProcID', title: 'å·¥åºID', hide: true } |
| | | , { field: 'HProcNumber', title: 'å·¥åºä»£ç ', edit: 'text', event: "HProcCheck" } |
| | |
| | | , { field: 'HSupNumber', title: 'ä¾åºå代ç ', edit: 'text', event: "HSupCheck" } |
| | | , { field: 'HSupName', title: 'ä¾åºå' } |
| | | , { field: 'HSupFlag', title: 'æ¯å¦å§å¤', templet: '#HSupFlag' } |
| | | , { field: 'HQty', title: 'æµè½¬å¡æ°é', edit: 'text' } |
| | | |
| | | , { 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" } |
| | |
| | | , toolbar: '#toolbarDemo' |
| | | , page: false |
| | | //, cellMinWidth: 120 |
| | | , totalRow: true |
| | | , height: 400 |
| | | , cols: [columns] |
| | | , limit: Number.MAX_VALUE//é»è®¤æ¾ç¤ºå
¨é¨ |
| | |
| | | "HCenterID": 0, "HCenterNumber": "", "HCenterName": "", |
| | | "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "HOutPrice": 0, "HRemark": "", "HRelationQty_In": 0, "HRelationQty_Out": 0, |
| | | "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': |
| | |
| | | table.render(option); |
| | | for (var i = 1; i <= option.data.length; i++) { |
| | | $('#HSupFlag' + i + '').find("option[value='" + option.data[i - 1].HSupFlag + "']").attr("selected", true); |
| | | |
| | | //SNè¿ç«æ§å¶ |
| | | if (option.data[i - 1].HSNCtrl) { |
| | | $('#HSNCtrl' + i + '').attr("checked", true); |
| | | } |
| | | } |
| | | form.render('select'); |
| | | form.render('checkbox'); |
| | | break; |
| | | 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);//å»é¤é¦è¡å符'[' |
| | |
| | | table.render(option);//å°æ°æ®æ¸²æå°è¡¨æ ¼ä¸ |
| | | for (var i = 1; i <= option.data.length; i++) { |
| | | $('#HSupFlag' + i + '').find("option[value='" + option.data[i - 1].HSupFlag + "']").attr("selected", true); |
| | | |
| | | //SNè¿ç«æ§å¶ |
| | | if (option.data[i - 1].HSNCtrl) { |
| | | $('#HSNCtrl' + i + '').attr("checked", true); |
| | | } |
| | | |
| | | } |
| | | form.render('select'); |
| | | form.render('checkbox'); |
| | | } |
| | | 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ä¸ |
| | |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | maxmin: true, |
| | | content: ['../../../views/Baseset/åºç¡èµæ/Gy_ProcList.html', 'yes'], |
| | | content: ['../../../views/åºç¡èµæ/ç产åºç¡èµæ/Gy_Process.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | //æé®ãæé®ä¸ãçåè° |
| | | 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].å·¥åº |
| | | HProcName: checkStatus.data[0].å·¥åºåç§° |
| | | , HProcID: checkStatus.data[0].HItemID |
| | | , HProcNumber: checkStatus.data[0].å·¥åºä»£ç |
| | | , HCenterID: checkStatus.data[0].å·¥ä½ä¸å¿ID |
| | | , HCenterID: checkStatus.data[0].HWorkCenterID |
| | | , HCenterNumber: checkStatus.data[0].å·¥ä½ä¸å¿ä»£ç |
| | | , HCenterName: checkStatus.data[0].å·¥ä½ä¸å¿ |
| | | //, HDeptID: checkStatus.data[0].é¨é¨ID |
| | |
| | | shift: 2, |
| | | area: ['90%', '90%'], |
| | | maxmin: true, |
| | | content: ['../../../views/Baseset/åºç¡èµæ/Gy_WorkCenterList.html', 'yes'], |
| | | content: ['../../../views/åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_WorkCenter.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | //æé®ãæé®ä¸ãçåè° |
| | | 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].å·¥ä½ä¸å¿ |
| | | HCenterName: checkStatus.data[0].å·¥ä½ä¸å¿åç§° |
| | | , HCenterID: checkStatus.data[0].HItemID |
| | | , HCenterNumber: 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 { |
| | | for (var i = 0; i < option.data.length; i++) { |
| | | option.data[i]["HQty"] = e.delegateTarget.value; |
| | | $(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"])); |
| | | } |
| | | } |
| | | table.render(option); |
| | | 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++) { |
| | | $('#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); |
| | | } |
| | | } |
| | | |
| | | form.render('select'); |
| | | form.render('checkbox'); |
| | | |
| | | }); |
| | | }); |
| | | |
| | | |
| | | |
| | | //çå¬åå
æ ¼ç¼è¾ åå
æ ¼ç¼è¾å åæ´ |
| | | table.on('edit(mainTable)', function (obj) { |
| | |
| | | get_btnHAuxUnit(); |
| | | }); |
| | | |
| | | //éæ©è¾
å©åä½2æé® |
| | | form.on('submit(btnHAuxUnit2)', function () { |
| | | get_btnHAuxUnit2(); |
| | | }); |
| | | |
| | | //éæ©è®¢åç级æé® |
| | | form.on('submit(btnOrderID)', function () { |
| | | get_btnOrderID(); |
| | | }); |
| | | |
| | | //éæ©äº§åå¼¹çª |
| | | form.on('submit(btnSearchMater2)', function () {//产å |
| | | layer.open({ |
| | |
| | | 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); |
| | |
| | | } |
| | | }) |
| | | }); |
| | | |
| | | //æå° |
| | | form.on('submit(btn_print)', function () {//产å |
| | | |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/LEMS/MES_Sc_ProcessExchangeBillQuery_Json', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "HBillSubType": HSouceBillType}, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | var hinterid = ""; |
| | |
| | | } |
| | | }, 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 }); |
| | | } |
| | | }); |
| | | |
| | | |
| | | }); |
| | | |
| | | //éæ©åä»¶å¼¹çªPartInformation.html |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/PartInformation.html', 'yes'], |
| | | content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Material.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HMaterModel1").val(checkStatus.data[0].HModel); |
| | | $("#HMaterNumber").val(checkStatus.data[0].HNumber); |
| | | $("#HMaterName").val(checkStatus.data[0].HName); |
| | | $("#HMaterModel1").val(checkStatus.data[0].è§æ ¼åå·); |
| | | $("#HMaterNumber").val(checkStatus.data[0].ç©æä»£ç ); |
| | | $("#HMaterName").val(checkStatus.data[0].ç©æåç§°); |
| | | $("#HMaterID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/EqpInformation.html', 'yes'], |
| | | content: ['../../设å¤ç®¡ç/è®¾å¤æ¡£æ¡/Gy_EquipFileMainList.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HEquipMentName").val(checkStatus.data[0].HName); |
| | | $("#HEquipMentID").val(checkStatus.data[0].HInterID); |
| | | $("#HEquipMentName").val(checkStatus.data[0].设å¤åç§°); |
| | | $("#HEquipMentID").val(checkStatus.data[0].hmainid); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/DeptInformation.html', 'yes'], |
| | | content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_DepartmentList.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HWorkShopName").val(checkStatus.data[0].HName); |
| | | $("#HWorkShopName").val(checkStatus.data[0].é¨é¨åç§°); |
| | | $("#HWorkShopID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/SupplierInformation.html', 'yes'], |
| | | content: ['../../åºç¡èµæ/éè´åºç¡èµæ/Gy_Supplier.html', 'yes'], |
| | | btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) { |
| | | |
| | |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | $("#HSupName").val(checkStatus.data[0].HName); |
| | | $("#HSupName").val(checkStatus.data[0].ä¾åºååç§°); |
| | | $("#HSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | 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].æºååå
ç ) |
| | |
| | | |
| | | //鿩工èºè·¯çº¿ |
| | | form.on('submit(btnRoutingBill)', function () { |
| | | var HProID = 0; |
| | | if (OperationType == 5) { |
| | | HProID = HproID; |
| | | } |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '70%']//å¤§å° |
| | | , title: 'å·¥èºè·¯çº¿å表'//æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_RoutingBillList.html?HMaterID=' + btnHMaterID, 'yes'] |
| | | , content: ['../../计å管ç/å·¥èºè·¯çº¿/Gy_RoutingBillList.html?HMaterID=' + btnHMaterID + '&HProID=' + HProID, 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | getRoutingBill(checkStatus.data[0].åæ®å·); |
| | | |
| | |
| | | }); |
| | | |
| | | function getRoutingBill(HBillNo) { |
| | | var HRoutType = ""; |
| | | if (HSouceBillType == "3772") { |
| | | HRoutType = "3301"; |
| | | } else { |
| | | HRoutType = "SUB"; |
| | | } |
| | | $.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"] }, |
| | | data: { "sWhere": " and åæ®å·='" + HBillNo + "'" + " and å·¥åºä»£ç !='" + 9999 + "'", "user": sessionStorage["HUserName"], "HBillSubType": HRoutType }, |
| | | success: function (result) { |
| | | var data = result.data; |
| | | var Tablerow = []; |
| | | var Tablerow = []; |
| | | |
| | | $("#RoutingBill").val(data[0].åæ®å·) |
| | | $("#HRoutingBillID").val(data[0].hmainid) |
| | | if (result.data.length == 0) { |
| | | return layer.msg(get_MessageError("[3772-2-006]请ç»å®å¯¹åºçå·¥èºè·¯çº¿!", sessionStorage["HTranSlate"])); |
| | | } |
| | | |
| | | 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].表ä½å¤æ³¨, |
| | | "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, "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].æ¬å·¥åºç¡®è®¤è®°å½ |
| | | }); |
| | | $("#RoutingBill").val(data[0].åæ®å·) |
| | | $("#HRoutingBillID").val(data[0].hmainid) |
| | | |
| | | 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].表ä½å¤æ³¨, |
| | | "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", "HRoutingBillMainID": data[i].hmainid, "HRoutingBillEntryID": data[i].hsubid |
| | | }); |
| | | } |
| | | option.data = Tablerow; |
| | | table.render(option); |
| | | for (var i = 0; i < data.length; i++) { |
| | | $('#HSupFlag' + (i + 1)).find("option[value='" + (data[i].å§å¤æ è®° == "0" ? "false" : "true") + "']").attr("selected", true); |
| | | |
| | | if (data[i].SNè¿ç«æ§å¶) { |
| | | $('#HSNCtrl' + (i + 1)).attr("checked", true); |
| | | } |
| | | option.data = Tablerow; |
| | | table.render(option); |
| | | for (var i = 1; i <= data.length; i++) { |
| | | $('#HSupFlag' + i + '').find("option[value='" + (data[i - 1].å§å¤æ è®° == "0" ? "false" : "true") + "']").attr("selected", true); |
| | | } |
| | | form.render('select'); |
| | | } |
| | | form.render('select'); |
| | | 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; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | //å é¤åè¡¨æ°æ®æ¶ ä¼å ç¨æ°ç»çä½ç½®,éè¦éæ°æä¸ä¸é¡ºåº |
| | | var sSubTable = []; |
| | |
| | | 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); |
| | |
| | | if (OperationType == 3) { |
| | | flag = "xg"; |
| | | } |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] + ";" + flag; |
| | | var sMainSub = sMainStr + ';' + sSubStr + ";" + sessionStorage["HUserName"] + ";" + flag + ";" + HSouceBillType; |
| | | var index = layer.load(); |
| | | |
| | | $.ajax({ |
| | |
| | | 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"]) }); |
| | | } |
| | | }); |
| | | }); |
| | |
| | | } |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | //æ¾ç¤ºåæ°æ® |
| | | function DisPlay_HideColumn() { |
| | | $.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, "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) { |
| | |
| | | form.val("component-form-group", { |
| | | "HBillNo": OperationType==4?"": data.åæ®å· |
| | | , "HInterID": OperationType == 4 ? "" : data.hmainid |
| | | , "HMainSourceBillNo": OperationType == 5 ? data.åæ®å· : "" |
| | | , "HMainSourceBillSubType": data.HMainSourceBillSubType |
| | | , "HPRDORGID": data.HPRDORGID |
| | | , "HDate": formatDate(data.æ¥æ) |
| | | , "HOrderProcNO": data.订åè·è¸ªå· |
| | |
| | | , "HMaterModel": data.ææè§æ ¼ |
| | | , "HWidth": data.å¹
宽 |
| | | , "HWeight": data.å
é |
| | | , "HBatchNo": data.æ¹å· |
| | | |
| | | , "HAuxQty": data.è¾
æ°é |
| | | , "HAuxUnit": data.HAuxUnit |
| | | , "HAuxUnitName": data.è¾
å©åä½ |
| | | , "HSplitNo": data.æåå· |
| | | |
| | | , "HAuxQty2": data.è¾
æ°é2 |
| | | , "HAuxUnit2": data.HAuxUnit2 |
| | | , "HAuxUnitName2": data.è¾
å©åä½2 |
| | | , "HMouldNum": data.æ¨¡ç©´å· |
| | | |
| | | |
| | | , "HName": data.订åç级 |
| | | , "HSplitNo": data.æåå· == undefined ? 0 : data.æåå· |
| | | , "HRemark2": data.ç½å¯è¦æ± |
| | | , "HRemark3": data.åºé¨å¤æ³¨ |
| | | , "HEmpID": data.HEmpID |
| | |
| | | , "HCusID": data.HCusID |
| | | , "HCusNames": data.å®¢æ· |
| | | , "HColorRemark": data.æè²è¦æ± |
| | | , "HSplitSumQty": data.æåæ»é |
| | | , "HSplitColorQty": data.åç¼¸å· |
| | | |
| | | , "HSplitSumQty": data.æåæ»é == undefined ? 0 : data.æåå· |
| | | , "HSplitColorQty": data.åç¼¸å· == undefined ? 0 : data.æåå· |
| | | |
| | | , "HProjectNum": data.项ç®ç¼å· |
| | | , "HVerNum": data.çæ¬ |
| | | , "HRemark": data.è¡¨å¤´å¤æ³¨ |
| | |
| | | , "HWorkShopID": data.HWorkShopID |
| | | , "textBox2": data.ä»»å¡åå· |
| | | , "HWorkBillSortNo": data.æ¥è®¡åå·¥åå· |
| | | , "HSupName": data.å§å¤å å·¥åä½ |
| | | , "HSupName": data.å§å¤å å·¥åä½ == undefined ? 0 : data.æåå· |
| | | , "HSupID": data.HSupID |
| | | , "HMaterName": data.åä»¶åç§° |
| | | , "HMaterID": data.HMaterID |
| | |
| | | , "HMaterIDC": data.åææå
ç C |
| | | , "HMaterIDD": data.åææå
ç D |
| | | |
| | | , "HPlanOrderProcNo": data.HPlanOrderProcNo |
| | | |
| | | //ç¾æ¯ä¿¡æ¯ |
| | | , "HHeight": data.æ¯é« |
| | |
| | | , "HSizing": data.å®åæµæ |
| | | , "HSellDate": data.äº¤è´§æ¥æ |
| | | |
| | | , "HWidth_New": data.ç产å¹
宽 |
| | | , "HWeight_New": data.ç产å
é |
| | | , "HRemark_New": data.çäº§è§æ ¼ |
| | | |
| | | , "HMaker": data.å¶å人 |
| | | , "HChecker": data.å®¡æ ¸äºº |
| | |
| | | , "HPickLabel": data.å
è£
æ è¯ |
| | | , "HPickLabelNumber": data.å
è£
æ è¯ç¼ç |
| | | }); |
| | | if (data.HBillSubType == "SUB") { |
| | | $("#btnRoutingBill").addClass("layui-btn-disabled").attr("disabled", true); |
| | | } |
| | | btnHMaterID = data.HMaterID2; |
| | | HLZQty = data.æµè½¬å¡æ°é; |
| | | $("#HBLFlag").val(data.è¡¥ææ è®° ? "true" : "false"); |
| | |
| | | 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) { |
| | | option.data = result.data; |
| | | table.render(option); |
| | | for (var i = 0; i < result.data.length; i++) { |
| | | $('#HSupFlag' + (i + 1)).find("option[value='" + result.data[i].HSupFlag + "']").attr("selected", true); |
| | | 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); |
| | | |
| | | if (option.data[i].HSNCtrl) { |
| | | $('#HSNCtrl' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | form.render('select'); |
| | | 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 }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: "计éåä½å表" //æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../Baseset/åºç¡èµæ/Gy_UnitList.html', 'yes'] |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Unit.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HAuxUnit").val(checkStatus.data[0].HItemID); |
| | | $("#HAuxUnitName").val(checkStatus.data[0].HName); |
| | | $("#HAuxUnitName").val(checkStatus.data[0].计éåä½åç§°); |
| | | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { } |
| | | }) |
| | | } |
| | | //è¾
å©åä½2 |
| | | function get_btnHAuxUnit2() { |
| | | layer.open({ |
| | | type: 2//å¼¹çªç±»å |
| | | , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ |
| | | , area: ['90%', '90%']//å¤§å° |
| | | , title: "计éåä½å表" //æ é¢ |
| | | , shift: 2//å¼¹åºå¨ç» |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_Unit.html', 'yes'] |
| | | , btn: ['ç¡®å®', 'åæ¶'] |
| | | , btn1: function (index, layero) {//æé®ãæé®ä¸ãçåè° |
| | | var iframeWindow = window['layui-layer-iframe' + index] //è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus('mainTable');//è·åtableçelem:"#test" |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | //è·åæ°æ® |
| | | $("#HAuxUnit2").val(checkStatus.data[0].HItemID); |
| | | $("#HAuxUnitName2").val(checkStatus.data[0].计éåä½åç§°); |
| | | |
| | | layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | |
| | | }) |
| | | } |
| | | |
| | | //订åç级 |
| | | function get_btnOrderID() { |
| | | layer.open({ |
| | | type: 2 |
| | | , skin: "layui-layer-rim" //å ä¸è¾¹æ¡ |
| | | , title: "订åç级å表" //æ é¢ |
| | | , closeBtn: 1 //çªä½å³ä¸è§å
³é ç æ ·å¼ |
| | | , shift: 2 //å¼¹åºå¨ç» |
| | | , area: ["90%", "90%"] //çªä½å¤§å° |
| | | , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º |
| | | , content: ['../../åºç¡èµæ/å
¬ç¨åºç¡èµæ/Gy_OrderLev.html', 'yes'] |
| | | , btn: ["ç¡®å®", "åæ¶"] |
| | | , btn1: function (index, laero) { |
| | | //æé®ä¸ çåè° |
| | | var iframeWindow = window["layui-layer-iframe" + index];//è·åå¼¹æ¡é¡µé¢ |
| | | var checkStatus = iframeWindow.layui.table.checkStatus("mainTable");//è·åéä¸çæ°æ® |
| | | |
| | | if (checkStatus.data.length != 1) { |
| | | return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©æ°æ®', sessionStorage["HTranSlate"])); |
| | | } |
| | | //æ´æ°è¡¨æ ¼ç¼åçæ°æ® |
| | | $("#HName").val(checkStatus.data[0].订åç级); |
| | | $("#HOrderLevID ").val(checkStatus.data[0].HItemID); |
| | | //obj.update({ |
| | | // "订åç级åç§°": checkStatus.data[0].订åç级 |
| | | // //, "订åç级代ç ": checkStatus.data[0].订åç级代ç |
| | | // , "HOrderLevID": checkStatus.data[0].HItemID |
| | | //}) |
| | | layer.close(index);//å
³éå¼¹çª |
| | | } |
| | | }) |
| | | } |
| | | //#region æ¥è¯¢ (å¨å
·æ¸
å) |
| | | function get_DisplayHMainID(linterid) { |
| | | var ajaxLoad = layer.load(); |
| | | $.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 }); |
| | | } |
| | | }); |
| | | } |
| | |
| | | $("#HICMOInterID").val(data.hmainid); |
| | | $("#HICMOBillNo").val(data.ç产订åå·); |
| | | $("#textBox2").val(data.ç产订åå·); |
| | | $("#HMainSourceBillSubType").val(data.HMainSourceBillSubType); |
| | | $("#HICMOEntryID").val(data.HEntryID); |
| | | $("#HOrderProcNO").val(data.订åè·è¸ªå·); |
| | | $("#HMaterID").val(data.hmaterid); |
| | |
| | | $("#HMaterNumber2").val(data.ç©æä»£ç ); |
| | | $("#HMaterModel").val(data.è§æ ¼åå·); |
| | | $("#HMaterModel2").val(data.è§æ ¼åå·); |
| | | $("#HBatchNo").val(data.æ¹å·); |
| | | $("#HBatchNo").val(); |
| | | $("#HUnitID").val(data.hunitid); |
| | | $("#HUnitName").val(data.计éåä½åç§°); |
| | | $("#HUnitNumber").val(data.计éåä½ä»£ç ); |
| | |
| | | $("#HCusNames").val(data.客æ·); |
| | | $("#HColorRemark").val(data.æè²è¦æ±); |
| | | $("#HRemark3").val(data.åºé¨å¤æ³¨); |
| | | |
| | | $("#HWidth_New").val(data.ç产å¹
宽); |
| | | $("#HWeight_New").val(data.ç产å
é); |
| | | $("#HRemark_New").val(data.çäº§è§æ ¼); |
| | | |
| | | |
| | | $("#HHeight").val(data.æ¯é«); |
| | | $("#HInches").val(data.寸æ°ç»ç»); |
| | | $("#HAl1Long").val(data.å
¨æ¯é¿); |
| | | $("#HDensity").val(data.åå¸å¯åº¦); |
| | | $("#HTela").val(data.æ¯çº±åç§°åè§æ ¼); |
| | | $("#HUnderTela").val(data.åºä¸); |
| | | $("#HSizing").val(data.å®åæµæ); |
| | | |
| | | |
| | | $("#HPlanOrderProcNo").val(data.HPlanOrderProcNo); |
| | | |
| | | $("#HBLFlag").val(result.data[0].HBLFlag == 0 ? false : true); |
| | | $("input[name='isHBLFlag']").prop("checked", result.data[0].HBLFlag);//true:éä¸ false:ä¸éä¸ |
| | | form.render("checkbox"); |
| | | btnHMaterID = data.hmaterid; |
| | | |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "LEMS/Gy_RoutingBillList", |
| | | async: true, |
| | | data: { "sWhere": "and HMaterID=" + btnHMaterID + " and HOrgID = " + sessionStorage["OrganizationID"], "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.data.length != 0) { |
| | | var hbillno = result.data[0].åæ®å· |
| | | HLZQty = data.æµè½¬å¡æ°é; |
| | | getRoutingBill(hbillno); |
| | | } else { |
| | | option.data = [{ |
| | | "HProcNo": "", "HProcID": 0, "HProcNumber": "", "HProcName": "", "HWorkRemark": "", |
| | | "HCenterID": 0, "HCenterNumber": "", "HCenterName": "", |
| | | "HDeptID": 0, "HDeptNumber": "", "HDeptName": "", |
| | | "HSupID": 0, "HSupNumber": "", "HSupName": "", "HSupFlag": "false", |
| | | "HQty": 0, "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); |
| | | } |
| | | }, |
| | | error: function (result) { |
| | | layer.close(index); |
| | | console.log(result); |
| | | //layer.msg('è·åéè´è®¢ååºç°å¼å¸¸', { icon: 2, time: 2000 }); |
| | | } |
| | | }) |
| | | HLZQty = data.æµè½¬å¡æ°é; |
| | | |
| | | var sWhere = "and HMaterID=" + btnHMaterID + " and HOrgID = " + sessionStorage["OrganizationID"] +" and é»è®¤å·¥èº='1' and HMainProcID=0 "; |
| | | |
| | | getRoutingBillList(sWhere); |
| | | |
| | | } |
| | | 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"]) }); |
| | | } |
| | | } |
| | | }) |
| | | //txtHBillNo.Text = sBillNo; |
| | | //GetICMOBillDetail(hmainid, HEntryID); |
| | | |
| | | } |
| | | |
| | | //é»è®¤å·¥èºè·¯çº¿ æ¥è¯¢åæ®å· |
| | | function getRoutingBillList(sWhere) { |
| | | $.ajax({ |
| | | type: "get", |
| | | url: GetWEBURL() + "/LEMS/Gy_RoutingBillList", |
| | | async: false, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | if (result.data.length != 0) { |
| | | var hbillno = result.data[0].åæ®å· |
| | | |
| | | getRoutingBill(hbillno); |
| | | } else { |
| | | layer.msg("没æé»è®¤å·¥èºè·¯çº¿!"); |
| | | 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 |
| | | }]; |
| | | table.render(option); |
| | | } |
| | | }, |
| | | error: function (result) { |
| | | //layer.close(index); |
| | | console.log(result); |
| | | //layer.msg('è·åéè´è®¢ååºç°å¼å¸¸', { icon: 2, time: 2000 }); |
| | | } |
| | | }) |
| | | } |
| | | |
| | | function GetICMOBillDetail(hmainid, HEntryID) { |
| | |
| | | if (result.count == 1) { |
| | | option.data = result.data; |
| | | table.render(option); |
| | | for (var i = 1; i <= option.data.length; i++) { |
| | | $('#HSupFlag' + i + '').find("option[value='" + option.data[i - 1].HSupFlag + "']").attr("selected", true); |
| | | for (var i = 0; i < data.length; i++) { |
| | | $('#HSupFlag' + (i + 1)).find("option[value='" + (data[i].å§å¤æ è®° == "0" ? "false" : "true") + "']").attr("selected", true); |
| | | |
| | | if (data[i].SNè¿ç«æ§å¶) { |
| | | $('#HSNCtrl' + (i + 1)).attr("checked", true); |
| | | } |
| | | } |
| | | form.render('select'); |
| | | 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"]) }); |
| | | } |
| | | } |
| | | }) |
| | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //SNè¿ç«æ§å¶ |
| | | form.on('checkbox(HSNCtrl)', function (data) { |
| | | //è·å䏿æ¡éä¸çå¼ |
| | | var elem = data.othis.parents('tr'); |
| | | var dataindex = elem.attr("data-index"); |
| | | $.each(option.data, function (index, value) { |
| | | if (value.LAY_TABLE_INDEX == dataindex) { |
| | | value.HSNCtrl = data.elem.checked;//æéä¸ä¸ææ¡idå¼èµå¼ç»è¡¨æ ¼ç¼å |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | 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模å |
| | | }); |
| | | |