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
119dd0aa
authored
Sep 18, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_self_jd_20180917' into development
parents
bc56b872
616e7f75
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
app/Http/Controllers/OrderController.php
app/Http/Controllers/PermController.php
resources/views/selfOrder/content.blade.php
app/Http/Controllers/OrderController.php
View file @
119dd0aa
...
...
@@ -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
;
...
...
app/Http/Controllers/PermController.php
View file @
119dd0aa
...
...
@@ -53,6 +53,8 @@
return
4
;
}
else
if
(
$department
->
name
==
'测试'
)
{
return
5
;
}
else
if
(
$department
->
name
==
'京东自营'
)
{
return
6
;
}
else
{
return
0
;
}
...
...
resources/views/selfOrder/content.blade.php
View file @
119dd0aa
...
...
@@ -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;"
>
...
...
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