add.html 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  1. <form id="add-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" data-rule="required" class="form-control" name="row[order_no]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_out_trade_no')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-pay_out_trade_no" class="form-control" name="row[pay_out_trade_no]" type="text" value="">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-product_id" data-rule="required" data-source="product/index" class="form-control selectpage" name="row[product_id]" type="text" value="">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('Product_name')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <input id="c-product_name" class="form-control" name="row[product_name]" type="text" value="">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <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="">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_fee')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <input id="c-pay_fee" data-rule="required" class="form-control" step="0.01" name="row[pay_fee]" type="number" value="0.00">
  36. </div>
  37. </div>
  38. <div class="form-group">
  39. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  40. <div class="col-xs-12 col-sm-8">
  41. <div class="radio">
  42. {foreach name="statusList" item="vo"}
  43. <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="0"}checked{/in} /> {$vo}</label>
  44. {/foreach}
  45. </div>
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Paytime')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <input id="c-paytime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[paytime]" type="text" value="{:date('Y-m-d H:i:s')}">
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Realname')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-realname" class="form-control" name="row[realname]" type="text" value="">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Road_id')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-road_id" data-rule="required" data-source="road/index" class="form-control selectpage" name="row[road_id]" type="text" value="">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Roadtype')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <select id="c-roadtype" class="form-control selectpicker" name="row[roadtype]">
  76. {foreach name="roadtypeList" item="vo"}
  77. <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
  78. {/foreach}
  79. </select>
  80. </div>
  81. </div>
  82. <div class="form-group">
  83. <label class="control-label col-xs-12 col-sm-2">{:__('Roadname')}:</label>
  84. <div class="col-xs-12 col-sm-8">
  85. <input id="c-roadname" class="form-control" name="row[roadname]" type="text" value="">
  86. </div>
  87. </div>
  88. <div class="form-group">
  89. <label class="control-label col-xs-12 col-sm-2">{:__('Ticket_str')}:</label>
  90. <div class="col-xs-12 col-sm-8">
  91. <input id="c-ticket_str" class="form-control" name="row[ticket_str]" type="text" value="">
  92. </div>
  93. </div>
  94. <div class="form-group">
  95. <label class="control-label col-xs-12 col-sm-2">{:__('Cancle_time')}:</label>
  96. <div class="col-xs-12 col-sm-8">
  97. <input id="c-cancle_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cancle_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  98. </div>
  99. </div>
  100. <div class="form-group">
  101. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_reason')}:</label>
  102. <div class="col-xs-12 col-sm-8">
  103. <input id="c-refund_reason" class="form-control" name="row[refund_reason]" type="text" value="">
  104. </div>
  105. </div>
  106. <div class="form-group">
  107. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_time')}:</label>
  108. <div class="col-xs-12 col-sm-8">
  109. <input id="c-refund_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[refund_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  110. </div>
  111. </div>
  112. <div class="form-group">
  113. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_remark')}:</label>
  114. <div class="col-xs-12 col-sm-8">
  115. <input id="c-refund_remark" class="form-control" name="row[refund_remark]" type="text" value="">
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="control-label col-xs-12 col-sm-2">{:__('Refund_fee')}:</label>
  120. <div class="col-xs-12 col-sm-8">
  121. <input id="c-refund_fee" data-rule="required" class="form-control" step="0.01" name="row[refund_fee]" type="number" value="0.00">
  122. </div>
  123. </div>
  124. <div class="form-group">
  125. <label class="control-label col-xs-12 col-sm-2">{:__('Share_uid')}:</label>
  126. <div class="col-xs-12 col-sm-8">
  127. <input id="c-share_uid" class="form-control" name="row[share_uid]" type="number" value="0">
  128. </div>
  129. </div>
  130. <div class="form-group">
  131. <label class="control-label col-xs-12 col-sm-2">{:__('Jxtype')}:</label>
  132. <div class="col-xs-12 col-sm-8">
  133. <select id="c-jxtype" data-rule="required" class="form-control selectpicker" name="row[jxtype]">
  134. {foreach name="jxtypeList" item="vo"}
  135. <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
  136. {/foreach}
  137. </select>
  138. </div>
  139. </div>
  140. <div class="form-group">
  141. <label class="control-label col-xs-12 col-sm-2">{:__('Go_chufatime')}:</label>
  142. <div class="col-xs-12 col-sm-8">
  143. <input id="c-go_chufatime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[go_chufatime]" type="text" value="{:date('Y-m-d H:i:s')}">
  144. </div>
  145. </div>
  146. <div class="form-group">
  147. <label class="control-label col-xs-12 col-sm-2">{:__('Back_chufatime')}:</label>
  148. <div class="col-xs-12 col-sm-8">
  149. <input id="c-back_chufatime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[back_chufatime]" type="text" value="{:date('Y-m-d H:i:s')}">
  150. </div>
  151. </div>
  152. <div class="form-group">
  153. <label class="control-label col-xs-12 col-sm-2">{:__('Go_chufaname')}:</label>
  154. <div class="col-xs-12 col-sm-8">
  155. <input id="c-go_chufaname" class="form-control" name="row[go_chufaname]" type="text" value="">
  156. </div>
  157. </div>
  158. <div class="form-group">
  159. <label class="control-label col-xs-12 col-sm-2">{:__('Back_chufaname')}:</label>
  160. <div class="col-xs-12 col-sm-8">
  161. <input id="c-back_chufaname" class="form-control" name="row[back_chufaname]" type="text" value="">
  162. </div>
  163. </div>
  164. <div class="form-group">
  165. <label class="control-label col-xs-12 col-sm-2">{:__('Finishtime')}:</label>
  166. <div class="col-xs-12 col-sm-8">
  167. <input id="c-finishtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[finishtime]" type="text" value="{:date('Y-m-d H:i:s')}">
  168. </div>
  169. </div>
  170. <div class="form-group layer-footer">
  171. <label class="control-label col-xs-12 col-sm-2"></label>
  172. <div class="col-xs-12 col-sm-8">
  173. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  174. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  175. </div>
  176. </div>
  177. </form>