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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
8 deletions
app/Http/Controllers/OrderController.php
resources/views/selfOrder/content.blade.php
app/Http/Controllers/OrderController.php
View file @
a48b36c8
...
@@ -481,11 +481,12 @@ Class OrderController extends Controller
...
@@ -481,11 +481,12 @@ Class OrderController extends Controller
$page
->
setConfig
(
'theme'
,
'%FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END% %HEADER%'
);
$page
->
setConfig
(
'theme'
,
'%FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END% %HEADER%'
);
$show
=
$page
->
show
();
$show
=
$page
->
show
();
$info
[
'condition'
]
=
$info
[
'map'
];
$info
[
'condition'
]
=
$info
[
'map'
];
$info
[
'sale_list'
]
=
isset
(
$sale_list
)
?
$sale_list
:
''
;
$info
[
'sale_list'
]
=
isset
(
$sale_list
)
?
$sale_list
:
''
;
$info
[
'list'
]
=
$response
[
'data'
][
'data'
];
$info
[
'list'
]
=
$response
[
'data'
][
'data'
];
$info
[
'count'
]
=
$response
[
'data'
][
'count'
];
$info
[
'count'
]
=
$response
[
'data'
][
'count'
];
$info
[
'page'
]
=
$show
;
$info
[
'page'
]
=
$show
;
$info
[
'credit'
]
=
isset
(
$response
[
'data'
][
'credit'
])
?
$response
[
'data'
][
'credit'
]
:
''
;
// 自营判断是否为账期会员
return
$info
;
return
$info
;
}
}
...
...
resources/views/selfOrder/content.blade.php
View file @
a48b36c8
...
@@ -229,13 +229,18 @@
...
@@ -229,13 +229,18 @@
@if (empty($list))
@if (empty($list))
<tr>
<tr>
<td
class=
"text-center"
colspan=
"1
0
"
>
没有查询到相关记录~
</td>
<td
class=
"text-center"
colspan=
"1
2
"
>
没有查询到相关记录~
</td>
</tr>
</tr>
@else
@else
<tbody>
<tbody>
@foreach ($list as $v)
@foreach ($list as $v)
<tr>
<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"
>
{{$v['order_sn']}}
</td>
<td
class=
"show-list"
>
<td
class=
"show-list"
>
<?php
<?php
...
@@ -322,7 +327,7 @@
...
@@ -322,7 +327,7 @@
<!-- 点击展示内容 -->
<!-- 点击展示内容 -->
<tr
class=
"show-other-content"
>
<tr
class=
"show-other-content"
>
<td
colspan=
"1
1
"
>
<td
colspan=
"1
2
"
>
<table
class=
"table table-hover table-bordered"
>
<table
class=
"table table-hover table-bordered"
>
<tr>
<tr>
<td
class=
"table-list-title"
>
公司名称
</td>
<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