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
12d827a1
Commit
12d827a1
authored
Jan 11, 2024
by
徐澳
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下拉框
parent
adabdf89
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
ServiceHPPZ002.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ002.java
+4
-1
HPPZ002.jsp
src/main/webapp/HP/PZ/HPPZ002.jsp
+8
-10
No files found.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ002.java
View file @
12d827a1
package
com
.
baosight
.
hpjx
.
hp
.
pz
.
service
;
import
com.baosight.hpjx.common.CompanyTypeEnum
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
...
...
@@ -22,8 +23,11 @@ public class ServiceHPPZ002 extends ServiceBase {
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
THppz002
hppz002
=
new
THppz002
();
EiInfo
outInfo
=
new
EiInfo
();
outInfo
.
addBlock
(
EiConstant
.
queryBlock
);
outInfo
.
getBlock
(
EiConstant
.
queryBlock
).
addBlockMeta
(
hppz002
.
eiMetadata
);
outInfo
.
addBlock
(
EiConstant
.
resultBlock
);
outInfo
.
getBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
hppz002
.
eiMetadata
);
outInfo
.
setBlock
(
CompanyTypeEnum
.
generatorEiBlock
());
return
outInfo
;
}
...
...
@@ -50,7 +54,6 @@ public class ServiceHPPZ002 extends ServiceBase {
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
);
...
...
src/main/webapp/HP/PZ/HPPZ002.jsp
View file @
12d827a1
...
...
@@ -10,10 +10,10 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"inqu_status-0-custName"
cname=
"供应商名称"
colWidth=
"4"
readonly=
"false"
/>
<EF:EFSelect
ename=
"inqu_status-0-custType"
cname=
"供应商类型"
colWidth=
"4"
>
<EF:EFOption
label=
"--请选择--"
value=
""
/
>
<EF:EFOption
label=
"
国企"
value=
"1"
></EF:EFOption
>
<EF:EFOption
label=
"民营"
value=
"2"
></EF:EFOption
>
<EF:EFSelect
ename=
"inqu_status-0-custType"
cname=
"供应商类型"
colWidth=
"4"
template=
"#=valueField#-#=textField#"
valueTemplate=
"#=valueField#-#=textField#"
enable=
"true"
>
<EF:EFOption
label=
"
全部"
value=
""
/
>
<EF:EFOption
s
blockId=
"company_type_block_id"
textField=
"valueField"
valueField=
"textField"
/
>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-status"
cname=
"状态"
colWidth=
"4"
>
<EF:EFOption
label=
"--请选择--"
value=
""
/>
...
...
@@ -28,12 +28,10 @@
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"custType"
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=
"2"
></EF:EFOption>
blockName=
"company_type_block_id"
columnTemplate=
"#=textField#-#=valueField#"
optionLabel=
" "
itemTemplate=
"#=textField#-#=valueField#"
textField=
"valueField"
valueField=
"textField"
width=
"100"
required=
"true"
>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"custCode"
cname=
"供应商编码"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"custName"
cname=
"供应商名称"
width=
"100"
readonly=
"false"
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