
<div class="container-fluid nav2" id="nav2">
    <div class="card">
        <ul class="nav nav-pills">
            @can('运输管理-查询')
            <li class="nav-item">
                <a class="nav-link" href="{{url('waybill/index')}}" :class="{active:isActive('index',2)}">查询</a>
            </li> @endcan
            @can('运输管理-录入')
            <li class="nav-item">
                <a class="nav-link" href="{{url('waybill/create?type=ZX')}}" :class="{active:isActive('create',2)}">录入</a>
            </li> @endcan
            @can('运输管理-发运')
            <li class="nav-item">
                <a class="nav-link" href="{{url('waybill/delivering')}}" :class="{active:isActive('delivering',2)}">发运</a>
            </li> @endcan
            {{$slot}}
            <li class="nav-item">
                <a class="nav-link text-dark" href="{{url('waybill/relating')}}" :class="{active:isActive('relating',2)}">相关设置</a>
            </li>
            @can('财务报表')
            <li class="nav-item">
                <a class="nav-link text-dark" href="{{url('waybill/waybillFinancialSnapshot')}}" :class="{active:isActive('waybillFinancialSnapshot',2)}">财务报表</a>
            </li>
            <li class="nav-item">
                <a class="nav-link text-dark" href="{{url('waybill/waybillFinancialExcepted')}}" :class="{active:isActive('waybillFinancialExcepted',2)}">异常报表</a>
            </li>@endcan
            @can('运输管理-删除')
            <li class="nav-item">
                <a class="nav-link" href="{{url('waybill/recycle')}}" :class="{active:isActive('recycle',2)}">回收站</a>
            </li>
            @endcan
        </ul>
    </div>
</div>
