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
efa77df7
authored
Feb 03, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整售后退货
parent
1f3f2570
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
app/Model/OrderServiceModel.php
resources/views/web/orderServiceList.blade.php
app/Model/OrderServiceModel.php
View file @
efa77df7
...
@@ -182,9 +182,10 @@ class OrderServiceModel extends Model
...
@@ -182,9 +182,10 @@ class OrderServiceModel extends Model
$res
=
json_decode
(
curlApi
(
$url
,
$post
,
'POST'
),
true
);
$res
=
json_decode
(
curlApi
(
$url
,
$post
,
'POST'
),
true
);
if
(
!
$res
||
$res
[
'err_code'
]
!=
0
)
return
[
-
2
,
'审核通过失败,原因:'
.
$res
[
'err_msg'
]];
if
(
!
$res
)
return
[
-
2
,
'审核通过失败,原因:接口错误'
];
if
(
$res
[
'err_code'
]
!=
0
)
return
[
-
2
,
'审核通过失败,原因:'
.
$res
[
'err_msg'
]];
if
(
$service_type
==
1
)
{
if
(
$service_type
==
1
)
{
$event
.=
',生成退款单,退款单号:'
.
$res
[
'data'
];
$event
.=
',生成退款单,退款单号:'
.
$res
[
'data'
];
}
else
{
}
else
{
$event
.=
',生成退货单,退货单号:'
.
$res
[
'data'
];
$event
.=
',生成退货单,退货单号:'
.
$res
[
'data'
];
...
...
resources/views/web/orderServiceList.blade.php
View file @
efa77df7
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
<
a
class
=
"btn btn-xs btn-outline btn-success"
lay
-
event
=
"audit"
>
审核
<
/a
>
<
a
class
=
"btn btn-xs btn-outline btn-success"
lay
-
event
=
"audit"
>
审核
<
/a
>
<?php
}
?>
<?php
}
?>
<
a
class
=
"btn btn-xs btn-outline btn-danger"
lay
-
event
=
"cancel"
>
取消
<
/a
>
<
a
class
=
"btn btn-xs btn-outline btn-danger"
lay
-
event
=
"cancel"
>
取消
<
/a
>
@{{
#
}
else
if
(
d
.
service_status
==
3
&&
d
.
refund_status
!=
3
)
{
}}
@{{
#
}
else
if
(
d
.
service_
type
==
1
&&
d
.
service_
status
==
3
&&
d
.
refund_status
!=
3
)
{
}}
<?php
if
(
in_array
(
'orderServiceList_confirm_refund'
,
$userPerms
))
{
?>
<?php
if
(
in_array
(
'orderServiceList_confirm_refund'
,
$userPerms
))
{
?>
<
a
class
=
"btn btn-xs btn-outline btn-success"
lay
-
event
=
"confirm"
>
确认退款
<
/a
>
<
a
class
=
"btn btn-xs btn-outline btn-success"
lay
-
event
=
"confirm"
>
确认退款
<
/a
>
<?php
}
?>
<?php
}
?>
...
...
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