Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
10f49fc0
Commit
10f49fc0
authored
Sep 11, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.增加项目筛选框
parent
ee2940b9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
ServiceHGKC008.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC008.java
+8
-2
HGKC008.jsp
src/main/webapp/HG/KC/HGKC008.jsp
+7
-3
No files found.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC008.java
View file @
10f49fc0
...
@@ -42,14 +42,20 @@ import java.util.Objects;
...
@@ -42,14 +42,20 @@ import java.util.Objects;
*/
*/
public
class
ServiceHGKC008
extends
ServiceBase
{
public
class
ServiceHGKC008
extends
ServiceBase
{
/**
* 初始化
*
* @param inInfo
* @return
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
try
{
inInfo
=
super
.
query
(
inInfo
,
HGKC008
.
QUERY
,
new
HGKC008
());
inInfo
=
super
.
query
(
inInfo
,
HGKC008
.
QUERY
,
new
HGKC008
());
Map
map
=
new
HashMap
();
Map
map
=
new
HashMap
();
map
.
put
(
HGKC008
.
FIELD_ACCOUNT_CODE
,
UserSessionUtils
.
getAccountCode
());
map
.
put
(
HGKC008
.
FIELD_ACCOUNT_CODE
,
UserSessionUtils
.
getAccountCode
());
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
,
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
,
DdynamicEnum
.
PROJ_RECORD_BY_ROLE_BLOCK_ID
,
DdynamicEnum
.
WH_RECORD
_BLOCK_ID
,
DdynamicEnum
.
PROJ_RECORD_BLOCK_ID
,
DdynamicEnum
.
PROJ_RECORD_BY_ROLE
_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
map
,
false
DdynamicEnum
.
WH_RECORD_BLOCK_ID
,
DdynamicEnum
.
USER_BLOCK_ID
),
map
,
false
);
);
EiInfoUtils
.
addBlock
(
inInfo
,
"roleCompany"
,
UserSessionUtils
.
getRoleCompany
(),
Company
.
class
);
EiInfoUtils
.
addBlock
(
inInfo
,
"roleCompany"
,
UserSessionUtils
.
getRoleCompany
(),
Company
.
class
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/webapp/HG/KC/HGKC008.jsp
View file @
10f49fc0
...
@@ -14,12 +14,16 @@
...
@@ -14,12 +14,16 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"inqu_status-0-companyName"
cname=
"公司名称"
colWidth=
"3"
/>
<EF:EFInput
ename=
"inqu_status-0-companyName"
cname=
"公司名称"
colWidth=
"3"
/>
<EF:EFSelect
ename=
"projCode"
cname=
"项目名称"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
optionLabel=
"全部"
filter=
"contains"
template=
"#=valueField#-#=textField#"
>
<EF:EFOptions
blockId=
"projRecordByRole_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFDatePicker
cname=
"单据日期"
blockId=
"inqu_status"
ename=
"receiptDate"
row=
"0"
colWidth=
"3"
<EF:EFDatePicker
cname=
"单据日期"
blockId=
"inqu_status"
ename=
"receiptDate"
row=
"0"
colWidth=
"3"
role=
"date"
format=
"yyyy-MM-dd"
readonly=
"true"
/>
role=
"date"
format=
"yyyy-MM-dd"
readonly=
"true"
/>
<EF:EFInput
ename=
"inqu_status-0-applyCode"
cname=
"生产领料单号"
colWidth=
"3"
/>
<EF:EFInput
ename=
"inqu_status-0-applyCode"
cname=
"生产领料单号"
colWidth=
"3"
/>
<EF:EFInput
ename=
"inqu_status-0-whName"
cname=
"仓库名称"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"inqu_status-0-whName"
cname=
"仓库名称"
colWidth=
"3"
/>
<EF:EFSelect
ename=
"receiveUserId"
cname=
"领料人"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
filter=
"contains"
>
<EF:EFSelect
ename=
"receiveUserId"
cname=
"领料人"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"user_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"user_block_id"
textField=
"textField"
valueField=
"valueField"
/>
...
@@ -40,13 +44,13 @@
...
@@ -40,13 +44,13 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
isFloat=
"true"
copyToAdd=
"false"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
isFloat=
"true"
copyToAdd=
"false"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFComboColumn
cname=
"类型"
ename=
"receiveType"
width=
"
9
0"
align=
"center"
required=
"false"
enable=
"false"
>
<EF:EFComboColumn
cname=
"类型"
ename=
"receiveType"
width=
"
8
0"
align=
"center"
required=
"false"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.receiveType"
/>
<EF:EFCodeOption
codeName=
"hggp.receiveType"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"companyCode"
cname=
"公司名称"
<EF:EFComboColumn
ename=
"companyCode"
cname=
"公司名称"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
width=
"
14
0"
required=
"true"
maxLength=
"16"
width=
"
20
0"
required=
"true"
align=
"center"
filter=
"contains"
sort=
"true"
>
align=
"center"
filter=
"contains"
sort=
"true"
>
<EF:EFOptions
blockId=
"companyBox_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"companyBox_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
...
...
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