| .gitignore | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/WebTM.csproj | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/仓存管理/条码生成/Gy_BarCodeBill.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/基础资料/公用基础资料/Add_Edit_Gy_Material.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/计划管理/工艺路线/Gy_RoutingBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/质量管理/产品入库检验单/QC_LastPieceCheckBill_v2.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/质量管理/出厂检验单/QC_OutCompCheckBill.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/质量管理/来料检验单/QC_Add_Edit_POStockInCheckBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/车间管理/工序流转卡/Sc_ProcessExchangeArrangementHEmp.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/车间管理/工序流转卡/Sc_ProcessSendWorkEdit.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/领料发货/领料出库/Kf_MateOutBillEdit_YangMao.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| WebTM/views/领料发货/领料出库/Kf_MateOutBillList.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
.gitignore
@@ -7,4 +7,4 @@ /.vs /WebTM.csproj.user /WebTM/Properties/PublishProfiles /.vscode WebTM/WebTM.csproj
@@ -919,6 +919,7 @@ <Content Include="views\车é´ç®¡ç\å·¥åºåºç«æ±æ¥å\Cj_StationOutBillSync.html" /> <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬\MES_CenterCheckBill.html" /> <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬\MES_CenterCheckBillList.html" /> <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬å¡\Sc_ProcessExchangeArrangementHEmp.html" /> <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬å¡\Sc_ProcessExchangeBillLIst_QueryCheckRecord.html" /> <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬å¡\Sc_ProcessExchangeBill_Exchange.html" /> <Content Include="views\车é´ç®¡ç\å·¥åºæµè½¬å¡\Sc_ProcessExchangeBillList_Source.html" /> WebTM/views/²Ö´æ¹ÜÀí/ÌõÂëÉú³É/Gy_BarCodeBill.html
@@ -198,7 +198,7 @@ } else { debugger; var OperationType = params[params[0]];//æä½ç±»å var linterid = params[params[1]];//æºåid var linterid = params[params[1]];//æºåid(页é¢ç´æ¥è°æ´æå°æ éç»å½åè½ï¼1.ä½ä¸ºåæ®å·2.(1,2,3)@(1,2,3)ä¼ å ¥è¿ç§æ ¼å¼ç主idååidï¼) var HSouceBillType = params[params[2]];//æºåç±»å var closeType = params[params[3]]; //å ³éç±»å var loginCard = params[params[4]]; //èªå¨ç»å½icå¡å· @@ -278,7 +278,7 @@ if (login_result) { $("#HSourceBillType").val(HSouceBillType); form.render('select'); $("#HSourceBillNo").val(linterid); //$("#HSourceBillNo").val(linterid); } } @@ -319,7 +319,7 @@ initFunction(1, "Gy_BarCodeBill", sessionStorage["HTranSlate"]); form.render('select'); //ç»å½åé䏿ºåå¨ä½ //èªå¨ç»å½åé䏿ºåå¨ä½ if (loginCard != undefined && login_result == true) { let HSourceBillType = getSupType(); getBarCodeByHBillNo(linterid, HSourceBillType) @@ -2033,7 +2033,15 @@ //æ ¹æ®åæ®å·è·åæ¡ç ä¿¡æ¯ function getBarCodeByHBillNo(HBillNo,HSouceBillType) { var ajaxLoad = layer.load(); let sWhere1 = " and åæ®å· = '" + HBillNo +"'" HBillNo = decodeURIComponent(HBillNo); let sWhere1 = ""; if (HBillNo.includes('@')) { str = HBillNo.split('@', 2); sWhere1 = " and HMainID in " + str[0] + " and HSubID in " + str[1]; } else { sWhere1 = " and åæ®å· = '" + HBillNo + "'" } //è¿å ¥é¡µé¢æ¾ç¤ºçç¼åå表 $.ajax({ url: GetWEBURL() + '/Sc_BarCode/ReportFromBillList', @@ -2049,7 +2057,8 @@ var checkStatus = data1;//è·åtableçelem:"#test" if (checkStatus.data === null) { layer.close(ajaxLoad); return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©åæ®æ°æ®', sessionStorage["HTranSlate"])); /*return layer.msg(get_MessageError('[0000-1-020]è¯·éæ©åæ®æ°æ®', sessionStorage["HTranSlate"]));*/ return layer.msg("没æå¯¹åºå¯çæåæ®"); } var list = []; var BillSelect = []; WebTM/views/»ù´¡×ÊÁÏ/¹«Óûù´¡×ÊÁÏ/Add_Edit_Gy_Material.html
@@ -7,7 +7,7 @@ <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"> <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> @@ -44,15 +44,15 @@ <div class="layui-card-header"> <div class="layui-btn-group"> <button type="button" id="copy-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Copy"> lay-submit="" lay-filter="Copy"> å¤å¶ </button> <button type="button" id="add-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver"> lay-submit="" lay-filter="Saver"> ä¿å </button> <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit"> lay-filter="Exit"> éåº </button> <!--<button type="button" id="print-btn" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Saver">é¢è§</button>--> @@ -78,7 +78,7 @@ <label class="layui-form-label">ç©æä»£ç *</label> <div class="layui-input-inline"> <input class="layui-input" name="HNumber" lay-verify="HNumber" id="HNumber" autocomplete="off"> id="HNumber" autocomplete="off"> <input id="HItemID" name="HItemID" type="hidden" /> </div> </div> @@ -86,14 +86,14 @@ <label class="layui-form-label">ç©æåç§°*</label> <div class="layui-input-inline"> <input class="layui-input" name="HName" id="HName" autocomplete="off"> autocomplete="off"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">è§æ ¼åå·*</label> <div class="layui-input-inline"> <input class="layui-input" name="HModel" id="HModel" autocomplete="off"> autocomplete="off"> </div> </div> @@ -101,14 +101,14 @@ <label class="layui-form-label">å©è®°ç ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HHelpCode" id="HHelpCode" autocomplete="off"> autocomplete="off"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">åæºä»£ç ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HCircularKnittingMachineCode" id="HCircularKnittingMachineCode" autocomplete="off"> <input class="layui-input" name="HCircularKnittingMachineCode" id="HCircularKnittingMachineCode" autocomplete="off"> </div> </div> </div> @@ -118,16 +118,16 @@ <label class="layui-form-label">主计éåä½*</label> <div class="layui-input-inline"> <input type="text" readonly name="HUnitName" id="HUnitName" class="layui-input" value="" style="float: left; width: 100px;"> class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HUnitID" id="HUnitID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HUnitList" id="HUnitList" style="width:40px;"> lay-filter="HUnitList" id="HUnitList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -146,22 +146,22 @@ <label class="layui-form-label">å é</label> <div class="layui-input-inline" style=""> <input class="layui-input" name="HWeight" lay-verify="HWeight" id="HWeight" placeholder="请è¾å ¥æ°å" autocomplete="off" value="0"> id="HWeight" placeholder="请è¾å ¥æ°å" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">é»è®¤ä»åº</label> <div class="layui-input-inline"> <input type="text" readonly name="HWhName" id="HWhName" class="layui-input" value="" style="float: left; width: 100px;"> class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HWhID" id="HWhID" class="layui-input" value="0" style="float:left;width:150px;"> value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HWhList" id="HWhList" style="width:40px;"> lay-filter="HWhList" id="HWhList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -169,7 +169,7 @@ <label class="layui-form-label">æè²è¦æ±</label> <div class="layui-input-inline" style=""> <input class="layui-input" name="HColorRemark" lay-verify="HColorRemark" id="HColorRemark" value=""> lay-verify="HColorRemark" id="HColorRemark" value=""> </div> </div> </div> @@ -178,31 +178,31 @@ <label class="layui-form-label"> é¢è²ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HColor" lay-verify="HColor" id="HColor" autocomplete="off"> id="HColor" autocomplete="off"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">å¹ å®½</label> <div class="layui-input-inline" style=""> <input class="layui-input" name="HWidth" lay-verify="HWidth" id="HWidth" placeholder="请è¾å ¥æ°å" autocomplete="off" value="0"> id="HWidth" placeholder="请è¾å ¥æ°å" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> ç©æåç±»ï¼</label> <div class="layui-input-inline"> <input type="text" readonly name="HMaterClsName" id="HMaterClsName" class="layui-input" value="" style="float: left; width: 100px;"> id="HMaterClsName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HMaterTypeID" id="HMaterTypeID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="btnHMaterTypeID" id="btnHMaterTypeID" style="width:40px;"> lay-filter="btnHMaterTypeID" id="btnHMaterTypeID" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -213,7 +213,7 @@ <div class="layui-form"> <div class="layui-form-item"> <select name="HMaterClsID" id="HMaterClsID" lay-verify="HMaterClsID"> lay-verify="HMaterClsID"> <option value="1" selected>å¤è´</option> <option value="2">èªå¶</option> <option value="3">å§å¤</option> @@ -228,15 +228,15 @@ <label class="layui-form-label">é¦ä»¶æ£éªæ¹æ¡</label> <div class="layui-input-inline"> <input type="text" name="HQCSchemeName_Fst" id="HQCSchemeName_Fst" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> id="HQCSchemeName_Fst" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> <input type="hidden" name="HQCSchemeID_Fst" id="HQCSchemeID_Fst" value="0"> value="0"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_Fst-BT" style="width:40px;"> lay-filter="HQCSchemeID_Fst-BT" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -244,15 +244,15 @@ <label class="layui-form-label">è½¬åºæ£éªæ¹æ¡</label> <div class="layui-input-inline"> <input type="text" name="HQCSchemeName_Proc" id="HQCSchemeName_Proc" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> id="HQCSchemeName_Proc" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> <input type="hidden" name="HQCSchemeID_Proc" id="HQCSchemeID_Proc" value="0"> id="HQCSchemeID_Proc" value="0"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_Proc-BT" style="width:40px;"> lay-filter="HQCSchemeID_Proc-BT" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -260,25 +260,77 @@ <label class="layui-form-label">å·¡æ£æ£éªæ¹æ¡</label> <div class="layui-input-inline"> <input type="text" name="HQCSchemeName_Patrol" id="HQCSchemeName_Patrol" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> id="HQCSchemeName_Patrol" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> <input type="hidden" name="HQCSchemeID_Patrol" id="HQCSchemeID_Patrol" value="0"> id="HQCSchemeID_Patrol" value="0"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_Patrol-BT" style="width:40px;"> lay-filter="HQCSchemeID_Patrol-BT" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> </div> <div class="layui-row"> <div class="layui-inline"> <label class="layui-form-label">æ¶æå ¥åºæ£éªæ¹æ¡</label> <div class="layui-input-inline"> <input type="text" name="HQCSchemeName_POStockIn" id="HQCSchemeName_POStockIn" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> <input type="hidden" name="HQCSchemeID_POStockIn" id="HQCSchemeID_POStockIn" value="0"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_POStockIn-BT" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> </button> </div> </div> <div class="layui-inline"> <label class="layui-form-label">çäº§å ¥åºæ£éªæ¹æ¡</label> <div class="layui-input-inline"> <input type="text" name="HQCSchemeName_LastPiece" id="HQCSchemeName_LastPiece" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> <input type="hidden" name="HQCSchemeID_LastPiece" id="HQCSchemeID_LastPiece" value="0"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_LastPiece-BT" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> </button> </div> </div> <div class="layui-inline"> <label class="layui-form-label">åºåæ£éªæ¹æ¡</label> <div class="layui-input-inline"> <input type="text" name="HQCSchemeName_OutComp" id="HQCSchemeName_OutComp" class="layui-input" value="" style="float: left; width: 100px; background-color: #efefef4d;" readonly> <input type="hidden" name="HQCSchemeID_OutComp" id="HQCSchemeID_OutComp" value="0"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HQCSchemeID_OutComp-BT" 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-inline"> <label class="layui-form-label"> ç©æå ¬å¼ï¼</label> <div class="layui-input-inline"> <div class="layui-form"> <div class="layui-form-item"> <select name="HMaterRuleType" id="HMaterRuleType" lay-verify="HMaterRuleType"> lay-verify="HMaterRuleType"> <option value="å ¶ä»" selected>å ¶ä»</option> <option value="ææ">ææ</option> <option value="å©å">å©å</option> @@ -288,13 +340,16 @@ </div> </div> </div> <div class="layui-inline" style="display: inline-flex; flex-direction: row;"> <label class="layui-form-label" style="width: 9em;"> ç©æå ¬å¼(ç¾æ¯): </label> <div class="layui-inline" style="display: inline-flex; flex-direction: row;"> <label class="layui-form-label" style="width: 9em;"> ç©æå ¬å¼(ç¾æ¯): </label> <div class="layui-input-inline"> <div class="layui-form"> <div class="layui-form-item"> <select name="HMaterRuleExternType" id="HMaterRuleExternType" lay-verify="HMaterRuleExternType"> <select name="HMaterRuleExternType" id="HMaterRuleExternType" lay-verify="HMaterRuleExternType"> <option value="å ¶ä»" selected>å ¶ä»</option> <option value="ææ">ææ</option> <option value="å©å">å©å</option> @@ -304,13 +359,16 @@ </div> </div> </div> <div class="layui-inline" style="display: inline-flex; flex-direction: row;"> <label class="layui-form-label" style="width: 9em;"> ç©æå ¬å¼(æ¯å°): </label> <div class="layui-inline" style="display: inline-flex; flex-direction: row;"> <label class="layui-form-label" style="width: 9em;"> ç©æå ¬å¼(æ¯å°): </label> <div class="layui-input-inline"> <div class="layui-form"> <div class="layui-form-item"> <select name="HMaterRuleExternType1" id="HMaterRuleExternType1" lay-verify="HMaterRuleExternType1"> <select name="HMaterRuleExternType1" id="HMaterRuleExternType1" lay-verify="HMaterRuleExternType1"> <option value="å ¶ä»" selected>å ¶ä»</option> <option value="ææ">ææ</option> <option value="å©å">å©å</option> @@ -328,34 +386,34 @@ <label class="layui-form-label"> é¢è²è²å·ï¼</label> <div class="layui-input-inline" style="width: 151px;"> <input type="text" value="" placeholder="è¯·éæ©é¢è²" class="layui-input" id="HColorNo" name="HColorNo" style="width: 101px; float: left;background-color: #efefef4d;" readonly> class="layui-input" id="HColorNo" name="HColorNo" style="width: 101px; float: left;background-color: #efefef4d;" readonly> <div id="HColorNoName" name="HColorNoName" style="width: 50px; "></div> style="width: 50px; "></div> </div> </div> <div class="layui-inline"> <label class="layui-form-label">䏿¬¡åæ ¼<br />çæ åå¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HOnceRightRate" id="HOnceRightRate" autocomplete="off" onfocus="this.select();" value="0" style="margin-top:10px;"> id="HOnceRightRate" autocomplete="off" onfocus="this.select();" value="0" style="margin-top:10px;"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> ç½å¯è¦æ±ï¼</label> <div class="layui-input-inline "> <textarea placeholder="请è¾å ¥ç»´å¤æ³¨" class="layui-textarea" name="HRemark" id="HRemark"></textarea> name="HRemark" id="HRemark"></textarea> </div> </div> <div class="layui-inline"> <label class="layui-form-label">ç¦ç¨æ å¿ï¼</label> <div class="layui-input-inline"> <input type="checkbox" name="HStopflag" id="HStopflag" lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦ç¦ç¨" disabled> lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦ç¦ç¨" disabled> <input type="hidden" name="UnitType" id="UnitType"> </div> </div> @@ -372,21 +430,21 @@ <label class="layui-form-label" style="width: 85px;">æ¯é«</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HHeight_M" id="HHeight_M"> id="HHeight_M"> </div> </div> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">寸æ°ç»ç»</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HInches_M" id="HInches_M"> id="HInches_M"> </div> </div> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">å ¨æ¯é¿</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HAl1Long_M" id="HAl1Long_M"> id="HAl1Long_M"> </div> </div> </div> @@ -395,21 +453,21 @@ <label class="layui-form-label" style="width: 85px;">å¯å¸å¯åº¦</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HDensity_M" id="HDensity_M"> id="HDensity_M"> </div> </div> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">æ¯çº±åç§°åè§æ ¼</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HTela_M" id="HTela_M"> id="HTela_M"> </div> </div> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">åºä¸</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HUnderTela_M" id="HUnderTela_M"> id="HUnderTela_M"> </div> </div> </div> @@ -418,7 +476,7 @@ <label class="layui-form-label" style="width: 85px;">å®åæµæ</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HSizing_M" id="HSizing_M"> id="HSizing_M"> </div> </div> </div> @@ -432,38 +490,38 @@ <label class="layui-form-label"> é»è®¤ä»ä½ç»ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSPGroupID" lay-verify="HSPGroupID" id="HSPGroupID" autocomplete="off" value="0"> lay-verify="HSPGroupID" id="HSPGroupID" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> é»è®¤ä»ä½ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSPID" lay-verify="HSPID" id="HSPID" autocomplete="off" value="0"> id="HSPID" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> é»è®¤bomï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HBomID" lay-verify="HBomID" id="HBomID" autocomplete="off" value="0"> id="HBomID" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> æ¢ç®çï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSecUnitRate" lay-verify="HSecUnitRate" id="HSecUnitRate" autocomplete="off" value="0"> lay-verify="HSecUnitRate" id="HSecUnitRate" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> é»è®¤æå°æ¨¡æ¿ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HBarCodePrintName" lay-verify="HBarCodePrintName" id="HBarCodePrintName" autocomplete="off" value=""> lay-verify="HBarCodePrintName" id="HBarCodePrintName" autocomplete="off" value=""> </div> </div> </div> @@ -472,8 +530,8 @@ <label class="layui-form-label"> æé«åºåï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HHighStock" lay-verify="HHighStock" id="HHighStock" autocomplete="off" value="0"> lay-verify="HHighStock" id="HHighStock" autocomplete="off" value="0"> </div> </div> @@ -481,24 +539,24 @@ <label class="layui-form-label"> æä½åºåï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HLowStock" lay-verify="HLowStock" id="HLowStock" autocomplete="off" value="0"> lay-verify="HLowStock" id="HLowStock" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> å®å ¨åºåï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSafeStock" lay-verify="HSafeStock" id="HSafeStock" autocomplete="off" value="0"> lay-verify="HSafeStock" id="HSafeStock" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> éè´åä»·ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HOrderPrice" lay-verify="HOrderPrice" id="HOrderPrice" autocomplete="off" value="0"> lay-verify="HOrderPrice" id="HOrderPrice" autocomplete="off" value="0"> </div> </div> </div> @@ -507,8 +565,8 @@ <label class="layui-form-label"> éå®åä»·ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSalePrice" lay-verify="HSalePrice" id="HSalePrice" autocomplete="off" value="0"> lay-verify="HSalePrice" id="HSalePrice" autocomplete="off" value="0"> </div> </div> @@ -516,31 +574,31 @@ <label class="layui-form-label"> 计ååä»·ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HPlanPrice" lay-verify="HPlanPrice" id="HPlanPrice" autocomplete="off" value="0"> lay-verify="HPlanPrice" id="HPlanPrice" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> æ åææ¬ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HstdPrice" lay-verify="HstdPrice" id="HstdPrice" autocomplete="off" value="0"> lay-verify="HstdPrice" id="HstdPrice" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> æå¤§è®¢è´§éï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HQtyMax" lay-verify="HQtyMax" id="HQtyMax" autocomplete="off" value="0"> id="HQtyMax" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> åä»¶æå¤§ä¸éï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HPieceMaxQty" lay-verify="HPieceMaxQty" id="HPieceMaxQty" autocomplete="off" value="0"> lay-verify="HPieceMaxQty" id="HPieceMaxQty" autocomplete="off" value="0"> </div> </div> </div> @@ -549,38 +607,38 @@ <label class="layui-form-label"> çæ¬å·ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HVersion" lay-verify="HVersion" id="HVersion" autocomplete="off"> id="HVersion" autocomplete="off"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> è¾ å©å±æ§ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HPropertyTypeID" lay-verify="HPropertyTypeID" id="HPropertyTypeID" autocomplete="off" value="0"> lay-verify="HPropertyTypeID" id="HPropertyTypeID" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> æ°é精度ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HQtyDec" lay-verify="HQtyDec" id="HQtyDec" autocomplete="off" value="0"> id="HQtyDec" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> å价精度ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HPriceDec" lay-verify="HPriceDec" id="HPriceDec" autocomplete="off" value="0"> lay-verify="HPriceDec" id="HPriceDec" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> éé¢ç²¾åº¦ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HMoneyDec" lay-verify="HMoneyDec" id="HMoneyDec" autocomplete="off" value="0"> lay-verify="HMoneyDec" id="HMoneyDec" autocomplete="off" value="0"> </div> </div> </div> @@ -593,16 +651,16 @@ <label class="layui-form-label">计éåä½ç»</label> <div class="layui-input-inline"> <input type="text" readonly name="HUnitGroupName" id="HUnitGroupName" class="layui-input" value="" style="float: left; width: 100px;"> id="HUnitGroupName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HUnitGroupID" id="HUnitGroupID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HUnitGroupList" id="HUnitGroupList" style="width:40px;"> lay-filter="HUnitGroupList" id="HUnitGroupList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -613,7 +671,7 @@ <label class="layui-form-label"> éå 屿§1ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSubjoin" lay-verify="HSubjoin" id="HSubjoin" autocomplete="off"> id="HSubjoin" autocomplete="off"> </div> </div> @@ -621,23 +679,23 @@ <label class="layui-form-label">æ¥ææ£éªï¼</label> <div class="layui-input-inline"> <input type="checkbox" name="HCHECKINCOMING" id="HCHECKINCOMING" lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦æ¥ææ£éª"> lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦æ¥ææ£éª"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">äº§åæ£éªï¼</label> <div class="layui-input-inline"> <input type="checkbox" name="HCHECKPRODUCT" id="HCHECKPRODUCT" lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦äº§åæ£éª"> lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦äº§åæ£éª"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> éå 屿§2ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HSubjoin2" lay-verify="HSubjoin2" id="HSubjoin2" autocomplete="off"> id="HSubjoin2" autocomplete="off"> </div> </div> @@ -645,21 +703,21 @@ <label class="layui-form-label"> è±æåç§°ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HEngName" lay-verify="HEngName" id="HEngName" autocomplete="off"> id="HEngName" autocomplete="off"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> é»è®¤å·¥èºè·¯çº¿ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HRoutingID" lay-verify="HRoutingID" id="HRoutingID" autocomplete="off" value="0"> id="HRoutingID" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> è±æè§æ ¼ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HEngModel" lay-verify="HEngModel" id="HEngModel" autocomplete="off"> id="HEngModel" autocomplete="off"> </div> </div> @@ -667,15 +725,15 @@ <label class="layui-form-label">项ç®</label> <div class="layui-input-inline"> <input type="text" readonly name="HProjectName" id="HProjectName" class="layui-input" value="" style="float: left; width: 100px;"> class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HProjectBillMainID" id="HProjectBillMainID" class="layui-input" value="0" style="float:left;width:150px;"> id="HProjectBillMainID" class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HProjectGroupList" id="HProjectGroupList" style="width:40px;"> lay-filter="HProjectGroupList" id="HProjectGroupList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -684,7 +742,7 @@ <div class="layui-input-inline"> <div class="layui-form-item"> <select name="HDivisionID" id="HDivisionID" lay-verify="HDivisionID"> lay-verify="HDivisionID"> <option value="0" selected>è¯·éæ©</option> <option value="3" selected>注å¡äºä¸é¨</option> <option value="4">软ç£äºä¸é¨</option> @@ -703,16 +761,16 @@ <label class="layui-form-label">è¾ å©è®¡éåä½</label> <div class="layui-input-inline"> <input type="text" readonly name="HSecUnitName" id="HSecUnitName" class="layui-input" value="" style="float: left; width: 100px;"> id="HSecUnitName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HSecUnitID" id="HSecUnitID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HSecUnitList" id="HSecUnitList" style="width:40px;"> lay-filter="HSecUnitList" id="HSecUnitList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -721,8 +779,8 @@ <label class="layui-form-label"> ä¿è´¨æï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HKeepDays" lay-verify="HKeepDays" id="HKeepDays" autocomplete="off" value="0"> lay-verify="HKeepDays" id="HKeepDays" autocomplete="off" value="0"> </div> </div> @@ -730,24 +788,24 @@ <label class="layui-form-label"> æå°å è£ éï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HMinPickQty" lay-verify="HMinPickQty" id="HMinPickQty" autocomplete="off" value="0"> lay-verify="HMinPickQty" id="HMinPickQty" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> æµè½¬å¡æ°éï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HLotcardQty" lay-verify="HLotcardQty" id="HLotcardQty" autocomplete="off" value="0"> lay-verify="HLotcardQty" id="HLotcardQty" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> 工使°éï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HCubicleQty" lay-verify="HCubicleQty" id="HCubicleQty" autocomplete="off" value="0"> lay-verify="HCubicleQty" id="HCubicleQty" autocomplete="off" value="0"> </div> </div> </div> @@ -761,16 +819,16 @@ <label class="layui-form-label">éå®è®¡éåä½</label> <div class="layui-input-inline"> <input type="text" readonly name="HSALEUNITName" id="HSALEUNITName" class="layui-input" value="" style="float: left; width: 100px;"> id="HSALEUNITName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HSALEUNITID" id="HSALEUNITID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HSALEUNITList" id="HSALEUNITList" style="width:40px;"> lay-filter="HSALEUNITList" id="HSALEUNITList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -780,16 +838,16 @@ <label class="layui-form-label">éå®è®¡ä»·<br />计éåä½</label> <div class="layui-input-inline" style="margin-top:10px"> <input type="text" readonly name="HSALEPRICEUNITName" id="HSALEPRICEUNITName" class="layui-input" value="" style="float: left; width: 100px;"> id="HSALEPRICEUNITName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HSALEPRICEUNITID" id="HSALEPRICEUNITID" class="layui-input" value="0" style="float:left;width:150px;"> id="HSALEPRICEUNITID" class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HSALEPRICEUNITList" id="HSALEPRICEUNITList" style="width:40px;"> lay-filter="HSALEPRICEUNITList" id="HSALEPRICEUNITList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -799,16 +857,16 @@ <label class="layui-form-label">åºæ¬è®¡éåä½</label> <div class="layui-input-inline"> <input type="text" readonly name="HBASEUNITName" id="HBASEUNITName" class="layui-input" value="" style="float: left; width: 100px;"> id="HBASEUNITName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HBASEUNITID" id="HBASEUNITID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HBASEUNITList" id="HBASEUNITList" style="width:40px;"> lay-filter="HBASEUNITList" id="HBASEUNITList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -818,16 +876,16 @@ <label class="layui-form-label">åºå计éåä½</label> <div class="layui-input-inline"> <input type="text" readonly name="HSTOREUNITName" id="HSTOREUNITName" class="layui-input" value="" style="float: left; width: 100px;"> id="HSTOREUNITName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HSTOREUNITID" id="HSTOREUNITID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HSTOREUNITList" id="HSTOREUNITList" style="width:40px;"> lay-filter="HSTOREUNITList" id="HSTOREUNITList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -837,16 +895,16 @@ <label class="layui-form-label">éè´è®¡éåä½</label> <div class="layui-input-inline"> <input type="text" readonly name="HPOUnitName" id="HPOUnitName" class="layui-input" value="" style="float: left; width: 100px;"> id="HPOUnitName" class="layui-input" value="" style="float: left; width: 100px;"> <input type="hidden" name="HPOUnitID" id="HPOUnitID" class="layui-input" value="0" style="float:left;width:150px;"> class="layui-input" value="0" style="float:left;width:150px;"> <button type="button" lay-submit="" class="layui-btn" lay-filter="HPOUnitList" id="HPOUnitList" style="width:40px;"> lay-filter="HPOUnitList" id="HPOUnitList" style="width:40px;"> <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="margin-left:-9px;"></i> style="margin-left:-9px;"></i> </button> </div> </div> @@ -857,16 +915,16 @@ <label class="layui-form-label"> æ åå·¥æ¶ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HPERUNITSTANDHOUR" lay-verify="HPERUNITSTANDHOUR" id="HPERUNITSTANDHOUR" autocomplete="off" value="0"> lay-verify="HPERUNITSTANDHOUR" id="HPERUNITSTANDHOUR" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> æ å人å<br />åå¤å·¥æ¶</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HSTDLABORPREPARETIME" lay-verify="HSTDLABORPREPARETIME" id="HSTDLABORPREPARETIME" autocomplete="off" value="0"> lay-verify="HSTDLABORPREPARETIME" id="HSTDLABORPREPARETIME" autocomplete="off" value="0"> </div> </div> @@ -874,24 +932,24 @@ <label class="layui-form-label"> æ åæºå¨<br />åå¤å·¥æ¶</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HSTDMACHINEPREPARETIME" lay-verify="HSTDMACHINEPREPARETIME" id="HSTDMACHINEPREPARETIME" autocomplete="off" value="0"> lay-verify="HSTDMACHINEPREPARETIME" id="HSTDMACHINEPREPARETIME" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">å¸¸ç¨ææï¼</label> <div class="layui-input-inline"> <input type="checkbox" name="HCommonUseFlag" id="HCommonUseFlag" lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦å¸¸ç¨ææ"> lay-skin="primary" lay-filter="checkbox" value="true" title="æ¯å¦å¸¸ç¨ææ"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> å æå¹³åä»·ï¼</label> <div class="layui-input-inline"> <input class="layui-input" name="HAvgStockPrice" lay-verify="HAvgStockPrice" id="HAvgStockPrice" autocomplete="off" value="0"> lay-verify="HAvgStockPrice" id="HAvgStockPrice" autocomplete="off" value="0"> </div> </div> </div> @@ -900,38 +958,38 @@ <label class="layui-form-label">é»è®¤ç¨ç</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HTaxRate" lay-verify="HTaxRate" id="HTaxRate" autocomplete="off" value="13"> id="HTaxRate" autocomplete="off" value="13"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">é»è®¤å©æ¶¦ç</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HProfitRate" lay-verify="HProfitRate" id="HProfitRate" autocomplete="off" value="0"> lay-verify="HProfitRate" id="HProfitRate" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> ç»ç®ä»·</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HFootPrice" lay-verify="HFootPrice" id="HFootPrice" autocomplete="off" value="0"> lay-verify="HFootPrice" id="HFootPrice" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> å«ç¨ææ¬ä»·</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HTaxCost" lay-verify="HTaxCost" id="HTaxCost" autocomplete="off" value="0"> id="HTaxCost" autocomplete="off" value="0"> </div> </div> <div class="layui-inline"> <label class="layui-form-label"> ä¸å«ç¨ææ¬ä»·</label> <div class="layui-input-inline" style="margin-top:10px"> <input class="layui-input" name="HNoTaxCost" lay-verify="HNoTaxCost" id="HNoTaxCost" autocomplete="off" value="0"> lay-verify="HNoTaxCost" id="HNoTaxCost" autocomplete="off" value="0"> </div> </div> </div> @@ -945,7 +1003,7 @@ <label class="layui-form-label" style="width: 85px;">å¶å人</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HMakeEmp" id="HMakeEmp" style="background-color:#efefef4d;" readonly> id="HMakeEmp" style="background-color:#efefef4d;" readonly> </div> </div> @@ -953,14 +1011,14 @@ <label class="layui-form-label" style="width: 85px;">å®¡æ ¸äºº</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HCheckEmp" id="HCheckEmp" style="background-color:#efefef4d;" readonly> id="HCheckEmp" style="background-color:#efefef4d;" readonly> </div> </div> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">ç¦ç¨äºº</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HStopEmp" id="HStopEmp" style="background-color:#efefef4d;" readonly> id="HStopEmp" style="background-color:#efefef4d;" readonly> </div> </div> </div> @@ -969,7 +1027,7 @@ <label class="layui-form-label" style="width: 85px;">å¶åæ¥æ</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> id="HMakeDate" style="background-color:#efefef4d;" readonly> </div> </div> @@ -977,15 +1035,15 @@ <label class="layui-form-label" style="width: 85px;">å®¡æ ¸æ¥æ</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> id="HCheckDate" style="background-color:#efefef4d;" readonly> </div> </div> <div class="layui-inline"> <label class="layui-form-label" style="width: 85px;">ç¦ç¨æ¥æ</label> <div class="layui-input-block" style="margin-left: 120px;"> <input type="text" class="layui-input" name="HStopDate" id="HStopDate" style="background-color:#efefef4d;" readonly> id="HStopDate" style="background-color:#efefef4d;" readonly> </div> </div> @@ -996,11 +1054,10 @@ <div class="layui-tab-item"> <div class="layui-form-item" style="padding-top: 10px;"> <div class="layui-upload"> <button type="button" class="layui-btn" id="testList"> <button type="button" class="layui-btn" id="testList"> éæ©æä»¶ </button><input class="layui-upload-file" type="file" accept="" name="file" multiple=""> </button><input class="layui-upload-file" type="file" accept="" name="file" multiple=""> <div class="layui-upload-list"> <table class="layui-table" lay-filter="mainTable"> <thead> @@ -1235,6 +1292,22 @@ get_checkHQCSchemeID_Patrol(); }); //éæ©æ¶æå ¥åºæ£éªæ¹æ¡æé® form.on('submit(HQCSchemeID_POStockIn-BT)', function () { get_checkHQCSchemeID_POStockIn(); }); //éæ©çäº§å ¥åºæ£éªæ¹æ¡æé® form.on('submit(HQCSchemeID_LastPiece-BT)', function () { get_checkHQCSchemeID_LastPiece(); }); //éæ©åºåæ£éªæ¹æ¡æé® form.on('submit(HQCSchemeID_OutComp-BT)', function () { get_checkHQCSchemeID_OutComp(); }); //çå¬ä¸æ¬¡åæ ¼çæ åå¼ $("#HOnceRightRate").blur(function (data) { @@ -1404,6 +1477,12 @@ , "HQCSchemeName_Proc": data.è½¬åºæ£éªæ¹æ¡ , "HQCSchemeID_Patrol": data.HQCSchemeID_Patrol , "HQCSchemeName_Patrol": data.å·¡æ£æ£éªæ¹æ¡ , "HQCSchemeID_POStockIn": data.HQCSchemeID_POStockIn , "HQCSchemeName_POStockIn": data.é¢æå ¥åºæ£éªæ¹æ¡ , "HQCSchemeID_LastPiece": data.HQCSchemeID_LastPiece , "HQCSchemeName_LastPiece": data.çäº§å ¥åºæ£éªæ¹æ¡ , "HQCSchemeID_OutComp": data.HQCSchemeID_OutComp , "HQCSchemeName_OutComp": data.åºåæ£éªæ¹æ¡ , "HMaterRuleType": data.ç©æå ¬å¼ , "HMaterRuleExternType": data.ç¾æ¯ç©æå ¬å¼ , "HMaterRuleExternType1": data.æ¯å°ç©æå ¬å¼ @@ -1429,7 +1508,7 @@ , "HSizing_M": data.å®åæµæ , "HLotcardQty": data.å个æµè½¬å¡æ°é , "HCubicleQty": data.工使°é ,"HBarCodePrintName":data.é»è®¤æå°æ¨¡æ¿ , "HBarCodePrintName": data.é»è®¤æå°æ¨¡æ¿ , "HMakeEmp": data["å建人"] , "HMakeDate": data["åå»ºæ¥æ"] == null ? "" : Format(new Date(data["åå»ºæ¥æ"]), "yyyy-MM-dd") , "HCheckEmp": data["å®¡æ ¸äºº"] @@ -1922,6 +2001,102 @@ } //#endregion //#region éæ©æ¶æå ¥åºæ£éªæ¹æ¡æ¹æ³ function get_checkHQCSchemeID_POStockIn() { layer.open({ type: 2//å¼¹çªç±»å , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ , area: ['90%', '90%']//å¤§å° , title: 'æ£éªæ¹æ¡å表'//æ é¢ , shift: 2//å¼¹åºå¨ç» , content: ['../../è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.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('è¯·éæ©æ°æ®'); } $("#HQCSchemeName_POStockIn").val(checkStatus.data[0].æ£éªæ¹æ¡åç§°); $("#HQCSchemeID_POStockIn").val(checkStatus.data[0].hmainid); layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç } , btn2: function (index, layero) { } , end: function (index, layero) { if (OptionData.length > 0) { $("#HQCSchemeName_POStockIn").val(OptionData[0].æ£éªæ¹æ¡åç§°); $("#HQCSchemeID_POStockIn").val(OptionData[0].hmainid); } OptionData = []; } }) } //#endregion //#region éæ©çäº§å ¥åºæ£éªæ¹æ¡æ¹æ³ function get_checkHQCSchemeID_LastPiece() { layer.open({ type: 2//å¼¹çªç±»å , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ , area: ['90%', '90%']//å¤§å° , title: 'æ£éªæ¹æ¡å表'//æ é¢ , shift: 2//å¼¹åºå¨ç» , content: ['../../è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.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('è¯·éæ©æ°æ®'); } $("#HQCSchemeName_LastPiece").val(checkStatus.data[0].æ£éªæ¹æ¡åç§°); $("#HQCSchemeID_LastPiece").val(checkStatus.data[0].hmainid); layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç } , btn2: function (index, layero) { } , end: function (index, layero) { if (OptionData.length > 0) { $("#HQCSchemeName_LastPiece").val(OptionData[0].æ£éªæ¹æ¡åç§°); $("#HQCSchemeID_LastPiece").val(OptionData[0].hmainid); } OptionData = []; } }) } //#endregion //#region éæ©åºåæ£éªæ¹æ¡æ¹æ³ function get_checkHQCSchemeID_OutComp() { layer.open({ type: 2//å¼¹çªç±»å , skin: 'layui-layer-rim' //å ä¸è¾¹æ¡ , area: ['90%', '90%']//å¤§å° , title: 'æ£éªæ¹æ¡å表'//æ é¢ , shift: 2//å¼¹åºå¨ç» , content: ['../../è´¨é管ç/æ£éªæ¹æ¡å/QC_CheckProjectList.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('è¯·éæ©æ°æ®'); } $("#HQCSchemeName_OutComp").val(checkStatus.data[0].æ£éªæ¹æ¡åç§°); $("#HQCSchemeID_OutComp").val(checkStatus.data[0].hmainid); layer.close(index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç } , btn2: function (index, layero) { } , end: function (index, layero) { if (OptionData.length > 0) { $("#HQCSchemeName_OutComp").val(OptionData[0].æ£éªæ¹æ¡åç§°); $("#HQCSchemeID_OutComp").val(OptionData[0].hmainid); } OptionData = []; } }) } //#endregion //éæ©è®¡éåä½ form.on('submit(HUnitList)', function () {//éæ©èå¡ $("#UnitType").val(1); WebTM/views/¼Æ»®¹ÜÀí/¹¤ÒÕ·Ïß/Gy_RoutingBillList.html
@@ -104,7 +104,7 @@ </select> </div> </div> <button class="layui-btn layuiadmin-btn-order" style="" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> </button> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding: 0 5px;">éç½®</button> WebTM/views/ÖÊÁ¿¹ÜÀí/²úÆ·Èë¿â¼ìÑéµ¥/QC_LastPieceCheckBill_v2.html
@@ -1001,7 +1001,7 @@ if (HSouceBillType == '3711') { // çäº§æ±æ¥å䏿¨ LoadingInformation_ICMOReportBill(); //GetCheckItemID(); GetCheckItemID(); } else { layer.alert("æºåç±»åæ æï¼", { icon: 5 }); @@ -2661,8 +2661,8 @@ $("#HProcName").val(checkStatus.data[0].å·¥åºåç§°); $("#HProcID").val(checkStatus.data[0].HItemID); layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç get_ICMOBillStatusList(); get_QC_TakeSampleCheckBillList(); // get_ICMOBillStatusList(); // get_QC_TakeSampleCheckBillList(); GetCheckItemID(); } , btn2: function (index, layero) { @@ -2748,8 +2748,8 @@ //æé®ãæé®äºãçåè° //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å ³é }, end: function () { end: function (layero, index) { layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç }, success: function (layero, index) { @@ -4262,7 +4262,7 @@ if (HProcID == "0" || HProcID == "") { return layer.msg("è¯·éæ©å·¥åº!"); } sWhere = " and å·¥åºæµè½¬å¡ä¸»å ç ='" + HProcExchInterID + "' and HProcID=" + HProcID; sWhere = " and HProcID=" + HProcID; $.ajax({ url: GetWEBURL() + "/QC_TakeSampleCheckBill/QC_TakeSampleCheckBillMainList", type: "GET", @@ -4468,6 +4468,29 @@ } //#endregion //èªå¨å¸¦åºæ£éªæ¹æ¡ function GetCheckItemID() { var HName = $("#HMaterName").val(); var HProName = $("#HProcName").val(); var HSourceID = $("#HSourceID").val(); if (HName != '' && HName != undefined && HProName != '' && HProName != undefined) { $.ajax({ url: GetWEBURL() + "/Web/GetCheckItemID", type: "GET", async: false, data: { "HName": HName, "HProName": HProName,"HSourceID": HSourceID }, success: function (result) { if (result.code == 1) { $("#HQCSchemeID").val(result.data[0].hmainid); $("#HQCSchemeName").val(result.data[0].æ£éªæ¹æ¡åç§°); get_CheckItem(); } else { layer.msg(result.code + result.Message, { icon: 5 }); } } }) } } window.GetCheckItemID = function () { var HName = $("#HMaterName").val(); @@ -4687,9 +4710,9 @@ } function GetGyMaterial(obj) { //ç©æ $("#HMaterNumber").val(obj[0].ç©æä»£ç ); $("#HMaterName").val(obj[0].ç©æåç§°); $("#HMaterID").val(obj[0].HItemID); $("#HMaterNumber").val(obj.ç©æä»£ç ); $("#HMaterName").val(obj.ç©æåç§°); $("#HMaterID").val(obj.HItemID); GetCheckItemID(); } @@ -4712,6 +4735,7 @@ function GetProcessValue(obj) { $("#HProcName").val(obj[0].å·¥åºåç§°); $("#HProcID").val(obj[0].HItemID); GetCheckItemID(); } //计éåä½ function GetHUnitListValue(obj) { WebTM/views/ÖÊÁ¿¹ÜÀí/³ö³§¼ìÑéµ¥/QC_OutCompCheckBill.html
@@ -775,6 +775,7 @@ <input type="hidden" name="HDeptID" id="HDeptID" value="0"> <input type="hidden" name="HSourceOrgID" id="HSourceOrgID" value="0"><!--æ¥æºç»ç»--> <input type="hidden" name="HInspectOrgID" id="HInspectOrgID" value="0"><!--è´¨æ£ç»ç»--> <input type="hidden" name="HQCSchemeID_OutComp" id="HQCSchemeID_OutComp" value="0"><!-- åºåæ£éªæ¹æ¡ID --> </form> </div> </div> @@ -929,12 +930,12 @@ if (HSouceBillType == 1401) { // éå®è®¢å䏿¨ LoadingInformation_SeOrder(); //GetCheckItemID(); GetCheckItemID(); } else if (HSouceBillType == 1402) { // åè´§éç¥å䏿¨ LoadingInformation_SeOutStock(); //GetCheckItemID(); GetCheckItemID(); } else { layer.alert("æºåç±»åæ æï¼", { icon: 5 }); } @@ -1202,8 +1203,9 @@ $("#HProcName").val(checkStatus.data[0].å·¥åºåç§°); $("#HProcID").val(checkStatus.data[0].HItemID); layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç get_ICMOBillStatusList(); get_QC_TakeSampleCheckBillList(); // get_ICMOBillStatusList(); // get_QC_TakeSampleCheckBillList(); GetCheckItemID(); } , btn2: function (index, layero) { //æé®ãæé®äºãçåè° @@ -1281,14 +1283,15 @@ $("#HMaterNumber").val(checkStatus.data[0].ç©æä»£ç ); $("#HMaterName").val(checkStatus.data[0].ç©æåç§°); $("#HMaterID").val(checkStatus.data[0].HItemID); layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç } , btn2: function (index, layero) { //æé®ãæé®äºãçåè° //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å ³é }, end: function () { end: function (layero, index) { layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç }, success: function (layero, index) { @@ -4074,6 +4077,54 @@ }) } //èªå¨å¸¦åºæ£éªæ¹æ¡ function GetCheckItemID() { var HName = $("#HMaterName").val(); var HProName = $("#HProcName").val(); var HSourceID = $("#HSourceID").val(); if (HName != '' && HName != undefined && HProName != '' && HProName != undefined) { $.ajax({ url: GetWEBURL() + "/Web/GetCheckItemID", type: "GET", async: false, data: { "HName": HName, "HProName": HProName, "HSourceID": HSourceID }, success: function (result) { if (result.code == 1) { $("#HQCSchemeID").val(result.data[0].hmainid); $("#HQCSchemeName").val(result.data[0].æ£éªæ¹æ¡åç§°); get_CheckItem(); } else { layer.msg(result.code + result.Message, { icon: 5 }); } } }) } } window.GetCheckItemID = function () { var HName = $("#HMaterName").val(); var HProName = $("#HProcName").val(); var HSourceID = $("#HSourceID").val(); if (HName != '' && HName != undefined && HProName != '' && HProName != undefined) { $.ajax({ url: GetWEBURL() + "/Web/GetCheckItemID", type: "GET", async: false, data: { "HName": HName, "HProName": HProName, "HSourceID": HSourceID }, success: function (result) { if (result.code == 1) { $("#HQCSchemeID").val(result.data[0].hmainid); $("#HQCSchemeName").val(result.data[0].æ£éªæ¹æ¡åç§°); get_CheckItem(); } else { layer.msg(result.code + result.Message, { icon: 5 }); } } }) } } //ä¿å function set_SaveBill(data) { //ä¿åæå䏿¬¡ç¹å»è¡çæ£éªå¼ @@ -4138,7 +4189,7 @@ layer.msg("æäº¤æå"); $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true);//ä¿åæé® $('#set_CheckBill').removeClass("layui-btn-disabled").removeAttr("disabled").addClass("layui-btn-normal"); } else { layer.close(index); @@ -4201,6 +4252,8 @@ //é空éªè¯ function GetHCusNameValue(obj) { //å®¢æ· $("#HCusName").val(obj[0].客æ·åç§°); @@ -4242,9 +4295,9 @@ } function GetGyMaterial(obj) { //ç©æ $("#HMaterNumber").val(obj[0].ç©æä»£ç ); $("#HMaterName").val(obj[0].ç©æåç§°); $("#HMaterID").val(obj[0].HItemID); $("#HMaterNumber").val(obj.ç©æä»£ç ); $("#HMaterName").val(obj.ç©æåç§°); $("#HMaterID").val(obj.HItemID); GetCheckItemID(); } @@ -4267,6 +4320,7 @@ function GetProcessValue(obj) { $("#HProcName").val(obj[0].å·¥åºåç§°); $("#HProcID").val(obj[0].HItemID); GetCheckItemID(); } //计éåä½ function GetHUnitListValue(obj) { WebTM/views/ÖÊÁ¿¹ÜÀí/À´ÁϼìÑéµ¥/QC_Add_Edit_POStockInCheckBillList.html
@@ -1002,12 +1002,12 @@ if (HSouceBillType == 1102) { // éè´è®¢å䏿¨ LoadingInformation_POOrderBill(); //GetCheckItemID(); GetCheckItemID(); } else if (HSouceBillType == 1103) { // æ¶æéç¥å䏿¨ LoadingInformation_POInStockBill(); //GetCheckItemID(); GetCheckItemID(); } else { layer.alert("æºåç±»åæ æï¼", { icon: 5 }); } @@ -2677,8 +2677,8 @@ $("#HProcName").val(checkStatus.data[0].å·¥åºåç§°); $("#HProcID").val(checkStatus.data[0].HItemID); layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå é¨å¨æéå¢è®¡ç®ç get_ICMOBillStatusList(); get_QC_TakeSampleCheckBillList(); // get_ICMOBillStatusList(); // get_QC_TakeSampleCheckBillList(); GetCheckItemID(); } , btn2: function (index, layero) { @@ -4483,9 +4483,8 @@ } } //#endregion window.GetCheckItemID = function () { //èªå¨å¸¦åºæ£éªæ¹æ¡ function GetCheckItemID() { var HName = $("#HMaterName").val(); var HProName = $("#HProcName").val(); var HSourceID = $("#HSourceID").val(); @@ -4495,6 +4494,29 @@ type: "GET", async: false, data: { "HName": HName, "HProName": HProName, "HSourceID": HSourceID }, success: function (result) { if (result.code == 1) { $("#HQCSchemeID").val(result.data[0].hmainid); $("#HQCSchemeName").val(result.data[0].æ£éªæ¹æ¡åç§°); get_CheckItem(); } else { layer.msg(result.code + result.Message, { icon: 5 }); } } }) } } window.GetCheckItemID = function () { var HName = $("#HMaterName").val(); var HProName = $("#HProcName").val(); var HSourceID = $("#HSourceID").val(); if (HName != '' && HName != undefined && HProName != '' && HProName != undefined) { $.ajax({ url: GetWEBURL() + "/Web/GetCheckItemID2", type: "GET", async: false, data: { "HName": HName, "HSourceID": HSourceID }, success: function (result) { if (result.code == 1) { $("#HQCSchemeID").val(result.data[0].hmainid); @@ -4769,9 +4791,9 @@ } function GetGyMaterial(obj) { //ç©æ $("#HMaterNumber").val(obj[0].ç©æä»£ç ); $("#HMaterName").val(obj[0].ç©æåç§°); $("#HMaterID").val(obj[0].HItemID); $("#HMaterNumber").val(obj.ç©æä»£ç ); $("#HMaterName").val(obj.ç©æåç§°); $("#HMaterID").val(obj.HItemID); GetCheckItemID(); } @@ -4794,6 +4816,7 @@ function GetProcessValue(obj) { $("#HProcName").val(obj[0].å·¥åºåç§°); $("#HProcID").val(obj[0].HItemID); GetCheckItemID(); } //计éåä½ function GetHUnitListValue(obj) { WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessExchangeArrangementHEmp.html
New file @@ -0,0 +1,1007 @@ <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>å·¥åºæµè½¬å¡æ´¾å·¥(èå)</title> <meta name="renderer" content="webkit"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all"> <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all"> <link rel="stylesheet" href="../../../layuiadmin/ext/soulTable.css" media="all"> <script src="../../../layuiadmin/layui/layui.js"></script> <script src="../../../layuiadmin/Scripts/json2.js"></script> <script src="../../../layuiadmin/Scripts/jquery-1.4.1.js"></script> <script src="../../../layuiadmin/Scripts/webConfig.js"></script> <script src="../../../layuiadmin/layui/layui1.js"></script> <script src="../../../layuiadmin/SetColumn.js"></script> <script src="../../../layuiadmin/PubCustom.js"></script> <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> <style> /*æ ç¶å¾ç¹å»é«äº®åè²*/ .layui-tree-set-active > .layui-tree-entry .layui-tree-main { background: #aef0f7; } </style> </head> <body> <div class="layui-fluid"> <div class="layui-col-md12"> <div class="layui-card" style="padding: 1px"> <div class="layui-card-body" style="padding: 1px;"> <form class="layui-form" action="" lay-filter="component-form-group"> <div class="layui-collapse"> <div class="layui-colla-item"> <div class="layui-colla-title layui-inline"> <div class="layui-inline"> <span>æ´å¤</span> </div> </div> <div class="layui-inline"> <label class="layui-form-label">èå代ç </label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HEmpNumber" id="HEmpNumber"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">èååç§°</label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HEmpName" id="HEmpName"> </div> </div> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch_cx" id="btnSearch_cx"> èåæ¥è¯¢ </button> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch_cx" id="btnReSearch_cx" style="padding:0 5px">èåéç½®</button> <div class="layui-colla-content" style="padding: 0px; margin-left: 6%;"> <div class="layui-row" style="margin-top:10px;"> <div class="layui-inline"> <label class="layui-form-label">ç©æä»£ç </label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HNumber" id="HNumber"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">æµè½¬å¡å·</label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HProcExchBillNo" id="HProcExchBillNo"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">ç产订åå·</label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HICMBillNO" id="HICMBillNO"> </div> </div> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnSearch" id="btnSearch"> <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> </button> <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnReSearch" id="btnReSearch" style="padding:0 5px">éç½®</button> </div> <div class="layui-row" style="margin-top:10px;"> <div class="layui-row" style="margin-top:5px"> <div class="layui-inline"> <label class="layui-form-label">å·¥åºä»£ç </label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HProcNumber" id="HProcNumber"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">å·¥åºåç§°</label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HProcName" id="HProcName"> </div> </div> </div> <div class="layui-row" style="margin-top:5px"> <div class="layui-inline"> <label class="layui-form-label">ç©æåç§°</label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HName" id="HName"> </div> </div> <div class="layui-inline"> <label class="layui-form-label">è§æ ¼åå·</label> <div class="layui-input-block"> <input type="text" class="layui-input" name="HModel" id="HModel"> </div> </div> </div> <div class="layui-row" style="margin-top:5px"> <div class="layui-inline"> <label class="layui-form-label">è¿æ»¤</label> <div class="layui-input-block"> <select name="ColName" id="ColName" lay-filter="ColName" style="width:190px;"> </select> </div> </div> <div class="layui-inline"> <select name="Comparator" id="Comparator" lay-filter="Comparator" style="width:190px;"> <option value="0" selected="selected"></option> <option value="=">=</option> <option value=">=">>=</option> <option value=">">></option> <option value="<="><=</option> <option value="<"><</option> <option value="<>"><></option> <option value="7">å å«</option> <option value="8">å·¦å å«</option> <option value="9">å³å å«</option> <option value="10">ä¸å å«</option> </select> </div> <div class="layui-inline"> <input type="text" class="layui-input" value="" name="ColContent" id="ColContent"> </div> </div> </div> </div> </div> </div> <div class="layui-row" style="padding:10px 0"> <div class="layui-col-xs3 layui-inline" style="border: solid 1.5px #e0d6d64d;"> <div id="TreeTable" class="demo-tree demo-tree-box" style="height: 400px; overflow: auto;"></div> </div> <div class="layui-col-xs8 layui-inline" style="padding-left: 10px; width: 73%"> <div> <table class="" id="mainTable" lay-filter="mainTable"></table> </div> </div> </div> <div class="layui-row" style="padding:10px 0"> <div class="layui-col-xs12 layui-inline" style="padding-left: 10px;"> <div> <table class="" id="mainTable2" lay-filter="mainTable2"></table> </div> </div> </div> <script type="text/html" id="toolbarDemo"> <div class="layui-btn-container"> <button type="button" class="layui-btn layui-btn-sm" lay-event="set_AdutArrangement"><i class="layui-icon layuiiconform"></i>åæ¶æå</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="get_print"><i class="layui-icon layuiiconform"></i>æå°</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="set_HideColumn"><i class="layui-icon layuiiconform"></i>å设置</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Close"><i class="layui-icon layui-icon-logout"></i>éåº</button> </div> </script> <script type="text/html" id="toolbarDemo2"> <div class="layui-btn-container"> <button type="button" class="layui-btn layui-btn-sm" lay-event="set_Arrangement"><i class="layui-icon layuiiconform"></i>æå</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="get_Refresh" id="Refresh"><i class="layui-icon layui-icon-refresh-3"></i>å·æ°</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="set_HideColumn2"><i class="layui-icon layuiiconform"></i>å设置</button> <button type="button" class="layui-btn layui-btn-sm" lay-event="btn-Close"><i class="layui-icon layui-icon-logout"></i>éåº</button> </div> </script> </form> </div> </div> </div> </div> <script> layui.config({ base: '../../../layuiadmin/' //éæèµæºæå¨è·¯å¾ }).extend({ index: 'lib/index', //ä¸»å ¥å£æ¨¡å soulTable: 'soulTable' }).use(['index', 'form', 'table', 'element', 'laypage', 'laydate', 'tree', 'soulTable'], function () { //#region å ¬ç¨åé var $ = layui.$ , admin = layui.admin , layer = layui.layer , table = layui.table , form = layui.form , element = layui.element , laypage = layui.laypage , laydate = layui.laydate , tree = layui.tree , soulTable = layui.soulTable var sWhere = ""; var option = []; var option2 = []; var Organization = sessionStorage["Organization"]; var HModName = "Sc_ProcessExchangeArrangementHEmp"; var HModName2 = "Sc_ProcessExchangeArrangementHEmp2"; // åå¨å½åéä¸çèç¹ï¼æ¯æå¤éï¼ var selectedNodes = []; //ä¸éè¦æ¾ç¤ºçåæ®µ 坿©å± var titleData = []; //#endregion //#region è¿å ¥é¡µé¢å³å è½½ //åå§åçé¢ set_ClearBill(); //#endregion //#region 触åäºä»¶ï¼å æ¬form.on(){}æ ¼å¼çææç¹å»äºä»¶ãéæ©äºä»¶ç //#region å¤´å·¥å ·æ äºä»¶ table.on('toolbar(mainTable)', function (obj) { var checkStatus = table.checkStatus(obj.config.id); switch (obj.event) { //åæ¶æç¼¸ case 'set_AdutArrangement': set_AdutArrangement(); break; //æå° case 'get_print': get_print(); break; //éåºæé® case 'btn-Close': parent.layui.admin.events.closeThisTabs(); break; //å设置 case 'set_HideColumn': get_HideColumnNoPage(HModName, 1, option, get_Display) break; }; }); table.on('toolbar(mainTable2)', function (obj) { var checkStatus = table.checkStatus(obj.config.id); switch (obj.event) { //æç¼¸ case 'set_Arrangement': set_Arrangement(); break; //å·æ° case 'get_Refresh': get_FastQuery(); break; //éåºæé® case 'btn-Close': parent.layui.admin.events.closeThisTabs(); break; //å设置 case 'set_HideColumn2': get_HideColumnNoPage(HModName2, 1, option2, get_FastQuery) break; }; }); table.on('sort(mainTable)', function (obj) { //注ï¼sort æ¯å·¥å ·æ¡äºä»¶åï¼test æ¯ table åå§å®¹å¨ç屿§ lay-filter="对åºçå¼" table.reload('mainTable', { initSort: obj //è®°å½åå§æåºï¼å¦æä¸è®¾çè¯ï¼å°æ æ³æ 记表头çæåºç¶æã layui 2.1.1 æ°å¢åæ° , where: { //请æ±åæ°ï¼æ³¨æï¼è¿éé¢çåæ°å¯ä»»æå®ä¹ï¼å¹¶éä¸é¢åºå®çæ ¼å¼ï¼ field: obj.field //æåºå段 卿¥å£ä½ä¸ºåæ°å段 field order , order: obj.type //æåºæ¹å¼ 卿¥å£ä½ä¸ºåæ°å段 field order } }); option.data = layui.table.cache["mainTable"]; table.render(option); }); table.on('sort(mainTable2)', function (obj) { //注ï¼sort æ¯å·¥å ·æ¡äºä»¶åï¼test æ¯ table åå§å®¹å¨ç屿§ lay-filter="对åºçå¼" table.reload('mainTable2', { initSort: obj //è®°å½åå§æåºï¼å¦æä¸è®¾çè¯ï¼å°æ æ³æ 记表头çæåºç¶æã layui 2.1.1 æ°å¢åæ° , where: { //请æ±åæ°ï¼æ³¨æï¼è¿éé¢çåæ°å¯ä»»æå®ä¹ï¼å¹¶éä¸é¢åºå®çæ ¼å¼ï¼ field: obj.field //æåºå段 卿¥å£ä½ä¸ºåæ°å段 field order , order: obj.type //æåºæ¹å¼ 卿¥å£ä½ä¸ºåæ°å段 field order } }); option2.data = layui.table.cache["mainTable2"]; table.render(option); }); //#endregion //#region éç½®æé® form.on('submit(btnReSearch)', function (data) { set_ClearQuery(); }); //#endregion //#region æ¥è¯¢æé® form.on('submit(btnSearch)', function (data) { get_FastQuery(); }); //#endregion //产线æ¥è¯¢ form.on('submit(btnSearch_cx)', function (data) { get_Display_Tree(); }); //æ¡å½¢ç åè½¦æ¹æ³ $('#HProcExchBillNo').on('keydown', function (event) { var HBarCode = $('#HProcExchBillNo').val(); if (event.keyCode == 13) { if (!HBarCode) { layer.msg("æµè½¬å¡å·ä¸è½ä¸ºç©ºï¼") return; } get_FastQuery(); } }); //æ¡å½¢ç åè½¦æ¹æ³ $('#HICMBillNO').on('keydown', function (event) { var HBarCode = $('#HICMBillNO').val(); if (event.keyCode == 13) { if (!HBarCode) { layer.msg("ç产订åå·ä¸è½ä¸ºç©ºï¼") return; } get_FastQuery(); } }); table.on('row(mainTable)', function (obj) { //éä¸è¡æ¹åé¢è² var flag = !obj.tr.find(':checkbox:first').prop('checked'); obj.tr.find(':checkbox').prop('checked', flag); if (flag) { obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); //设置å¤éæ¡é䏿 ·å¼ //$(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" });//æ¹åå½åtrèæ¯é¢è²ååä½é¢è² } else { obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked');//åæ¶å¤éæ¡é䏿 ·å¼ //$(obj.tr.selector).attr({ "style": "background:" });//åæ¶å½åtré¢è² } //mainTable ä¸ºè¡¨æ ¼ID æ³¨ææ¤å¤å¦æID䏿£ç¡®å°å¯¼è´ä½ å¨çå¬å¤éæ¡æ¶è·åä¸å°ä½ éæ©çæ°æ®ï¼åé¢çåªæ¯æ·»å æå é¤é䏿ªé䏿 ·å¼ä»¥åè®¾ç½®èæ¯è²ï¼åä½é¢è² layui.each(table.cache.mainTable, function (i, l) { if (obj.tr.index() == l.LAY_TABLE_INDEX) { l.LAY_CHECKED = flag; } }); }) table.on('row(mainTable2)', function (obj) { //éä¸è¡æ¹åé¢è² var flag = !obj.tr.find(':checkbox:first').prop('checked'); obj.tr.find(':checkbox').prop('checked', flag); if (flag) { obj.tr.find('.layui-form-checkbox').addClass('layui-form-checked'); //设置å¤éæ¡é䏿 ·å¼ //$(obj.tr.selector).attr({ "style": "background:#ceedfa;color:black" });//æ¹åå½åtrèæ¯é¢è²ååä½é¢è² } else { obj.tr.find('.layui-form-checkbox').removeClass('layui-form-checked');//åæ¶å¤éæ¡é䏿 ·å¼ //$(obj.tr.selector).attr({ "style": "background:" });//åæ¶å½åtré¢è² } //mainTable2 ä¸ºè¡¨æ ¼ID æ³¨ææ¤å¤å¦æID䏿£ç¡®å°å¯¼è´ä½ å¨çå¬å¤éæ¡æ¶è·åä¸å°ä½ éæ©çæ°æ®ï¼åé¢çåªæ¯æ·»å æå é¤é䏿ªé䏿 ·å¼ä»¥åè®¾ç½®èæ¯è²ï¼åä½é¢è² layui.each(table.cache.mainTable2, function (i, l) { if (obj.tr.index() == l.LAY_TABLE_INDEX) { l.LAY_CHECKED = flag; } }); }) //#region æ¬é¡µé¢è¢«è°ç¨çæææ¹æ³ //#region åå§åçé¢ function set_ClearBill() { //åå§åè¡¨æ ¼ set_InitGrid(); //æ¥è¯¢ get_Display(); get_FastQuery(); get_Display_Tree(); } //#endregion //åå§åè¡¨æ ¼ function set_InitGrid() { option = { elem: '#mainTable' , toolbar: '#toolbarDemo' , cols: [[]] , data: [] , height: 400 , page: true , totalRow: true , limits: [50, 500, 1000] , filter: { bottom: false } , limit: 50 , cellMinWidth: 90 , done: function (res, curr, count) { soulTable.render(this); } } //卿æ¾ç¤ºåå option2 = { elem: '#mainTable2' , toolbar: '#toolbarDemo2' , cols: [[]] , data: [] , height: 400 , page: true , totalRow: true , filter: { bottom: false } , limits: [50, 500, 1000] , limit: 50 , cellMinWidth: 90 , done: function (res, curr, count) { soulTable.render(this); } } } //#region éç½®è¿æ»¤æ¡ä»¶æ¹æ³ function set_ClearQuery() { $("#HNumber").val(""); $("#HName").val(""); $("#HModel").val(""); $("#HProcExchBillNo").val(""); $("#HICMBillNO").val(""); $("#ColContent").val(""); $("#ColName").val("0"); $("#Comparator").val("0"); form.render('select'); sWhere = ""; } //#endregion //#region æ¥è¯¢å·²æ´¾å·¥çæ°æ® function get_Display(sWhere = "", HEmpIDs="") { if (HEmpIDs != "") { sWhere += " and æä½å·¥ID in (" + HEmpIDs + ")"; } sWhere += ` order by hmainid desc` ; var ajaxLoad = layer.load(); $.ajax({ url: GetWEBURL() + '/Sc_ProcExchSendWorkBill/Sc_ProcExchSendWorkBillListByEmp', type: "GET", data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "HEmpID": 0}, success: function (data1) { if (data1.count == 1) { var totalArray=["æ°é"] var data = []; var col = []; //ç»ç©ºçæ°ç»èµå¼ for (var key in data1.list) { data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); //è·åä¸éè¦æ¾ç¤ºçåï¼Hå¼å¤´çå䏿¾ç¤ºï¼ var patrn = new RegExp(/^h/i); if (patrn.test(data1.list[key].ColmCols)) { titleData[key] = data1.list[key].ColmCols; } } //å¨å表左边添å å¾éæ¡ col.push({ type: 'checkbox', fixed: 'left' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå } else if ($.inArray(data[i].name, totalArray) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120, filter: true }); } else { switch (data[i].Type) { //int case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120, filter: true }); break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, filter: true }); } } } option.cols = [col]; option.data = data1.data //å·æ°è¡¨æ ¼æ°æ® DisPlay_HideColumn(HModName, sessionStorage["HUserName"], option, []); table.render(option); layer.close(ajaxLoad); } else { layer.close(ajaxLoad); layer.alert(data1.code + data1.Message, { icon: 5 }); } }, error: function () { layer.close(ajaxLoad); layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); } }); } //#endregion //æ¥è¯¢æªæ´¾å·¥çæµè½¬å¡ function get_Display2(sWhere) { var ajaxLoad = layer.load(); $.ajax({ url: GetWEBURL() + '/Sc_ProcExchSendWorkBill/Sc_ProcessExchangeHEmpList', type: "GET", data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "OperationType": 1 }, success: function (data1) { if (data1.count == 1) { var totalArray = ["çææ°é", "ä»»å¡åæ°é", "è®¡åæ°é", "æµè½¬å¡æ°é", "å¼å·¥ä½é天æ°", "å¼å·¥ä½éåºæ°", "ä¸éåºå®å¤©æ°", "å å·¥åä»·", "å 工费ç¨éé¢", "æåæ°é", "å©ä½æ°é", "ä¸è¯åå ³èæ°é", "è¿ç«å ³èæ°é", "åºç«å ³èæ°é", "åºç«æ¥åºå ³èæ°é"]; var data = []; var col = []; //ç»ç©ºçæ°ç»èµå¼ for (var key in data1.list) { data.push({ "id": data1.list[key].ColmCols, "name": data1.list[key].ColmCols, "Type": data1.list[key].ColmType }); var patrn = new RegExp(/^h/i); if (patrn.test(data1.list[key].ColmCols)) { titleData[key] = data1.list[key].ColmCols; } } //å¨å表左边添å å¾éæ¡ col.push({ type: 'checkbox', fixed: 'left' }); for (var i = 0; i < data.length; i++) { // if (data[i].name == 'HInterID' || data[i].name == 'HBillType' || data[i].name == 'hmainid') { if ($.inArray(data[i].name, titleData) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', hide: true }); //éèidå } else if ($.inArray(data[i].name, totalArray) > -1) { col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, totalRow: true, width: 120, filter: true }); } else { switch (data[i].Type) { //int case 'DateTime': col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, templet: "<div>{{d." + data[i].name + " ==null ?'':layui.util.toDateString(d." + data[i].name + ", 'yyyy-MM-dd')}}</div>", width: 120, filter: true}); break; default: col.push({ field: data[i].id, title: data[i].name, align: 'center', sort: true, width: 120, filter: true }); } } } option2.cols = [col]; option2.data = data1.data; //å·æ°è¡¨æ ¼æ°æ® DisPlay_HideColumn(HModName2, sessionStorage["HUserName"], option2,[]); table.render(option2); layer.close(ajaxLoad); if ($("#Comparator").val() == 0 && $("#ColContent").val() == "") { ColFilter(); } //layer.alert("æ¥è¯¢æå", { icon: 1 }); } else { layer.close(ajaxLoad); layer.alert(data1.code + data1.Message, { icon: 5 }); } }, error: function () { layer.close(ajaxLoad); layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); } }); } //æå° function get_print() { var checkStatus = table.checkStatus('mainTable') , data = checkStatus.data; if (checkStatus.data.length == 1) { var linterid = data[0].hmainid.toString(); layer.open({ type: 2 , area: ['80%', '80%'] , title: 'æå°æ¨¡çéæ©' , shade: 0.6 //é®ç½©éæåº¦ , maxmin: false //å è®¸å ¨å±æå°å , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ , content: ['../../BaseSet/SRM_OpenTmpList.html?linterid=' + linterid.toString() + '&MyMsg=' + linterid.toString() + '&Type=Sc_ProcessExchangeArrangement', 'yes'] , resize: false }) } else { layer.msg('è¯·éæ©ä¸è¡æ°æ®æå°ï¼'); } } //#region å¿«éè¿æ»¤ function get_FastQuery() { var HProcNumber = $("#HProcNumber").val(); var HProcName = $("#HProcName").val(); var HNumber = $("#HNumber").val(); var HName = $("#HName").val(); var HModel = $("#HModel").val(); var HProcExchBillNo = $("#HProcExchBillNo").val(); var HICMBillNO = $("#HICMBillNO").val(); var ColName = $("#ColName").val();//å¤éæ¡ var Comparator = $("#Comparator").val() var ColContent = $("#ColContent").val(); if (ColName != 0 && Comparator != 0) { var com = ""; switch (Comparator) { case "7": com = "like'%" + ColContent + "%'"; break; case "8": com = "like'%" + ColContent + "'"; break; case "9": com = "like'" + ColContent + "%'"; break; case "10": com = "not like'%" + ColContent + "%'"; break; default: com = "" + Comparator + "'" + ColContent + "'"; break; } sWhere += " and " + ColName + " " + com; } if (HProcNumber) { sWhere += " and å·¥åºä»£ç like '%" + HProcNumber + "%'"; } if (HProcName) { sWhere += " and å·¥åº like '%" + HProcName + "%'"; } if (HNumber) { sWhere += " and 产å代ç like '%" + HNumber + "%'"; } if (HName) { sWhere += " and 产ååç§° like '%" + HName + "%'"; } if (HModel) { sWhere += " and è§æ ¼åå· like '%" + HModel + "%'"; } if (HProcExchBillNo) { sWhere += " and åæ®å· like '%" + HProcExchBillNo + "%'"; } if (HICMBillNO) { sWhere += " and ç产订åå· like '%" + HICMBillNO + "%'"; } //æ·»å å·¥åº è½¦é´é¨é¨è¿æ»¤ sWhere += getDeptIDByUser(); sWhere += getProcIDByUser(); sWhere += " and ä¸éæµè½¬å·¥åº<>'转' and å§å¤æ è®°=0 and æµè½¬æ è®°=1 and æªæ¥å·¥æ°é>0 order by hmainid DESC " get_Display2(sWhere); sWhere = "";//è°ç¨æ¥å£åæ¸ ç©ºsWhereç¼å } //#endregion var DataEmpID = ""; //æç¼¸åè½ function set_Arrangement() { var checkStatus = table.checkStatus('mainTable2') , data = checkStatus.data; var array = []; var interid = []; var ieid = []; if (DataEmpID == "" || DataEmpID == "100" ) { return layer.msg("è¯·éæ©éè¦æ´¾å·¥çåå·¥!"); } for (let i = 0; i < data.length; i++) { array.push(checkStatus.data[i]["hsubid"]); //è·åæµè½¬å¡å表ID interid.push(checkStatus.data[i]["hmainid"]); ieid.push(checkStatus.data[i]["hmainid"].toString() + checkStatus.data[i]["hsubid"].toString()); //夿忮巿¯å¦ç¸å //if (checkStatus.data[0]["åæ®å·"] != checkStatus.data[i]["åæ®å·"]) { // layer.msg("å¾éäºä¸åæµè½¬å¡å·ï¼è¯·ç¡®è®¤"); // return; //} } var HEntryID = array.join(",");//ç¨éå·å岿°ç» var HInterID = interid.join(","); var HIeID = ieid.join(","); if (checkStatus.data.length >= 1) { if (checkStatus.data[0]["å·¥åºå·"] != "9999") { layer.open({ type: 2 , skin: "layui-layer-rim" //å ä¸è¾¹æ¡ , title: "å·¥åºæ´¾å·¥åç¼è¾" //æ é¢ , closeBtn: 1 //çªä½å³ä¸è§å ³é ç æ ·å¼ , shift: 2 //å¼¹åºå¨ç» , area: ["100%", "100%"] //çªä½å¤§å° , maxmin: true //设置æå¤§æå°æé®æ¯å¦æ¾ç¤º , content: ['../../车é´ç®¡ç/å·¥åºæµè½¬å¡/Sc_ProcessSendWorkEdit.html?OperationType=1&linterid=' + HInterID.toString() + '&HEntryID=' + HEntryID.toString() + '&HIeID=' + HIeID + '&HEmpIDs=' + DataEmpID, "yes"] , btn: ["ç¡®å®", "åæ¶"] , btn1: function (index, laero) { //get_Display(); //get_FastQuery(); //å·æ°è¡¨æ ¼æ°æ® //DisPlay_HideColumn(); //æ´æ°è¡¨æ ¼ç¼åçæ°æ® layer.close(index);//å ³éå¼¹çª } , success: function (layero, index, that) { } , end: function () { get_Display(); get_FastQuery(); } }) } else { layer.msg('派工工åºä¸è½æ¯è½¬å·¥åºï¼'); } } else { layer.msg('è¯·éæ©æ°æ®ç¼è¾ï¼'); } } // å é¤ function set_AdutArrangement() { var checkStatus = table.checkStatus('mainTable') , data = checkStatus.data; if (checkStatus.data.length === 1) { var hmainid = data[0].hmainid; var hsubid = data[0].hentryid; layer.confirm("确认è¦åæ¶åï¼åæ¶åä¸è½æ¢å¤", { title: "å é¤ç¡®è®¤" }, function (index) { var wait = layer.load(); //é»è¾å 餿¹æ³ $.ajax({ url: GetWEBURL() + '/Sc_ProcExchSendWorkBill/DelProcessSendWork_Sec', type: "GET", data: { "HInterID": hmainid, "HEntryID": hsubid, "User": sessionStorage["HUserName"] }, success: function (result) { if (result.count == 1) { //å ³éå½åframe layer.close(wait); layer.msg(result.Message); //ä¿®æ¹ä¸ºååå·æ°çé¢ get_Display(); get_FastQuery(); } else { layer.alert(result.code + result.Message, { icon: 5 }); layer.close(wait); } }, error: function () { layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); layer.close(wait); } }); }) } else { layer.msg('è¯·éæ©ä¸è¡æ°æ®å é¤ï¼'); } } // æ ç¶å¾æ¥è¯¢ function get_Display_Tree() { var sql = " where 1=1"; //è·åå ³èèå sql += getEmpIDByUser(); //sql += " and HUSEORGID=" + sessionStorage["OrganizationID"]; var HEmpNumber = $('#HEmpNumber').val(); var HEmpName = $('#HEmpName').val(); if (HEmpNumber) { sql += " and hnumber like '%" + HEmpNumber + "%'"; } if (HEmpName) { sql += " and hname like '%" + HEmpName + "%'"; } var ajaxLoad = layer.load(); $.ajax({ url: GetWEBURL() + '/Gy_Employee/Gy_EmployeeTreeList', type: "GET", data: { "sWhere": sql}, success: function (data1) { if (data1.count == 1) { layer.close(ajaxLoad); var data = JSON.parse(data1.data); MenuMain(data); } else { layer.close(ajaxLoad); layer.alert(data1.code + data1.Message, { icon: 5 }); } }, error: function () { layer.close(ajaxLoad); layer.alert("æ¥å£è¯·æ±å¤±è´¥!", { icon: 5 }); } }); } //#region æ ¹æ®ç¨æ·è·åç¨æ·å ³èèåçè¿æ»¤æ¡ä»¶ function getEmpIDByUser() { var res = ""; $.ajax({ type: "GET", async: false, url: GetWEBURL() + "/Xt_User/UserEmployeelistPlaylist", //æ¹æ³æå¨é¡µé¢åæ¹æ³å data: { "HUserID": sessionStorage["Czybm"] }, success: function (result) { if (result.count == 1) { if (result.data.length > 0) { for (let item of result.data) { res += item.HItemID.toString() + "," } res = res.slice(0, -1); res = ` and hitemid in (${res})` } } }, error: function (err) { res = " and 1 = 0"; layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); } }); return res; } //#endregion //#region æ ¹æ®ç¨æ·è·åç¨æ·å ³èé¨é¨çè¿æ»¤æ¡ä»¶ function getDeptIDByUser() { var res = ""; $.ajax({ type: "GET", async: false, url: GetWEBURL() + "/Xt_User/UserDeptlistPlaylist", //æ¹æ³æå¨é¡µé¢åæ¹æ³å data: { "HUserID": sessionStorage["Czybm"] }, success: function (result) { if (result.count == 1) { if (result.data.length > 0) { for (let item of result.data) { res += item.HItemID.toString() + "," } res = res.slice(0, -1); res = ` and HWorkShopID in (${res})` } } }, error: function (err) { res = " and 1 = 0"; layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); } }); return res; } //#endregion //#region æ ¹æ®ç¨æ·è·åç¨æ·å ³èå·¥åºçè¿æ»¤æ¡ä»¶ function getProcIDByUser() { var res = ""; $.ajax({ type: "GET", async: false, url: GetWEBURL() + "/Xt_User/ProcessPlaylist", //æ¹æ³æå¨é¡µé¢åæ¹æ³å data: { "HUserID": sessionStorage["Czybm"] }, success: function (result) { if (result.count == 1) { if (result.data.length > 0) { for (let item of result.data) { res += item.HProcID.toString() + "," } res = res.slice(0, -1); res = ` and HProcID in (${res})` } } }, error: function (err) { res = " and 1 = 0"; layer.alert(get_MessageError("[0000-1-002]æ¥å£è¯·æ±å¤±è´¥!", sessionStorage["HTranSlate"]), { icon: 5 }); } }); return res; } //#endregion //éåçæä¸»èå function MenuMain(data) { var liStr = '['; //éåçæä¸»èå for (var i = 0; i < data.length; i++) { // 夿æ¯å¦åå¨åèå if (data[i].children != null && data[i].children.length > 0) { liStr += '{"title": "' + data[i].id + "-" + data[i].title + '", "id": "' + data[i].id + '","spread":true, "children":[ '; // éåè·ååèå for (var k = 0; k < data[i].children.length; k++) { liStr += getChildMenu(data[i].children[k], 0); } liStr = liStr.substring(0, liStr.length - 1); liStr += ']},'; } else { liStr += '{"title": "' + data[i].id + "-" + data[i].title + '", "id": "' + data[i].id + '"},'; } }; liStr = liStr.substring(0, liStr.length - 1); liStr += "]"; var treeTable = JSON.parse(liStr); tree.render({ elem: '#TreeTable' //é»è®¤æ¯ç¹å»èç¹å¯è¿è¡æ¶ç¼© , data: treeTable , onlyIconControl: true , click: function (obj) { var $node = obj.elem; // å½åç¹å»çèç¹å ç´ var data = obj.data; // å½åç¹å»çèç¹æ°æ® //debugger // 夿æ¯å¦æ¯æä¸å±èç¹ï¼åè®¾æ ¹èç¹ç id 为 "" æ "root"ï¼ if (data.id === "" || data.id === "0" || data.isRoot) { // ç¹å»æ ¹èç¹ â æ¸ 空ææéä¸ç¶æ selectedNodes = []; $(".layui-tree-set").removeClass('layui-tree-set-active'); // ç§»é¤ææé«äº® DataEmpID = ""; // æ¸ ç©ºå ¨å±åé get_Display("", DataEmpID); // è°ç¨æ¹æ³ return; // ç´æ¥è¿åï¼ä¸åæ§è¡åç»é»è¾ } // æ®éèç¹ â å¤éé»è¾ var nodeId = data.id; var index = selectedNodes.indexOf(nodeId); if (index === -1) { // æªéä¸ â æ·»å å°éä¸å表ï¼å¹¶é«äº® selectedNodes.push(nodeId); $node.addClass('layui-tree-set-active'); } else { // å·²éä¸ â ä»éä¸å表移é¤ï¼å¹¶åæ¶é«äº® selectedNodes.splice(index, 1); $node.removeClass('layui-tree-set-active'); } // æ´æ°å ¨å±åéï¼å¤ä¸ª ID ç¨éå·åéï¼ DataEmpID = selectedNodes.join(','); get_Display("", DataEmpID); // è°ç¨æ¹æ³ } }); } // éå½çæåèå function getChildMenu(subMenu, num) { num++; var subStr = ''; if (subMenu.children != null && subMenu.children.length > 0) { subStr += '{"title": "' + subMenu.id + "-" + subMenu.title + '", "id": "' + subMenu.id + '", "children":['; for (var j = 0; j < subMenu.children.length; j++) { subStr += getChildMenu(subMenu.children[j], num); if (j + 1 == subMenu.children.length) { subStr = subStr.substring(0, subStr.length - 1); } } subStr += ']},'; } else { subStr += '{"title": "' + subMenu.id + "-" + subMenu.title + '", "id": "' + subMenu.id + '"},'; } return subStr; } //#region åææ¾ç¤ºä¸ææ¡ function ColFilter() { var Organization = '<option value="0" selected="selected" ></option>'; for (var i = 1; i < option2.cols[0].length; i++) { if (option2.cols[0][i].hide != true) { Organization += '<option style="color:blue;" value="' + option2.cols[0][i].field + '">' + option2.cols[0][i].field + '</option>'; } } $("#ColName").empty(); $("#ColName").append(Organization); form.render('select'); } //#endregion }); //å·¥ä½ä¸å¿ function GetWorkCenterValue(obj) { $("#HCenterID").val(obj[0].HItemID); $("#HCenterName").val(obj[0].å·¥ä½ä¸å¿åç§°); } //çäº§è½¦é´ function GetHDeptNameValue(obj) { $("#HDeptID").val(obj[0].HItemID); $("#HDeptName").val(obj[0].é¨é¨åç§°); } //å·¥åº function GetProcessValue(obj) { $("#HProcID").val(obj[0].HItemID); $("#HProcName").val(obj[0].å·¥åºåç§°); } //#endregion </script> </body> </html> WebTM/views/³µ¼ä¹ÜÀí/¹¤ÐòÁ÷ת¿¨/Sc_ProcessSendWorkEdit.html
@@ -12,6 +12,7 @@ <script src="../../../layuiadmin/PubCustom.js"></script> <script src="../../../layuiadmin/zgqCustom/zgqCustom.js"></script> <script src="../../../layuiadmin/PageTitle.js"></script> <script src="../../../layuiadmin/SetColumn.js"></script> <style> .main-btn { /*头é¨ä¸»æé®*/ padding: 0 2px; /*è°æ´æé®å·¦å³ç©ºé大å°*/ @@ -25,6 +26,11 @@ /* 鲿¢ä¸ææ¡ç䏿å表被éè---å¿ é¡»è®¾ç½®--- */ .layui-table-cell { overflow: visible !important; } .layui-table th, .layui-table td { white-space: nowrap; /* 䏿¢è¡ */ overflow: hidden; /* è¶ åºå 容éè */ text-overflow: ellipsis; /* æ¾ç¤ºçç¥å· */ } /* 使å¾ä¸ææ¡ä¸åå æ ¼å好åé */ td .layui-form-select { @@ -88,7 +94,7 @@ <div class="layui-col-xs3 layui-inline"> <label class="layui-form-label">ç产ç»ç»</label> <div class="layui-input-inline"> <select name="HUSEORGID" id="HUSEORGID" lay-verify="HUSEORGID"> <select name="HPRDORGID" id="HPRDORGID" lay-verify="HPRDORGID"> <!--å¨ææ¸²æç»ç»--> </select> </div> @@ -205,6 +211,7 @@ <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="set_HideColumn"><i class="layui-icon layui-icon-form"></i>å设置</button> </div> </script> </form> @@ -250,6 +257,7 @@ $("h1").html('<b>' + HPageTitle + '</b>'); //#endregion var HModName = 'Sc_ProcessSendWorkEdit' //åå§åçé¢ set_ClearBill(); @@ -265,6 +273,7 @@ var linterid = params[params[1]];//æºåid var HEntryID = params[params[2]];//æºååid var HIeID = params[params[3]]; //æºåid + æºååid var HEmpIDs = params[params[4]];//èåå表 } //å·¥åºæ´¾å·¥æ°å¢ @@ -280,13 +289,13 @@ $("#HMaker").val(sessionStorage["HUserName"]); } }); //æ¥è¯¢å·¥åºæµè½¬å¡ get_ProcessExchange(); //åå§åçé¢ set_ClearBill(); //æ¥è¯¢å·¥åºæµè½¬å¡ get_ProcessExchange(); } else if (OperationType == 3) { //ç¦ç¨ç»ç»é项 $("#HUSEORGID").attr("disabled", true); $("#HPRDORGID").attr("disabled", true); //åå§åçé¢ set_ClearBill(); RoadBillMain(linterid); @@ -338,6 +347,10 @@ } form.render('select'); } break; //å设置 case 'set_HideColumn': get_HideColumnEdit(HModName, sessionStorage["HUserName"], option, table) break; } }); @@ -630,6 +643,7 @@ $("#HPlanEndDate").val(Format(new Date().setMonth(new Date().getMonth() + 1), "yyyy-MM-dd"));//å·¥åºè®¡åå®å·¥æ¥æ //åå§åè¡¨æ ¼ set_InitGrid(); DisPlay_HideColumnEdit(HModName, sessionStorage["HUserName"], option, table) } //è·åç»ç» @@ -645,8 +659,8 @@ for (var i = 0; i < data.length; i++) { Organization += '<option style="color:blue;" value="' + data[i].ID + '">' + data[i].Name + '</option>'; } $("#HUSEORGID").append(Organization); $("#HUSEORGID").val(sessionStorage["OrganizationID"]) $("#HPRDORGID").append(Organization); $("#HPRDORGID").val(sessionStorage["OrganizationID"]) form.render('select'); } layer.closeAll("loading"); @@ -659,7 +673,7 @@ //表头 columns = [ //表头 { type: 'checkbox', totalRowText: 'å计è¡' } , { type: 'numbers', title: 'åºå·' } , { type: 'numbers', field: 'åºå·', title: 'åºå·' } , { field: 'HMainID', title: '派工å主ID', hide: true }// ç¨äºæå°æ¶è·åæ°æ® , { field: 'HEntryID', title: '派工ååID', hide: true }// ç¨äºæå°æ¶è·åæ°æ® , { field: 'HSourceInterID', title: 'æµè½¬å¡ID', hide: true } @@ -683,7 +697,7 @@ , { field: 'HSourceNumber', title: 'çäº§èµæºä»£ç ', edit: 'text', event: "HSourceCheck" } , { field: 'HSourceName', title: 'çäº§èµæºåç§°' } , { field: 'HWorkerID', title: 'æä½å·¥ID', hide: true } , { field: 'HWorkerNumber', title: 'æä½å·¥ä»£ç ', edit: 'text', event: "HWorkerCheck", hide: true } , { field: 'HWorkerNumber', title: 'æä½å·¥ä»£ç ', edit: 'text', event: "HWorkerCheck", hide: false } , { field: 'HWorkerName', title: 'æä½å·¥åç§°', hide: true } , { field: 'HGroupID', title: 'çç»ID', hide: true } , { field: 'HGroupNumber', title: 'çç»ä»£ç ', edit: 'text', event: "HGroupCheck", hide: true} @@ -771,6 +785,9 @@ ) } option.data = rowdata; setTableHEmp(HEmpIDs); table.render(option); form.render('select'); } else { @@ -783,7 +800,53 @@ }); } function setTableHEmp(HEmpIDs) { if (HEmpIDs != undefined && HEmpIDs != null && HEmpIDs != 0 && HEmpIDs != "") { var ajaxLoad = layer.load(); $.ajax({ url: GetWEBURL() + "/Gy_Employee/list", async: false, type: "GET", data: { "sWhere": " and HItemID in (" + HEmpIDs + ")", "user": sessionStorage["HUserName"], "Organization": sessionStorage["Organization"] }, success: function (result) { if (result.code == 1) { // 说æéªè¯æåäºï¼ var data = result.data; const newData = []; // éå option.data çæ¯ä¸ªå¯¹è±¡ option.data.forEach(templateItem => { // 对æ¯ä¸ª templateItemï¼å¤å¶ data1.length 次 data.forEach(dataItem => { // æ·±æ·è´ templateItem const newItem = JSON.parse(JSON.stringify(templateItem)); // æ¿æ¢å段 newItem.HWorkerID = dataItem.HItemID; newItem.HWorkerNumber = dataItem.èå代ç ; newItem.HWorkerName = dataItem.èååç§°; // æ·»å å°æ°æ°ç» newData.push(newItem); }); }); // æ¿æ¢å option.data option.data = newData; table.render(option); layer.close(ajaxLoad); } else { layer.close(ajaxLoad); layer.alert(result.msg, { icon: 5, btn: ['éåº'], time: 100000, offset: 't' }); } }, error: function () { layer.close(ajaxLoad); layer.alert("åçé误!", { icon: 5 }); } }); } } //é空éªè¯ function AllowLoadData(data) { WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBillEdit_YangMao.html
@@ -995,11 +995,11 @@ var HMaterRuleType = option.data[i].HMaterRuleType; var HMaterRuleExternType = option.data[i].HMaterRuleExternType; if (HMaterRuleExternType == "ææ") { option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWeight); option.data[i].HQty = roundNumber(dealDoubleToFixed(option.data[i].HRate * HWeight), 3).toFixed(3); } else if (HMaterRuleExternType == "å©å") { option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWaterQty * 0.001); option.data[i].HQty = roundNumber(dealDoubleToFixed(option.data[i].HRate * HWaterQty * 0.001), 3).toFixed(3); } else if (HMaterRuleExternType == "å©åï¼æå¸ç®ï¼") { option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWeight * 0.001); option.data[i].HQty = roundNumber(dealDoubleToFixed(option.data[i].HRate * HWeight * 0.001), 3).toFixed(3); } //if (HMaterRuleExternType == 'ç¾æ¯') { // option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWeight * 0.001); @@ -1020,11 +1020,11 @@ var HMaterRuleType = option.data[i].HMaterRuleType; var HMaterRuleExternType = option.data[i].HMaterRuleExternType; if (HMaterRuleExternType == "ææ") { option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWeight); option.data[i].HQty = roundNumber(dealDoubleToFixed(option.data[i].HRate * HWeight), 3).toFixed(3); } else if (HMaterRuleExternType == "å©å") { option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWaterQty * 0.001); option.data[i].HQty = roundNumber(dealDoubleToFixed(option.data[i].HRate * HWaterQty * 0.001), 3).toFixed(3); } else if (HMaterRuleExternType == "å©åï¼æå¸ç®ï¼") { option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWeight * 0.001); option.data[i].HQty = roundNumber(dealDoubleToFixed(option.data[i].HRate * HWeight * 0.001), 3).toFixed(3); } //if (HMaterRuleExternType == 'ç¾æ¯') { // option.data[i].HQty = dealDoubleToFixed(option.data[i].HRate * HWeight * 0.001); @@ -1231,11 +1231,11 @@ var HMaterRuleType = obj.data.HMaterRuleType; var HMaterRuleExternType = obj.data.HMaterRuleExternType; if (HMaterRuleExternType == "ææ") { HQty = dealDoubleToFixed(HRate * HWeight); HQty = roundNumber(dealDoubleToFixed(HRate * HWeight), 3).toFixed(3); } else if (HMaterRuleExternType == "å©å") { HQty = dealDoubleToFixed(HRate * HWaterQty * 0.001); HQty = roundNumber(dealDoubleToFixed(HRate * HWaterQty * 0.001), 3).toFixed(3); } else if (HMaterRuleExternType == "å©åï¼æå¸ç®ï¼") { HQty = dealDoubleToFixed(HRate * HWeight * 0.001); HQty = roundNumber(dealDoubleToFixed(HRate * HWeight * 0.001), 3).toFixed(3); } //if (HMaterRuleExternType == 'ç¾æ¯') { // HQty = dealDoubleToFixed(HRate * HWeight * 0.001); @@ -1254,11 +1254,11 @@ var HQty = 0; var HMaterRuleType = value; if (HMaterRuleType == "ææ") { HQty = dealDoubleToFixed(HRate * HWeight); HQty = roundNumber(dealDoubleToFixed(HRate * HWeight), 3).toFixed(3); } else if (HMaterRuleType == "å©å") { HQty = dealDoubleToFixed(HRate * HWaterQty * 0.001); HQty = roundNumber(dealDoubleToFixed(HRate * HWaterQty * 0.001), 3).toFixed(3); } else if (HMaterRuleType == "å©åï¼æå¸ç®ï¼") { HQty = dealDoubleToFixed(HRate * HWeight * 0.001); HQty = roundNumber(dealDoubleToFixed(HRate * HWeight * 0.001), 3).toFixed(3); } //åæ¥æ´æ°è¡¨æ ¼åç¼å对åºçå¼ obj.update({ @@ -1436,7 +1436,7 @@ , { field: 'HUnitName', title: '计éåä½', width: 100 } , { field: 'HQtyMust', title: 'åºåæ°é', width: 100, hide: true } , { field: 'HRate', title: 'ç¨éâ°', edit: 'text', width: 100 } , { field: 'HQty', title: 'éé', edit: 'text', width: 100 } , { field: 'HQty', title: 'éé', edit: 'text', width: 100, } , { field: 'HWeight', title: 'å®é ç§°é', width: 100 } , { field: 'HPrice', title: 'åä»·', width: 100, hide: true } , { field: 'HMoney', title: 'éé¢', width: 100, hide: true } @@ -1625,6 +1625,7 @@ option.data = result.list[0]; for (var i = 0; i < option.data.length; i++) { option.data[i]["HRate"] = (option.data[i]["HRate"] * 1).toFixed(6); option.data[i]["HQty"] = roundNumber((option.data[i]["HQty"] * 1), 3).toFixed(3); } table.render(option); //option1.data = result.list[1]; @@ -1836,11 +1837,11 @@ var HWeight = $("#HWeight").val(); var HWaterQty = $("#HWaterQty").val(); if (option.data[rowIndex + i].HMaterRuleExternType == "ææ") { option.data[rowIndex + i].HQty = dealDoubleToFixed(option.data[rowIndex + i].HRate * HWeight); option.data[rowIndex + i].HQty = roundNumber(dealDoubleToFixed(option.data[rowIndex + i].HRate * HWeight), 3).toFixed(3); } else if (option.data[rowIndex + i].HMaterRuleExternType == "å©å") { option.data[rowIndex + i].HQty = dealDoubleToFixed(option.data[rowIndex + i].HRate * HWaterQty * 0.001); option.data[rowIndex + i].HQty = roundNumber(dealDoubleToFixed(option.data[rowIndex + i].HRate * HWaterQty * 0.001), 3).toFixed(3); } else if (option.data[rowIndex + i].HMaterRuleExternType == "å©åï¼æå¸ç®ï¼") { option.data[rowIndex + i].HQty = dealDoubleToFixed(option.data[rowIndex + i].HRate * HWeight * 0.001); option.data[rowIndex + i].HQty = roundNumber(dealDoubleToFixed(option.data[rowIndex + i].HRate * HWeight * 0.001), 3).toFixed(3); } //if (option.data[rowIndex + i].HMaterRuleExternType == "ç¾æ¯") { // option.data[rowIndex + i].HQty = dealDoubleToFixed(option.data[rowIndex + i].HRate * HWeight * 0.001); @@ -2281,22 +2282,28 @@ //#region åè¡¨å ³é®å段é夿£éª var num = []; for (var i = 0; i < option.data.length; i++) { temp = option.data[i]["HMaterID"]; if ($.inArray(temp, num) != -1) { layer.msg("第" + (i + 1) + "è¡ï¼ç©æéå¤ï¼è¯·éæ°éæ©ï¼"); console.log(option); return Result = false; } num.push(temp); } // var num = []; // for (var i = 0; i < option.data.length; i++) { // temp = option.data[i]["HMaterID"]; // if ($.inArray(temp, num) != -1) { // layer.msg("第" + (i + 1) + "è¡ï¼ç©æéå¤ï¼è¯·éæ°éæ©ï¼"); // console.log(option); // return Result = false; // } // num.push(temp); // } //#endregion return Result; } //#endregion // åèäºå ¥æ¹æ³ function roundNumber(num, decimalPlaces) { var factor = Math.pow(10, decimalPlaces); return Math.round((num + Math.pow(2, -52)) * factor) / factor; } //#region æ ¹æ®å·¥èºåå·è·åè¡¨å¤´ä¿¡æ¯ function getMainInfoByHProcExchBillNo() { var HProcExchBillNo = $("#HProcExchBillNo").val(); WebTM/views/ÁìÁÏ·¢»õ/ÁìÁϳö¿â/Kf_MateOutBillList.html
@@ -909,7 +909,7 @@ DisPlay_HideColumn() ins = table.render(option); if($("#ColName option").length < 1){ if ($("#ColName option").length < 1) { ColFilter() } @@ -1311,15 +1311,26 @@ }); var linterid = obj.data["hmainid"]; var title = 'ç¼è¾çäº§é¢æå' var content = '../颿åºåº/Kf_MateOutBillLEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&closeType=1' if (subType) { if (subType == 'ç¾æ¯æè²') { content = '../颿åºåº/Kf_MateOutBillEdit_YangMao.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&closeType=1' } else if (subType == 'æ¯å°') { content = '../颿åºåº/Kf_MateOutBillEdit_MaoJian.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&closeType=1' } } layer.open({ type: 2 , area: ['100%', '100%'] , title: 'ç¼è¾çäº§é¢æå' , title: title , closeBtn: 1 , shade: 0.6 //é®ç½©éæåº¦ , maxmin: true //å è®¸å ¨å±æå°å , anim: 0 //0-6çå¨ç»å½¢å¼ï¼-1ä¸å¼å¯ , content: '../颿åºåº/Kf_MateOutBillLEdit.html?OperationType=3&linterid=' + linterid + '&HSouceBillType=0&closeType=1' , content: content , resize: false, end: function () { //get_FastQuery(table, option);