option.html 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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">退款金额</label>
  10. <div class="col-sm-6">
  11. <input type="text" readonly class="form-control" value="{$pay.amount}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="col-sm-2 control-label">备注</label>
  16. <div class="col-sm-6">
  17. <textarea name="remark" class="form-control"></textarea>
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="col-sm-2 control-label">状态</label>
  22. <div class="col-sm-6">
  23. <label class="cr-inline">
  24. <input type="radio" value="1" name="status">同意&nbsp;&nbsp;
  25. </label>
  26. <label class="cr-inline">
  27. <input type="radio" value="2" name="status">拒绝
  28. </label>
  29. </div>
  30. </div>
  31. <div class="hr-line-dashed"></div>
  32. <div class="form-group">
  33. <div class="col-sm-4 col-sm-offset-2">
  34. <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
  35. <button class="btn cancel-btn btn-default" type="button">取 消</button>
  36. </div>
  37. </div>
  38. </form>
  39. </div>
  40. </div>
  41. </div>
  42. </div>
  43. {/block}
  44. {block name="script"}
  45. <script>
  46. $(document).ready(function(){
  47. formSetValue("status", {$info.status|default=1});
  48. });
  49. </script>
  50. {/block}