Commit f753797e by 杨树贤

修改供应商页面错位问题

parent 22ac56b4
......@@ -4,6 +4,7 @@
let index = layui.index;
let form = layui.form;
let table = layui.table;
let element = layui.element;
$('#supplierDetailUrl').click(function () {
layer.load(1);
......
......@@ -113,19 +113,17 @@
@endif
id="ruler">特殊规则
</li>
<div @if (!checkPerm('UpdateSkuRuler')) style="display: none" @endif>
<li
@if(request()->get('tab')=='sku_ruler')
class="layui-this"
@endif
id="sku_ruler">SKU概况
</li>
</div>
<li @if (!checkPerm('UpdateSkuRuler')) style="display: none" @endif
@if(request()->get('tab')=='sku_ruler')
class="layui-this"
@endif
id="sku_ruler">SKU概况
</li>
</ul>
<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-row" style="padding: 10px">
<div class="layui-row">
<input type="hidden" name="apply_audit_reason" id="apply_audit_reason">
<input type="hidden" name="status" value="{{$supplier['status'] or 0}}">
<div class="layui-row">
......@@ -216,23 +214,23 @@
<hr/>
</div>
</div>
<div class="layui-tab-item @if(request()->get('tab')=='contact') layui-show @endif">
<div @if(!checkPerm('ViewSupplierContact'))style="display: none"@endif>
@include('web.supplier.SupplierContact')
</div>
</div>
<div class="layui-tab-item @if(request()->get('tab')=='contact') layui-show @endif">
<div @if(!checkPerm('ViewSupplierContact'))style="display: none"@endif>
@include('web.supplier.SupplierContact')
</div>
<div class="layui-tab-item @if(request()->get('tab')=='ruler') layui-show @endif">
<div
@if(!checkPerm('ViewRuler') || !checkPerm('UpdateRuler'))
style="display: none"
@endif>
@include('web.supplier.SupplierRuler')
</div>
</div>
<div class="layui-tab-item @if(request()->get('tab')=='ruler') layui-show @endif">
<div
@if(!checkPerm('ViewRuler') || !checkPerm('UpdateRuler'))
style="display: none"
@endif>
@include('web.supplier.SupplierRuler')
</div>
<div class="layui-tab-item" @if(request()->get('tab')=='sku_ruler') layui-show @endif">
</div>
<div class="layui-tab-item @if(request()->get('tab')=='sku_ruler') layui-show @endif">
@include('web.supplier.SkuRuler')
</div>
<div class="layui-tab-item">内容5</div>
</div>
</div>
@include('web.supplier.ApplyAuditReason')
......
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