123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form method="post" action="{:url('refund')}" class="form-horizontal">
- <input type="hidden" name="id" value="{$id}">
- <div class="form-group">
- <label class="col-sm-2 control-label">最大退款金额</label>
- <div class="col-sm-6">
- <input type="text" readonly class="form-control" value="{$money}">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">退款金额 <span style="color: red;">*</span></label>
- <div class="col-sm-6">
- <input type="text" class="form-control" name="money" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">备注</label>
- <div class="col-sm-6">
- <textarea name="remark" class="form-control"></textarea>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">类型</label>
- <div class="col-sm-6">
- <label class="cr-inline">
- <input type="radio" value="1" name="type">线下
- </label>
- {eq name="pay['type']" value="2"}
- <label class="cr-inline">
- <input type="radio" value="2" name="type">线上
- </label>
- {/eq}
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-4 col-sm-offset-2">
- <button class="btn btn-primary ajax-post" data-layer="1" target-form="form-horizontal" type="submit">确 定</button>
- <button class="btn cancel-btn btn-default" type="button">取 消</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script>
- $(document).ready(function(){
- formSetValue("type", {$pay.type|default=1});
- });
- </script>
- {/block}
|