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
38b0093d
Commit
38b0093d
authored
Jul 30, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-30 优化存货类型上级可以选择所有已建的存货类型
parent
02750e38
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
HGPZ004.xml
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ004.xml
+8
-5
HGPZ004.js
src/main/webapp/HG/PZ/HGPZ004.js
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ004.xml
View file @
38b0093d
...
@@ -278,20 +278,23 @@
...
@@ -278,20 +278,23 @@
SELECT 'root' as "parInventType",'根目录' as "parInventTypeName"
SELECT 'root' as "parInventType",'根目录' as "parInventTypeName"
FROM DUAL
FROM DUAL
UNION ALL
UNION ALL
(SELECT DISTINCT
(
SELECT DISTINCT
INVENT_TYPE as "parInventType",
INVENT_TYPE as "parInventType",
INVENT_TYPE_NAME as "parInventTypeName"
INVENT_TYPE_NAME as "parInventTypeName"
FROM ${hggpSchema}.HGPZ004
FROM ${hggpSchema}.HGPZ004
WHERE DELETE_FLAG = 0
WHERE DELETE_FLAG = 0 AND STATUS=1
AND STATUS=1
<!-- AND PAR_INVENT_TYPE = 'root' -->
AND PAR_INVENT_TYPE = 'root'
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"inventType"
>
<isNotEmpty
prepend=
" AND "
property=
"inventType"
>
INVENT_TYPE
<![CDATA[ <> ]]>
#inventType#
INVENT_TYPE
<![CDATA[ <> ]]>
#inventType#
</isNotEmpty>
</isNotEmpty>
ORDER BY INVENT_TYPE)
<isEmpty
prepend=
" AND "
property=
"inventType"
>
PAR_INVENT_TYPE = 'root'
</isEmpty>
ORDER BY INVENT_TYPE
)
</select>
</select>
</sqlMap>
</sqlMap>
src/main/webapp/HG/PZ/HGPZ004.js
View file @
38b0093d
...
@@ -28,7 +28,7 @@ $(function() {
...
@@ -28,7 +28,7 @@ $(function() {
inInfo
.
set
(
"methodName"
,
"queryParComboBox"
);
inInfo
.
set
(
"methodName"
,
"queryParComboBox"
);
inInfo
.
set
(
"blockId"
,
"par_invent_type_block_id"
);
inInfo
.
set
(
"blockId"
,
"par_invent_type_block_id"
);
inInfo
.
set
(
"field"
,
options
.
field
);
inInfo
.
set
(
"field"
,
options
.
field
);
refreshSelect
(
container
,
inInfo
);
ParInventNameGlobalData
=
refreshSelect
(
container
,
inInfo
);
}
}
},
{
},
{
field
:
"createdName"
,
field
:
"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