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
8cbeba7f
Commit
8cbeba7f
authored
Feb 05, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
存货档案,采购入库opt;
parent
f1da52d9
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
68 additions
and
54 deletions
+68
-54
HPKC001.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC001.java
+14
-14
HPKC001.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
+7
-7
HPKC010.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC010.xml
+3
-1
ServiceHPPZ006.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
+2
-0
HPKC001.js
src/main/webapp/HP/KC/HPKC001.js
+10
-0
HPKC001.jsp
src/main/webapp/HP/KC/HPKC001.jsp
+4
-4
HPKC010.jsp
src/main/webapp/HP/KC/HPKC010.jsp
+11
-11
HPKC011.jsp
src/main/webapp/HP/KC/HPKC011.jsp
+13
-13
HPPZ006.js
src/main/webapp/HP/PZ/HPPZ006.js
+2
-2
HPPZ006.jsp
src/main/webapp/HP/PZ/HPPZ006.jsp
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC001.java
View file @
8cbeba7f
...
...
@@ -44,7 +44,7 @@ public class HPKC001 extends DaoEPBase {
public
static
final
String
FIELD_INVENT_RECORD_ID
=
"inventRecordId"
;
/* 存货档案ID*/
public
static
final
String
FIELD_AMOUNT
=
"amount"
;
/* 数量*/
public
static
final
String
FIELD_WEIGHT
=
"weight"
;
/* 重量*/
public
static
final
String
FIELD_REMARK
S
=
"remarks
"
;
/* 备注*/
public
static
final
String
FIELD_REMARK
=
"remark
"
;
/* 备注*/
public
static
final
String
FIELD_DELETE_FLAG
=
"deleteFlag"
;
/* 是否删除0.否1.是*/
public
static
final
String
COL_ID
=
"ID"
;
/* 主键id*/
...
...
@@ -66,7 +66,7 @@ public class HPKC001 extends DaoEPBase {
public
static
final
String
COL_INVENT_RECORD_ID
=
"INVENT_RECORD_ID"
;
/* 存货档案ID*/
public
static
final
String
COL_AMOUNT
=
"AMOUNT"
;
/* 数量*/
public
static
final
String
COL_WEIGHT
=
"WEIGHT"
;
/* 重量*/
public
static
final
String
COL_REMARK
S
=
"REMARKS
"
;
/* 备注*/
public
static
final
String
COL_REMARK
=
"REMARK
"
;
/* 备注*/
public
static
final
String
COL_DELETE_FLAG
=
"DELETE_FLAG"
;
/* 是否删除0.否1.是*/
public
static
final
String
QUERY
=
"HPKC001.query"
;
...
...
@@ -95,7 +95,7 @@ public class HPKC001 extends DaoEPBase {
private
Long
inventRecordId
=
new
Long
(
0
);
/* 存货档案ID*/
private
BigDecimal
amount
=
new
BigDecimal
(
"0"
);
/* 数量*/
private
BigDecimal
weight
=
new
BigDecimal
(
"0"
);
/* 重量*/
private
String
remark
s
=
" "
;
/* 备注*/
private
String
remark
=
" "
;
/* 备注*/
private
Integer
deleteFlag
;
/* 是否删除0.否1.是*/
/**
...
...
@@ -191,7 +191,7 @@ public class HPKC001 extends DaoEPBase {
eiColumn
.
setDescName
(
"重量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_REMARK
S
);
eiColumn
=
new
EiColumn
(
FIELD_REMARK
);
eiColumn
.
setDescName
(
"备注"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -531,20 +531,20 @@ public class HPKC001 extends DaoEPBase {
this
.
weight
=
weight
;
}
/**
* get the remark
s
- 备注.
* @return the remark
s
* get the remark - 备注.
* @return the remark
*/
public
String
getRemark
s
()
{
return
this
.
remark
s
;
public
String
getRemark
()
{
return
this
.
remark
;
}
/**
* set the remark
s
- 备注.
* set the remark - 备注.
*
* @param remark
s
- 备注
* @param remark - 备注
*/
public
void
setRemark
s
(
String
remarks
)
{
this
.
remark
s
=
remarks
;
public
void
setRemark
(
String
remark
)
{
this
.
remark
=
remark
;
}
/**
* get the deleteFlag - 是否删除0.否1.是.
...
...
@@ -590,7 +590,7 @@ public class HPKC001 extends DaoEPBase {
setInventRecordId
(
NumberUtils
.
toLong
(
StringUtils
.
toString
(
map
.
get
(
FIELD_INVENT_RECORD_ID
)),
inventRecordId
));
setAmount
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_AMOUNT
)),
amount
));
setWeight
(
NumberUtils
.
toBigDecimal
(
StringUtils
.
toString
(
map
.
get
(
FIELD_WEIGHT
)),
weight
));
setRemark
s
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARKS
)),
remarks
));
setRemark
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_REMARK
)),
remark
));
setDeleteFlag
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_DELETE_FLAG
)),
deleteFlag
));
}
...
...
@@ -621,7 +621,7 @@ public class HPKC001 extends DaoEPBase {
map
.
put
(
FIELD_INVENT_RECORD_ID
,
StringUtils
.
toString
(
inventRecordId
,
eiMetadata
.
getMeta
(
FIELD_INVENT_RECORD_ID
)));
map
.
put
(
FIELD_AMOUNT
,
StringUtils
.
toString
(
amount
,
eiMetadata
.
getMeta
(
FIELD_AMOUNT
)));
map
.
put
(
FIELD_WEIGHT
,
StringUtils
.
toString
(
weight
,
eiMetadata
.
getMeta
(
FIELD_WEIGHT
)));
map
.
put
(
FIELD_REMARK
S
,
StringUtils
.
toString
(
remarks
,
eiMetadata
.
getMeta
(
FIELD_REMARKS
)));
map
.
put
(
FIELD_REMARK
,
StringUtils
.
toString
(
remark
,
eiMetadata
.
getMeta
(
FIELD_REMARK
)));
map
.
put
(
FIELD_DELETE_FLAG
,
StringUtils
.
toString
(
deleteFlag
,
eiMetadata
.
getMeta
(
FIELD_DELETE_FLAG
)));
return
map
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC001.xml
View file @
8cbeba7f
...
...
@@ -23,7 +23,7 @@
INVENT_RECORD_ID as "inventRecordId",
<!-- 存货档案ID -->
AMOUNT as "amount",
<!-- 数量 -->
WEIGHT as "weight",
<!-- 重量 -->
REMARK
S as "remarks
",
<!-- 备注 -->
REMARK
as "remark
",
<!-- 备注 -->
DELETE_FLAG as "deleteFlag"
<!-- 是否删除0.否1.是 -->
</sql>
...
...
@@ -85,8 +85,8 @@
<isNotEmpty
prepend=
" AND "
property=
"weight"
>
WEIGHT = #weight#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"remark
s
"
>
REMARK
S = #remarks
#
<isNotEmpty
prepend=
" AND "
property=
"remark"
>
REMARK
= #remark
#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"deleteFlag"
>
DELETE_FLAG = #deleteFlag#
...
...
@@ -153,13 +153,13 @@
INVENT_RECORD_ID,
<!-- 存货档案ID -->
AMOUNT,
<!-- 数量 -->
WEIGHT,
<!-- 重量 -->
REMARK
S
,
<!-- 备注 -->
REMARK,
<!-- 备注 -->
DELETE_FLAG
<!-- 是否删除0.否1.是 -->
) VALUES (
#companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#,
#
oldPurchaseNo#,#p
urchaseNo#, #receiptDate#, #whCode#, #whName#, #inventType#,
#
purchaseNo#,#oldP
urchaseNo#, #receiptDate#, #whCode#, #whName#, #inventType#,
#inventCode#, #inventName#, #inventRecordId#, #amount#, #weight#,
#remark
s
#, #deleteFlag#
#remark#, #deleteFlag#
)
</insert>
...
...
@@ -189,7 +189,7 @@
INVENT_RECORD_ID = #inventRecordId#,
<!-- 存货档案ID -->
AMOUNT = #amount#,
<!-- 数量 -->
WEIGHT = #weight#,
<!-- 重量 -->
REMARK
S = #remarks
#
<!-- 备注 -->
REMARK
= #remark
#
<!-- 备注 -->
WHERE ID = #id#
</update>
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC010.xml
View file @
8cbeba7f
...
...
@@ -127,14 +127,16 @@
AMOUNT,
<!-- 数量 -->
WEIGHT,
<!-- 重量 -->
CREATED_BY,
<!-- 创建人 -->
CREATED_NAME,
<!-- 创建人 -->
CREATED_TIME,
<!-- 创建时间 -->
UPDATED_BY,
<!-- 更新人 -->
UPDATED_NAME,
<!-- 更新人 -->
UPDATED_TIME,
<!-- 更新时间 -->
VERSION
) VALUES (
#companyCode#, #depCode#, #whCode#, #whName#, #inventType#,
#inventCode#, #inventName#, #inventRecordId#, #amount#, #weight#,
#createdBy#, #created
Time#, #updatedBy
#,
#createdBy#, #created
Name#, #createdTime#, #updatedBy#, #updatedName
#,
#updatedTime#, #version#
)
</insert>
...
...
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
View file @
8cbeba7f
...
...
@@ -78,6 +78,7 @@ public class ServiceHPPZ006 extends ServiceBase {
fPz006
.
fromMap
(
resultRows
.
get
(
i
));
// 存货名称
fPz006
.
setInventName
(
HPPZTools
.
getPz004ByCode
(
fPz006
.
getInventCode
()).
getInventName
());
fPz006
.
setSpec
(
HPPZTools
.
jointSpec
(
fPz006
.
getLength
(),
fPz006
.
getWidth
(),
fPz006
.
getThick
()));
DaoUtils
.
insert
(
HPPZ006
.
INSERT
,
fPz006
);
}
inInfo
=
this
.
query
(
inInfo
);
...
...
@@ -126,6 +127,7 @@ public class ServiceHPPZ006 extends ServiceBase {
fPz006
.
fromMap
(
resultRows
.
get
(
i
));
// 存货名称
fPz006
.
setInventName
(
HPPZTools
.
getPz004ByCode
(
fPz006
.
getInventCode
()).
getInventName
());
fPz006
.
setSpec
(
HPPZTools
.
jointSpec
(
fPz006
.
getLength
(),
fPz006
.
getWidth
(),
fPz006
.
getThick
()));
DaoUtils
.
update
(
HPPZ006
.
UPDATE
,
fPz006
);
}
inInfo
=
this
.
query
(
inInfo
);
...
...
src/main/webapp/HP/KC/HPKC001.js
View file @
8cbeba7f
...
...
@@ -70,6 +70,16 @@ $(function() {
refreshSelect
(
container
,
inInfo
);
}
},
{
field
:
"material"
,
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
inventAllGlobalData
.
length
;
i
++
)
{
if
(
inventAllGlobalData
[
i
][
'valueField'
]
===
dataItem
[
'inventRecordId'
])
{
return
inventAllGlobalData
[
i
][
'param1Field'
];
}
}
return
""
;
}
},
{
field
:
"unit"
,
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
inventAllGlobalData
.
length
;
i
++
)
{
...
...
src/main/webapp/HP/KC/HPKC001.jsp
View file @
8cbeba7f
...
...
@@ -48,8 +48,8 @@
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"purchaseNo"
cname=
"采购单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"receiptDate"
cname=
"单据日期"
width=
"90"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"100"
align=
"center"
required=
"true"
>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
readonly=
"true"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"100"
align=
"center"
required=
"true"
readonly=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"120"
align=
"center"
required=
"true"
readonly=
"true"
/>
...
...
@@ -57,8 +57,8 @@
<EF:EFColumn
ename=
"inventRecordId"
cname=
"规格"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
readonly=
"true"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
readonly=
"true"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"150"
readonly=
"true"
/>
<EF:EFColumn
ename=
"oldPurchaseNo"
cname=
"原采购单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
...
...
src/main/webapp/HP/KC/HPKC010.jsp
View file @
8cbeba7f
...
...
@@ -31,20 +31,20 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventRecordId"
cname=
"存货档案ID"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"whCode"
cname=
"仓库编码"
width=
"120"
columnTemplate=
"#=textField#"
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"100"
align=
"center"
required=
"true"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"120"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
blockName=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
align=
"center"
filter=
"contains"
>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"100"
align=
"center"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
align=
"center"
filter=
"contains"
enable=
"false"
>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时刻"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
...
...
src/main/webapp/HP/KC/HPKC011.jsp
View file @
8cbeba7f
...
...
@@ -31,23 +31,23 @@
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"prodNo"
cname=
"生产单号"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"prodNo"
cname=
"生产单号"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFComboColumn
ename=
"whCode"
cname=
"仓库编码"
width=
"120"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
blockName=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
align=
"center"
filter=
"contains"
required=
"true"
>
align=
"center"
filter=
"contains"
required=
"true"
enable=
"false"
>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零部件名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"thich"
cname=
"厚"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
required=
"true"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零部件名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"thich"
cname=
"厚"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时刻"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
...
...
src/main/webapp/HP/PZ/HPPZ006.js
View file @
8cbeba7f
...
...
@@ -17,12 +17,12 @@ $(function() {
},
{
field
:
"width"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
leng
th
;
return
options
.
width
==
0
?
"-"
:
options
.
wid
th
;
}
},
{
field
:
"thick"
,
template
:
function
(
options
)
{
return
options
.
length
==
0
?
"-"
:
options
.
length
;
return
options
.
thick
==
0
?
"-"
:
options
.
thick
;
}
},
{
field
:
"createdName"
,
...
...
src/main/webapp/HP/PZ/HPPZ006.jsp
View file @
8cbeba7f
...
...
@@ -30,12 +30,12 @@
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货名称"
width=
"120"
align=
"center"
requird=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
maxLength=
"50"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
maxLength=
"50"
enable=
"false"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"100"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"coefficient"
cname=
"系数"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
/>
<EF:EFColumn
ename=
"coefficient"
cname=
"系数"
width=
"100"
align=
"right"
format=
"{0:N2}"
maxLength=
"10"
defaultValue=
"1"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"100"
align=
"center"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
...
...
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