oprefund_doform.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <form class="form-horizontal form-validate" action="{:U('order/oprefund_doform')}" method="post" enctype="multipart/form-data">
  2. <input type='hidden' name='ref_id' value='{$ref_id}' />
  3. <div class="modal-dialog">
  4. <div class="modal-content">
  5. <div class="modal-header">
  6. <button data-dismiss="modal" class="close" type="button">×</button>
  7. <h4 class="modal-title">平台审核</h4>
  8. </div>
  9. <div class="modal-body">
  10. <textarea style="height:150px;" class="form-control" name="remarkrefund" placeholder="审核备注" >{$item['remarkrefund']}</textarea>
  11. <p style="padding-top:10px;"><label><input type="checkbox" name="is_forbidden" value="1" />禁止再次发起</label></p>
  12. </div>
  13. <div class="modal-footer">
  14. <input type="hidden" id="sb_type" name="cansub" value="1" />
  15. <button class="btn btn-primary" type="submit" data-value="1" name="cansub">同意</button>
  16. <button class="btn btn-primary" type="submit" data-value="2" name="ref_sub" >拒绝</button>
  17. <!--<button data-dismiss="modal" class="btn btn-default" type="button">取消</button>-->
  18. </div>
  19. </div>
  20. </form>
  21. <script>
  22. //没有选中时间段不能导出
  23. $(function () {
  24. $('.btn-primary').click(function () {
  25. var e = $(this).attr('data-value');
  26. $('#sb_type').val(e);
  27. })
  28. })
  29. </script>