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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
15 deletions
+18
-15
HGPZ004.xml
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ004.xml
+17
-14
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 @@
SELECT 'root' as "parInventType",'根目录' as "parInventTypeName"
FROM DUAL
UNION ALL
(SELECT DISTINCT
INVENT_TYPE as "parInventType",
INVENT_TYPE_NAME as "parInventTypeName"
FROM ${hggpSchema}.HGPZ004
WHERE DELETE_FLAG = 0
AND STATUS=1
AND PAR_INVENT_TYPE = 'root'
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"inventType"
>
INVENT_TYPE
<![CDATA[ <> ]]>
#inventType#
</isNotEmpty>
ORDER BY INVENT_TYPE)
( SELECT DISTINCT
INVENT_TYPE as "parInventType",
INVENT_TYPE_NAME as "parInventTypeName"
FROM ${hggpSchema}.HGPZ004
WHERE DELETE_FLAG = 0 AND STATUS=1
<!-- AND PAR_INVENT_TYPE = 'root' -->
<isNotEmpty
prepend=
" AND "
property=
"accountCode"
>
ACCOUNT_CODE = #accountCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"inventType"
>
INVENT_TYPE
<![CDATA[ <> ]]>
#inventType#
</isNotEmpty>
<isEmpty
prepend=
" AND "
property=
"inventType"
>
PAR_INVENT_TYPE = 'root'
</isEmpty>
ORDER BY INVENT_TYPE
)
</select>
</sqlMap>
src/main/webapp/HG/PZ/HGPZ004.js
View file @
38b0093d
...
...
@@ -28,7 +28,7 @@ $(function() {
inInfo
.
set
(
"methodName"
,
"queryParComboBox"
);
inInfo
.
set
(
"blockId"
,
"par_invent_type_block_id"
);
inInfo
.
set
(
"field"
,
options
.
field
);
refreshSelect
(
container
,
inInfo
);
ParInventNameGlobalData
=
refreshSelect
(
container
,
inInfo
);
}
},
{
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