Commit a48b36c8 by 朱继来

添加自营账期会员展示

parent d7b554dc
......@@ -481,11 +481,12 @@ Class OrderController extends Controller
$page->setConfig('theme', '%FIRST% %UP_PAGE% %LINK_PAGE% %DOWN_PAGE% %END% %HEADER%');
$show = $page->show();
$info['condition'] = $info['map'];
$info['sale_list'] = isset($sale_list) ? $sale_list : '';
$info['list'] = $response['data']['data'];
$info['count'] = $response['data']['count'];
$info['page'] = $show;
$info['condition'] = $info['map'];
$info['sale_list'] = isset($sale_list) ? $sale_list : '';
$info['list'] = $response['data']['data'];
$info['count'] = $response['data']['count'];
$info['page'] = $show;
$info['credit'] = isset($response['data']['credit']) ? $response['data']['credit'] : ''; // 自营判断是否为账期会员
return $info;
}
......
......@@ -229,13 +229,18 @@
@if (empty($list))
<tr>
<td class="text-center" colspan="10">没有查询到相关记录~</td>
<td class="text-center" colspan="12">没有查询到相关记录~</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="11">
<td colspan="12">
<table class="table table-hover table-bordered">
<tr>
<td class="table-list-title">公司名称</td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment