add.html 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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">{:__('Local_code')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-local_code" class="form-control" name="row[local_code]" type="text">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('对应上游编码')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-api_goods_id" class="form-control" name="row[api_goods_id]" type="text" value="">
  12. </div>
  13. </div>
  14. <!-- <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('Line_code')}:</label>
  16. <div class="col-xs-12 col-sm-8">
  17. <input id="c-line_code" class="form-control" name="row[line_code]" type="text">
  18. </div>
  19. </div> -->
  20. <div class="form-group">
  21. <label class="control-label col-xs-12 col-sm-2">{:__('选号服务类型')}:</label>
  22. <div class="col-xs-12 col-sm-8">
  23. <select id="c-num_select_type" data-rule="" class="form-control selectpicker" name="row[num_select_type]">
  24. {foreach name="numSelectType" item="vo"}
  25. <option value="{$key}">{$vo}</option>
  26. {/foreach}
  27. </select>
  28. </div>
  29. </div>
  30. <div class="form-group">
  31. <label class="control-label col-xs-12 col-sm-2">{:__('选择号码归属地')}:</label>
  32. <div class="col-xs-12 col-sm-8">
  33. <select id="c-home_location_type" data-rule="" class="form-control selectpicker" name="row[home_location_type]">
  34. {foreach name="homeLocationType" item="vo"}
  35. <option value="{$key}">{$vo}</option>
  36. {/foreach}
  37. </select>
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('号码归属地省份编码')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-home_location_province" class="form-control" name="row[home_location_province]" type="text">
  44. </div>
  45. </div>
  46. <div class="form-group">
  47. <label class="control-label col-xs-12 col-sm-2">{:__('号码归属地城市编码')}:</label>
  48. <div class="col-xs-12 col-sm-8">
  49. <input id="c-home_location_city" class="form-control" name="row[home_location_city]" type="text">
  50. </div>
  51. </div>
  52. <div class="form-group">
  53. <label class="control-label col-xs-12 col-sm-2">{:__('后缀')}:</label>
  54. <div class="col-xs-12 col-sm-8">
  55. <input id="c-suffix" class="form-control" name="row[suffix]" type="text">
  56. </div>
  57. </div>
  58. <div class="form-group">
  59. <label class="control-label col-xs-12 col-sm-2">{:__('Contact_code')}:</label>
  60. <div class="col-xs-12 col-sm-8">
  61. <input id="c-contact_code" class="form-control" name="row[contact_code]" type="text">
  62. </div>
  63. </div>
  64. <div class="form-group">
  65. <label class="control-label col-xs-12 col-sm-2">{:__('发展人编码')}:</label>
  66. <div class="col-xs-12 col-sm-8">
  67. <input id="c-developing_no" class="form-control" name="row[developing_no]" type="text">
  68. </div>
  69. </div>
  70. <div class="form-group">
  71. <label class="control-label col-xs-12 col-sm-2">{:__('合约ID')}:</label>
  72. <div class="col-xs-12 col-sm-8">
  73. <input id="c-contract_id" class="form-control" name="row[contract_id]" type="text">
  74. </div>
  75. </div>
  76. <div class="form-group">
  77. <label class="control-label col-xs-12 col-sm-2">{:__('Link')}:</label>
  78. <div class="col-xs-12 col-sm-8">
  79. <input id="c-link" class="form-control" name="row[link]" type="text">
  80. </div>
  81. </div>
  82. <div class="form-group">
  83. <label class="control-label col-xs-12 col-sm-2">{:__('Images')}:</label>
  84. <div class="col-xs-12 col-sm-8">
  85. <div class="input-group">
  86. <input id="c-images" class="form-control" size="50" name="row[images]" type="text">
  87. <div class="input-group-addon no-border no-padding">
  88. <span><button type="button" id="faupload-images" class="btn btn-danger faupload" data-input-id="c-images" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-images"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
  89. <span><button type="button" id="fachoose-images" class="btn btn-primary fachoose" data-input-id="c-images" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
  90. </div>
  91. <span class="msg-box n-right" for="c-images"></span>
  92. </div>
  93. <ul class="row list-inline faupload-preview" id="p-images"></ul>
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="control-label col-xs-12 col-sm-2">{:__('运营商')}:</label>
  98. <div class="col-xs-12 col-sm-8">
  99. <select id="c-operator" data-rule="" class="form-control selectpicker" name="row[operator]">
  100. {foreach name="operatorData" item="vo"}
  101. <option value="{$key}">{$vo}</option>
  102. {/foreach}
  103. </select>
  104. </div>
  105. </div>
  106. <!-- <div class="form-group">
  107. <label class="control-label col-xs-12 col-sm-2">{:__('Developing_phone')}:</label>
  108. <div class="col-xs-12 col-sm-8">
  109. <input id="c-developing_phone" class="form-control" name="row[developing_phone]" type="text">
  110. </div>
  111. </div>
  112. <div class="form-group">
  113. <label class="control-label col-xs-12 col-sm-2">{:__('Developing_num')}:</label>
  114. <div class="col-xs-12 col-sm-8">
  115. <input id="c-developing_num" class="form-control" name="row[developing_num]" type="text">
  116. </div>
  117. </div>
  118. <div class="form-group">
  119. <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
  120. <div class="col-xs-12 col-sm-8">
  121. <input id="c-name" class="form-control" name="row[name]" type="text">
  122. </div>
  123. </div> -->
  124. <!-- <div class="form-group">
  125. <label class="control-label col-xs-12 col-sm-2">{:__('Scene_code')}:</label>
  126. <div class="col-xs-12 col-sm-8">
  127. <input id="c-scene_code" class="form-control" name="row[scene_code]" type="text">
  128. </div>
  129. </div> -->
  130. <!-- <div class="form-group">
  131. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  132. <div class="col-xs-12 col-sm-8">
  133. <input id="c-status" class="form-control" name="row[status]" type="number">
  134. </div>
  135. </div>
  136. <div class="form-group">
  137. <label class="control-label col-xs-12 col-sm-2">{:__('Receiving_method')}:</label>
  138. <div class="col-xs-12 col-sm-8">
  139. <input id="c-receiving_method" class="form-control" name="row[receiving_method]" type="text">
  140. </div>
  141. </div> -->
  142. <!-- <div class="form-group">
  143. <label class="control-label col-xs-12 col-sm-2">{:__('Api_goods_id')}:</label>
  144. <div class="col-xs-12 col-sm-8">
  145. <input id="c-api_goods_id" class="form-control" name="row[api_goods_id]" type="text" value="">
  146. </div>
  147. </div> -->
  148. <div class="form-group">
  149. <label class="control-label col-xs-12 col-sm-2">{:__('Message_channel_code')}:</label>
  150. <div class="col-xs-12 col-sm-8">
  151. <input id="c-message_channel_code" class="form-control" name="row[message_channel_code]" type="text">
  152. </div>
  153. </div>
  154. <div class="form-group layer-footer">
  155. <label class="control-label col-xs-12 col-sm-2"></label>
  156. <div class="col-xs-12 col-sm-8">
  157. <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
  158. <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
  159. </div>
  160. </div>
  161. </form>