<style>
    .layui-form-item {
        margin-bottom: 5px;
    }
</style>
<div class="layui-card">
    <div class="layui-card-header" style="height: 90px">
        <div class="layui-row">
            <div class="layui-col-xs6">
                供应商名称 : <b>{{$supplier['supplier_name']}}</b>
            </div>
            <div class="layui-col-xs6">
                状态 : {{$supplier['status_name']}}
            </div>
            <div class="layui-col-xs6">
                公司性质 : {{$supplier['supplier_group_name']}}
            </div>
            <div class="layui-col-xs6">
                合作类型 : {{$supplier['stockup_type']}}
            </div>

        </div>
    </div>
    <div class="layui-card-body">
        <form class="layui-form" action="">
            <input type="hidden" name="supplier_id" value="{{$supplier['supplier_id']}}">
            <div class="layui-form-item">
                <div class="layui-inline" style="margin-left: -30px">
                    @inject('statusPresenter','App\Presenters\StatusPresenter')
                    {!! $statusPresenter->render('purchase_uid','渠道开发员',$supplier['purchase_uid'],
                     $userCodes,['required'=>true,'width'=>'150px']) !!}
                </div>
            </div>
            <div class="layui-form-item">
                <div align="center" style="margin-top: 20px;text-align: right">
                    <button type="button" class="layui-btn layui-btn-sm layui-btn-info submit-loading" lay-submit
                            lay-filter="auditSupplier">确认
                    </button>
                    <button type="button" class="layui-btn layui-btn-sm layui-btn-primary" lay-submit
                            lay-filter="cancel">取消
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>
<blockquote class="layui-elem-quote layui-text">
    <b>操作日志</b>
</blockquote>
<table class="layui-table" id="logList" lay-filter="logList"></table>