0
0

info.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. {extend name="common/common2" /}
  2. {block name="main"}
  3. <div class="row">
  4. <div class="col-sm-12">
  5. <div class="ibox float-e-margins">
  6. <!--<div class="ibox-title">-->
  7. <!--<h5>盘库明细</h5>-->
  8. <!--<div class="ibox-tools">-->
  9. <!--<a class="toback" href="{:url('index')}">-->
  10. <!--返回上一页-->
  11. <!--</a>-->
  12. <!--</div>-->
  13. <!--</div>-->
  14. <div class="ibox-content">
  15. <p>
  16. 盘点人:{$info['userName']} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  17. 应盘数量:{$info['tnums']} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  18. 实盘数量:{$info['tchecknums']} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  19. 数量差异:{$info['tchecknums'] - $info['tnums']}
  20. </p>
  21. {if !empty($info['goods'])}
  22. <table class="table table-bordered table-striped">
  23. <tr>
  24. <th>名称</th>
  25. <th>规格</th>
  26. <th>品牌</th>
  27. <th>单价</th>
  28. <th>状态</th>
  29. <th>应盘数量</th>
  30. <th>实盘数量</th>
  31. <th>数量差异</th>
  32. <th>盘点时间</th>
  33. <th>盘点说明</th>
  34. {eq name="info['status']" value="0"}
  35. <th>操作</th>
  36. {/eq}
  37. </tr>
  38. {foreach $info['goods'] as $k=>$v}
  39. <tr>
  40. <td>{$v['title']}</td>
  41. <td>{$v['spec']}</td>
  42. <td>{$v['brand']}</td>
  43. <td>{$v['price']}</td>
  44. <td>
  45. {eq name="v['status']" value="0"}未盘{/eq}
  46. {eq name="v['status']" value="1"}盘亏{/eq}
  47. {eq name="v['status']" value="2"}已盘{/eq}
  48. {eq name="v['status']" value="3"}盘盈{/eq}
  49. </td>
  50. <td>{$v['nums']}</td>
  51. <td>{$v['check_nums']}</td>
  52. <td>{$v['check_nums'] - $v['nums']}</td>
  53. <td>{$v['check_time']}</td>
  54. <td>{$v['remark']}</td>
  55. {eq name="info['status']" value="0"}
  56. <td>
  57. {eq name="v['status']" value="0"}
  58. <a href="javascript:;" class="btn btn-xs btn-primary" url="{:url('check',['id'=>$v['id']])}" data-title="盘库" onclick="layer_open(this,2)">盘库</a>
  59. {/eq}
  60. <a href="{:url('delGoods',['id'=>$v['id']])}" class="btn btn-xs btn-danger confirm ajax-get data-reload" data-confirm="确定要删除此记录吗?">删除</a>
  61. </td>
  62. {/eq}
  63. </tr>
  64. {/foreach}
  65. </table>
  66. {/if}
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. {/block}
  72. {block name="script"}
  73. {/block}