Commit 9b76b247 by 朱继来

Merge branch 'zjl_erp_syn_20190514' into development

parents 885e8244 67de23f0
...@@ -368,7 +368,7 @@ Class OrderController extends Controller ...@@ -368,7 +368,7 @@ Class OrderController extends Controller
$info['title'] = '平台订单'; $info['title'] = '平台订单';
// 若为京东自营、自营客服角色,则跳转到自营列表 // 若为京东自营、自营客服角色,则跳转到自营列表
if (in_array($info['role'], [6, 7, 10])) { if (in_array($info['role'], [6, 7, 10, 11, 12])) {
return redirect('self_order'); return redirect('self_order');
} }
...@@ -405,8 +405,8 @@ Class OrderController extends Controller ...@@ -405,8 +405,8 @@ Class OrderController extends Controller
$map['is_new_order'] = $request->input('is_new_order', ''); $map['is_new_order'] = $request->input('is_new_order', '');
$map['business_type'] = $request->input('business_type', ''); $map['business_type'] = $request->input('business_type', '');
// 订单查看权限---交易员、客服、自营客服 // 订单查看权限---交易员、客服、自营客服、自营内部采购
if (in_array($info['role'], [3, 4, 7])) { if (in_array($info['role'], [3, 4, 7, 12])) {
// 筛选自己的订单 // 筛选自己的订单
$map['sale_id'] = $request->user->userId; $map['sale_id'] = $request->user->userId;
} }
......
...@@ -90,6 +90,10 @@ ...@@ -90,6 +90,10 @@
return 9; return 9;
} else if ($department->name == '自营客服主管') { } else if ($department->name == '自营客服主管') {
return 10; return 10;
} else if ($department->name == '自营客服主管助理') {
return 11;
} else if ($department->name == '自营内部采购') {
return 12;
} else { } else {
return 0; return 0;
} }
......
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