refund.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-order_no" disabled class="form-control" name="row[order_no]" type="text" value="{$row.order_no|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Product_name')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-product_name" disabled class="form-control" name="row[product_name]" type="text" value="{$row.product_name|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-user_id" disabled class="form-control" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_fee')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-pay_fee" disabled class="form-control" step="0.01" name="row[pay_fee]" type="number" value="{$row.pay_fee|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Paytime')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-paytime" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[paytime]" type="text" value="{:$row.paytime?datetime($row.paytime):''}">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-realname" disabled class="form-control" name="row[realname]" type="text" value="{$row.realname|htmlentities}">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <input id="c-mobile" disabled class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Roadtype')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <select id="c-roadtype" disabled class="form-control selectpicker" name="row[roadtype]">
  48. {foreach name="roadtypeList" item="vo"}
  49. <option value="{$key}" {in name="key" value="$row.roadtype"}selected{/in}>{$vo}</option>
  50. {/foreach}
  51. </select>
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Roadname')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-roadname" disabled class="form-control" name="row[roadname]" type="text" value="{$row.roadname|htmlentities}">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Ticket_str')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-ticket_str" disabled class="form-control" name="row[ticket_str]" type="text" value="{$row.ticket_str|htmlentities}">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <div class="radio">
  70. {foreach name="statusList" item="vo"}
  71. <label for="row[status]-{$key}"><input disabled id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  72. {/foreach}
  73. </div>
  74. </div>
  75. </div>
  76. <hr>
  77. <div class="form-group">
  78. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_out_trade_no')}:</label>
  79. <div class="col-xs-12 col-sm-8">
  80. <input id="c-pay_out_trade_no" disabled class="form-control" name="row[pay_out_trade_no]" type="text" value="{$row.pay_out_trade_no|htmlentities}">
  81. </div>
  82. </div>
  83. <div class="form-group">
  84. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_reason')}:</label>
  85. <div class="col-xs-12 col-sm-8">
  86. <input id="c-refund_reason" class="form-control" name="refund_reason" type="text" value="{$row.refund_reason|htmlentities}">
  87. </div>
  88. </div>
  89. <?php if($row['status'] == 22) {?>
  90. <div class="form-group">
  91. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_time')}:</label>
  92. <div class="col-xs-12 col-sm-8">
  93. <input id="c-refund_time" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" type="text" value="{:$row.refund_time?datetime($row.refund_time):''}">
  94. </div>
  95. </div>
  96. <?php } ?>
  97. <div class="form-group">
  98. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_remark')}:</label>
  99. <div class="col-xs-12 col-sm-8">
  100. <input id="c-refund_remark" class="form-control" name="refund_remark" type="text" value="{$row.refund_remark|htmlentities}">
  101. </div>
  102. </div>
  103. <div class="form-group">
  104. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_fee')}:</label>
  105. <div class="col-xs-12 col-sm-8">
  106. <input id="c-refund_fee" data-rule="required" class="form-control" step="0.01" name="refund_fee" type="number" value="{$row.refund_fee|htmlentities}">
  107. </div>
  108. </div>
  109. <?php if($row['status'] == 21) {?>
  110. <div class="form-group">
  111. <label class="control-label col-xs-12 col-sm-2">说明:</label>
  112. <div class="col-xs-12 col-sm-8">
  113. <font color="red">提交之后会自动把【退款额度】填写的金额 原路返回给用户,最大不能超过【总价格】</font>
  114. </div>
  115. </div>
  116. <div class="form-group layer-footer">
  117. <label class="control-label col-xs-12 col-sm-2"></label>
  118. <div class="col-xs-12 col-sm-8">
  119. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  120. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  121. </div>
  122. </div>
  123. <?php } ?>
  124. </form>