Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
杨树贤
/
liexin_supplier
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
60ff9016
authored
Jun 21, 2022
by
杨树贤
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
修复采购员跳过问题
parent
44a316f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
8 deletions
app/Http/Services/DataService.php
app/Http/Services/DataService.php
View file @
60ff9016
...
@@ -465,15 +465,14 @@ class DataService
...
@@ -465,15 +465,14 @@ class DataService
$channelUids
=
$supplier
[
'channel_uid'
]
?
explode
(
','
,
$supplier
[
'channel_uid'
])
:
[];
$channelUids
=
$supplier
[
'channel_uid'
]
?
explode
(
','
,
$supplier
[
'channel_uid'
])
:
[];
if
(
$channelUids
)
{
if
(
$channelUids
)
{
$channelUsers
=
(
new
AdminUserService
())
->
getAdminUserListByCodeIds
(
$channelUids
);
$channelUsers
=
(
new
AdminUserService
())
->
getAdminUserListByCodeIds
(
$channelUids
);
if
(
empty
(
$channelUsers
))
{
if
(
!
empty
(
$channelUsers
))
{
continue
;
$firstChannelUser
=
$channelUsers
[
0
];
$firstChannelUserDepartmentName
=
(
new
DepartmentModel
())
->
where
(
'department_id'
,
$firstChannelUser
[
'department_id'
])
->
value
(
'department_name'
);
$firstChannelUserName
=
$firstChannelUser
[
'name'
];
$allChannelUserName
=
implode
(
','
,
array_column
(
$channelUsers
,
'name'
));
}
}
$firstChannelUser
=
$channelUsers
[
0
];
$firstChannelUserDepartmentName
=
(
new
DepartmentModel
())
->
where
(
'department_id'
,
$firstChannelUser
[
'department_id'
])
->
value
(
'department_name'
);
$firstChannelUserName
=
$firstChannelUser
[
'name'
];
$allChannelUserName
=
implode
(
','
,
array_column
(
$channelUsers
,
'name'
));
}
}
$itemData
=
[
$itemData
=
[
...
...
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