index.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {extend name='admin@main'}
  2. {block name="button"}
  3. <button class="layui-btn layui-btn-sm layui-btn-primary" type='button' data-open="{:url('goods/index')}">返回</button>
  4. {/block}
  5. {block name="content"}
  6. <div class="think-box-shadow">
  7. {include file='goods_stock_log/index_search'}
  8. <table class="layui-table margin-top-10" lay-skin="line">
  9. {notempty name='list'}
  10. <thead>
  11. <tr>
  12. <th class='text-left nowrap'>类型</th>
  13. <th class='text-left nowrap'>商品规格</th>
  14. <th class='text-left nowrap'>单价</th>
  15. <th class='text-left nowrap'>数量</th>
  16. <th class='text-left nowrap'>创建时间</th>
  17. </tr>
  18. </thead>
  19. {/notempty}
  20. <tbody>
  21. {foreach $list as $key=>$vo}
  22. <tr>
  23. <td class='text-left nowrap'>
  24. {$get_goods_stock_log_list[$vo.type]|default='--'}
  25. </td>
  26. <td class='text-left nowrap'>
  27. <p>规格ID:{$vo.stock_id|default='--'}</p>
  28. <p class="color-desc">规格名称:{$vo.name|default='--'}</p>
  29. </td>
  30. <td class='text-left nowrap'>
  31. {$vo.price|default='--'}
  32. </td>
  33. <td class='text-left nowrap'>
  34. {$vo.stock|default='--'}
  35. </td>
  36. <td class='text-left nowrap'>
  37. {$vo.create_at|default='--'}
  38. </td>
  39. </tr>
  40. {/foreach}
  41. </tbody>
  42. </table>
  43. {empty name='list'}<span class="notdata">没 有 记 录 哦!</span>{else}{$pagehtml|raw|default=''}{/empty}
  44. </div>
  45. {/block}