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
2eabad05
Commit
2eabad05
authored
Jul 06, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-06 调拨单组织间逻辑调整
parent
b6044c96
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
HGKC013.js
src/main/webapp/HG/KC/HGKC013.js
+10
-5
No files found.
src/main/webapp/HG/KC/HGKC013.js
View file @
2eabad05
...
...
@@ -135,15 +135,20 @@ $(function () {
grid
.
dataSource
.
bind
(
"change"
,
function
(
e
)
{
// 判断父级节点是否发生变化
if
(
e
.
field
===
"calloutCompanyCode"
)
{
if
(
e
.
items
[
0
][
"allotType"
]
==
1
){
e
.
items
[
0
][
"callinCompanyCode"
]
=
e
.
items
[
0
][
"calloutCompanyCode"
];
}
e
.
items
[
0
][
"calloutWhCode"
]
=
''
;
e
.
items
[
0
][
"calloutWhName"
]
=
''
;
e
.
items
[
0
][
"callinWhCode"
]
=
''
;
e
.
items
[
0
][
"callinWhName"
]
=
''
;
loadChange
(
grid
,
e
,
"callinCompanyCode"
);
loadChange
(
grid
,
e
,
"calloutWhCode"
);
if
(
e
.
items
[
0
][
"allotType"
]
==
2
){
loadChange
(
grid
,
e
,
"calloutWhCode"
);
}
else
if
(
e
.
items
[
0
][
"allotType"
]
==
1
){
e
.
items
[
0
][
"callinCompanyCode"
]
=
e
.
items
[
0
][
"calloutCompanyCode"
];
loadChange
(
grid
,
e
,
"callinCompanyCode"
);
loadChange
(
grid
,
e
,
"calloutWhCode"
);
}
/*if (e.items[0]["allotType"] == 1){
}*/
}
if
(
e
.
field
==
"calloutWhCode"
)
{
if
(
e
.
items
[
0
][
"allotType"
]
==
2
&&
isBlank
(
e
.
items
[
0
][
"callinCompanyCode"
])){
...
...
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