Commit 3a7b689d by 朱继来

Merge branch 'zjl_export_20180730' into development

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