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
3145e10d
Commit
3145e10d
authored
Feb 05, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
字段优化
parent
69fab2e1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
15 deletions
+11
-15
ServiceHPPZ006.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
+1
-1
ServiceHPSC001.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC001.java
+1
-1
CommonMethod.java
src/main/java/com/baosight/hpjx/util/CommonMethod.java
+1
-1
HPPZ002.jsp
src/main/webapp/HP/PZ/HPPZ002.jsp
+4
-6
HPPZ003.jsp
src/main/webapp/HP/PZ/HPPZ003.jsp
+4
-6
No files found.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ006.java
View file @
3145e10d
...
@@ -38,7 +38,7 @@ public class ServiceHPPZ006 extends ServiceBase {
...
@@ -38,7 +38,7 @@ public class ServiceHPPZ006 extends ServiceBase {
*/
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
null
,
false
);
inInfo
.
setBlock
(
InitiateModeEnum
.
generatorEiBlock
());
inInfo
.
setBlock
(
InitiateModeEnum
.
generatorEiBlock
());
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPPZ006
().
eiMetadata
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPPZ006
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
}
catch
(
PlatException
e
)
{
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC001.java
View file @
3145e10d
...
@@ -33,7 +33,7 @@ public class ServiceHPSC001 extends ServiceBase {
...
@@ -33,7 +33,7 @@ public class ServiceHPSC001 extends ServiceBase {
try
{
try
{
Map
map
=
new
HashMap
();
Map
map
=
new
HashMap
();
map
.
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
map
.
put
(
"companyCode"
,
UserSessionUtils
.
getCompanyCode
());
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
map
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
USER_BLOCK_ID
),
map
,
true
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
CUSTOMER_RECORD_BLOCK_ID
),
null
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC001
().
eiMetadata
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC001
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
}
catch
(
PlatException
e
)
{
...
...
src/main/java/com/baosight/hpjx/util/CommonMethod.java
View file @
3145e10d
...
@@ -32,7 +32,7 @@ public class CommonMethod {
...
@@ -32,7 +32,7 @@ public class CommonMethod {
* 公用下拉方法
* 公用下拉方法
*/
*/
public
static
void
initBlock
(
EiInfo
inInfo
,
List
<
DdynamicEnum
>
tableParams
,
Map
<
String
,
Object
>
selectParams
){
public
static
void
initBlock
(
EiInfo
inInfo
,
List
<
DdynamicEnum
>
tableParams
,
Map
<
String
,
Object
>
selectParams
){
initBlock
(
inInfo
,
tableParams
,
selectParams
,
tru
e
);
initBlock
(
inInfo
,
tableParams
,
selectParams
,
fals
e
);
}
}
/**
/**
...
...
src/main/webapp/HP/PZ/HPPZ002.jsp
View file @
3145e10d
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFSelect
ename=
"inqu_status-0-custType"
cname=
"供应商类型"
colWidth=
"3"
>
<EF:EFSelect
ename=
"inqu_status-0-custType"
cname=
"供应商类型"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EF
Options
blockId=
"company_type_block_id"
textField=
"textField"
valueField=
"valueField
"
/>
<EF:EF
CodeOption
codeName=
"hpjx.hppz.companyType
"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput
ename=
"inqu_status-0-custName"
cname=
"供应商名称"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFInput
ename=
"inqu_status-0-custName"
cname=
"供应商名称"
colWidth=
"3"
readonly=
"false"
/>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
...
@@ -24,12 +24,10 @@
...
@@ -24,12 +24,10 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"custCode"
cname=
"供应商编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"custCode"
cname=
"供应商编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"custName"
cname=
"供应商名称"
width=
"100"
required=
"true"
/>
<EF:EFComboColumn
ename=
"custType"
cname=
"供应商类型"
width=
"100"
align=
"center"
required=
"true"
>
<EF:EFComboColumn
ename=
"custType"
cname=
"供应商类型"
width=
"100"
align=
"center"
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
blockName=
"company_type_block_id"
textField=
"textField"
valueField=
"valueField"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
optionLabel=
" "
required=
"true"
>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"custName"
cname=
"供应商名称"
width=
"100"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"120"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"120"
required=
"true"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"100"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
...
...
src/main/webapp/HP/PZ/HPPZ003.jsp
View file @
3145e10d
...
@@ -8,10 +8,9 @@
...
@@ -8,10 +8,9 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"客户名称"
ename=
"custName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
ename=
"custType"
blockId=
"inqu_status"
cname=
"客户类型"
row=
"0"
colWidth=
"3"
>
<EF:EFSelect
ename=
"inqu_status-0-custType"
cname=
"客户类型"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EF
Options
blockId=
"company_type_block_id"
textField=
"textField"
valueField=
"valueField
"
/>
<EF:EF
CodeOption
codeName=
"hpjx.hppz.companyType
"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"3"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
...
@@ -24,9 +23,8 @@
...
@@ -24,9 +23,8 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"custCode"
cname=
"客户编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"custCode"
cname=
"客户编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFComboColumn
ename=
"custType"
cname=
"客户类型"
width=
"100"
align=
"center"
<EF:EFComboColumn
ename=
"custType"
cname=
"客户类型"
width=
"100"
align=
"center"
required=
"true"
>
blockName=
"company_type_block_id"
textField=
"textField"
valueField=
"valueField"
<EF:EFCodeOption
codeName=
"hpjx.hppz.companyType"
/>
required=
"true"
>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"custName"
cname=
"客户名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"custName"
cname=
"客户名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"150"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"address"
cname=
"地址"
width=
"150"
align=
"center"
required=
"true"
/>
...
...
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