Commit e808af2a by 朱继来

添加竞调账号

parent 1889b493
Showing with 10 additions and 0 deletions
......@@ -245,6 +245,11 @@ Class OrderController extends Controller
$data['sale_id'] = $request->user->userId;
}
// 竞调账号
if ($info['username'] == 'vpadmin@ichunt.com') {
$map['is_fake'] = 1;
}
// 获取所有的业务员 (包括经理和交易员)
// $sale_list = $this->getSales('销售');
$perm = new PermController;
......@@ -299,6 +304,11 @@ Class OrderController extends Controller
/* 查看ERP订单 */
$map['offline_order'] = [2, 3]; // 2-ERP, 3-JD
// 竞调账号
if ($info['username'] == 'vpadmin@ichunt.com') {
$map['is_fake'] = 1;
}
// 获取所有的业务员 (包括经理和交易员)
$perm = new PermController;
$manager = $perm->getRoleUsers($request, '经理');
......
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