<%@ 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">
|
//大类别
|
function loadUpcode(){
|
var upcodeType="${param.upcodeType}";
|
$("#upcodeEditID").combobox({
|
url:"${pageContext.request.contextPath }/pms/sys/eqptype/queryMdFixCodeUpCodeBean.do",
|
textField:'name',
|
valueField:'code',
|
required:false,
|
onLoadSuccess: function(data){
|
if(upcodeType!=null && upcodeType!=""){
|
$("#upcodeEditID").combobox("setValue",upcodeType);
|
}
|
}
|
});
|
}
|
loadUpcode();
|
</script>
|
<div style="overflow: hidden;padding:5px">
|
<form id="form" method="post">
|
<fieldset>
|
<c:if test="${bean.id==null }">
|
<legend>综合基础数据新增</legend>
|
</c:if>
|
<c:if test="${bean.id!=null }">
|
<legend>综合基础数据修改</legend>
|
</c:if>
|
<table class="table" style="width: 100%;">
|
<tr>
|
<th>类型编码</th>
|
<td>
|
<input type="hidden" name="id" value="${bean.id }"/>
|
<input type="hidden" name="del" value="0"/>
|
<input class="easyui-validatebox" type="text" id="type" name="type" value="${bean.type }"/>
|
</td>
|
<th>类型</th>
|
<td>
|
<input type="text" name="code" class="easyui-validatebox" value="${bean.code }"/>
|
</td>
|
</tr>
|
<tr>
|
<th>名称</th>
|
<td>
|
<input type="text" name="name" class="easyui-validatebox" value="${bean.name }"/>
|
</td>
|
<th>备注</th>
|
<td>
|
<input type="text" name="des" class="easyui-validatebox" value="${bean.des }"/>
|
</td>
|
</tr>
|
<tr>
|
<th>MESCode</th>
|
<td>
|
<input type="text" name="mesCode" class="easyui-validatebox" value="${bean.mesCode }"/>
|
</td>
|
<th>备用字段</th>
|
<td>
|
<input type="text" name="bak" class="easyui-validatebox" value="${bean.bak }"/>
|
</td>
|
</tr>
|
<tr>
|
|
|
<input type="hidden" name="upcode" value="0"/>
|
|
|
|
</table>
|
</fieldset>
|
</form>
|
</div>
|