Commit f753797e by 杨树贤

修改供应商页面错位问题

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