test
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

51 lines
2.7 KiB

<form class="form-horizontal form-validate" action="{php echo web_url('order/wlOrder/refund',['is_jurisdiction'=>1])}" method="post" enctype="multipart/form-data">
<input type='hidden' name='id' value='{$id}' />
<input type='hidden' name='type' value='{$type}' />
<input type='hidden' name='checkcode' value='{$checkcode}' />
<input type='hidden' name='afterid' value='{$afterid}' />
<div class="modal-dialog" style='width: 920px;'>
<div class="modal-content">
<div class="modal-header">
<button aria-hidden="true" data-dismiss="modal" class="close" type="button">×</button>
<h3>订单退款</h3>
</div>
<div class="modal-body">
<style>
.recc{margin-bottom: 0}
.recc td, .recc th{text-align: center;}
</style>
<table class="recc table table-hover table-bordered">
<tbody>
<tr>
<th>退款方式</th>
<td>
<label class="radio-inline"><input type="radio" name="refund_type" value="0" checked="" > 线上退款</label>
<label class="radio-inline"><input type="radio" name="refund_type" value="1" > 线下退款</label>
</td>
<!-- <td colspan="2">-->
<!-- <input type="text" name="price_value" value="{php echo abs($order['changeprice']) }" class="form-control">-->
<!-- </td>-->
</tr>
<tr>
<th>退款类型</th>
<td>
<label class="radio-inline"><input type="radio" name="price_type" value="0" checked="" onclick="$('#price_value').hide();" > 全额退款</label>
<label class="radio-inline"><input type="radio" name="price_type" value="1" onclick="$('#price_value').show();"> 部分退款</label>
</td>
</tr>
<tr style="display: none" id="price_value">
<th>设置金额</th>
<td>
<input type="number" min="0" name="price_value" value="" class="form-control">
</td>
</tr>
</tbody>
</table>
</div>
<div class="modal-footer">
<button class="btn btn-primary" type="submit">确定</button>
<input type="hidden" name="token" value="{$_W['token']}" />
</div>
</div>
</div>
</form>