@include('web.sku.SkuListFilter')
<style>
    .custom .layui-layer-content .table-status {
        position: relative;
        margin: 0 !important;
        z-index: 2;
    }

    .custom .layui-layer-content .table-status th {
        white-space: nowrap;
    }

    .layui-layer-content {
        padding: 3px 3px !important;
    }

    .custom .layui-layer-content .table-status td,
    .custom .layui-layer-content .table-status th {
        padding: 3px 3px !important;
    }
</style>
<div style="margin-left: 20px;margin-right: 20px">
    <div class="layui-btn-group demoTable" style="margin-top: 15px">
        @if(checkPerm('TempTemp'))
            <button type="button" class="layui-btn layui-btn-sm" id="add_supplier">新增</button>
        @endif
        @if (checkPerm('UpdateGoodsStatus'))
            <button type="button" class="layui-btn layui-btn-sm" id="batch_putaway">上架</button>
            <button type="button" class="layui-btn layui-btn-sm" id="batch_off_shelf">下架</button>
            <button type="button" class="layui-btn layui-btn-sm" id="remote_batch_off_shelf">批量下架</button>
        @endif
        @if(checkPerm('OperateSku'))
            @if (checkPerm('BatchUpdateEncoded'))
                <button type="button" class="layui-btn layui-btn-sm" id="batch_update_encoded">批量修改内部编码</button>
            @endif
            <button type="button" class="layui-btn layui-btn-sm" id="set_prefer">设置精选</button>
            <button type="button" class="layui-btn layui-btn-sm" id="cancel_set_prefer">取消精选</button>
            <button type="button" class="layui-btn layui-btn-sm" id="sync_erp_rate">同步ERP汇率</button>
            <button type="button" class="layui-btn layui-btn-sm" id="set_sku_tag">设置标签</button>
            @if (checkPerm('SetSupplierSkuCpTimeLimit'))
                <button type="button" class="layui-btn layui-btn-sm" id="set_sku_cp_time_ruler">商品有效期配置</button>
            @endif
        @endif
    </div>

    <table class="layui-table" id="skuList" lay-filter="skuList"></table>
</div>

<script>
</script>