<p style="margin-left: 5px;">审核</p>
<div class="tabs-box">
    <div class="order-change-main">
        @if ($order_info['status'] == 1)
            <form action="{{URL('ajaxCheck')}}" method="post" class="form-horizontal ajaxSubmit">
                <input type="hidden" name="order_id" value="{{$order_info['order_id']}}">
                <input type="hidden" name="order_sn" value="{{$order_info['order_sn']}}">
                <input type="hidden" name="cancel_reason" value="{{isset($order_info['cancle_reason']) ? $order_info['cancle_reason'] : ''}}">
                <input type="hidden" name="user_mobile" value="{{$user_mobile}}">
                <table class="table table-bordered table-hover check-table" style="min-height:150px;">
                    <tr>
                        <td class="check-table-title" width="20%">业务员:</td>
                        <td>
                            <!-- 注释管理员 -->
                            <!-- <ul>
                                <li><label><input type="radio" name="sale_id" value="0"/>管理员</label></li>
                            </ul>
                            <hr/> -->
                            @if (!empty($manager)) 
                                @foreach ($manager as $k => $v)
                                    @if(($k + 1) % 8 == 1)
                                        <ul>
                                    @endif
                                            <li><label><input type="radio" name="sale_id" value="{{$v->userId}}"/>{{$v->name}}</label></li>
                                    @if(($k + 1) % 8 == 0 || $k + 1 == count($manager))
                                        </ul>
                                    @endif
                                @endforeach

                                <hr/>
                            @endif
                            
                            @foreach ($sale_list as $key => $vo)
                                @if(($key + 1) % 8 == 1)
                                    <ul>
                                @endif
                                        <li><label><input type="radio" name="sale_id" value="{{$vo->userId}}"/>{{$vo->name}}</label></li>
                                @if(($key + 1) % 8 == 0 || $key + 1 == count($sale_list))
                                    </ul>
                                @endif
                            @endforeach
                        </td>
                    </tr>
                    <tr>
                        <td class="check-table-title" width="20%">调价审核:</td>
                        <td class="check-select">
                            <label><input type="radio" name="order_status" value="2" checked>审核通过</label>
                            <label><input type="radio" name="order_status" value="-1" id="faild">审核不通过</label>
                        </td>
                    </tr>
                    <tr class="cancle_reason" style="display: none;">
                        <td class="check-table-title">审核不通过原因:</td>
                        <td>
                            <div class="multi-reason">
                                <label><input type="radio" name="reason" value="客户不接受调价">客户不接受调价</label>
                                <label><input type="radio" name="reason" value="无现货">无现货</label>
                                <label><input type="radio" name="reason" value="客户不接受附加费">客户不接受附加费</label>
                                <label><input type="radio" name="reason" value="客户下错单">客户下错单</label>
                            </div>
                            
                            <div class="other-reason">
                                <label><input type="radio" name="reason" value="1">其他</label>
                                <textarea name="reason" id="input-reason" placeholder="请填写其他原因"></textarea>
                            </div>
                            
                        </td>
                    </tr>
                </table>
                <button class="btn btn-primary">提交</button>
            </form>
        @endif

        @if ($order_info['status'] == 2)
            <p>交易状态:&nbsp;审核通过</p>

            @if ($order_info['adjust_count'] < 2)
                <a class="btn btn-default adjust" data-url="{{URL('applyAdjust', ['order_id'=>$order_info['order_id']])}}">再次调价</a><span class="warn-tip">每笔订单仅有一次“再次调价”机会</span>
            @endif
        @endif

        @if ($order_info['status'] == -1)
            @if ($order_info['cancel_reason'] != '')
                <p>交易状态:&nbsp;审核不通过</p>
                <p>审核不通过原因:&nbsp;{{$order_info['cancel_reason']}}</p>
            @else
                <p>交易状态:&nbsp;用戶取消</p>
            @endif
        @endif

        @if ($order_info['status'] > 2)
            交易状态:&nbsp;审核通过
        @endif
    </div>
</div>