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
4c23c690
authored
Jul 31, 2018
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
调整推送人展示
parent
3d126758
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
46 deletions
resources/views/detail/sendSales.blade.php
resources/views/detail/sendSales.blade.php
View file @
4c23c690
...
...
@@ -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
@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>
<ul>
@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
@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)
<ul>
@endif
@if (!empty($sale_list))
<ul>
@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))
</ul>
@endif
@endforeach
@endif
@endforeach
</ul>
@endif
</td>
</tr>
<tr>
<td
class=
"check-table-title"
width=
"20%"
>
客服:
</td>
<td>
@foreach ($kefu as $key => $vo)
@if(($key + 1) % 8 == 1)
<ul>
@endif
@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))
</ul>
@endif
@endforeach
@if (!empty($kefu))
<ul>
@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
@endforeach
</ul>
@endif
</td>
</tr>
<tr>
<td
class=
"check-table-title"
width=
"20%"
>
测试:
</td>
<td>
@foreach ($test as $key => $vo)
@if(($key + 1) % 8 == 1)
<ul>
@endif
@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))
</ul>
@endif
@endforeach
@if (!empty($test))
<ul>
@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
@endforeach
</ul>
@endif
</td>
</tr>
</table>
...
...
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