Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
朱继来
/
后台订单管理
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
4775b247
authored
Mar 05, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整
parent
3a6d11e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
app/Http/Controllers/OrderController.php
resources/views/detail/sendSales.blade.php
app/Http/Controllers/OrderController.php
View file @
4775b247
...
...
@@ -1127,7 +1127,7 @@ Class OrderController extends Controller
// 获取线上销售子级部门
$sub_department
=
DB
::
table
(
'user_department'
)
->
where
(
'parent_id'
,
33
)
->
select
(
'department_id'
,
'department_name'
)
->
get
();
foreach
(
$sub_department
as
&
$v
)
{
foreach
(
$sub_department
as
$v
)
{
$v
->
sales
=
$perm
->
getUserByCondition
(
$v
->
department_id
,
62
,
0
);
}
...
...
resources/views/detail/sendSales.blade.php
View file @
4775b247
...
...
@@ -64,6 +64,7 @@
</td>
</tr>
<!-- 线上销售各组 -->
@if ($sub_department)
@foreach ($sub_department as $v)
@if (!empty($v->sales))
...
...
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