@layout("/common/_form.html",{js:["/assets/modular/em/equipmentMaintainPlan/equipmentMaintainPlan_edit.js"]}){
|
|
<form class="layui-form" id="equipmentMaintainPlanForm" lay-filter="equipmentMaintainPlanForm">
|
<div class="layui-fluid" style="padding-bottom: 75px;">
|
<div class="layui-card">
|
<div class="layui-card-header">基本信息</div>
|
<div class="layui-card-body">
|
<div class="layui-form-item layui-row">
|
<input name="id" type="hidden"/>
|
<input id="materialList" hidden/>
|
|
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">设备编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="equipmentNo" name="equipmentNo" placeholder="请输入设备编号" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">设备名称<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="equipmentName" name="equipmentName" placeholder="请输入设备名称" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">计划编号<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="planNo" name="planNo" placeholder="请输入计划编号" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">计划名称<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="planName" name="planName" placeholder="请输入计划名称" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">计划类型<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<!-- <input id="planType" name="planType" placeholder="请输入计划类型(单次计划、固定时间循环)" type="text" class="layui-input" lay-verify="required" required/>-->
|
<select id="planType" name="planType" lay-filter="planType">
|
<option value="">请选择计划类型</option>
|
<option value="单次计划">单次计划</option>
|
<option value="固定时间循环">固定时间循环</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">保养类别<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<!-- <input id="maintainType" name="maintainType" placeholder="请输入保养类别(日常保养、一级保养、二级保养、三级保养)" type="text" class="layui-input" lay-verify="required" required/>-->
|
<select id="maintainType" name="maintainType" lay-filter="maintainType">
|
<option value="">请选择保养类别</option>
|
<option value="日常保养">日常保养</option>
|
<option value="一级保养">一级保养</option>
|
<option value="二级保养">二级保养</option>
|
<option value="三级保养">三级保养</option>
|
</select>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">间隔时间<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="intervalTime" name="intervalTime" placeholder="请输入间隔时间" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<div class="layui-inline layui-col-md4">
|
<label class="layui-form-label">间隔单位<span style="color: red;">*</span></label>
|
<div class="layui-input-block">
|
<input id="intervalUnit" name="intervalUnit" placeholder="请输入间隔单位" type="text" class="layui-input" lay-verify="required" required/>
|
</div>
|
</div>
|
<!-- <div class="layui-inline layui-col-md4">-->
|
<!-- <label class="layui-form-label">状态<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!--<!– <input id="state" name="state" placeholder="请输入状态(启用、禁用)" type="text" class="layui-input" lay-verify="required" required/>–>-->
|
<!-- <select id="state" name="state" lay-filter="state">-->
|
<!-- <option value="">请选择状态</option>-->
|
<!-- <option value="启用">启用</option>-->
|
<!-- <option value="禁用">禁用</option>-->
|
<!-- </select> </div>-->
|
<!-- </div>-->
|
<div class="layui-row">
|
<div class="layui-inline" style="margin-bottom: 10px">
|
<button id="btnAdds" type="button" class="layui-btn icon-btn"><i class="layui-icon"></i>保养内容配置
|
</button>
|
</div>
|
</div>
|
<table class="layui-table" id="eqConfTable" lay-filter="eqConfTable"></table>
|
<!-- <div class="layui-inline layui-col-md12">-->
|
<!-- <label class="layui-form-label">预留字段1<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!-- <input id="spareField1" name="spareField1" placeholder="请输入预留字段1" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="layui-inline layui-col-md12">-->
|
<!-- <label class="layui-form-label">预留字段2<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!-- <input id="spareField2" name="spareField2" placeholder="请输入预留字段2" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="layui-inline layui-col-md12">-->
|
<!-- <label class="layui-form-label">备注<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!-- <input id="remarks" name="remarks" placeholder="请输入备注" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="layui-inline layui-col-md12">-->
|
<!-- <label class="layui-form-label">开始保养时间<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!-- <input id="startTime" name="startTime" placeholder="请输入开始保养时间" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
<!-- <div class="layui-inline layui-col-md12">-->
|
<!-- <label class="layui-form-label">结束保养时间<span style="color: red;">*</span></label>-->
|
<!-- <div class="layui-input-block">-->
|
<!-- <input id="endTime" name="endTime" placeholder="请输入结束保养时间" type="text" class="layui-input" lay-verify="required" required/>-->
|
<!-- </div>-->
|
<!-- </div>-->
|
</div>
|
</div>
|
</div>
|
</div>
|
<div class="form-group-bottom text-center">
|
<button class="layui-btn" lay-filter="btnSubmit" lay-submit> 提交 </button>
|
<button id="cancel" type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog"> 取消 </button>
|
</div>
|
|
</form>
|
<script type="text/html" id="tableBar">
|
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
|
</script>
|
|
@}
|