@layout("/common/_form.html",{js:["/assets/modular/em/equipmentMaintainTask/equipmentMaintainTask_edit.js"]}){
|
|
<form class="layui-form" id="equipmentMaintainTaskForm" lay-filter="equipmentMaintainTaskForm">
|
<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="code" name="code" type="text" class="layui-input layui-disabled" disabled="disabled" lay-verify="required" required/>-->
|
<input id="equipmentNo" name="equipmentNo" placeholder="请输入设备编号" type="text" class="layui-input layui-disabled" 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 layui-disabled" 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="taskNo" name="taskNo" placeholder="请输入任务编号" type="text" class="layui-input layui-disabled" 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 layui-disabled" 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 layui-disabled" 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="maintainType" name="maintainType" placeholder="请输入保养类别(日常保养、一级保养、二级保养、三级保养)" type="text" class="layui-input layui-disabled" 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="maintainState" name="maintainState" placeholder="请输入保养状态(待保养、保养中、已保养)" type="text" class="layui-input layui-disabled" 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="maintainUser" name="maintainUser" placeholder="请输入保养人" type="text" class="layui-input layui-disabled" 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="maintainResult" name="maintainResult" placeholder="请输入保养结果(通过、不通过)" type="text" class="layui-input" lay-verify="required" required/>-->
|
<select id="maintainResult" name="maintainResult" lay-filter="maintainResult">
|
<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="reason" name="reason" 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="maintainPrice" name="maintainPrice" 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="externalMaintain" name="externalMaintain" placeholder="请输入外部保养(是、否)" type="text" class="layui-input" lay-verify="required" required/>-->
|
<select id="externalMaintain" name="externalMaintain" lay-filter="externalMaintain">
|
<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="finishTime" name="finishTime" 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="maintainTime" name="maintainTime" 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="remarks" name="remarks" 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>
|
|
<script type="text/html" id="statusTpl">
|
<input type="checkbox" lay-filter="state" value="{{d.id}}" lay-skin="switch" lay-text="已保养|未保养" {{d.maintainResult=='已保养'?'checked':''}} />
|
</script>
|
|
|
@}
|