Commit 4775b247 by 朱继来

调整

parent 3a6d11e9
......@@ -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);
}
......
......@@ -64,6 +64,7 @@
</td>
</tr>
<!-- 线上销售各组 -->
@if ($sub_department)
@foreach ($sub_department as $v)
@if (!empty($v->sales))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment