cancelrefund.html 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="updatetime" value="{$row.updatetime}" />
  3. <ul class="list-group">
  4. <li class="list-group-item">
  5. 订单金额:¥{$row.order_price}
  6. </li>
  7. <li class="list-group-item">
  8. 实付金额:¥{$row.total_price}元 (包含:<!--优惠¥{$row.discount_price},-->物流费用¥{$row.delivery_price})
  9. </li>
  10. {if $row.had_refund}
  11. <li class="list-group-item">
  12. 退款时间:{:date('Y-m-d H:i:s', $row.had_refund)}
  13. </li>
  14. <li class="list-group-item">
  15. 已退款:{:__('Yes')}
  16. </li>
  17. {else/}
  18. <li class="list-group-item">
  19. 已退款:{:__('No')}
  20. </li>
  21. {/if}
  22. </ul>
  23. <style>
  24. .media {
  25. border-bottom: 1px solid #f1f1f1;
  26. }
  27. .media-left img {
  28. width: 100px;
  29. height: 100px;
  30. }
  31. .total-price {
  32. color: #ff5f17;
  33. }
  34. </style>
  35. <div class="form-group">
  36. <label class="control-label col-xs-12 col-sm-2">退款金额:</label>
  37. <div class="col-xs-12 col-sm-8">
  38. <input id="c-remark" class="form-control" name="refund_amount" type="text" value="{$row.total_price}">
  39. <font color="red">选择【同意】后:如果是余额支付,将退款到余额;如果是在线支付的,将原路退回。选择【同意】或【拒绝】之后即退款结束,无法再次退款</font>
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">退款状态:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <div class="radio">
  46. {foreach name="refundStatusList" item="vo"}
  47. {if $key > 2}
  48. <label for="row[refund_status]-{$key}"><input id="row[refund_status]-{$key}" name="refund_status" type="radio" value="{$key}" {in name="key" value="$row.refund_status"}checked{/in} /> {$vo}</label>
  49. {/if}
  50. {/foreach}
  51. </div>
  52. </div>
  53. </div>
  54. <?php if($row['refund_status'] != 3 && $row['refund_status'] != 4){ ?>
  55. <div class="form-group layer-footer">
  56. <label class="control-label col-xs-12 col-sm-2"></label>
  57. <div class="col-xs-12 col-sm-8">
  58. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  59. </div>
  60. </div>
  61. <?php } ?>
  62. </form>