98 lines
5.6 KiB
PHP
98 lines
5.6 KiB
PHP
@extends('layouts.base')
|
|
@section('title', trans('经销商等级'))
|
|
@section('content')
|
|
<style>
|
|
.panel-body .label{
|
|
font-size: 14px!important;
|
|
}
|
|
</style>
|
|
<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 style="width: 100px;text-align: center;">等级权重</th>
|
|
<th style="text-align: center;">等级名称</th>
|
|
<th style="text-align: center;">等级类型</th>
|
|
<th style="width: 150px;text-align: center;">提成比例(%)</th>
|
|
<th style="width: 150px;text-align: center;">补贴(津贴)比例(%)</th>
|
|
{{--<th style="width: 245px;text-align: center;">激活码发放</th>--}}
|
|
<th style="width: 150px;text-align: center;">平级奖励层级</th>
|
|
<th style="width: 150px;text-align: center;">平级奖励比例</th>
|
|
<th style="text-align: center;">操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach($list['data'] as $item)
|
|
<tr>
|
|
<td style="text-align: center;">
|
|
<input type="text" class="form-control" name="display_order[{{$item['id']}}]" value="{{$item['level_weight']}}">
|
|
</td>
|
|
<td style="text-align: center;">{{$item['level_name']}}</td>
|
|
<td style="text-align: center;">
|
|
@if($item['level_type'] == 1)
|
|
<span class="label label-warning">文创等级</span>
|
|
@else
|
|
<span class="label label-default">普通等级</span>
|
|
@endif
|
|
</td>
|
|
<td style="text-align: center;">
|
|
@if($item['level_type'] == 1)
|
|
-
|
|
@else
|
|
{{$item['dividend_ratio']}}
|
|
@endif
|
|
</td>
|
|
<td style="text-align: center;">
|
|
@if($item['level_type'] == 1)
|
|
{{$item['dividend_ratio']}}
|
|
@else
|
|
-
|
|
@endif
|
|
</td>
|
|
{{--<td style="text-align: center;">{{array_sum(unserialize($item['code_num']))}}</td>--}}
|
|
<td style="text-align: center;">{{$item['award_hierarchy']}}</td>
|
|
<td style="text-align: center;">{{$item['award_ratio']}}</td>
|
|
<td style="text-align: center;">
|
|
<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 |