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
41f58779
Commit
41f58779
authored
May 23, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料清单bug修改
parent
142ac3b5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
5 deletions
+22
-5
HGPZ005.xml
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ005.xml
+2
-2
HGSC004A.js
src/main/webapp/HG/SC/HGSC004A.js
+20
-3
No files found.
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ005.xml
View file @
41f58779
...
@@ -359,8 +359,8 @@
...
@@ -359,8 +359,8 @@
<isNotEmpty
prepend=
" AND "
property=
"parInventType"
>
<isNotEmpty
prepend=
" AND "
property=
"parInventType"
>
b.PAR_INVENT_TYPE = #parInventType#
b.PAR_INVENT_TYPE = #parInventType#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"invent
Name
"
>
<isNotEmpty
prepend=
" AND "
property=
"invent
TypeDetail
"
>
a.INVENT_NAME = #inventName
#
b.INVENT_TYPE_DETAIL = #inventTypeDetail
#
</isNotEmpty>
</isNotEmpty>
ORDER BY INVENT_CODE
ORDER BY INVENT_CODE
</select>
</select>
...
...
src/main/webapp/HG/SC/HGSC004A.js
View file @
41f58779
...
@@ -62,8 +62,17 @@ $(function () {
...
@@ -62,8 +62,17 @@ $(function () {
let
eiInfo
=
new
EiInfo
();
let
eiInfo
=
new
EiInfo
();
if
(
nodeData
.
lv
==
2
)
{
if
(
nodeData
.
lv
==
2
)
{
eiInfo
.
set
(
"inqu_status-0-parInventType"
,
"root"
);
eiInfo
.
set
(
"inqu_status-0-parInventType"
,
"root"
);
//3级节点选择只能是构建
eiInfo
.
set
(
"inqu_status-0-inventTypeDetail"
,
"1"
);
}
else
if
(
nodeData
.
lv
==
3
)
{
}
else
if
(
nodeData
.
lv
==
3
)
{
eiInfo
.
set
(
"inqu_status-0-parInventType"
,
nodeData
.
inventType
);
//4级节点选择只能是构建
eiInfo
.
set
(
"inqu_status-0-inventTypeDetail"
,
"2"
);
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}
else
if
(
nodeData
.
lv
==
4
)
{
//上方刷新过树结构了
//4级节点选择只能是构建
eiInfo
.
set
(
"inqu_status-0-inventTypeDetail"
,
"2"
);
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}
}
var
dataSource
;
var
dataSource
;
EiCommunicator
.
send
(
"HGSC004A"
,
"queryProductComboBox"
,
eiInfo
,
{
EiCommunicator
.
send
(
"HGSC004A"
,
"queryProductComboBox"
,
eiInfo
,
{
...
@@ -130,6 +139,8 @@ $(function () {
...
@@ -130,6 +139,8 @@ $(function () {
item
[
'inventType'
]
=
productCodeBox
[
i
][
'param2Field'
];
item
[
'inventType'
]
=
productCodeBox
[
i
][
'param2Field'
];
console
.
log
(
item
)
console
.
log
(
item
)
template
=
productCodeBox
[
i
][
'valueField'
];
template
=
productCodeBox
[
i
][
'valueField'
];
}
else
{
template
=
item
.
productCode
;
}
}
}
}
}
}
...
@@ -141,11 +152,17 @@ $(function () {
...
@@ -141,11 +152,17 @@ $(function () {
var
nodeData
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
;
var
nodeData
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
;
if
(
nodeData
.
lv
==
2
)
{
if
(
nodeData
.
lv
==
2
)
{
inInfo
.
set
(
"inqu_status-0-parInventType"
,
"root"
);
inInfo
.
set
(
"inqu_status-0-parInventType"
,
"root"
);
//3级节点选择只能是构建
inInfo
.
set
(
"inqu_status-0-inventTypeDetail"
,
"1"
);
}
else
if
(
nodeData
.
lv
==
3
)
{
}
else
if
(
nodeData
.
lv
==
3
)
{
inInfo
.
set
(
"inqu_status-0-parInventType"
,
nodeData
.
inventType
);
//4级节点选择只能是构建
inInfo
.
set
(
"inqu_status-0-inventTypeDetail"
,
"2"
);
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}
else
if
(
nodeData
.
lv
==
4
)
{
}
else
if
(
nodeData
.
lv
==
4
)
{
//上方刷新过树结构了
//上方刷新过树结构了
inInfo
.
set
(
"inqu_status-0-parInventType"
,
nodeData
.
inventType
);
//4级节点选择只能是构建
inInfo
.
set
(
"inqu_status-0-inventTypeDetail"
,
"2"
);
// inInfo.set("inqu_status-0-parInventType", nodeData.inventType);
}
}
inInfo
.
set
(
"field"
,
options
.
field
);
inInfo
.
set
(
"field"
,
options
.
field
);
let
dataSource
=
inventNameGlobalData
;
let
dataSource
=
inventNameGlobalData
;
...
...
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