submitorder.html 4.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <input type="hidden" name="id" value="{$id}" >
  3. <div class="form-group">
  4. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  5. <div class="col-xs-12 col-sm-8">
  6. <input id="c-mobile" data-rule="required" class="form-control" disabled name="user_mobile" type="text" value="{$row.mobile|htmlentities}">
  7. </div>
  8. </div>
  9. <div class="form-group">
  10. <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
  11. <div class="col-xs-12 col-sm-8">
  12. <input id="c-name" class="form-control" disabled name="user_name" type="text" value="{$row.name|htmlentities}">
  13. </div>
  14. </div>
  15. <div class="form-group">
  16. <label class="control-label col-xs-12 col-sm-2">{:__('Car_number')}:</label>
  17. <div class="col-xs-12 col-sm-8">
  18. <input id="c-car_number" class="form-control" disabled name="user_car_number" type="text" value="{$row.car_number|htmlentities}">
  19. </div>
  20. </div>
  21. <div class="form-group">
  22. <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
  23. <div class="col-xs-12 col-sm-8">
  24. <input id="c-address" class="form-control" disabled name="user_address" type="text" value="{$row.address|htmlentities}">
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <label class="control-label col-xs-12 col-sm-2">{:__('Servicetype_id')}:</label>
  29. <div class="col-xs-12 col-sm-8">
  30. <input id="c-servicetype_id" data-rule="required" disabled name="servicetype_id" data-source="servicetype/index" data-field="title" class="form-control selectpage" type="text" value="{$row.servicetype_id|htmlentities}">
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <label class="control-label col-xs-12 col-sm-2">服务时间:</label>
  35. <div class="col-xs-12 col-sm-8">
  36. <input id="c-server_time" class="form-control datetimepicker" name="server_time" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" type="text" value="{:date('Y-m-d H:i:s')}">
  37. </div>
  38. </div>
  39. <div class="form-group">
  40. <label class="control-label col-xs-12 col-sm-2">服务内容:</label>
  41. <div class="col-xs-12 col-sm-8">
  42. <input id="c-server_info" class="form-control" name="server_info" type="text" value="">
  43. </div>
  44. </div>
  45. <div class="form-group">
  46. <label class="control-label col-xs-12 col-sm-2">服务图片:</label>
  47. <div class="col-xs-12 col-sm-8">
  48. <div class="input-group">
  49. <input id="c-server_images" class="form-control" size="50" name="server_images" type="text">
  50. <div class="input-group-addon no-border no-padding">
  51. <span><button type="button" id="faupload-server_images" class="btn btn-danger faupload" data-input-id="c-server_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-server_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  52. <span><button type="button" id="fachoose-server_images" class="btn btn-primary fachoose" data-input-id="c-server_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  53. </div>
  54. <span class="msg-box n-right" for="c-server_images"></span>
  55. </div>
  56. <ul class="row list-inline faupload-preview" id="p-server_images"></ul>
  57. </div>
  58. </div>
  59. <div class="form-group">
  60. <label class="control-label col-xs-12 col-sm-2">收款金额:</label>
  61. <div class="col-xs-12 col-sm-8">
  62. <input id="c-pay_fee" class="form-control" step="0.01" name="pay_fee" type="number" value="0.00">
  63. </div>
  64. </div>
  65. <div class="form-group">
  66. <label class="control-label col-xs-12 col-sm-2">操作店员:</label>
  67. <div class="col-xs-12 col-sm-8">
  68. <input id="c-staff_id" data-rule="required" disabled data-source="company_staff/index" data-field="truename" class="form-control selectpage" type="text" value="{$staff_id|htmlentities}">
  69. </div>
  70. </div>
  71. <div class="form-group layer-footer">
  72. <label class="control-label col-xs-12 col-sm-2"></label>
  73. <div class="col-xs-12 col-sm-8">
  74. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  75. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  76. </div>
  77. </div>
  78. </form>