option.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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('option',[],'')}/id/{$id}" class="form-horizontal">
  8. <div class="form-group">
  9. <label class="col-sm-2 control-label">状态<span class="text-danger">*</span></label>
  10. <div class="col-sm-6">
  11. <select name="status" class="form-control">
  12. <option value="5">退款</option>
  13. <option value="6">拒绝</option>
  14. </select>
  15. </div>
  16. </div>
  17. <div class="form-group">
  18. <label class="col-sm-2 control-label">备注</label>
  19. <div class="col-sm-6">
  20. <input type="text" class="form-control" name="refuse_remark">
  21. </div>
  22. </div>
  23. <div class="hr-line-dashed"></div>
  24. <div class="form-group">
  25. <div class="col-sm-6 col-sm-offset-2">
  26. <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
  27. </div>
  28. </div>
  29. </form>
  30. </div>
  31. </div>
  32. </div>
  33. </div>
  34. {/block}
  35. {block name="script"}
  36. <script>
  37. $(document).ready(function(){
  38. formSetValue("type", {$info.type|default=0});
  39. formSetValue("enable", {$info.enable|default=1});
  40. });
  41. </script>
  42. {/block}