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
42b128c5
authored
May 14, 2021
by
朱继来
Browse files
Options
_('Browse Files')
Download
Plain Diff
Merge branch 'zjl_self_service_20210420' into development
parents
c2e25e7e
53b6b3af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
app/Model/OrderServiceModel.php
resources/views/detail/order_service.blade.php
app/Model/OrderServiceModel.php
View file @
42b128c5
...
...
@@ -179,7 +179,7 @@ class OrderServiceModel extends Model
$post
[
'operator_id'
]
=
$request
->
user
->
userId
;
$url
=
Config
(
'website.api_domain'
)
.
'refund/apply'
;
// dd(curlApi($url, $post, 'POST'));
$res
=
json_decode
(
curlApi
(
$url
,
$post
,
'POST'
),
true
);
if
(
!
$res
)
return
[
-
2
,
'审核通过失败,原因:接口错误'
];
...
...
resources/views/detail/order_service.blade.php
View file @
42b128c5
...
...
@@ -136,7 +136,7 @@
<!-- 目前仅支持联营商品退款 -->
<?php
$goods_count
=
0
;
?>
@foreach ($order_items_info as $k => $v)
@if ($v['
order_goods_type'] == 1
&&
$v['
status'] == 1)
@if ($v['status'] == 1)
<?php
$goods_count
++
;
?>
<tr>
<input
type=
"hidden"
name=
"service_item[{{ $v['rec_id'] }}][rec_id]"
value=
"{{ $v['rec_id'] }}"
>
...
...
@@ -153,6 +153,7 @@
<input
type=
"hidden"
name=
"service_item[{{ $v['rec_id'] }}][single_pre_price]"
value=
"{{ $v['single_pre_price'] }}"
>
<input
type=
"hidden"
name=
"service_item[{{ $v['rec_id'] }}][goods_number]"
value=
"{{ $v['goods_number'] }}"
>
<input
type=
"hidden"
name=
"service_item[{{ $v['rec_id'] }}][removal_number]"
value=
"{{ $v['fqty'] }}"
>
<input
type=
"hidden"
name=
"service_item[{{ $v['rec_id'] }}][order_goods_type]"
value=
"{{ $v['order_goods_type'] }}"
>
<td>
{{ $goods_count }}
</td>
<td>
{{ $v['goods_name'] }}
</td>
<td>
{{ $v['brand_name'] }}
</td>
...
...
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