| | |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">设å¤ç¼å·</label> |
| | | <label class="layui-form-label">设å¤ç¼å·<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEquipFileNo" id="HEquipFileNo"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">设å¤åç§°</label> |
| | | <label class="layui-form-label">设å¤åç§°<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HName" id="HName"> |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">设å¤è§æ ¼</label> |
| | | <label class="layui-form-label">设å¤è§æ ¼<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HModel" id="HModel"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">设å¤ä»£ç </label> |
| | | <label class="layui-form-label">设å¤ä»£ç <label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEquipFileNumber" id="HEquipFileNumber"> |
| | | </div> |
| | |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">对åºERPç©æ</label> |
| | | <label class="layui-form-label">对åºERPç©æ<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HMaterNumber" id="HMaterNumber" style="float:left;width:150px;"> |
| | | <input type="hidden" class="layui-input" name="HMaterID" id="HMaterID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">设å¤åç±»</label> |
| | | <label class="layui-form-label">设å¤åç±»<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HEquipFileTypeName" id="HEquipFileTypeName" style="float:left;width:150px;"> |
| | | <input type="hidden" class="layui-input" name="HEquipFileTypeID" id="HEquipFileTypeID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">åä½</label> |
| | | <label class="layui-form-label">åä½<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUnitName" id="HUnitName" style="float:left;width:150px;"> |
| | | <input type="hidden" class="layui-input" name="HUnitID" id="HUnitID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ä¾åºå</label> |
| | | <label class="layui-form-label">ä¾åºå<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HSellSupName" id="HSellSupName" style="float:left;width:150px;"> |
| | | <input type="hidden" class="layui-input" name="HSellSupID" id="HSellSupID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | <div class="layui-form-item"> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">使ç¨é¨é¨</label> |
| | | <label class="layui-form-label">使ç¨é¨é¨<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HDeptName" id="HDeptName" style="float:left;width:150px;"> |
| | | <input type="hidden" class="layui-input" name="HDeptID" id="HDeptID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">使ç¨è´è´£äºº</label> |
| | | <label class="layui-form-label">使ç¨è´è´£äºº<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HUseEmpName" id="HUseEmpName" style="float:left;width:150px;"> |
| | | <input type="hidden" class="layui-input" name="HUseEmpID" id="HUseEmpID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">ç»´æ¤è´è´£äºº</label> |
| | | <label class="layui-form-label">ç»´æ¤è´è´£äºº<label style="color:red"> * </label></label> |
| | | <div class="layui-input-inline"> |
| | | <input type="text" class="layui-input" name="HRepairEmpName" id="HRepairEmpName" style="float:left;width:150px;" y> |
| | | <input type="hidden" class="layui-input" name="HRepairEmpID" id="HRepairEmpID" style="float:left;width:150px;"> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="layui-inline"> |
| | | <label class="layui-form-label">设å¤ç¶æ</label> |
| | | <label class="layui-form-label">设å¤ç¶æ<label style="color:red"> * </label></label> |
| | | <div class="layui-input-block" style="margin-left: 125px;width:55%;"> |
| | | <select name="HStatus" lay-filter="aihao" id="HStatus"> |
| | | <option value="空é²" selected="selected">空é²</option> |
| | |
| | | $("#HUnitName").val(d.data[0].åä½); |
| | | $("#HEquipFileTypeID").val(d.data[0].HEquipFileTypeID); |
| | | $("#HEquipFileTypeName").val(d.data[0].设å¤ç±»å); |
| | | $("#HOutComDate").val(d.data[0].设å¤åºåæ¥æ); |
| | | $("#HOutComDate").val(formatDate(d.data[0].设å¤åºåæ¥æ)); |
| | | $("#HSellSupID").val(d.data[0].HSellSupID); |
| | | $("#HSellSupName").val(d.data[0].ä¾åºå); |
| | | $("#HMakeSupID").val(d.data[0].HMakeSupID); |
| | |
| | | $("#HRepairEmpID").val(d.data[0].HRepairEmpID); |
| | | $("#HRepairEmpName").val(d.data[0].ç»´æ¤è´è´£äºº); |
| | | $("#HAddress").val(d.data[0].å®è£
å°ç¹); |
| | | $("#HSetupDate").val(d.data[0].å®è£
æ¥æ); |
| | | $("#HStartupDate").val(d.data[0].è¿è¡å¼å§æ¥æ); |
| | | $("#HSetupDate").val(formatDate(d.data[0].å®è£
æ¥æ)); |
| | | $("#HStartupDate").val(formatDate(d.data[0].è¿è¡å¼å§æ¥æ)); |
| | | $("#HStatus").val(d.data[0].å½åç¶æ); |
| | | $("#HEquipDotCheckRuleInterID").val(d.data[0].HEquipDotCheckRuleInterID); |
| | | $("#HEquipDotCheckRuleInterName").val(d.data[0].é»è®¤ç¹æ£è§ç¨); |
| | |
| | | dataType: "json", |
| | | success: function (data) { |
| | | if (data.count == 1) { |
| | | layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | layer.msg(data.Message, { time: 1 * 10000, icon: 1 }, function () { |
| | | if (linterid == undefined) { |
| | | $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true); |
| | | var index = parent.layer.getFrameIndex(window.name); //å
å¾å°å½åiframeå±çç´¢å¼ |
| | | parent.layer.close(index); //åæ§è¡å
³é |
| | | location.reload(); |
| | | } |
| | | else { |
| | | var index = parent.layer.getFrameIndex(window.name); //å
å¾å°å½åiframeå±çç´¢å¼ |
| | | parent.layer.close(index); //åæ§è¡å
³é |
| | | location.reload(); |
| | | } |
| | | }); |
| | | } |
| | |
| | | layer.msg(data.Message, { time: 1 * 1000, icon: 1 }, function () { |
| | | if (linterid == undefined) { |
| | | $('#btnSave').addClass("layui-btn-disabled").attr("disabled", true); |
| | | location.reload(); |
| | | } |
| | | else { |
| | | var index = parent.layer.getFrameIndex(window.name); //å
å¾å°å½åiframeå±çç´¢å¼ |
| | | parent.layer.close(index); //åæ§è¡å
³é |
| | | location.reload(); |
| | | } |
| | | |
| | | }); |