goods_refund.html 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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-content">
  7. <form method="post" action="{:url('goodsRefund',[],'')}/id/{$id}" class="form-horizontal">
  8. <div class="form-group">
  9. <label class="col-sm-2 control-label">退款商品 <span style="color: red;">*</span></label>
  10. <div class="col-sm-6">
  11. <table class="table table-bordered">
  12. <thead>
  13. <tr>
  14. <th>图片</th>
  15. <th>商品名称</th>
  16. <th>价格</th>
  17. <th>退款数量</th>
  18. </tr>
  19. </thead>
  20. <tbody>
  21. {volist name="info" id='v'}
  22. <tr>
  23. <td><img src="{$v['img']}" alt="" onclick="open_img(this)" style="width: 40px;" ></td>
  24. <td>{$v['title']}</td>
  25. <td>{$v['price']}</td>
  26. <td><input type="text" name="num[{$v['goods_id']}]" value="{$v.num}"></td>
  27. </tr>
  28. {/volist}
  29. </tbody>
  30. </table>
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <label class="col-sm-2 control-label">退款原因</label>
  35. <div class="col-sm-6">
  36. <textarea name="reason" class="form-control"></textarea>
  37. </div>
  38. </div>
  39. <div class="hr-line-dashed"></div>
  40. <div class="form-group">
  41. <div class="col-sm-4 col-sm-offset-2">
  42. <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
  43. <button class="btn cancel-btn btn-default" type="button">取 消</button>
  44. </div>
  45. </div>
  46. </form>
  47. </div>
  48. </div>
  49. </div>
  50. </div>
  51. {/block}
  52. {block name="script"}
  53. <script>
  54. $(document).ready(function(){
  55. });
  56. </script>
  57. {/block}