edit.html 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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" 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">{:__('User_id')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Member_id')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-member_id" data-rule="required" data-source="member/index" class="form-control selectpage" name="row[member_id]" type="text" value="{$row.member_id|htmlentities}">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Doctor_id')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-doctor_id" data-rule="required" data-source="doctor/index" class="form-control selectpage" name="row[doctor_id]" type="text" value="{$row.doctor_id|htmlentities}">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Ordertype')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <select id="c-ordertype" data-rule="required" class="form-control selectpicker" name="row[ordertype]">
  30. {foreach name="ordertypeList" item="vo"}
  31. <option value="{$key}" {in name="key" value="$row.ordertype"}selected{/in}>{$vo}</option>
  32. {/foreach}
  33. </select>
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">{:__('Total_fee')}:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <input id="c-total_fee" data-rule="required" class="form-control" step="0.01" name="row[total_fee]" type="number" value="{$row.total_fee|htmlentities}">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('Book_time')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <input id="c-book_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[book_time]" type="text" value="{:$row.book_time?datetime($row.book_time):''}">
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <div class="radio">
  52. {foreach name="statusList" item="vo"}
  53. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
  54. {/foreach}
  55. </div>
  56. </div>
  57. </div>
  58. <div class="form-group">
  59. <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_time')}:</label>
  60. <div class="col-xs-12 col-sm-8">
  61. <input id="c-cancel_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cancel_time]" type="text" value="{:$row.cancel_time?datetime($row.cancel_time):''}">
  62. </div>
  63. </div>
  64. <div class="form-group">
  65. <label class="control-label col-xs-12 col-sm-2">{:__('Cancel_reason')}:</label>
  66. <div class="col-xs-12 col-sm-8">
  67. <input id="c-cancel_reason" class="form-control" name="row[cancel_reason]" type="text" value="{$row.cancel_reason|htmlentities}">
  68. </div>
  69. </div>
  70. <div class="form-group">
  71. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_out_trade_no')}:</label>
  72. <div class="col-xs-12 col-sm-8">
  73. <input id="c-pay_out_trade_no" class="form-control" name="row[pay_out_trade_no]" type="text" value="{$row.pay_out_trade_no|htmlentities}">
  74. </div>
  75. </div>
  76. <div class="form-group">
  77. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_type')}:</label>
  78. <div class="col-xs-12 col-sm-8">
  79. <input id="c-pay_type" class="form-control" name="row[pay_type]" type="text" value="{$row.pay_type|htmlentities}">
  80. </div>
  81. </div>
  82. <div class="form-group">
  83. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
  84. <div class="col-xs-12 col-sm-8">
  85. <input id="c-pay_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[pay_time]" type="text" value="{:$row.pay_time?datetime($row.pay_time):''}">
  86. </div>
  87. </div>
  88. <div class="form-group">
  89. <label class="control-label col-xs-12 col-sm-2">{:__('Accept_time')}:</label>
  90. <div class="col-xs-12 col-sm-8">
  91. <input id="c-accept_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[accept_time]" type="text" value="{:$row.accept_time?datetime($row.accept_time):''}">
  92. </div>
  93. </div>
  94. <div class="form-group">
  95. <label class="control-label col-xs-12 col-sm-2">{:__('Video_time')}:</label>
  96. <div class="col-xs-12 col-sm-8">
  97. <input id="c-video_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[video_time]" type="text" value="{:$row.video_time?datetime($row.video_time):''}">
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('Finish_time')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <input id="c-finish_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finish_time]" type="text" value="{:$row.finish_time?datetime($row.finish_time):''}">
  104. </div>
  105. </div>
  106. <div class="form-group">
  107. <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_time')}:</label>
  108. <div class="col-xs-12 col-sm-8">
  109. <input id="c-feedback_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[feedback_time]" type="text" value="{:$row.feedback_time?datetime($row.feedback_time):''}">
  110. </div>
  111. </div>
  112. <div class="form-group">
  113. <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_remark')}:</label>
  114. <div class="col-xs-12 col-sm-8">
  115. <input id="c-feedback_remark" class="form-control" name="row[feedback_remark]" type="text" value="{$row.feedback_remark|htmlentities}">
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="control-label col-xs-12 col-sm-2">{:__('Feedback_images')}:</label>
  120. <div class="col-xs-12 col-sm-8">
  121. <div class="input-group">
  122. <input id="c-feedback_images" class="form-control" size="50" name="row[feedback_images]" type="textarea" value="{$row.feedback_images|htmlentities}">
  123. <div class="input-group-addon no-border no-padding">
  124. <span><button type="button" id="faupload-feedback_images" class="btn btn-danger faupload" data-input-id="c-feedback_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-feedback_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  125. <span><button type="button" id="fachoose-feedback_images" class="btn btn-primary fachoose" data-input-id="c-feedback_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  126. </div>
  127. <span class="msg-box n-right" for="c-feedback_images"></span>
  128. </div>
  129. <ul class="row list-inline faupload-preview" id="p-feedback_images"></ul>
  130. </div>
  131. </div>
  132. <div class="form-group">
  133. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_price')}:</label>
  134. <div class="col-xs-12 col-sm-8">
  135. <input id="c-refund_price" class="form-control" step="0.01" name="row[refund_price]" type="number" value="{$row.refund_price|htmlentities}">
  136. </div>
  137. </div>
  138. <div class="form-group">
  139. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_status')}:</label>
  140. <div class="col-xs-12 col-sm-8">
  141. <div class="radio">
  142. {foreach name="refundStatusList" item="vo"}
  143. <label for="row[refund_status]-{$key}"><input id="row[refund_status]-{$key}" name="row[refund_status]" type="radio" value="{$key}" {in name="key" value="$row.refund_status"}checked{/in} /> {$vo}</label>
  144. {/foreach}
  145. </div>
  146. </div>
  147. </div>
  148. <div class="form-group layer-footer">
  149. <label class="control-label col-xs-12 col-sm-2"></label>
  150. <div class="col-xs-12 col-sm-8">
  151. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  152. </div>
  153. </div>
  154. </form>