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
c5fe058b
authored
Jun 19, 2020
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整按钮展示
parent
dd2c6f42
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
resources/views/detail/content.blade.php
resources/views/orderlist/content.blade.php
resources/views/detail/content.blade.php
View file @
c5fe058b
...
@@ -157,7 +157,7 @@
...
@@ -157,7 +157,7 @@
@endif
@endif
@if (in_array('check_order', $userPerms)
&&
$order_info['sale_id'])
@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>
<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]))
@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>
<a
class=
"btn btn-success re-audit"
data-id=
"{{$order_info['order_id']}}"
>
反审
</a>
...
@@ -165,12 +165,12 @@
...
@@ -165,12 +165,12 @@
@endif
@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>
<a
class=
"btn btn-info apply-manager-audit"
data-id=
"{{$order_info['order_id']}}"
>
申请主管审核
</a>
@endif
@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>
<a
class=
"btn btn-danger manager-audit"
data-id=
"{{$order_info['order_id']}}"
>
主管审核
</a>
@endif
@endif
...
...
resources/views/orderlist/content.blade.php
View file @
c5fe058b
...
@@ -305,7 +305,7 @@
...
@@ -305,7 +305,7 @@
</td>
</td>
<td
class=
"show-list"
>
<td
class=
"show-list"
>
<?php
<?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
)
{
switch
(
$order_extend
->
is_manager_audit
)
{
case
1
:
case
1
:
echo
'<span class="list-text-checking"><b>未申请</b></span>'
;
break
;
echo
'<span class="list-text-checking"><b>未申请</b></span>'
;
break
;
...
...
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