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
8e212c55
authored
Jun 19, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_commit_20200526'
parents
6e12e0c3
c5fe058b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
resources/views/detail/content.blade.php
resources/views/orderlist/content.blade.php
resources/views/detail/content.blade.php
View file @
8e212c55
...
...
@@ -157,7 +157,7 @@
@endif
@if (in_array('check_order', $userPerms)
&&
$order_info['sale_id'])
@if (isset($order_temp_info['is_manager_audit'])
&&
$order_temp_info['is_manager_audit'] !=
1
&&
in_array($order_info['status'], [1, 2]))
@if (isset($order_temp_info['is_manager_audit'])
&&
$order_temp_info['is_manager_audit'] !=
3
&&
in_array($order_info['status'], [1, 2]))
<a
class=
"btn btn-success"
href=
"{{URL('change', ['order_id'=>$order_info['order_id']])}}"
target=
"_blank"
>
人工审单
</a>
@elseif ($order_info['status'] == 2
&&
$order_temp_info['is_manager_audit'] == 3
&&
in_array($role, [1, 2]))
<a
class=
"btn btn-success re-audit"
data-id=
"{{$order_info['order_id']}}"
>
反审
</a>
...
...
@@ -165,12 +165,12 @@
@endif
<!-- 申请主管审核 -->
@if (isset($order_temp_info['is_manager_audit'])
&&
$order_temp_info['is_manager_audit'] == 1)
@if (isset($order_temp_info['is_manager_audit'])
&&
$order_temp_info['is_manager_audit'] == 1
&&
$order_info['status'] == 2
)
<a
class=
"btn btn-info apply-manager-audit"
data-id=
"{{$order_info['order_id']}}"
>
申请主管审核
</a>
@endif
<!-- 主管审核 -->
@if (
$order_temp_info['is_manager_audit']
&&
in_array($role, [1, 2])
&&
$order_info['status'] == 1
)
@if (
isset($order_temp_info['is_manager_audit'])
&&
(($order_info['status'] == 2
&&
$order_temp_info['is_manager_audit'] == 2) || ($order_info['status'] > 2
&&
$order_temp_info['is_manager_audit'] != 3))
&&
in_array($role, [1, 2])
&&
empty($order_temp_info['erp_sn'])
)
<a
class=
"btn btn-danger manager-audit"
data-id=
"{{$order_info['order_id']}}"
>
主管审核
</a>
@endif
...
...
resources/views/orderlist/content.blade.php
View file @
8e212c55
...
...
@@ -305,7 +305,7 @@
</td>
<td
class=
"show-list"
>
<?php
if
(
$v
[
'status'
]
>=
1
&&
$v
[
'status'
]
<
4
&&
isset
(
$order_extend
->
is_manager_audit
))
{
if
(
$v
[
'status'
]
>=
1
&&
isset
(
$order_extend
->
is_manager_audit
))
{
switch
(
$order_extend
->
is_manager_audit
)
{
case
1
:
echo
'<span class="list-text-checking"><b>未申请</b></span>'
;
break
;
...
...
@@ -352,7 +352,7 @@
@endif
<!-- 申请主管审核 -->
@if (isset($order_extend->is_manager_audit)
&&
$order_extend->is_manager_audit == 1)
@if (isset($order_extend->is_manager_audit)
&&
$order_extend->is_manager_audit == 1
&&
$v['status'] == 2
)
<a
class=
"btn btn-info apply-manager-audit"
data-id=
"{{$v['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