edit.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-user_id" disabled data-rule="required" data-source="user/user/index" data-field="username" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
  7. </div>
  8. </div>
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">{:__('Out_trade_no')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input id="c-out_trade_no" disabled class="form-control" name="row[out_trade_no]" type="text" value="{$row.out_trade_no}">
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Order_price')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <input id="c-order_price" disabled class="form-control" step="0.01" name="row[order_price]" type="number" value="{$row.order_price}">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('Discount_price')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. <input id="c-discount_price" disabled class="form-control" step="0.01" name="row[discount_price]" type="number" value="{$row.discount_price}">
  25. </div>
  26. </div>
  27. <!--<div class="form-group">
  28. <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_price')}:</label>
  29. <div class="col-xs-12 col-sm-8">
  30. <input id="c-delivery_price" class="form-control" step="0.01" name="row[delivery_price]" type="number" value="{$row.delivery_price}">
  31. </div>
  32. </div>-->
  33. <div class="form-group">
  34. <label class="control-label col-xs-12 col-sm-2">{:__('Total_price')}:</label>
  35. <div class="col-xs-12 col-sm-8">
  36. <input id="c-total_price" disabled class="form-control" step="0.01" name="row[total_price]" type="number" value="{$row.total_price}">
  37. </div>
  38. </div>
  39. <!--<div class="form-group">
  40. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
  41. <div class="col-xs-12 col-sm-8">
  42. <select id="c-pay_type" data-rule="required" class="form-control selectpicker" name="row[pay_type]">
  43. {foreach name="payTypeList" item="vo"}
  44. <option value="{$key}" {in name="key" value="$row.pay_type"}selected{/in}>{$vo}</option>
  45. {/foreach}
  46. </select>
  47. </div>
  48. </div>-->
  49. <!--<div class="form-group">
  50. <label class="control-label col-xs-12 col-sm-2">{:__('Ip')}:</label>
  51. <div class="col-xs-12 col-sm-8">
  52. <input id="c-ip" class="form-control" name="row[ip]" type="text" value="{$row.ip}">
  53. </div>
  54. </div>-->
  55. <div class="form-group">
  56. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  57. <div class="col-xs-12 col-sm-8">
  58. <div class="radio">
  59. {foreach name="statusList" item="vo"}
  60. <label for="row[status]-{$key}"><input id="row[status]-{$key}" disabled name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  61. {/foreach}
  62. </div>
  63. </div>
  64. </div>
  65. <!--<div class="form-group">
  66. <label class="control-label col-xs-12 col-sm-2">{:__('Refund status')}:</label>
  67. <div class="col-xs-12 col-sm-8">
  68. <div class="radio">
  69. {foreach name="refundStatusList" item="vo"}
  70. <label for="row[refund_status]-{$key}"><input id="row[refund_status]-{$key}" disabled name="row[refund_status]" type="radio" value="{$key}" {in name="key" value="$row.refund_status"}checked{/in} /> {$vo}</label>
  71. {/foreach}
  72. </div>
  73. </div>
  74. </div>-->
  75. <div class="form-group">
  76. <label class="control-label col-xs-12 col-sm-2">{:__('Pay time')}:</label>
  77. <div class="col-xs-12 col-sm-8">
  78. <input id="c-have_paid" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_paid]" type="text" value="{:$row.have_paid?datetime($row.have_paid):''}">
  79. </div>
  80. </div>
  81. <!--<div class="form-group">
  82. <label class="control-label col-xs-12 col-sm-2">{:__('Delivered time')}:</label>
  83. <div class="col-xs-12 col-sm-8">
  84. <input id="c-have_delivered" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_delivered]" type="text" value="{:$row.have_delivered?datetime($row.have_delivered):''}">
  85. </div>
  86. </div>
  87. <div class="form-group">
  88. <label class="control-label col-xs-12 col-sm-2">{:__('Commented time')}:</label>
  89. <div class="col-xs-12 col-sm-8">
  90. <input id="c-have_commented" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_commented]" type="text" value="{:$row.have_commented?datetime($row.have_commented):''}">
  91. </div>
  92. </div>-->
  93. <div class="form-group">
  94. <label class="control-label col-xs-12 col-sm-2">{:__('Received time')}:</label>
  95. <div class="col-xs-12 col-sm-8">
  96. <input id="c-have_received" disabled class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[have_received]" type="text" value="{:$row.have_received?datetime($row.have_received):''}">
  97. </div>
  98. </div>
  99. <hr>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('booktime')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <input id="c-booktime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[booktime]" type="text" value="{:$row.booktime?datetime($row.booktime):''}">
  104. </div>
  105. </div>
  106. <div class="form-group">
  107. <label class="control-label col-xs-12 col-sm-2">{:__('book_realname')}:</label>
  108. <div class="col-xs-12 col-sm-8">
  109. <input id="c-book_realname" class="form-control" name="row[book_realname]" type="text" value="{$row.book_realname}">
  110. </div>
  111. </div>
  112. <div class="form-group">
  113. <label class="control-label col-xs-12 col-sm-2">{:__('book_mobile')}:</label>
  114. <div class="col-xs-12 col-sm-8">
  115. <input id="c-book_mobile" class="form-control" name="row[book_mobile]" type="text" value="{$row.book_mobile}">
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
  120. <div class="col-xs-12 col-sm-8">
  121. <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark}">
  122. </div>
  123. </div>
  124. <div class="form-group layer-footer">
  125. <label class="control-label col-xs-12 col-sm-2"></label>
  126. <div class="col-xs-12 col-sm-8">
  127. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  128. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  129. </div>
  130. </div>
  131. </form>