<div class="table-responsive custom-scrollbar" style="max-height: calc(100vh - 110px);overflow:auto;overflow-x:hidden;max-width:850px;">
  <table class="display supplyquery" style="width:100%;">
    <tbody>
    <?php foreach ($ds as $row) { ?>
      <tr>
        <td><img src='{: tomedia($row[' thumb'])}' class="img-responsive img-thumbnail m-r-20" style="width:40px;height:40px;" /> {$row['goodsname']}
        </td>
        <td style="width: 80px"><a class="text-primary" href="javascript:" onclick='biz.selec