Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
07ac5557
Commit
07ac5557
authored
Apr 16, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门只传直属部门
parent
d9bd8f25
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
commission-requestFunds.vue
src/views/ecw/financial/commission-requestFunds.vue
+4
-2
creatPayment.vue
src/views/ecw/financial/creatPayment.vue
+5
-2
No files found.
src/views/ecw/financial/commission-requestFunds.vue
View file @
07ac5557
...
...
@@ -53,7 +53,7 @@
<
el
-
option
v
-
for
=
"
item in deptData
"
:
key
=
"
item.id
"
:
label
=
"
item.name
"
:
label
=
"
item.name
d
"
:
value
=
"
item.id
"
@
click
.
native
=
"
selectFn('departmentName', item.name)
"
/>
...
...
@@ -575,7 +575,9 @@ export default {
that
.
deptData
.
forEach
((
value
)
=>
{
var
dept
=
that
.
deptArr
.
filter
((
itt
)
=>
itt
.
id
==
value
.
parentId
);
if
(
dept
.
length
>
0
)
{
value
.
name
=
dept
[
0
].
name
+
"
|
"
+
value
.
name
;
value
.
named
=
dept
[
0
].
name
+
"
|
"
+
value
.
name
;
}
else
{
value
.
named
=
value
.
name
;
}
}
);
}
);
...
...
src/views/ecw/financial/creatPayment.vue
View file @
07ac5557
...
...
@@ -48,9 +48,10 @@
:
placeholder
=
"
$t('请选择部门')
"
>
<
el
-
option
@
click
.
native
=
"
selslectVal('departmentName', item.name)
"
v
-
for
=
"
item in deptData
"
:
key
=
"
item.id
"
:
label
=
"
item.name
"
:
label
=
"
item.name
d
"
:
value
=
"
item.id
"
/>
<
/el-select
>
...
...
@@ -548,7 +549,9 @@ export default {
that
.
deptData
.
forEach
((
value
)
=>
{
var
dept
=
that
.
deptArr
.
filter
((
itt
)
=>
itt
.
id
==
value
.
parentId
);
if
(
dept
.
length
>
0
)
{
value
.
name
=
dept
[
0
].
name
+
"
|
"
+
value
.
name
;
value
.
named
=
dept
[
0
].
name
+
"
|
"
+
value
.
name
;
}
else
{
value
.
named
=
value
.
name
;
}
}
);
}
);
...
...
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