Commit 3a7b689d by 朱继来

Merge branch 'zjl_export_20180730' into development

parents da27b8b1 4c23c690
Showing with 11 additions and 21 deletions
......@@ -13,19 +13,15 @@
<td class="check-table-title" width="20%">经理:</td>
<td>
@if (!empty($manager))
@foreach ($manager as $k => $v)
@if(($k + 1) % 8 == 1)
<ul>
@endif
@foreach ($manager as $k => $v)
@if ($v->userId == $order_info['sale_id'])
<li><label><input type="radio" name="sale_id" value="{{$v->userId}}" checked /><span>{{$v->name}}</span></label></li>
@else
<li><label><input type="radio" name="sale_id" value="{{$v->userId}}"/><span>{{$v->name}}</span></label></li>
@endif
@if(($k + 1) % 8 == 0 || $k + 1 == count($manager))
</ul>
@endif
@endforeach
</ul>
@endif
</td>
</tr>
......@@ -33,57 +29,51 @@
<tr>
<td class="check-table-title" width="20%">交易员:</td>
<td>
@foreach ($sale_list as $key => $vo)
@if(($key + 1) % 8 == 1)
@if (!empty($sale_list))
<ul>
@endif
@foreach ($sale_list as $key => $vo)
@if ($vo->userId == $order_info['sale_id'])
<li><label><input type="radio" name="sale_id" value="{{$vo->userId}}" checked /><span>{{$vo->name}}</span></label></li>
@else
<li><label><input type="radio" name="sale_id" value="{{$vo->userId}}"/><span>{{$vo->name}}</span></label></li>
@endif
@if(($key + 1) % 8 == 0 || $key + 1 == count($sale_list))
@endforeach
</ul>
@endif
@endforeach
</td>
</tr>
<tr>
<td class="check-table-title" width="20%">客服:</td>
<td>
@foreach ($kefu as $key => $vo)
@if(($key + 1) % 8 == 1)
@if (!empty($kefu))
<ul>
@endif
@foreach ($kefu as $key => $vo)
@if ($vo->userId == $order_info['sale_id'])
<li><label><input type="radio" name="sale_id" value="{{$vo->userId}}" checked /><span>{{$vo->name}}</span></label></li>
@else
<li><label><input type="radio" name="sale_id" value="{{$vo->userId}}"/><span>{{$vo->name}}</span></label></li>
@endif
@if(($key + 1) % 8 == 0 || $key + 1 == count($kefu))
@endforeach
</ul>
@endif
@endforeach
</td>
</tr>
<tr>
<td class="check-table-title" width="20%">测试:</td>
<td>
@foreach ($test as $key => $vo)
@if(($key + 1) % 8 == 1)
@if (!empty($test))
<ul>
@endif
@foreach ($test as $key => $vo)
@if ($vo->userId == $order_info['sale_id'])
<li><label><input type="radio" name="sale_id" value="{{$vo->userId}}" checked /><span>{{$vo->name}}</span></label></li>
@else
<li><label><input type="radio" name="sale_id" value="{{$vo->userId}}"/><span>{{$vo->name}}</span></label></li>
@endif
@if(($key + 1) % 8 == 0 || $key + 1 == count($test))
@endforeach
</ul>
@endif
@endforeach
</td>
</tr>
</table>
......
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