Commit 616e7f75 by 朱继来

只允许查看京东自营订单

parent e4edf262
......@@ -390,6 +390,10 @@ Class OrderController extends Controller
$data['sale_id'] = $request->user->userId;
}
if ($tid == 2 && $info['role'] == 6) {
$map['check_jd_order'] = 1; // 只允许查看京东自营订单
}
// 非竞调账号显示真实数据
if ($info['username'] != 'vpadmin@ichunt.com') {
$map['is_fake'] = 0;
......
......@@ -53,6 +53,8 @@
return 4;
} else if ($department->name == '测试') {
return 5;
} else if ($department->name == '京东自营') {
return 6;
} else {
return 0;
}
......
......@@ -60,6 +60,8 @@
</div>
</dd>
</dl>
<!-- 京东自营角色不显示订单来源 -->
@if ($role != 6)
<dl>
<dt>订单来源:</dt>
<dd style="width: 115px;">
......@@ -74,6 +76,7 @@
</div>
</dd>
</dl>
@endif
<dl>
<dt>支付方式:</dt>
<dd style="width: 115px;">
......
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