<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
|
<script type="text/javascript" src="${pageContext.request.contextPath }/pms/pub/combobox/comboboxUtil.js" charset="utf-8"></script>
|
<!-- 增加润滑计划 -->
|
<script type="text/javascript">
|
|
var zjId =$("#EqpMainBeanId").val();
|
/**请求所有角色名称 */
|
var roleId = '${bean.roleId}';
|
$.ajax( {
|
type:'POST',
|
url:'${pageContext.request.contextPath}/pms/eqMaintain/getRoleAll.do',// 跳转到 action
|
data:null,
|
asyn:false,
|
dataType:'json',
|
success:function(data) {
|
data.unshift({name:"全部",id:""});
|
$("#roleId").combobox({
|
data:data,
|
textField:'name',
|
valueField:'id',
|
onSelect: function () {
|
$("#spePerson").attr("value",$("#roleId").combobox('getText'));
|
}
|
})
|
$("#roleId").combobox('setValue',roleId);
|
},error:function() {
|
alert("异常!");
|
}
|
});
|
</script>
|
<div class="easyui-layout" data-options="fit:true,border:false">
|
<div data-options="region:'center',border:false" title="" style="overflow: hidden;padding:5px">
|
<form id="form" method="post">
|
<fieldset>
|
<table class="table" style="width:97%;">
|
<tr>
|
<th>一级名称</th>
|
<td>
|
<samp>${bean.categoryName }</samp>
|
<input type="hidden" name="categoryId" value="${bean.categoryId }"/>
|
</td>
|
<th>是否启用</th>
|
<td>
|
<c:if test="${bean.enable==1}">
|
<select name="enable" class="easyui-combobox fselect"
|
data-options="panelHeight:'auto',width:176,editable:false,required:true"
|
value="${bean.enable}">
|
<option value="1" selected="selected">启用</option>
|
<option value="0" >禁用</option>
|
</select>
|
</c:if>
|
<c:if test="${bean.enable==0}">
|
<select name="enable" class="easyui-combobox fselect"
|
data-options="panelHeight:'auto',width:176,editable:false,required:true"
|
value="${bean.enable}">
|
<option value="1" >启用</option>
|
<option value="0" selected="selected">禁用</option>
|
</select>
|
</c:if>
|
</td>
|
</tr>
|
<tr>
|
<th>保养序号</th>
|
<td>
|
<input name="id" id="EqpMainBeanId" type="hidden" value="${bean.id}"/>
|
<input name="num" id="num" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.num}"/>
|
|
</td>
|
<th>系统名称</th>
|
<td>
|
<input id="systemName" name="systemName" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.systemName}"/>
|
</td>
|
|
</tr>
|
<tr>
|
<th>保养部位</th>
|
<td>
|
<input id="partsName" name="partsName" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.partsName}"/>
|
</td>
|
<th>安全提示</th>
|
<td>
|
<input id="safetyWarning" name="safetyWarning" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.safetyWarning}"/>
|
</td>
|
</tr>
|
<tr>
|
<th>清扫方法</th>
|
<td>
|
<input id="cleanMethod" name="cleanMethod" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.cleanMethod}"/>
|
</td>
|
<th>清扫标准</th>
|
<td>
|
<input id="cleanStandards" name="cleanStandards" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.cleanStandards}"/>
|
</td>
|
</tr>
|
<tr>
|
<th>维护工具/方法</th>
|
<td>
|
<input id="mainMethod" name="mainMethod" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.mainMethod}"/>
|
</td>
|
<th>标准周期</th>
|
<td>
|
<input id="cycle" name="cycle" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.cycle}"/>
|
</td>
|
</tr>
|
|
<tr>
|
<th>维护标准</th>
|
<td>
|
<input id="mainStandards" name="mainStandards" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.mainStandards}"/>
|
</td>
|
<th>备用字段</th>
|
<td>
|
<input id="attr1" name="attr1" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.attr1}"/>
|
</td>
|
</tr>
|
<tr>
|
<th>备注</th>
|
<td>
|
<input id="des" name="des" type="text" class="easyui-validatebox" data-options="width:176,editable:true" value="${bean.des}"/>
|
</td>
|
<th>责任人</th>
|
<td>
|
<select id="roleId" name="roleId" class="easyui-combobox" data-options="width:176,editable:false" >
|
<option value="">全选</option>
|
<option value="111111">操作工</option>
|
<option value="22222">润滑工</option>
|
</select>
|
<input type="hidden" id="spePerson" name="spePerson" value="" class="easyui-validatebox"/>
|
</td>
|
|
<!-- <th>最后修改人</th>
|
<td>
|
<input id="lastUpdateName" name="lastUpdateName" class="easyui-combobox"/>
|
</td> -->
|
</tr>
|
<tr>
|
|
<th>班次</th>
|
<td>
|
<input id="shiftId" name="shiftId" class="easyui-combobox" value="${bean.shiftId }" data-options="panelHeight:'auto',width:175,editable:false,required:true,prompt:'请选择班次',
|
valueField: 'value',
|
textField: 'label',
|
data: [{
|
label: '全部',
|
value: 0
|
},{
|
label: '早班',
|
value: 1
|
},{
|
label: '中班',
|
value: 2
|
},{
|
label: '晚班',
|
value: 3
|
}]"
|
|
/>
|
</td>
|
</tr>
|
</table>
|
</fieldset>
|
</form>
|
</div>
|
</div>
|