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
4b319b50
authored
Sep 18, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'master' of
http://119.23.72.7/zhujilai/Order
into zjl_adjust_20180911
parents
f09cc940
1feb2d4c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 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 @
4b319b50
...
...
@@ -352,6 +352,11 @@ Class OrderController extends Controller
{
$info
=
$this
->
getOrderInfo
(
$request
,
1
);
// 若为京东自营角色,则跳转到自营列表
if
(
$info
[
'role'
]
==
6
)
{
return
redirect
(
'self_order'
);
}
return
view
(
'orderlist'
,
$info
);
}
...
...
@@ -390,6 +395,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 @
4b319b50
...
...
@@ -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 @
4b319b50
...
...
@@ -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