| | |
| | | .btn-title { |
| | | font-size: 16px; |
| | | } |
| | | .layui-form-select .layui-input { |
| | | padding-right: 0px; |
| | | } |
| | | /*.table-select { |
| | | margin-top: -10px; |
| | | margin-left: -15px; |
| | |
| | | <div class="layui-card-body" style="padding: 1px;"> |
| | | <form class="layui-form" action="" lay-filter="formData" style="background-color:white;"> |
| | | <div style="padding: 10px;"> |
| | | <button type="button" id="btnSave" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal layui-btn-radius" lay-submit="" lay-filter="Exit">éåº</button> |
| | | <button type="button" id="btnSave" class="layui-btn layui-btn-normal" style="margin-left: 0px" lay-submit="" lay-filter="btnSave">ä¿å</button> |
| | | <button type="button" class="layui-btn layui-btn-normal" lay-submit="" style="margin-left: 0px" lay-filter="Exit">éåº</button> |
| | | </div> |
| | | <div class="layui-tab" lay-filter="tab-POStockInBill"> |
| | | <!--<ul class="layui-tab-title" lay-filter="tab-all"> |
| | |
| | | <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="HBillNo" id="HBillNo" style="background-color:#efefef4d;" readonly> |
| | | <input type="text" class="layui-input" name="HBillNo" id="HBillNo" readonly> |
| | | <input type="hidden" name="HInterID" id="HInterID"> |
| | | </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="date" class="layui-input" name="HDate" id="HDate" style="padding-left: 32px;"> |
| | | <input type="text" class="layui-input" name="HDate" id="HDate" readonly> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline" style="margin-left:10px;"> |
| | | <label class="layui-form-label">货主类å</label> |
| | | <div class="layui-input-block"> |
| | | <select name="HMouldOWNER" lay-filter="HMouldOWNER" id="HMouldOWNER"> |
| | | <option value="èªè´¹" selected="selected">èªè´¹</option> |
| | | <option value="客ä¾">客ä¾</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¨å
·ç¼å·</label> |
| | | <label class="layui-form-label" style="width: 85px;">å¨å
·ç¼å·<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HMouldNo" id="HMouldNo" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HMouldNo" id="HMouldNo" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¨å
·åç§°</label> |
| | | <label class="layui-form-label" style="width: 85px;">å¨å
·åç§°<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HName" id="HName" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HName" id="HName" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">å¨å
·è§æ ¼</label> |
| | | <label class="layui-form-label" style="width: 85px;">å¨å
·è§æ ¼<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HModel" id="HModel" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HModel" id="HModel" > |
| | | </div> |
| | | </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="HModel2" id="HModel2" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HModel2" id="HModel2"> |
| | | </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="HDiameter" id="HDiameter" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HDiameter" id="HDiameter" > |
| | | </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="HSubjoin" id="HSubjoin" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HSubjoin" id="HSubjoin" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">è¾
å©å±æ§2</label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HSubjoin2" id="HSubjoin2" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HSubjoin2" id="HSubjoin2" > |
| | | </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="HPICNo" id="HPICNo" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HPICNo" id="HPICNo" > |
| | | </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="HWorkMaterModel" id="HWorkMaterModel" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HWorkMaterModel" id="HWorkMaterModel" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">对åºERPç©æ</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HMaterID" id="HMaterID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMaterList" id="btnHMaterList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HMaterID" id="HMaterID" style="background-color:#efefef4d;width: 60%;display: inline-block;" value="0"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMaterList" id="btnHMaterList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å¨å
·åç±»</label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å¨å
·åç±»<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMouleTypeName" id="HMouleTypeName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HMouleTypeName" id="HMouleTypeName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HMouleTypeID" id="HMouleTypeID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMouleList" id="btnHMouleList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMouleList" id="btnHMouleList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">åä½</label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">åä½<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HUnitName" id="HUnitName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HUnitName" id="HUnitName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HUnitID" id="HUnitID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHUnitList" id="btnHUnitList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHUnitList" id="btnHUnitList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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="date" class="layui-input" name="HOutComDate" id="HOutComDate" style="padding-left: 32px; width:185px;"> |
| | | <input type="text" class="layui-input" name="HOutComDate" id="HOutComDate" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">åºåç¼å·</label> |
| | | <div class="layui-input-block" style="margin-left: 125px;"> |
| | | <input type="text" class="layui-input" name="HOutComNo" id="HOutComNo" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HOutComNo" id="HOutComNo" /> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">使ç¨é¨é¨</label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">使ç¨é¨é¨<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 80px;"> |
| | | <input type="text" class="layui-input" name="HDeptName" id="HDeptName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HDeptName" id="HDeptName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HDeptID" id="HDeptID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHDeptList" id="btnHDeptList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHDeptList" id="btnHDeptList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" ></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ä¾åºå</label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">ä¾åºå<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HSupName" id="HSupName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HSupName" id="HSupName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HSupID" id="HSupID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSupList" id="btnHSupList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSupList" id="btnHSupList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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="HMouldStatus" id="HMouldStatus" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HMouldStatus" id="HMouldStatus" > |
| | | </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="HSaveLife" id="HSaveLife" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">é»è®¤ä»åº</label> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">é»è®¤ä»åº<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HWHName" id="HWHName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HWHName" id="HWHName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HWHID" id="HWHID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHWHList" id="btnHWHList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHWHList" id="btnHWHList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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="HVersion" id="HVersion" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HVersion" id="HVersion" > |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">é»è®¤ä»ä½</label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HSPName" id="HSPName" style="background-color:#efefef4d;width: 60%;display: inline-block;" readonly> |
| | | <input type="text" class="layui-input" name="HSPName" id="HSPName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HSPID" id="HSPID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSPIDList" id="btnHSPIDList" style="padding: 0 10px;float: left;margin-right: 3px;background-color:gainsboro;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" style="color:black;"></i> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHSPIDList" id="btnHSPIDList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn" ></i> |
| | | </button> |
| | | </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="HDesignLife" id="HDesignLife" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HDesignLife" id="HDesignLife" > |
| | | </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="HUseLife" id="HUseLife" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HUseLife" id="HUseLife" > |
| | | </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="HLeaveLife" id="HLeaveLife" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HLeaveLife" id="HLeaveLife" > |
| | | </div> |
| | | </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="HProdQty" id="HProdQty" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HProdQty" id="HProdQty" > |
| | | </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="HProdWeight" id="HProdWeight" style="background-color:#efefef4d;"> |
| | | <input type="text" class="layui-input" name="HProdWeight" id="HProdWeight"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;">ç©´æ°<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 120px;"> |
| | | <input type="text" class="layui-input" name="HCaveQty" id="HCaveQty" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">é»è®¤ä¿å
»è§ç¨<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMouldMaintainRuleInterName" id="HMouldMaintainRuleInterName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HMouldMaintainRuleInterID" id="HMouldMaintainRuleInterID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HMouldMaintainRuleInterList" id="HMouldMaintainRuleInterList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </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="HBarCode" id="HBarCode"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">å¶é åå<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HMadeSupName" id="HMadeSupName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HMadeSupID" id="HMadeSupID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="btnHMadeSup" id="btnHMadeSup" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div> |
| | | <!--<div class="layui-inline"> |
| | | <label class="layui-form-label" style="width: 85px;padding: 9px 18px;">èæä»<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 77px;"> |
| | | <input type="text" class="layui-input" name="HNowSupName" id="HNowSupName" style="width: 60%;display: inline-block;" readonly> |
| | | <input type="hidden" class="layui-input" name="HNowSupID" id="HNowSupID" style="background-color:#efefef4d;width: 60%;display: inline-block;"> |
| | | <button class="layui-btn layuiadmin-btn-order" type="button" lay-submit="" lay-filter="HNowSupList" id="HNowSupList" style="padding: 0 10px;float: right;margin-right: 3px;"> |
| | | <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i> |
| | | </button> |
| | | </div> |
| | | </div>--> |
| | | </div> |
| | | <div class="layui-row"> |
| | | <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="HNextMainDate" id="HNextMainDate" readonly> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | set_btnSave(data); |
| | | }) |
| | | |
| | | //èªå¨è®¡ç®å©ä½å¯¿å½ |
| | | $("#HUseLife").blur(function () { |
| | | var beginlife = $("#HDesignLife").val(); |
| | | var userlife = $("#HUseLife").val(); |
| | | var result = beginlife - userlife; |
| | | if (result > 0) { |
| | | $("#HLeaveLife").val(result) |
| | | } |
| | | }); |
| | | $("#HDesignLife").blur(function () { |
| | | var beginlife = $("#HDesignLife").val(); |
| | | var userlife = $("#HUseLife").val(); |
| | | var result = beginlife - userlife; |
| | | if (result > 0) { |
| | | $("#HLeaveLife").val(result) |
| | | } |
| | | }); |
| | | |
| | | //对åºErpç©æ |
| | | form.on('submit(btnHMaterList)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | |
| | | if (checkStatus.data.length === 0) { |
| | | return layer.msg('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HName").val(checkStatus.data[0].HName); |
| | | $("#HMaterNumber").val(checkStatus.data[0].HNumber); |
| | | $("#HMaterID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | |
| | | } |
| | | $("#HSupName").val(checkStatus.data[0].HName); |
| | | $("#HSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //å¶é åå |
| | | form.on('submit(btnHMadeSup)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'å¶é ååå表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/SupplierInformation.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HMadeSupName").val(checkStatus.data[0].HName); |
| | | $("#HMadeSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | |
| | | }); |
| | | }); |
| | | |
| | | //é»è®¤ä¿å
»è§ç¨ |
| | | form.on('submit(HMouldMaintainRuleInterList)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'ä¿å
»è§ç¨', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['Sc_MouldMaintainRuleBillList.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HMouldMaintainRuleInterName").val(checkStatus.data[0].åæ®å·); |
| | | $("#HMouldMaintainRuleInterID").val(checkStatus.data[0].hmainid); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //é»è®¤ç¹æ£è§ç¨ |
| | | form.on('submit(HMouldDotCheckRuleInterList)', function () { |
| | | //页é¢å±-èªå®ä¹ |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'ç¹æ£è§ç¨', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/MouldDotCheckRuleInterList.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HMouldDotCheckRuleInterName").val(checkStatus.data[0].åæ®å·); |
| | | $("#HMouldDotCheckRuleInterID").val(checkStatus.data[0].hmainid); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | }); |
| | | |
| | | //èæä» |
| | | form.on('submit(HNowSupList)', function () { |
| | | var typeid = $("#HNowSupTypeID").val();//è·åèæä»ç±»å |
| | | if (typeid == 1) { |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'ä¾åºåå表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/SupplierInformation.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HNowSupName").val(checkStatus.data[0].HName); |
| | | $("#HNowSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | } |
| | | else if (typeid == 2) { |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: '客æ·å表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/CustomerInformation.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HNowSupName").val(checkStatus.data[0].HName); |
| | | $("#HNowSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | } |
| | | else if (typeid == 3) { |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'é¨é¨å表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/DeptInformation.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HNowSupName").val(checkStatus.data[0].HName); |
| | | $("#HNowSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | } |
| | | else { |
| | | layer.open({ |
| | | type: 2, |
| | | skin: 'layui-layer-rim', //å ä¸è¾¹æ¡ |
| | | title: 'ä»åºå表', |
| | | closeBtn: 1, |
| | | shift: 2, |
| | | area: ['80%', '80%'], |
| | | maxmin: true, |
| | | content: ['../../PublicPage/WareHouseInformation.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('è¯·éæ©æ°æ®'); |
| | | } |
| | | $("#HNowSupName").val(checkStatus.data[0].HName); |
| | | $("#HNowSupID").val(checkStatus.data[0].HItemID); |
| | | layer.close(layer.index); //å®è·åçå§ç»æ¯ææ°å¼¹åºçæä¸ªå±ï¼å¼æ¯ç±layerå
é¨å¨æéå¢è®¡ç®ç |
| | | } |
| | | , btn2: function (index, layero) { |
| | | //æé®ãæé®äºãçåè° |
| | | //return false å¼å¯è¯¥ä»£ç å¯ç¦æ¢ç¹å»è¯¥æé®å
³é |
| | | }, |
| | | end: function () { |
| | | |
| | | }, |
| | | success: function (layero, index) { |
| | | |
| | | } |
| | | }); |
| | | } |
| | | }); |
| | | //#endregion |
| | | |
| | | |
| | |
| | | }, |
| | | success: function (d) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(d)).data; |
| | | |
| | | $("#HInterID").val(d.data[0].hmainid); |
| | | $("#HBillNo").val(d.data[0].åæ®å·); |
| | | $("#HDate").val(formatDate(d.data[0].æ¥æ)); |
| | | $("#HMouldOWNER").val(d.data[0].货主类å); |
| | | $("#HMouldNo").val(d.data[0].模å
·ç¼å·); |
| | | $("#HName").val(d.data[0].模å
·åç§°); |
| | | $("#HModel").val(d.data[0].å½å模å
·è§æ ¼); |
| | |
| | | $("#HSupID").val(d.data[0].HSupID); |
| | | $("#HSupName").val(d.data[0].ä¾åºå); |
| | | $("#HMouldStatus").val(d.data[0].模å
·ç¶æ); |
| | | $("#HSaveLife").val(d.data[0].å®å
¨å¯¿å½); |
| | | $("#HWHID").val(d.data[0].HWhID); |
| | | $("#HWHName").val(d.data[0].é»è®¤ä»åº); |
| | | //$("#HRoutingID").val(d.data[0].HRoutingID); |
| | |
| | | //$("#HSPGroupID").val(d.data[0].HSPGroupID); |
| | | $("#HSPID").val(d.data[0].HSPID); |
| | | $("#HSPName").val(d.data[0].é»è®¤ä»ä½); |
| | | //$("#HBarCode").var(d.data[0].æ¡ç ç¼å·); |
| | | //$("#HInitDesignLife").val(d.data[0].HInitDesignLife); |
| | | //$("#HInitModel").val(d.data[0].HInitModel); |
| | | $("#HDesignLife").val(d.data[0].åå§è®¾è®¡å¯¿å½); |
| | | $("#HUseLife").val(d.data[0].使ç¨å¯¿å½); |
| | | $("#HLeaveLife").val(d.data[0].å©ä½å¯¿å½); |
| | | $("#HCaveQty").val(d.data[0].ç©´æ°); |
| | | $("#HProdQty").val(d.data[0].å·²ç产æ°é); |
| | | $("#HProdWeight").val(d.data[0].å·²ç产éé); |
| | | } |
| | | $("#HMouldDotCheckRuleInterName").val(d.data[0].ç¹æ£è§ç¨åå·); |
| | | $("#HMouldDotCheckRuleInterID").val(d.data[0].HMouldDotCheckRuleInterID); |
| | | $("#HMouldMaintainRuleInterName").val(d.data[0].ä¿å
»è§ç¨åå·); |
| | | $("#HMouldMaintainRuleInterID").val(d.data[0].HMouldMaintainRuleInterID); |
| | | $("#HBarCode").val(d.data[0].æ¡ç ç¼å·); |
| | | $("#HMadeSupID").val(d.data[0].HMadeSupID); |
| | | $("#HMadeSupName").val(d.data[0].å¶é åå); |
| | | //$("#HNowSupID").val(d.data[0].HNowSupID); |
| | | //$("#HNowSupName").val(d.data[0].èæä»); |
| | | var HCycleUnit = d.data[0].卿åä½; |
| | | var HCheckCycle = d.data[0].ä¿å
»å¨æ; |
| | | |
| | | if ( !(HCycleUnit == null || HCheckCycle == null ) ) { |
| | | calculateHNextMainDate(d.data[0].hmainid, HCycleUnit, HCheckCycle); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | |
| | |
| | | // }, function () { window.location.href = "../../user/login.html"; }); |
| | | //} |
| | | |
| | | |
| | | //#region 计ç®-䏿¬¡ä¿å
»/æ ¡æ£æ¥æ |
| | | function calculateHNextMainDate(HInterID, HCycleUnit, HCheckCycle) { |
| | | var HInterID = $("#HInterID").val(); |
| | | $.ajax({ |
| | | url: GetWEBURL() + "/Gy_Mould_Edit/calculateHNextMainDate", |
| | | async: false, |
| | | type: "GET", |
| | | data: { |
| | | "HInterID": HInterID |
| | | }, |
| | | success: function (d) { |
| | | ajaxReturnData = JSON.parse(JSON.stringify(d)).data; |
| | | |
| | | var HDate = $("#HDate").val(); |
| | | var HEndDate = d.data[0].ä¿å
»è®°å½ç»ææ¥æ == null ? Format(new Date(HDate), "yyyy-MM-dd") : Format(new Date(d.data[0].ä¿å
»è®°å½ç»ææ¥æ), "yyyy-MM-dd"); |
| | | |
| | | if (HCycleUnit == "天") { |
| | | var time = HCheckCycle * 1000 * 60 * 60 * 24; |
| | | time += Date.parse(new Date(HEndDate)); |
| | | var HNextMainDate = Format(new Date(time), "yyyy-MM-dd"); |
| | | $("#HNextMainDate").val(HNextMainDate); |
| | | } else if (HCycleUnit == "å¨") { |
| | | var time = HCheckCycle * 7 * 1000 * 60 * 60 * 24; |
| | | time += Date.parse(new Date(HEndDate)); |
| | | var HNextMainDate = Format(new Date(time), "yyyy-MM-dd"); |
| | | $("#HNextMainDate").val(HNextMainDate); |
| | | } else if (HCycleUnit == "æ") { |
| | | var year = HEndDate.split("-")[0] * 1; |
| | | var month = HEndDate.split("-")[1] * 1; |
| | | var day = HEndDate.split("-")[2] * 1; |
| | | |
| | | if ((month + HCheckCycle) % 12 == 0) { |
| | | year += parseInt(((month + HCheckCycle) / 12 - 1)); |
| | | month = 12; |
| | | } else { |
| | | year += parseInt((month + HCheckCycle) / 12); |
| | | month = (month + HCheckCycle) % 12; |
| | | } |
| | | var HNextMainDate = year + "-" + month + "-" + day; |
| | | $("#HNextMainDate").val(HNextMainDate); |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | //#endregion |
| | | }); |
| | | |
| | | function AllowLoadData() { //é空éªè¯ |
| | |
| | | if ($("#HWHID").val() == '' || $("#HWHID").val() == null) { |
| | | layer.msg("é»è®¤ä»åºä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if ($("#HCaveQty").val() == '' || $("#HCaveQty").val() == null) { |
| | | layer.msg("ç©´æ°ä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | |
| | | //if ($("#HNowSupID").val() == '' || $("#HNowSupID").val() == null) { |
| | | // layer.msg("è¯·éæ©èæä»ï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | // return Result = false; |
| | | //} |
| | | if ($("#HMouldMaintainRuleInterID").val() == '' || $("#HMouldMaintainRuleInterID").val() == null) { |
| | | layer.msg("è¯·éæ©é»è®¤ä¿å
»è§ç¨ï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | if ($("#HMadeSupID").val() == '' || $("#HMadeSupID").val() == null) { |
| | | layer.msg("å¶é ååä¸è½ä¸ºç©ºï¼", { icon: 5, btn: ['确认'], time: 2000, offset: 't', skin: 'layui-layer-lan', title: "温馨æç¤º" }); |
| | | return Result = false; |
| | | } |
| | | return Result; |
| | | } |
| | | </script> |