Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hp-smart
Commits
4a3009c3
Commit
4a3009c3
authored
Jan 10, 2024
by
徐澳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存货档案
parent
5ba56f3b
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
502 additions
and
5 deletions
+502
-5
THppz006.java
src/main/java/com/baosight/hpjx/hp/pz/domain/THppz006.java
+0
-0
ServiceHPPZ006.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
+123
-0
HPPZ004.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
+1
-1
HPPZ006.xml
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ006.xml
+176
-0
HPPZ002.jsp
src/main/webapp/HP/PZ/HPPZ002.jsp
+4
-2
HPPZ004.jsp
src/main/webapp/HP/PZ/HPPZ004.jsp
+4
-2
HPPZ006.js
src/main/webapp/HP/PZ/HPPZ006.js
+133
-0
HPPZ006.jsp
src/main/webapp/HP/PZ/HPPZ006.jsp
+61
-0
No files found.
src/main/java/com/baosight/hpjx/hp/pz/domain/THppz006.java
0 → 100644
View file @
4a3009c3
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
0 → 100644
View file @
4a3009c3
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
service
;
import
com.baosight.hpjx.hp.pz.domain.THppz006
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
java.util.Map
;
/**
* @author xuao
* @date 2024年01月10日 15:51
*/
public
class
ServiceHPPZ006
extends
ServiceBase
{
/**
* 画面初始化.
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
THppz006
hppz006
=
new
THppz006
();
EiInfo
outInfo
=
new
EiInfo
();
outInfo
.
addBlock
(
EiConstant
.
resultBlock
);
outInfo
.
getBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
hppz006
.
eiMetadata
);
return
outInfo
;
}
/**
* 查询操作.
*/
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
/* 调用EI查询方法.*/
EiInfo
outInfo
=
super
.
query
(
inInfo
,
"HPPZ006.query"
,
new
THppz006
());
return
outInfo
;
}
/**
* 新增操作.
*/
@Override
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
creatorInfo
(
inInfo
,
EiConstant
.
resultBlock
);
super
.
insert
(
inInfo
,
"HPPZ006.insert"
);
// THppz002 hppz002 = new THppz002();
// EiBlock eiBlock = inInfo.getBlock(EiConstant.resultBlock);
// for (int i = 0; i < eiBlock.getRowCount(); i++) {
// Map<?, ?> map = eiBlock.getRow(i);
// hppz002.fromMap(map);
//
// this.dao.insert("HPPZ002.insert", hppz002.toMap());
// }
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
}
catch
(
PlatException
e
)
{
e
.
printStackTrace
();
inInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
inInfo
.
setMsg
(
"新增失败!原因参见详细错误描述!"
);
inInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"新增失败"
,
e
.
getMessage
());
return
inInfo
;
}
return
inInfo
;
}
/**
* 修改操作.
*/
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
THppz006
hppz006
=
new
THppz006
();
EiBlock
eiBlock
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
);
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz006
.
fromMap
(
map
);
this
.
dao
.
update
(
"HPPZ006.update"
,
hppz006
.
toMap
());
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"修改成功!"
);
}
catch
(
PlatException
e
)
{
inInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
inInfo
.
setMsg
(
"操作失败!原因参见详细错误描述!"
);
inInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"修改失败"
,
e
.
getMessage
());
return
inInfo
;
}
return
query
(
inInfo
);
}
/**
* 删除操作.
*/
public
EiInfo
delete
(
EiInfo
eiInfo
)
{
THppz006
hppz006
=
new
THppz006
();
EiBlock
eiBlock
=
eiInfo
.
getBlock
(
EiConstant
.
resultBlock
);
try
{
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hppz006
.
fromMap
(
map
);
this
.
dao
.
delete
(
"HPPZ006.delete"
,
hppz006
.
toMap
());
}
}
catch
(
PlatException
e
)
{
eiInfo
.
setStatus
(
EiConstant
.
STATUS_FAILURE
);
eiInfo
.
setMsg
(
"删除失败,原因参见详细错误描述!"
);
eiInfo
.
setDetailMsg
(
e
.
getMessage
());
logError
(
"删除失败!"
,
e
.
getMessage
());
return
eiInfo
;
}
eiInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
eiInfo
.
setMsg
(
"删除成功!"
);
return
eiInfo
;
}
}
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ004.xml
View file @
4a3009c3
...
@@ -123,7 +123,7 @@
...
@@ -123,7 +123,7 @@
INVENT_TYPE = #inventType#,
<!-- 存货类型 -->
INVENT_TYPE = #inventType#,
<!-- 存货类型 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#
,
<!-- 更新时间 -->
UPDATED_TIME = #updatedTime#
<!-- 更新时间 -->
WHERE
WHERE
ID = #id#
ID = #id#
</update>
</update>
...
...
src/main/java/com/baosight/hpjx/hp/pz/sql/HPPZ006.xml
0 → 100644
View file @
4a3009c3
<?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">
<!-- table information
Generate time : 2024-01-10 15:43:22
Version : 1.0
tableName :hpjx.t_hppz006
ID BIGINT NOT NULL primarykey,
COMPANY_CODE VARCHAR NOT NULL,
INVENT_NAME VARCHAR NOT NULL,
INVENT_CODE VARCHAR NOT NULL,
INVENT_TYPE TINYINT NOT NULL,
STATUS TINYINT NOT NULL,
SPEC VARCHAR NOT NULL,
LENGTH VARCHAR NOT NULL,
WIDE VARCHAR NOT NULL,
THICK VARCHAR NOT NULL,
MATERIAL VARCHAR NOT NULL,
COEFFICIENT VARCHAR NOT NULL,
UNIT VARCHAR NOT NULL,
CREATED_BY VARCHAR,
CREATED_TIME VARCHAR,
UPDATED_BY VARCHAR,
UPDATED_TIME VARCHAR,
DEP_CODE VARCHAR
-->
<sqlMap
namespace=
"HPPZ006"
>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"com.baosight.hpjx.hp.pz.domain.THppz006"
>
SELECT
ID as "id",
COMPANY_CODE as "companyCode",
<!-- 企业编码 预留 -->
INVENT_NAME as "inventName",
<!-- 存货名称 -->
INVENT_CODE as "inventCode",
<!-- 存货编码 -->
INVENT_TYPE as "inventType",
<!-- 存货类型 -->
STATUS as "status",
<!-- 状态 0未启用 1启用 -->
SPEC as "spec",
<!-- 规格 -->
LENGTH as "length",
<!-- 长 -->
WIDE as "wide",
<!-- 宽 -->
THICK as "thick",
<!-- 厚 -->
MATERIAL as "material",
<!-- 材质 -->
COEFFICIENT as "coefficient",
<!-- 系数 -->
UNIT as "unit",
<!-- 单位 -->
CREATED_BY as "createdBy",
<!-- 创建人 -->
CREATED_TIME as "createdTime",
<!-- 创建时间 -->
UPDATED_BY as "updatedBy",
<!-- 更新人 -->
UPDATED_TIME as "updatedTime",
<!-- 更新时间 -->
DEP_CODE as "depCode"
<!-- 部门编码 -->
FROM hpjx.t_hppz006 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
ID asc
</isEmpty>
</dynamic>
</select>
<select
id=
"count"
resultClass=
"int"
>
SELECT COUNT(*) FROM hpjx.t_hppz006 WHERE 1=1
<isNotEmpty
prepend=
" AND "
property=
"id"
>
ID = #id#
</isNotEmpty>
</select>
<!--
<isNotEmpty prepend=" AND " property="id">
ID = #id#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="companyCode">
COMPANY_CODE = #companyCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="inventName">
INVENT_NAME = #inventName#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="inventCode">
INVENT_CODE = #inventCode#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="inventType">
INVENT_TYPE = #inventType#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="status">
STATUS = #status#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="spec">
SPEC = #spec#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="length">
LENGTH = #length#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="wide">
WIDE = #wide#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="thick">
THICK = #thick#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="material">
MATERIAL = #material#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="coefficient">
COEFFICIENT = #coefficient#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="unit">
UNIT = #unit#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdBy">
CREATED_BY = #createdBy#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="createdTime">
CREATED_TIME = #createdTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedBy">
UPDATED_BY = #updatedBy#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="updatedTime">
UPDATED_TIME = #updatedTime#
</isNotEmpty>
<isNotEmpty prepend=" AND " property="depCode">
DEP_CODE = #depCode#
</isNotEmpty>
-->
<insert
id=
"insert"
>
INSERT INTO hpjx.t_hppz006 (
COMPANY_CODE,
<!-- 企业编码 预留 -->
INVENT_NAME,
<!-- 存货名称 -->
INVENT_CODE,
<!-- 存货编码 -->
INVENT_TYPE,
<!-- 存货类型 -->
STATUS,
<!-- 状态 0未启用 1启用 -->
SPEC,
<!-- 规格 -->
LENGTH,
<!-- 长 -->
WIDE,
<!-- 宽 -->
THICK,
<!-- 厚 -->
MATERIAL,
<!-- 材质 -->
COEFFICIENT,
<!-- 系数 -->
UNIT,
<!-- 单位 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_TIME,
<!-- 创建时间 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES ( #companyCode#, #inventName#, #inventCode#, #inventType#, #status#, #spec#, #length#, #wide#, #thick#, #material#, #coefficient#, #unit#, #createdBy#, #createdTime#, #depCode#)
</insert>
<delete
id=
"delete"
>
DELETE FROM hpjx.t_hppz006 WHERE
ID = #id#
</delete>
<update
id=
"update"
>
UPDATE hpjx.t_hppz006
SET
INVENT_NAME = #inventName#,
<!-- 存货名称 -->
INVENT_CODE = #inventCode#,
<!-- 存货编码 -->
INVENT_TYPE = #inventType#,
<!-- 存货类型 -->
STATUS = #status#,
<!-- 状态 0未启用 1启用 -->
SPEC = #spec#,
<!-- 规格 -->
LENGTH = #length#,
<!-- 长 -->
WIDE = #wide#,
<!-- 宽 -->
THICK = #thick#,
<!-- 厚 -->
MATERIAL = #material#,
<!-- 材质 -->
COEFFICIENT = #coefficient#,
<!-- 系数 -->
UNIT = #unit#,
<!-- 单位 -->
UPDATED_BY = #updatedBy#,
<!-- 更新人 -->
UPDATED_TIME = #updatedTime#
<!-- 更新时间 -->
WHERE
ID = #id#
</update>
</sqlMap>
\ No newline at end of file
src/main/webapp/HP/PZ/HPPZ002.jsp
View file @
4a3009c3
...
@@ -45,9 +45,11 @@
...
@@ -45,9 +45,11 @@
<EF:EFOption
label=
"启用"
value=
"1"
></EF:EFOption>
<EF:EFOption
label=
"启用"
value=
"1"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
src/main/webapp/HP/PZ/HPPZ004.jsp
View file @
4a3009c3
...
@@ -40,9 +40,11 @@
...
@@ -40,9 +40,11 @@
<EF:EFOption
label=
"启用"
value=
"1"
></EF:EFOption>
<EF:EFOption
label=
"启用"
value=
"1"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
src/main/webapp/HP/PZ/HPPZ006.js
0 → 100644
View file @
4a3009c3
$
(
function
()
{
// 查询
$
(
"#QUERY"
).
on
(
"click"
,
function
()
{
resultGrid
.
dataSource
.
page
(
1
);
// 点击查询按钮,从第1页开始查询
});
IPLATUI
.
EFGrid
=
{
"result"
:
{
loadComplete
:
function
(
grid
)
{
// 新增
$
(
"#BTN_INSERT"
).
on
(
"click"
,
function
()
{
var
btnNode
=
$
(
this
);
//禁用按钮
btnNode
.
attr
(
"disabled"
,
true
);
IPLAT
.
submitNode
(
$
(
"#HPPZ006"
),
"HPPZ006"
,
"insert"
,
{
onSuccess
:
function
(
ei
)
{
if
(
ei
[
"status"
]
==
-
1
)
{
NotificationUtil
(
ei
,
"error"
);
}
else
{
// 绑定grid
resultGrid
.
setEiInfo
(
ei
);
NotificationUtil
({
msg
:
'新增成功'
});
}
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
resultGrid
.
dataSource
.
page
(
1
);
},
onFail
:
function
(
ei
)
{
// onFail 表示失败回调函数
// 发生异常
console
.
log
(
ei
);
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
}
});
});
// 修改
$
(
"#BTN_UPDATE"
).
on
(
"click"
,
function
()
{
var
rowCount
=
resultGrid
.
getCheckedRows
();
// 检验是否选中数据
if
(
rowCount
==
null
||
rowCount
==
""
)
{
NotificationUtil
({
msg
:
'请选择一条或多条数据'
},
"warning"
);
return
false
;
}
var
btnNode
=
$
(
this
);
//禁用按钮
btnNode
.
attr
(
"disabled"
,
true
);
IPLAT
.
submitNode
(
$
(
"#HPPZ006"
),
"HPPZ006"
,
"update"
,
{
onSuccess
:
function
(
ei
)
{
if
(
ei
[
"status"
]
==
-
1
)
{
NotificationUtil
(
ei
,
"error"
);
}
else
{
NotificationUtil
({
msg
:
'修改成功'
});
// 绑定grid
resultGrid
.
setEiInfo
(
ei
);
}
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
},
onFail
:
function
(
ei
)
{
// onFail 表示失败回调函数
// 发生异常
console
.
log
(
ei
);
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
}
});
});
//删除
$
(
"#DELETE"
).
on
(
"click"
,
function
()
{
var
btnNode
=
$
(
this
);
//禁用按钮
btnNode
.
attr
(
"disabled"
,
true
);
var
dataItems
=
resultGrid
.
getCheckedRows
();
if
(
dataItems
==
null
||
dataItems
==
""
)
{
NotificationUtil
({
msg
:
'选择要删除的数据'
},
"warning"
);
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
return
false
;
}
IPLAT
.
submitNode
(
$
(
"#HPPZ006"
),
"HPPZ006"
,
"delete"
,
{
onSuccess
:
function
(
ei
)
{
if
(
ei
[
"status"
]
==
-
1
)
{
NotificationUtil
(
ei
,
"error"
);
}
else
{
NotificationUtil
({
msg
:
'删除成功'
});
// 绑定grid
resultGrid
.
setEiInfo
(
ei
);
}
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
},
onFail
:
function
(
ei
)
{
// onFail
// 表示失败回调函数
// 发生异常
console
.
log
(
ei
);
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
}
});
});
}
},
};
});
src/main/webapp/HP/PZ/HPPZ006.jsp
0 → 100644
View file @
4a3009c3
<!DOCTYPE html>
<
%@
page
contentType=
"text/html; charset=UTF-8"
%
>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<
%@
taglib
prefix=
"EF"
tagdir=
"/WEB-INF/tags/EF"
%
>
<c:set
var=
"ctx"
value=
"${pageContext.request.contextPath}"
/>
<EF:EFPage
title=
"存货档案"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"inqu_status-0-inventName"
cname=
"存货名称"
colWidth=
"4"
readonly=
"false"
/>
<EF:EFSelect
ename=
"inqu_status-0-inventType"
cname=
"存货类型"
colWidth=
"4"
>
<EF:EFOption
label=
"--请选择--"
value=
""
/>
<EF:EFOption
label=
"待定"
value=
"1"
></EF:EFOption>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"4"
>
<EF:EFOption
label=
"--请选择--"
value=
""
/>
<EF:EFOption
label=
"启用"
value=
"1"
></EF:EFOption>
<EF:EFOption
label=
"未启用"
value=
"0"
></EF:EFOption>
</EF:EFSelect>
</div>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"false"
isFloat=
"true"
autoFit=
"true"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货编码"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
required=
"true"
>
<EF:EFOption
label=
"--请选择--"
value=
""
></EF:EFOption>
<EF:EFOption
label=
"待定"
value=
"1"
></EF:EFOption>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"wide"
cname=
"宽"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"coefficient"
cname=
"系数"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
required=
"true"
>
<EF:EFOption
label=
"--请选择--"
value=
""
></EF:EFOption>
<EF:EFOption
label=
"启用"
value=
"1"
></EF:EFOption>
<EF:EFOption
label=
"禁用"
value=
"0"
></EF:EFOption>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
<EF:EFColumn
ename=
"updatedTime"
cname=
"更新时间"
readonly=
"true"
width=
"100"
align=
"center"
enable=
"false"
parseFormats=
"['yyyyMMddHHmmss']"
editType=
"datetime"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
hidden =
"true"
/>
<EF:EFColumn
ename=
"updatedBy"
cname=
"更新人"
width=
"100"
readonly=
"true"
disabled=
"true"
/>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFPage>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment