Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

259 linhas
10 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>添加产品</title>
  6. <!--/模板/-->
  7. <link rel="stylesheet" href="css/master.css" charset="UTF-8">
  8. <link rel="stylesheet" href="css/ace.min.css" />
  9. <link rel="stylesheet" href="css/bootstrap.min.css" />
  10. <link rel="stylesheet" href="css/font-awesome.min.css" charset="UTF-8">
  11. <link rel="stylesheet" href="css/font-awesome.min.css" charset="UTF-8">
  12. <script src="js/jquery-2.2.4.min.js" type="text/javascript" charset="utf-8"></script>
  13. <script src="js/jquery.cookie.js"></script>
  14. <script src="js/base_path.js" type="text/javascript" charset="utf-8"></script>
  15. <!--<script src="js/xm.js"></script>
  16. <script>
  17. login();
  18. </script>-->
  19. <style type="text/css">
  20. body {
  21. font-family: 'Open Sans';
  22. font-size: 13px;
  23. line-height: 1.5;
  24. }
  25. .navbar {
  26. margin-left: 0;
  27. margin-right: 0;
  28. box-shadow: none;
  29. margin: 0;
  30. padding-left: 0;
  31. padding-right: 0;
  32. background: #438eb9;
  33. width: 100%;
  34. }
  35. .navbar-default .navbar-brand {
  36. color: white;
  37. }
  38. </style>
  39. </head>
  40. <body>
  41. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  42. <div class="navbar-header ">
  43. <a href="#" class="navbar-brand">
  44. <i class="icon-leaf"></i>
  45. CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  46. </a>
  47. </div>
  48. </div>-->
  49. <!--
  50. 作者:fuhongcheng_fhc@163.com
  51. 时间:2016-08-15
  52. 描述:今日起---开始修改酒店部分
  53. -->
  54. <!--<div id="show_html" style="display:none;" class="warp clearfix">
  55. <div class="control-bar"></div>
  56. <div class="control-show">-->
  57. <div id="">
  58. <form name="formname" method="post">
  59. <input type="hidden" value="add" name="method"/>
  60. <div style="margin-left: 30px; margin-top:30px; width: 1200px;">
  61. <!--添加产品-->
  62. <div style="font-weight:bold;" >添加产品</div>
  63. <hr style="width: 1200px;margin-top: 20px;border-top:1px dashed lightgray" />
  64. <!--基本信息-->
  65. <div id="baseInfo" style="margin-top: 5px; width: 100px;height: 35px; display: inline-block;line-height: 35px;border:1px solid rgb(204,204,204); background-color: rgb(242,242,242); text-align: center;">基本信息</div>
  66. <div style="margin-left: 40px; margin-top: 20px;" id="hotelBasicInfo">
  67. <div class="tabbable">
  68. <div class="profile-user-info profile-user-info-striped" style="margin-top: 20px;">
  69. <!--酒店-->
  70. <div class="profile-info-row">
  71. <div class="profile-info-name"><span style="letter-spacing:30px;">酒</span>店:</div>
  72. <div class="profile-info-value">
  73. <div id="change" style="float: left;">
  74. <input name="hotel_test" type="text" id="hotelnameinput" oninput="hotelname_change(this.value)"style="width: 250px;font-size: 13px;" placeholder="填写名称从下拉框中选择"/>
  75. <input name="hotel_testa" type="hidden" id="hotelnameinputa" oninput="hotelname_change(this.value)"style="width: 250px;" placeholder="填写名称从下拉框中选择"/>
  76. </div>
  77. <div style="float: left; margin-left:10px;margin-top:3px;" id="hoteladdress">
  78. </div>
  79. <div style="clear: both;">
  80. </div>
  81. <div id="hotel_name_search" style="width:250px; border:1px solid #ccc; border-top:none; height:115px; overflow-y:scroll; position:absolute; z-index:10; background:#fff; display:none;" >
  82. </div>
  83. <!--<input type="text" oninput="hotelname_change(this.value)" id="hotel_name_search" style="width: 250px;" placeholder="填写名称从下拉框中选择"/>&nbsp;&nbsp;&nbsp;&nbsp;地址:[地址]-->
  84. </div>
  85. </div>
  86. <!--产品-->
  87. <div class="profile-info-row">
  88. <div class="profile-info-name"><span style="letter-spacing:30px;">产</span>品:</div>
  89. <div class="profile-info-value">
  90. <div id="getTime">
  91. <span>
  92. <select name="product_test" id="selectValue" style="margin-right: 10px;width:150px;">
  93. <option id="option" value="[value]">请选择</option>
  94. </select>
  95. </span>
  96. <span id="addBtn" onclick='addOneLine()' style="width: 80px;height: 30px; display: inline-block;line-height: 30px;border:1px solid rgb(204,204,204); text-align: center;background-color: lightgray;cursor:pointer;">+添加</span>
  97. </div>
  98. <div class="row" style="margin-top: 20px;">
  99. <div class="col-xs-12">
  100. <div class="table-responsive">
  101. <input type="hidden" name="textcount" id="textcount" value="" />
  102. <table id="sample-table-1" class="table table-striped table-bordered table-hover">
  103. <thead>
  104. <tr>
  105. <th width="140px">产品名称</th>
  106. <th width="100px">房型</th>
  107. <th width="120px">床型</th>
  108. <th width="120px">早餐</th>
  109. <th width="120px">加床</th>
  110. <th width="120px">操作</th>
  111. </tr>
  112. </thead>
  113. <tbody id="productInfo">
  114. <tr id="tr_one" style="display: none;">
  115. <td><input type="text" name="[productName]" id="[productName]" value="[txtValue]" style="font-size: 13px;"/></td>
  116. <td >aaa
  117. <input type="hidden" name="[select_hotelType]" id="[select_hotelType]" value="[bbb]"/>
  118. </td>
  119. <td>
  120. <select name="[select_bed]" id="[select_bed]" style="margin-right: 10px;width:150px;">
  121. <option value="202">大床</option>
  122. <option value="203">双床</option>
  123. <option value="204">三床</option>
  124. <option value="205">四床</option>
  125. </select>
  126. </td>
  127. <td>
  128. <select name="[select_breakfast]" id="[select_breakfast]" style="margin-right: 10px;width:150px;">
  129. <option value="206">无早</option>
  130. <option value="207">单早</option>
  131. <option value="208">双早</option>
  132. <option value="209">三早</option>
  133. <option value="210">四早</option>
  134. </select>
  135. </td>
  136. <td>
  137. <select name="[ifsup]" id="[ifsup]" style="margin-right: 10px;width:150px;">
  138. <option value="0">不允许</option>
  139. <option value="1">允许</option>
  140. </select>
  141. </td>
  142. <td name="[del]" id="[del]">删除</td>
  143. </tr>
  144. </tbody>
  145. </table>
  146. </div>
  147. <!-- /.table-responsive -->
  148. </div>
  149. <!-- /span -->
  150. </div>
  151. <!--row end-->
  152. </div>
  153. </div>
  154. <!--供应商-->
  155. <div class="profile-info-row">
  156. <div class="profile-info-name"><span style="letter-spacing:9px;">供应</span>商:</div>
  157. <div class="profile-info-value">
  158. <input name="supplier_test" type="text" id="suppliernameinput" oninput="suppliername_change(this.value)"style="width: 250px;font-size: 13px;background-color:white;" placeholder="填写名称从下拉框中选择" />
  159. <input name="supplier_test_id" type="hidden" id="suppliernameinput_t" value="1" />
  160. </div>
  161. <div id="supplier" style="margin-left: 132px; margin-top:-6px; width:250px; border:1px solid #ccc; border-top:none; height:115px; overflow-y:scroll; position:absolute; z-index:10; background:#fff; display:none;">
  162. </div>
  163. </div>
  164. <!--上架-->
  165. <div class="profile-info-row">
  166. <div class="profile-info-name"><span style="letter-spacing:30px;">上</span>架:</div>
  167. <div class="profile-info-value">
  168. <div id="selectCount">
  169. <!--选中为1 未选中为0-->
  170. <input name="checkbox_test" id="check_box_sale" type = "checkbox" value = "1"/>
  171. </div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. <!--tabbable end-->
  177. </div>
  178. <!--预订设置-->
  179. <div id="setInfo" style="margin-top: 40px; width: 100px;height: 35px; display: inline-block;line-height: 35px;border:1px solid rgb(204,204,204); background-color: rgb(242,242,242); text-align: center;">预订设置</div>
  180. <div style="margin-left: 40px; margin-top: 20px;" id="hotelBasicInfo">
  181. <div class="tabbable">
  182. <div class="profile-user-info profile-user-info-striped" style="margin-top: 20px;">
  183. <!--酒店-->
  184. <div class="profile-info-row">
  185. <div class="profile-info-name">支付方式:</div>
  186. <div class="profile-info-value">
  187. <input style="padding-left: 30px;" type="radio" name="readyPay" checked="checked" value="190"> 预付
  188. <span style="margin-left:20px;">支付时限:</span>
  189. <input name="payTime" id="paytime" type="text" value="1440" style="width: 60px;font-size: 13px;" onkeyup="this.value=this.value.replace(/\D/g,'')" onafterpaste="this.value=this.value.replace(/\D/g,'')">分钟
  190. <!--<input name="payTime" id="paytime" type="text" style="width: 60px;" value="1400"> 分钟-->
  191. </div>
  192. </div>
  193. <!--供应商-->
  194. <div class="profile-info-row">
  195. <div class="profile-info-name">确认方式:</div>
  196. <div class="profile-info-value">
  197. <input type="radio" name="affirmStyle" checked="checked" value="193"/>人工确认
  198. <input style="margin-left: 30px;" type="radio" name="affirmStyle" value="194"/>自动确认
  199. </div>
  200. </div>
  201. <!--上架-->
  202. <div class="profile-info-row">
  203. <div class="profile-info-name">超卖方式:</div>
  204. <div class="profile-info-value">
  205. <input type="radio" name="overSale" id="overSale" value="196"/>允许
  206. <input style="margin-left: 57px;" type="radio" id="overSale" name="overSale" checked="checked" value="197"/>不允许
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </div>
  212. <div style="width: 1200px;height: 1px;border: 2px solid lightgray; margin-top: 50px;"></div>
  213. <div id="saveBtn" onclick="save_all_info()" style="margin-top: 30px; width: 80px;height: 30px; display: inline-block;line-height: 30px;border:1px solid rgb(204,204,204); text-align: center;background-color: lightgray;cursor:pointer;">保存</div>
  214. <!-- <input type="submit" value="保存" />-->
  215. </div>
  216. </form>
  217. </div>
  218. <!--</div>-->
  219. </body>
  220. <!--<script src="js/master.js"></script> -->
  221. <script src="js/add_hotel.js" type="text/javascript" charset="utf-8"></script>
  222. </html>