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
7515144f
authored
Jun 11, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_erp_syn_20190514'
parents
03ac6eca
79106a20
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
app/Http/Controllers/OrderController.php
resources/views/detail/changeOrder.blade.php
resources/views/detail/content.blade.php
app/Http/Controllers/OrderController.php
View file @
7515144f
...
...
@@ -459,8 +459,10 @@ Class OrderController extends Controller
}
else
if
(
$tid
==
2
)
{
$manager
=
$perm
->
getRoleUsers
(
$request
,
'自营客服主管'
);
$test
=
$perm
->
getRoleUsers
(
$request
,
'测试'
);
$assistant
=
$perm
->
getRoleUsers
(
$request
,
'自营客服主管助理'
);
$purchase
=
$perm
->
getRoleUsers
(
$request
,
'自营内部采购'
);
$kefu
=
$perm
->
getRoleUsers
(
$request
,
'自营客服'
);
$sale_list
=
array_merge
(
$manager
,
$test
,
$kefu
);
$sale_list
=
array_merge
(
$manager
,
$test
,
$
assistant
,
$purchase
,
$
kefu
);
}
//获取订单列表
...
...
@@ -835,7 +837,10 @@ Class OrderController extends Controller
$manager
=
$perm
->
getRoleUsers
(
$request
,
'自营客服主管'
);
$test
=
$perm
->
getRoleUsers
(
$request
,
'测试'
);
$sale_list
=
''
;
$assistant
=
$perm
->
getRoleUsers
(
$request
,
'自营客服主管助理'
);
$purchase
=
$perm
->
getRoleUsers
(
$request
,
'自营内部采购'
);
$kefu
=
$perm
->
getRoleUsers
(
$request
,
'自营客服'
);
$kefu
=
array_merge
(
$assistant
,
$purchase
,
$kefu
);
}
else
{
$manager
=
$perm
->
getRoleUsers
(
$request
,
'经理'
);
$test
=
$perm
->
getRoleUsers
(
$request
,
'测试'
);
...
...
resources/views/detail/changeOrder.blade.php
View file @
7515144f
...
...
@@ -445,7 +445,7 @@
@endif
<script>
var
is_manager
=
"{{ $role == 1 || $role == 2 ? true : false }}"
;
var
is_manager
=
"{{ $role == 1 || $role == 2
|| $role == 10
? true : false }}"
;
var
isNewClient
=
"{{isset($isNewClient) ? $isNewClient : 0}}"
;
var
order_amount
=
"{{$order_info['order_amount']}}"
;
...
...
resources/views/detail/content.blade.php
View file @
7515144f
...
...
@@ -773,7 +773,7 @@
@endif
<!-- 判断状态和权限 $extend-自营线下订单 -->
@if ($order_info['status'] == 1
&&
in_array('add_offline_audit', $userPerms)
&&
$extend)
@if ($order_info['status'] == 1
&&
in_array('add_offline_audit', $userPerms)
&&
isset($extend)
&&
!
$extend)
<!-- <a class="btn btn-success self-check" data-id="{{$order_info['order_id']}}">内部订单审核</a> -->
@endif
...
...
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