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
a48b36c8
authored
Jul 02, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加自营账期会员展示
parent
d7b554dc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
app/Http/Controllers/OrderController.php
resources/views/selfOrder/content.blade.php
app/Http/Controllers/OrderController.php
View file @
a48b36c8
...
...
@@ -486,6 +486,7 @@ Class OrderController extends Controller
$info
[
'list'
]
=
$response
[
'data'
][
'data'
];
$info
[
'count'
]
=
$response
[
'data'
][
'count'
];
$info
[
'page'
]
=
$show
;
$info
[
'credit'
]
=
isset
(
$response
[
'data'
][
'credit'
])
?
$response
[
'data'
][
'credit'
]
:
''
;
// 自营判断是否为账期会员
return
$info
;
}
...
...
resources/views/selfOrder/content.blade.php
View file @
a48b36c8
...
...
@@ -229,13 +229,18 @@
@if (empty($list))
<tr>
<td
class=
"text-center"
colspan=
"1
0
"
>
没有查询到相关记录~
</td>
<td
class=
"text-center"
colspan=
"1
2
"
>
没有查询到相关记录~
</td>
</tr>
@else
<tbody>
@foreach ($list as $v)
<tr>
<td
class=
"show-list"
>
<?php
print_r
(
App\Http\Controllers\getAccountName
(
$v
[
'user_id'
]));
?>
</td>
<td
class=
"show-list"
>
<?php
print_r
(
App\Http\Controllers\getAccountName
(
$v
[
'user_id'
]));
?>
@if (isset($credit[$v['user_id']])
&&
$credit[$v['user_id']])
<span>
(账期)
</span>
@endif
</td>
<td
class=
"show-list"
>
{{$v['order_sn']}}
</td>
<td
class=
"show-list"
>
<?php
...
...
@@ -322,7 +327,7 @@
<!-- 点击展示内容 -->
<tr
class=
"show-other-content"
>
<td
colspan=
"1
1
"
>
<td
colspan=
"1
2
"
>
<table
class=
"table table-hover table-bordered"
>
<tr>
<td
class=
"table-list-title"
>
公司名称
</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