Commit 373d1d16 by 杨树贤

页面权限控制部分

parent 0f6b3a24
...@@ -113,14 +113,15 @@ ...@@ -113,14 +113,15 @@
@endif @endif
id="ruler">特殊规则 id="ruler">特殊规则
</li> </li>
@if (checkPerm('UpdateSkuRuler')) <div @if (!checkPerm('UpdateSkuRuler')) style="display: none" @endif>
<li <li
@if(request()->get('tab')=='sku_ruler') @if(request()->get('tab')=='sku_ruler')
class="layui-this" class="layui-this"
@endif @endif
id="sku_ruler">SKU概况 id="sku_ruler">SKU概况
</li> </li>
@endif </div>
</ul> </ul>
<div class="layui-tab-content"> <div class="layui-tab-content">
<div class="layui-tab-item @if(request()->get('tab')=='base_info'||empty(request()->get('tab'))) layui-show @endif"> <div class="layui-tab-item @if(request()->get('tab')=='base_info'||empty(request()->get('tab'))) layui-show @endif">
...@@ -216,9 +217,9 @@ ...@@ -216,9 +217,9 @@
</div> </div>
</div> </div>
<div class="layui-tab-item @if(request()->get('tab')=='contact') layui-show @endif"> <div class="layui-tab-item @if(request()->get('tab')=='contact') layui-show @endif">
@if(checkPerm('ViewSupplierContact')) <div @if(!checkPerm('ViewSupplierContact'))style="display: none"@endif>
@include('web.supplier.SupplierContact') @include('web.supplier.SupplierContact')
@endif </div>
</div> </div>
<div class="layui-tab-item @if(request()->get('tab')=='ruler') layui-show @endif"> <div class="layui-tab-item @if(request()->get('tab')=='ruler') layui-show @endif">
<div <div
......
...@@ -208,7 +208,7 @@ ...@@ -208,7 +208,7 @@
@include('web.supplier.SupplierPayType') @include('web.supplier.SupplierPayType')
@if($operate!='add' && checkPerm('UpdateSupplierTags')) <div @if($operate!='add' && checkPerm('UpdateSupplierTags')) @else style="display: none" @endif>
<blockquote class="layui-elem-quote layui-text"> <blockquote class="layui-elem-quote layui-text">
<b>供应商标签 : </b> <b>供应商标签 : </b>
</blockquote> </blockquote>
...@@ -241,6 +241,7 @@ ...@@ -241,6 +241,7 @@
<input name="customer_tags" id="customer_tags" value="{{$supplier['customer_tags'] or ''}}"> <input name="customer_tags" id="customer_tags" value="{{$supplier['customer_tags'] or ''}}">
</div> </div>
</div> </div>
@endif </div>
@include('script.supplier.SupplierBaseScript') @include('script.supplier.SupplierBaseScript')
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