73 lines
3.8 KiB
PHP
73 lines
3.8 KiB
PHP
@extends('layouts.base')
|
|
@section('title', trans('经销商等级'))
|
|
@section('content')
|
|
<div class="w1200 ">
|
|
<script type="text/javascript" src="./resource/js/lib/jquery-ui-1.10.3.min.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="{{static_url('css/font-awesome.min.css')}}">
|
|
|
|
<div id="goods-index" class=" rightlist ">
|
|
<div class="right-titpos">
|
|
<ul class="add-snav">
|
|
<li class="active"><a href="#">经销商等级</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="right-addbox"><!-- 此处是右侧内容新包一层div -->
|
|
<form id="goods-list" action="{!! yzWebUrl($sort_url) !!}" method="post">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body table-responsive">
|
|
<table class="table table-hover">
|
|
<thead class="navbar-inner">
|
|
<tr>
|
|
<th width="6%">等级权重</th>
|
|
<th width="16%">等级名称</th>
|
|
<th width="16%">提成比例</th>
|
|
<th width="15%">激活码发放</th>
|
|
<th width="15%">平级奖励层级</th>
|
|
<th width="16%">平级奖励比例</th>
|
|
<th width="16%">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($list['data'] as $item)
|
|
<tr>
|
|
<td>
|
|
<input type="text" class="form-control"
|
|
name="display_order[{{$item['id']}}]"
|
|
value="{{$item['level_weight']}}">
|
|
</td>
|
|
<td>{{$item['level_name']}}</td>
|
|
<td>{{$item['dividend_ratio']}}</td>
|
|
<td>{{array_sum(unserialize($item['code_num']))}}</td>
|
|
<td>{{$item['award_hierarchy']}}</td>
|
|
<td>{{$item['award_ratio']}}</td>
|
|
<td>
|
|
<a class="btn btn-default" href="{!! yzWebUrl('plugin.team-dividend.admin.team-dividend-level-set.edit', ['id'=>$item['id']]) !!}">编辑</a>
|
|
<a class="btn btn-default" href="{!! yzWebUrl('plugin.team-dividend.admin.team-dividend-level-set.deleted', ['id'=>$item['id']]) !!}" onclick="return confirm('{{$delete_msg}}');return false;">删除</a>
|
|
</td>
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
{!!$pager!!}
|
|
<!--分页-->
|
|
</div>
|
|
<div class='panel-footer'>
|
|
@section('sub_sort')
|
|
<input name="submit" type="submit" class="btn btn-default back" value="权重排序">
|
|
@show
|
|
|
|
@section('add_levele')
|
|
<a class='btn btn-success ' href="{{yzWebUrl('plugin.team-dividend.admin.team-dividend-level-set.add')}}"><i
|
|
class='fa fa-plus'></i> 添加等级</a>
|
|
@show
|
|
</div>
|
|
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection |