Commit 93e33f14 by 宋祥

1.仓库档案页面完善

parent 253a4e1f
...@@ -30,6 +30,8 @@ public class HPConstant { ...@@ -30,6 +30,8 @@ public class HPConstant {
public static final String HPPZ003_CUST_CODE = "HPPZ003_CUST_CODE"; public static final String HPPZ003_CUST_CODE = "HPPZ003_CUST_CODE";
// 存货编码 // 存货编码
public static final String INVENT_CODE = "INVENT_CODE"; public static final String INVENT_CODE = "INVENT_CODE";
// 仓库编码
public static final String WH_CODE = "WH_CODE";
} }
/** /**
......
package com.baosight.hpjx.hp.pz.service; package com.baosight.hpjx.hp.pz.service;
import com.baosight.hpjx.core.dao.DaoUtils;
import com.baosight.hpjx.hp.constant.HPConstant;
import com.baosight.hpjx.hp.kc.domain.HPKC007;
import com.baosight.hpjx.hp.pz.domain.HPPZ007; import com.baosight.hpjx.hp.pz.domain.HPPZ007;
import com.baosight.iplat4j.core.ei.EiBlock; import com.baosight.hpjx.util.LogUtils;
import com.baosight.iplat4j.core.ei.EiConstant; import com.baosight.iplat4j.core.ei.EiConstant;
import com.baosight.iplat4j.core.ei.EiInfo; import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.core.exception.PlatException; import com.baosight.iplat4j.core.exception.PlatException;
import com.baosight.iplat4j.core.service.impl.ServiceBase; import com.baosight.iplat4j.core.service.impl.ServiceBase;
import com.baosight.iplat4j.core.web.threadlocal.UserSession; import com.baosight.iplat4j.ed.util.SequenceGenerator;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
/**
* @author:songx
* @date:2024/1/22,15:57
*/
public class ServiceHPPZ007 extends ServiceBase { public class ServiceHPPZ007 extends ServiceBase {
public EiInfo initLoad(EiInfo inInfo) { /**
HPPZ007 hppz007 = new HPPZ007(); * @param inInfo
EiInfo outInfo = super.initLoad(inInfo, hppz007); * @return
outInfo.addBlock(EiConstant.resultBlock).addBlockMeta(hppz007.eiMetadata); */
return inInfo; public EiInfo initLoad(EiInfo inInfo) {
} try {
inInfo.addBlock(EiConstant.resultBlock).addBlockMeta(new HPPZ007().eiMetadata);
} catch (PlatException e) {
/** LogUtils.setDetailMsg(inInfo, e, "初始化失败");
* 查询操作. }
*/ return inInfo;
@Override }
public EiInfo query(EiInfo inInfo) {
/* 调用EI查询方法.*/ /**
EiInfo outInfo = super.query(inInfo, "HPPZ007.query", new HPPZ007()); * 查询操作
return outInfo; *
* @param inInfo
} * @return
*/
/** @Override
* 新增操作. public EiInfo query(EiInfo inInfo) {
*/ try {
@Override inInfo = super.query(inInfo, HPPZ007.QUERY, new HPKC007());
public EiInfo insert(EiInfo inInfo) { } catch (Exception e) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); LogUtils.setDetailMsg(inInfo, e, "查询失败");
try { }
HPPZ007 hppz007 = new HPPZ007(); return inInfo;
EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); }
/**
for (int i = 0; i < eiBlock.getRowCount(); i++) { * 新增操作.
Map<?, ?> map = eiBlock.getRow(i); */
hppz007.fromMap(map); @Override
hppz007.setCreatedBy(UserSession.getLoginName()); public EiInfo insert(EiInfo inInfo) {
hppz007.setCreatedTime(Timestamp.valueOf(sdf.format(new Date()))); try {
this.dao.insert("HPPZ007.insert", hppz007.toMap()); List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
} // 数据写入
inInfo.setStatus(EiConstant.STATUS_SUCCESS); for (int i = 0; i < resultRows.size(); i++) {
inInfo.setMsg("新增成功!"); HPPZ007 fPz007 = new HPPZ007();
fPz007.fromMap(resultRows.get(i));
} catch (PlatException e) { // 仓库编码
e.printStackTrace(); fPz007.setWhCode(SequenceGenerator.getNextSequence(HPConstant.SequenceId.WH_CODE));
inInfo.setStatus(EiConstant.STATUS_FAILURE); DaoUtils.insert(HPPZ007.INSERT, fPz007);
inInfo.setMsg("新增失败!原因参见详细错误描述!"); }
inInfo.setDetailMsg(e.getMessage()); inInfo = this.query(inInfo);
logError("新增失败", e.getMessage()); inInfo.setStatus(EiConstant.STATUS_DEFAULT);
return inInfo; inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据新增成功!");
} } catch (Exception e) {
return inInfo; LogUtils.setDetailMsg(inInfo, e, "新增失败");
} }
return inInfo;
/** }
* 修改操作.
*/ /**
public EiInfo update(EiInfo inInfo) { * 修改操作
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); *
try { * @param inInfo
HPPZ007 hppz007 = new HPPZ007(); * @return
EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock); */
for (int i = 0; i < eiBlock.getRowCount(); i++) { public EiInfo update(EiInfo inInfo) {
Map<?, ?> map = eiBlock.getRow(i); try {
hppz007.fromMap(map); List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
hppz007.setUpdatedBy(UserSession.getLoginName()); for (int i = 0; i < resultRows.size(); i++) {
hppz007.setUpdatedTime(Timestamp.valueOf(sdf.format(new Date()))); HPPZ007 fPz007 = new HPPZ007();
System.out.println(Timestamp.valueOf(sdf.format(new Date()))); fPz007.fromMap(resultRows.get(i));
this.dao.update("HPPZ007.update", hppz007.toMap()); DaoUtils.update(HPPZ007.UPDATE, fPz007);
} }
inInfo.setStatus(EiConstant.STATUS_SUCCESS); inInfo = this.query(inInfo);
inInfo.setMsg("修改成功!"); inInfo.setStatus(EiConstant.STATUS_DEFAULT);
} catch (PlatException e) { inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据修改成功!");
inInfo.setStatus(EiConstant.STATUS_FAILURE); } catch (Exception e) {
inInfo.setMsg("操作失败!原因参见详细错误描述!"); LogUtils.setDetailMsg(inInfo, e, "修改失败");
inInfo.setDetailMsg(e.getMessage()); }
logError("修改失败", e.getMessage()); return inInfo;
return inInfo; }
}
return query(inInfo); /**
} * 删除操作
*
/** * @param inInfo
* 删除操作. * @return
*/ */
public EiInfo delete(EiInfo eiInfo) { public EiInfo delete(EiInfo inInfo) {
HPPZ007 hppz007 = new HPPZ007(); try {
EiBlock eiBlock = eiInfo.getBlock(EiConstant.resultBlock); List<Map> resultRows = inInfo.getBlock(EiConstant.resultBlock).getRows();
try { for (int i = 0; i < resultRows.size(); i++) {
for (int i = 0; i < eiBlock.getRowCount(); i++) { DaoUtils.update(HPPZ007.DELETE, resultRows.get(i));
Map<?, ?> map = eiBlock.getRow(i); }
hppz007.fromMap(map); inInfo = this.query(inInfo);
inInfo.setStatus(EiConstant.STATUS_DEFAULT);
this.dao.delete("HPPZ007.delete", hppz007.toMap()); inInfo.setMsg("操作成功!本次对[" + resultRows.size() + "]条数据删除成功!");
} } catch (Exception e) {
} catch (PlatException e) { LogUtils.setDetailMsg(inInfo, e, "删除失败");
eiInfo.setStatus(EiConstant.STATUS_FAILURE); }
eiInfo.setMsg("删除失败,原因参见详细错误描述!"); return inInfo;
eiInfo.setDetailMsg(e.getMessage()); }
logError("删除失败!", e.getMessage());
return eiInfo; /**
} * 根据仓库CODE找对象
*
eiInfo.setStatus(EiConstant.STATUS_SUCCESS); * @param inInfo
eiInfo.setMsg("删除成功!"); * @return
return eiInfo; */
} public EiInfo queryByWhCode(EiInfo inInfo) {
Map params = new HashMap<>();
/** params.put("whCode", inInfo.getString("whCode"));
* 根据仓库CODE找对象 List query = dao.query("HPPZ007.queryByWhCode", params);
* @param inInfo inInfo.set("list", query);
* @return return inInfo;
*/ }
public EiInfo queryByWhCode(EiInfo inInfo) {
Map params=new HashMap<>();
params.put("whCode", inInfo.getString("whCode"));
List query = dao.query("HPPZ007.queryByWhCode",params);
inInfo.set("list", query);
return inInfo;
}
} }
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd"> <!DOCTYPE sqlMap PUBLIC "-//iBATIS.com//DTD SQL Map 2.0//EN" "http://www.ibatis.com/dtd/sql-map-2.dtd">
<!-- table information
Generate time : 2024-01-09 15:56:49
Version : 1.0
tableName :hpjx.t_hppz007
ID INTEGER NOT NULL primarykey,
COMPANY_CODE VARCHAR NOT NULL,
WH_TYPE VARCHAR NOT NULL,
WH_CODE VARCHAR NOT NULL,
WH_NAME VARCHAR NOT NULL,
PRINC VARCHAR NOT NULL,
STATUS TINYINT NOT NULL,
CREATED_TIME DATETIME,
CREATED_BY VARCHAR,
UPDATED_TIME DATETIME,
UPDATED_BY VARCHAR
-->
<sqlMap namespace="HPPZ007"> <sqlMap namespace="HPPZ007">
<sql id="column">
ID as "id",
COMPANY_CODE as "companyCode", <!-- 企业编码 预留 -->
DEP_CODE as "depCode", <!-- 部门编码 预留 -->
WH_TYPE as "whType", <!-- 仓库类型 -->
WH_CODE as "whCode", <!-- 仓库编码 -->
WH_NAME as "whName", <!-- 仓库名称 -->
PRINC as "princ", <!-- 负责人 -->
STATUS as "status", <!-- 状态 0未启用 1启用 -->
CREATED_BY as "createdBy", <!-- 创建人 -->
CREATED_NAME as "createdName", <!-- 创建人名称 -->
CREATED_TIME as "createdTime", <!-- 创建时间 -->
UPDATED_BY as "updatedBy", <!-- 修改人 -->
UPDATED_NAME as "updatedName", <!-- 修改人名称 -->
UPDATED_TIME as "updatedTime" <!-- 修改时间 -->
</sql>
<select id="query" parameterClass="java.util.HashMap" <sql id="customCondition">
resultClass="com.baosight.hpjx.hp.pz.domain.HPPZ007">
SELECT
ID as "id",
COMPANY_CODE as "companyCode", <!-- 企业编码 预留 -->
WH_TYPE as "whType", <!-- 仓库类型 -->
WH_CODE as "whCode", <!-- 仓库编码 -->
WH_NAME as "whName", <!-- 仓库名称 -->
PRINC as "princ", <!-- 负责人 -->
STATUS as "status", <!-- 状态 0未启用 1启用 -->
CREATED_TIME as "createdTime", <!-- 创建时间 -->
CREATED_BY as "createdBy", <!-- 创建人 -->
UPDATED_TIME as "updatedTime", <!-- 修改时间 -->
UPDATED_BY as "updatedBy" <!-- 修改人 -->
FROM hpjx.t_hppz007 WHERE 1=1
<isNotEmpty prepend=" AND " property="whCode">
WH_CODE = #whCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whCodes"> <isNotEmpty prepend=" AND " property="whCodes">
WH_CODE IN <iterate close=")" open="(" conjunction="," property="whCodes">#whCodes[]#</iterate> WH_CODE IN <iterate close=")" open="(" conjunction="," property="whCodes">#whCodes[]#</iterate>
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="whName"> </sql>
WH_NAME LIKE CONCAT('%',CONCAT(#whName#),'%')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whType">
WH_TYPE LIKE CONCAT('%',CONCAT(#whType#),'%')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
STATUS = #status#
</isNotEmpty>
<dynamic prepend="ORDER BY">
<isNotEmpty property="orderBy">
$orderBy$
</isNotEmpty>
<isEmpty property="orderBy">
ID asc
</isEmpty>
</dynamic>
</select> <sql id="condition">
<isNotEmpty prepend=" AND " property="id">
ID = #id#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whType">
WH_TYPE = #whType#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whCode">
WH_CODE = #whCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whName">
WH_NAME LIKE CONCAT('%', #whName#, '%')
</isNotEmpty>
<isNotEmpty prepend=" AND " property="princ">
PRINC = #princ#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
STATUS = #status#
</isNotEmpty>
</sql>
<sql id="order">
<dynamic prepend="ORDER BY">
<isNotEmpty property="orderBy">
$orderBy$
</isNotEmpty>
<isEmpty property="orderBy">
ID DESC
</isEmpty>
</dynamic>
</sql>
<select id="query" parameterClass="java.util.HashMap" resultClass="com.baosight.hpjx.hp.pz.domain.HPPZ007">
SELECT
<include refid="column"/>
FROM hpjx.t_hppz007 WHERE 1=1
<include refid="condition"/>
<include refid="customCondition"/>
<include refid="order"/>
</select>
<select id="count" resultClass="int"> <select id="count" resultClass="int">
SELECT COUNT(*) FROM hpjx.t_hppz007 WHERE 1=1 SELECT COUNT(*) FROM hpjx.t_hppz007 WHERE 1=1
<isNotEmpty prepend=" AND " property="id"> <include refid="condition"/>
ID = #id# <include refid="customCondition"/>
</isNotEmpty>
</select> </select>
<!--
<isNotEmpty prepend=" AND " property="id">
ID = #id#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whType">
WH_TYPE = #whType#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whCode">
WH_CODE = #whCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="whName">
WH_NAME = #whName#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="princ">
PRINC = #princ#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
STATUS = #status#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdTime">
CREATED_TIME = #createdTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdBy">
CREATED_BY = #createdBy#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedTime">
UPDATED_TIME = #updatedTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedBy">
UPDATED_BY = #updatedBy#
</isNotEmpty>
-->
<insert id="insert"> <insert id="insert">
INSERT INTO hpjx.t_hppz007 ( INSERT INTO ${hpjxSchema}.T_HPPZ007 (
WH_TYPE, <!-- 仓库类型 --> COMPANY_CODE, <!-- 企业编码 预留 -->
WH_CODE, <!-- 仓库编码 --> DEP_CODE, <!-- 部门编码 预留 -->
WH_NAME, <!-- 仓库名称 --> WH_TYPE, <!-- 仓库类型 -->
PRINC, <!-- 负责人 --> WH_CODE, <!-- 仓库编码 -->
STATUS, <!-- 状态 0未启用 1启用 --> WH_NAME, <!-- 仓库名称 -->
CREATED_TIME, <!-- 创建时间 --> PRINC, <!-- 负责人 -->
CREATED_BY, <!-- 创建人 --> STATUS, <!-- 状态 0未启用 1启用 -->
UPDATED_TIME, <!-- 修改时间 --> CREATED_BY, <!-- 创建人 -->
UPDATED_BY <!-- 修改人 --> CREATED_NAME, <!-- 创建人名称 -->
) CREATED_TIME <!-- 创建时间 -->
VALUES (#whType#, #whCode#, #whName#, #princ#, #status#, #createdTime#, #createdBy#, #updatedTime#, #updatedBy#) ) VALUES (
</insert> #companyCode#, #depCode#, #whType#, #whCode#, #whName#, #princ#, #status#,
#createdBy#, #createdName#, #createdTime#
)
</insert>
<delete id="delete"> <delete id="delete">
DELETE FROM hpjx.t_hppz007 WHERE DELETE FROM hpjx.t_hppz007 WHERE ID = #id#
ID = #id#
</delete> </delete>
<update id="update"> <update id="update">
UPDATE hpjx.t_hppz007 UPDATE hpjx.t_hppz007
SET SET
WH_TYPE = #whType#, <!-- 仓库类型 --> WH_TYPE = #whType#, <!-- 仓库类型 -->
WH_CODE = #whCode#, <!-- 仓库编码 --> WH_NAME = #whName#, <!-- 仓库名称 -->
WH_NAME = #whName#, <!-- 仓库名称 --> PRINC = #princ#, <!-- 负责人 -->
PRINC = #princ#, <!-- 负责人 --> STATUS = #status#, <!-- 状态 0未启用 1启用 -->
STATUS = #status#, <!-- 状态 0未启用 1启用 --> UPDATED_BY = #updatedBy#, <!-- 修改人 -->
CREATED_TIME = #createdTime#, <!-- 创建时间 --> UPDATED_NAME = #updatedName#, <!-- 修改人名称 -->
CREATED_BY = #createdBy#, <!-- 创建人 --> UPDATED_TIME = #updatedTime# <!-- 修改时间 -->
UPDATED_TIME = #updatedTime#, <!-- 修改时间 --> WHERE ID = #id#
UPDATED_BY = #updatedBy# <!-- 修改人 -->
WHERE
ID = #id#
</update> </update>
<select id="queryComboBox" parameterClass="java.util.HashMap" <select id="queryComboBox" parameterClass="java.util.HashMap"
......
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
<EF:EFOption label="--全部--" value=""/> <EF:EFOption label="--全部--" value=""/>
<EF:EFOptions blockId="invent_name_block_id" textField="textField" valueField="valueField"/> <EF:EFOptions blockId="invent_name_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect> </EF:EFSelect>
<EF:EFSelect cname="状态" ename="inqu_status-0-status" colWidth="3" <EF:EFSelect cname="状态" ename="inqu_status-0-status" colWidth="3">
template="#=valueField#-#=textField#" valueTemplate="#=valueField#-#=textField#">
<EF:EFOption label="全部" value=""/> <EF:EFOption label="全部" value=""/>
<EF:EFCodeOption codeName="hpjx.hpjx.status"/> <EF:EFCodeOption codeName="hpjx.hpjx.status"/>
</EF:EFSelect> </EF:EFSelect>
......
$(function () { $(function() {
$("#QUERY").on("click", function () { // 查询
resultGrid.dataSource.page(1); $("#QUERY").on("click", query);
});
IPLATUI.EFGrid.result = {
pageable: {
pageSize: 20,
pageSizes: [10, 20, 30, 50, 100, 200]
}
}
});
IPLATUI.EFGrid.result = { /**
pageable: { * 页面加载时执行
pageSize: 20, */
pageSizes: [10, 20, 30, 50, 100, 200], $(window).load(function () {
}, // 查询
} query();
}); });
\ No newline at end of file
/**
* 查询
*/
let query = function () {
resultGrid.dataSource.page(1);
}
...@@ -4,49 +4,47 @@ ...@@ -4,49 +4,47 @@
<%@ taglib prefix="EF" tagdir="/WEB-INF/tags/EF" %> <%@ taglib prefix="EF" tagdir="/WEB-INF/tags/EF" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/> <c:set var="ctx" value="${pageContext.request.contextPath}"/>
<head>
<%-- <link rel="stylesheet" href="${ctx}/css/simulatedOperation.css"/>--%>
</head>
<EF:EFPage title="仓库档案">
<EF:EFRegion id="inqu" title="查询条件"><%-- type="query" efRegionShowClear="true" efRegionSave="true"--%>
<div class="row"> <%-- blockId="inqu_status" row="0" --%>
<EF:EFInput blockId="inqu_status" ename="whName" cname="仓库名称:" row="0"/>
<EF:EFInput blockId="inqu_status" ename="whType" cname="仓库类型:" row="0"/>
<EF:EFSelect cname="状态:" optionLabel="全部" blockId="inqu_status" ename="status" row="0">
<EF:EFOption label="启用" value="1"/>
<EF:EFOption label="停用" value="0"/>
</EF:EFSelect>
</div>
</EF:EFRegion> <EF:EFPage title="仓库档案">
<EF:EFRegion id="result" title="记录集">
<EF:EFGrid blockId="result" autoDraw="no">
<EF:EFColumn ename="id" cname="主键" hidden="true"/>
<EF:EFColumn ename="whType" cname="仓库类型"/>
<EF:EFColumn ename="whCode" cname="仓库编码"/>
<EF:EFColumn ename="whName" cname="仓库名称"/>
<EF:EFColumn ename="princ" cname="负责人"/>
<EF:EFComboColumn align="center" ename="status" cname="状态"> <EF:EFRegion id="inqu" title="查询条件">
<EF:EFOption label="启用" value="1"/> <div class="row">
<EF:EFOption label="停用" value="0"/> <EF:EFInput cname="仓库名称:" blockId="inqu_status" ename="whName" row="0" colWidth="3"/>
</EF:EFComboColumn> <EF:EFSelect cname="仓库类型:" blockId="inqu_status" ename="whType" row="0" colWidth="3">
<EF:EFColumn ename="createdTime" enable="false" cname="创建时间"/> <EF:EFOption label="全部" value=""/>
<EF:EFColumn ename="createdBy" enable="false" cname="创建人"/> <EF:EFCodeOption codeName="hpjx.hppz.whType"/>
<EF:EFColumn ename="updatedTime" enable="false" cname="修改时间"/> </EF:EFSelect>
<EF:EFColumn ename="updatedBy" enable="false" cname="修改人"/> <EF:EFSelect cname="状态:" blockId="inqu_status" ename="status" row="0" colWidth="3">
</EF:EFGrid> <EF:EFOption label="全部" value=""/>
</EF:EFRegion> <EF:EFCodeOption codeName="hpjx.hpjx.status"/>
</EF:EFSelect>
</div>
</EF:EFRegion>
<EF:EFRegion id="result" title="记录集">
<EF:EFGrid blockId="result" autoDraw="no">
<EF:EFColumn ename="id" cname="主键" hidden="true"/>
<EF:EFColumn ename="whCode" cname="仓库编码" enable="false" width="120" align="center"/>
<EF:EFColumn ename="whName" cname="仓库名称" width="120" align="center" required="true"/>
<EF:EFComboColumn ename="whType" cname="仓库类型" width="120" align="center" required="true">
<EF:EFCodeOption codeName="hpjx.hppz.whType"/>
</EF:EFComboColumn>
<EF:EFColumn ename="princ" cname="负责人" width="120" align="center" required="true"/>
<EF:EFComboColumn ename="status" cname="状态" align="center" width="100" required="true">
<EF:EFCodeOption codeName="hpjx.hpjx.status"/>
</EF:EFComboColumn>
<EF:EFColumn ename="createdName" cname="创建人名称" enable="false" width="100" align="center"/>
<EF:EFColumn ename="createdTime" cname="创建时间" enable="false" width="140" align="center"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss"/>
<EF:EFColumn ename="updatedName" cname="更新人名称" enable="false" width="100" align="center"/>
<EF:EFColumn ename="updatedTime" cname="更新时间" enable="false" width="140" align="center"
parseFormats="['yyyyMMddHHmmss']" editType="datetime" dateFormat="yyyy-MM-dd HH:mm:ss"/>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFPage> </EF:EFPage>
<script> <script>
var ctx = "${ctx}"; var ctx = "${ctx}";
</script> </script>
<script src="${ctx}/HP/PZ/HPPZ007.js"></script> <script src="${ctx}/HP/PZ/HPPZ007.js"></script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment