f5.png

    <table width="100%" border="1">    
      <tr>
        <th>时间</th>
        <th>id</th>
        <th>供应商</th>
        <th>纯度</th>
        <th>价格</th>
      </tr>
        <tr>
       <td rowspan="3">2016-03-03 15:58:32</td>
        <td rowspan="3">2851</td>
        <td rowspan="3">南京苏如化工有限公司</td>   
       
      </tr>
      <tr>
       <td>98%</td>
       <td>2750</td>    
      </tr>    
      <tr>   
        <td>98%</td>
        <td>2750</td>
        
      </tr>
      <tr>
       <td>2016-03-03 15:58:32</td>
        <td>2851</td>
        <td>南京苏如化工有限公司</td>
        <td>98%</td>
        <td>54</td>
      </tr>
      <tr>
       <td>2016-03-03 15:58:32</td>
        <td>2851</td>
        <td>南京苏如化工有限公司</td>
        <td>98%</td>
        <td>55</td>
      </tr>
    </table>

    <table class="layui-table">
          <thead>
                <tr>
                  <th style="width: 15%">报价时间</th>
                 <th style="width: 10%">询单id</th>
                 <th>供应商</th>
                 <th>纯度</th>
                 <th>规格</th>
                <th>价格</th>
             </tr>
            </thead>
           <tbody>
           @if($history_price)
            @foreach($history_price as $k=>$v)
            <tr>
                <td  rowspan="{{count($v['info']) + 1}}">{{$v['created_at']}}</td>
               <td  rowspan="{{count($v['info']) + 1}}">{{$v['inquiry_id']}}</td>
               <td  rowspan="{{count($v['info']) + 1}}">{{$v['supplier_name']}}</td>
            </tr>
            @foreach($v['info'] as $k1=>$v1)
            <tr>
                  <td>{{$v1['purity']}}</td>
                  <td>{{$v1['prefix_packsize']}}&nbsp;{{$v1['prefix_packunit']}}</td>
                 <td style="color: red;">¥{{$v1['price']}}</td>
            </tr>
            @endforeach
            @endforeach
        @else
         <td colspan="5">ERP暂无查询到历史报价</td>
        @endif
      </tbody>
    </table>