add.html 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161
  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">{:__('Orderno')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-orderno" class="form-control" name="row[orderno]" type="text" value="">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Uc_id')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-uc_id" data-rule="required" data-source="user/company/index" class="form-control selectpage" name="row[uc_id]" type="text" value="">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Company_id')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-company_id" data-rule="required" data-source="company/index" class="form-control selectpage" name="row[company_id]" type="text" value="">
  18. </div>
  19. </div>
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <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="">
  24. </div>
  25. </div>
  26. <div class="form-group">
  27. <label class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
  28. <div class="col-xs-12 col-sm-8">
  29. <input id="c-info" class="form-control" name="row[info]" type="text" value="">
  30. </div>
  31. </div>
  32. <div class="form-group">
  33. <label class="control-label col-xs-12 col-sm-2">{:__('Filedata')}:</label>
  34. <div class="col-xs-12 col-sm-8">
  35. <textarea id="c-filedata" class="form-control " rows="5" name="row[filedata]" cols="50"></textarea>
  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" class="form-control" name="row[mobile]" type="text" value="">
  42. </div>
  43. </div>
  44. <div class="form-group">
  45. <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
  46. <div class="col-xs-12 col-sm-8">
  47. <input id="c-address" class="form-control" name="row[address]" type="text" value="">
  48. </div>
  49. </div>
  50. <div class="form-group">
  51. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  52. <div class="col-xs-12 col-sm-8">
  53. <div class="radio">
  54. {foreach name="statusList" item="vo"}
  55. <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>
  56. {/foreach}
  57. </div>
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Canceltime')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-canceltime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[canceltime]" type="text" value="{:date('Y-m-d H:i:s')}">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Finishtime')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <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')}">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Baojia_confirmtime')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <input id="c-baojia_confirmtime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[baojia_confirmtime]" type="text" value="{:date('Y-m-d H:i:s')}">
  76. </div>
  77. </div>
  78. <div class="form-group">
  79. <label class="control-label col-xs-12 col-sm-2">{:__('Worker_id')}:</label>
  80. <div class="col-xs-12 col-sm-8">
  81. <input id="c-worker_id" data-rule="required" data-source="worker/index" class="form-control selectpage" name="row[worker_id]" type="text" value="">
  82. </div>
  83. </div>
  84. <div class="form-group">
  85. <label class="control-label col-xs-12 col-sm-2">{:__('Cailiao_time')}:</label>
  86. <div class="col-xs-12 col-sm-8">
  87. <input id="c-cailiao_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[cailiao_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  88. </div>
  89. </div>
  90. <div class="form-group">
  91. <label class="control-label col-xs-12 col-sm-2">{:__('Lingqu_time')}:</label>
  92. <div class="col-xs-12 col-sm-8">
  93. <input id="c-lingqu_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[lingqu_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="control-label col-xs-12 col-sm-2">{:__('Lingqu_images')}:</label>
  98. <div class="col-xs-12 col-sm-8">
  99. <div class="input-group">
  100. <input id="c-lingqu_images" class="form-control" size="50" name="row[lingqu_images]" type="text" value="0">
  101. <div class="input-group-addon no-border no-padding">
  102. <span><button type="button" id="faupload-lingqu_images" class="btn btn-danger faupload" data-input-id="c-lingqu_images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp" data-multiple="true" data-preview-id="p-lingqu_images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  103. <span><button type="button" id="fachoose-lingqu_images" class="btn btn-primary fachoose" data-input-id="c-lingqu_images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  104. </div>
  105. <span class="msg-box n-right" for="c-lingqu_images"></span>
  106. </div>
  107. <ul class="row list-inline faupload-preview" id="p-lingqu_images"></ul>
  108. </div>
  109. </div>
  110. <div class="form-group">
  111. <label class="control-label col-xs-12 col-sm-2">{:__('Shangmen_time')}:</label>
  112. <div class="col-xs-12 col-sm-8">
  113. <input id="c-shangmen_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[shangmen_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  114. </div>
  115. </div>
  116. <div class="form-group">
  117. <label class="control-label col-xs-12 col-sm-2">{:__('Weixiu_times')}:</label>
  118. <div class="col-xs-12 col-sm-8">
  119. <input id="c-weixiu_times" class="form-control" name="row[weixiu_times]" type="number" value="0">
  120. </div>
  121. </div>
  122. <div class="form-group">
  123. <label class="control-label col-xs-12 col-sm-2">{:__('Weixiu_id')}:</label>
  124. <div class="col-xs-12 col-sm-8">
  125. <input id="c-weixiu_id" data-rule="required" data-source="weixiu/index" class="form-control selectpage" name="row[weixiu_id]" type="text" value="">
  126. </div>
  127. </div>
  128. <div class="form-group">
  129. <label class="control-label col-xs-12 col-sm-2">{:__('Wancheng_time')}:</label>
  130. <div class="col-xs-12 col-sm-8">
  131. <input id="c-wancheng_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[wancheng_time]" type="text" value="{:date('Y-m-d H:i:s')}">
  132. </div>
  133. </div>
  134. <div class="form-group">
  135. <label class="control-label col-xs-12 col-sm-2">{:__('Eva_info')}:</label>
  136. <div class="col-xs-12 col-sm-8">
  137. <input id="c-eva_info" class="form-control" name="row[eva_info]" type="text" value="">
  138. </div>
  139. </div>
  140. <div class="form-group">
  141. <label class="control-label col-xs-12 col-sm-2">{:__('Eva_time')}:</label>
  142. <div class="col-xs-12 col-sm-8">
  143. <input id="c-eva_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[eva_time]" 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">{:__('Eva_score')}:</label>
  148. <div class="col-xs-12 col-sm-8">
  149. <input id="c-eva_score" class="form-control" name="row[eva_score]" type="number" value="5">
  150. </div>
  151. </div>
  152. <div class="form-group layer-footer">
  153. <label class="control-label col-xs-12 col-sm-2"></label>
  154. <div class="col-xs-12 col-sm-8">
  155. <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
  156. </div>
  157. </div>
  158. </form>