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
5ec86f2a
Commit
5ec86f2a
authored
May 21, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-05-21 更改仓库档案仓库类型停用显示问题
parent
96615de4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
DdynamicEnum.java
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
+1
-1
HGPZ006.xml
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ006.xml
+5
-2
HGPZ007.js
src/main/webapp/HG/PZ/HGPZ007.js
+12
-0
No files found.
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
View file @
5ec86f2a
...
...
@@ -105,7 +105,7 @@ public enum DdynamicEnum {
* 用途:仓库类型下拉框
* 编写:
*/
WH_TYPE_BLOCK_ID
(
"wh_type_block_id"
,
"whType"
,
"whTypeName"
,
"HGPZ006.queryComboBox"
),
WH_TYPE_BLOCK_ID
(
"wh_type_block_id"
,
"whType"
,
"whTypeName"
,
"status"
,
"HGPZ006.queryComboBox"
),
/**
* 模块:仓库档案
...
...
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ006.xml
View file @
5ec86f2a
...
...
@@ -205,16 +205,19 @@
resultClass=
"java.util.HashMap"
>
SELECT DISTINCT
WH_TYPE as "whType",
WH_TYPE_NAME as "whTypeName"
WH_TYPE_NAME as "whTypeName",
STATUS as "status"
FROM ${hggpSchema}.HGPZ006
WHERE DELETE_FLAG = 0
AND STATUS=1
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"whType"
>
WH_TYPE = #whType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"status"
>
STATUS = #status#
</isNotEmpty>
ORDER BY WH_TYPE
</select>
...
...
src/main/webapp/HG/PZ/HGPZ007.js
View file @
5ec86f2a
$
(
function
()
{
var
whTypeBox
=
__eiInfo
.
getBlock
(
"wh_type_block_id"
).
getMappedRows
();
// 查询
$
(
"#QUERY"
).
on
(
"click"
,
query
);
...
...
@@ -9,6 +11,16 @@ $(function() {
pageSizes
:
[
10
,
20
,
30
,
50
,
100
,
200
]
},
columns
:
[{
field
:
"whType"
,
filter
:
function
(
options
)
{
return
_
.
filter
(
whTypeBox
,
function
(
item
)
{
return
item
[
"param1Field"
]
==
"true"
;
})
},
editor
:
function
(
container
,
options
)
{
this
.
filter
(
options
);
}
},{
field
:
"createdName"
,
template
:
function
(
options
)
{
return
showUserName
(
options
.
createdBy
,
options
.
createdName
);
...
...
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