123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- {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('goodsRefund',[],'')}/id/{$id}" class="form-horizontal">
- <div class="form-group">
- <label class="col-sm-2 control-label">退款商品 <span style="color: red;">*</span></label>
- <div class="col-sm-6">
- <table class="table table-bordered">
- <thead>
- <tr>
- <th>图片</th>
- <th>商品名称</th>
- <th>价格</th>
- <th>退款数量</th>
- </tr>
- </thead>
- <tbody>
- {volist name="info" id='v'}
- <tr>
- <td><img src="{$v['img']}" alt="" onclick="open_img(this)" style="width: 40px;" ></td>
- <td>{$v['title']}</td>
- <td>{$v['price']}</td>
- <td><input type="text" name="num[{$v['goods_id']}]" value="{$v.num}"></td>
- </tr>
- {/volist}
- </tbody>
- </table>
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">退款原因</label>
- <div class="col-sm-6">
- <textarea name="reason" class="form-control"></textarea>
- </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(){
- });
- </script>
- {/block}
|