Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

263 řádky
12 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>修改房价房态</title>
  6. <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
  7. <meta HTTP-EQUIV="expires" CONTENT="0">
  8. <link rel="stylesheet" href="http://img.zhizhuchuxing.cn/zzframe/dist/css/bootstrap.min.css"/>
  9. <link rel="stylesheet" href="http://img.zhizhuchuxing.cn/zzframe/dists/css/module.css"/>
  10. <link rel="stylesheet" href="http://img.zhizhuchuxing.cn/zzframe/dists/css/xcConfirm.css"/>
  11. <style>
  12. .date {
  13. width: 130px;
  14. }
  15. .form-group {
  16. margin-bottom: 0;
  17. }
  18. .cursor {
  19. cursor: pointer !important;
  20. }
  21. .no_display {
  22. display: none;
  23. }
  24. .input-width-mid {
  25. width: 60px !important;
  26. }
  27. @media screen and (max-width: 968px) {
  28. .date-td {
  29. width: 188px;
  30. }
  31. }
  32. .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline {
  33. margin-left: 3px;
  34. }
  35. input[type="checkbox"] {
  36. left: -12px;
  37. margin-left: 12px;
  38. }
  39. .weight{
  40. font-weight: 600;
  41. }
  42. </style>
  43. </head>
  44. <body>
  45. <div style="padding: 30px">
  46. <div>
  47. <div>
  48. <h3><label>修改房价房态</label></h3>
  49. </div>
  50. <div style="padding: 5px;">
  51. <label>酒店名称:&nbsp;</label>
  52. <label id="hotel_name" hotel_id=""></label>
  53. </div>
  54. <div style="padding: 5px;">
  55. <label>渠道名称:&nbsp;</label>
  56. <label id="channel_name" channel_id=""></label>
  57. </div>
  58. </div>
  59. <div style="padding: 5px;">
  60. <p><label>变价方式:</label><input type="radio" name="change_price" checked
  61. style="vertical-align:text-bottom;margin-bottom:1px;" onclick="setPrice()" value="1"><span> 直接设价</span>
  62. &emsp;&emsp;&emsp;&emsp;<input type="radio" name="change_price" id="change_price_by_percent"
  63. style="vertical-align:text-bottom;margin-bottom:1px;"
  64. onclick="msultipleUpdateRoomPrice()" value="2"> 按幅度/比例设价</p>
  65. </div>
  66. <div class="table-responsive">
  67. <table class="table table-striped">
  68. <thead>
  69. <tr>
  70. <th style="max-width: 160px">子房型</th>
  71. <th class="date-td">日期范围</th>
  72. <th>适用星期</th>
  73. <th><label class="hidden action-price">价格</label><label class="hidden action-info">房态</label></th>
  74. </tr>
  75. </thead>
  76. <tbody id="main_body">
  77. <tr id="batch_modify" style="background: rgba(117, 115, 115, 0.26);">
  78. <td>批量修改</td>
  79. <td>
  80. <div class="form-inline">
  81. <span style="display: inline-block">
  82. <div class="input-group date form_date">
  83. <input class="form-control start_date_all" size="16" type="text" value="2017-02-23" readonly>
  84. <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
  85. </div>
  86. </span>
  87. <span>-</span>
  88. <span style="display: inline-block">
  89. <div class="input-group date form_date">
  90. <input class="form-control end_date_all" size="16" type="text" value="2017-02-23" readonly>
  91. <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
  92. </div>
  93. </span>
  94. </div>
  95. </td>
  96. <td>
  97. <label class="checkbox-inline">
  98. <input type="checkbox" value="-1" class="li_row_all"> 全部
  99. </label>
  100. <label class="checkbox-inline">
  101. <input type="checkbox" value="1" class="li_all"> 一
  102. </label>
  103. <label class="checkbox-inline">
  104. <input type="checkbox" value="2" class="li_all"> 二
  105. </label>
  106. <label class="checkbox-inline">
  107. <input type="checkbox" value="3" class="li_all"> 三
  108. </label>
  109. <label class="checkbox-inline">
  110. <input type="checkbox" value="4" class="li_all"> 四
  111. </label>
  112. <label class="checkbox-inline">
  113. <input type="checkbox" value="5" class="li_all"> 五
  114. </label>
  115. <label class="checkbox-inline">
  116. <input type="checkbox" value="6" class="li_all"> 六
  117. </label>
  118. <label class="checkbox-inline">
  119. <input type="checkbox" value="0" class="li_all"> 日
  120. </label>
  121. </td>
  122. <td>
  123. <div class="form-group hidden action-price" id="patch-price">
  124. <div class="input-group">
  125. <input class="form-control distrib distrib_all" id="distrib_all"
  126. placeholder="分销价">
  127. <div class="input-group-addon">元</div>
  128. </div>
  129. </div>
  130. <div class="form-group hidden action-info" id="patch-info">
  131. <div class="form-inline">
  132. <select title="请选择" class="form-control" id="patch_select">
  133. <option value="326">固定数量</option>
  134. <option value="329">关房</option>
  135. </select>
  136. <div class="form-group">
  137. <div class="input-group">
  138. <input class="form-control input-width-mid" id="distrib_info_all" type="text"
  139. placeholder="数量">
  140. <div class="input-group-addon">间</div>
  141. </div>
  142. </div>
  143. <span class="">超卖:</span>
  144. <label class="radio-inline">
  145. <input type="radio" name="overSale" value="1" checked> 开
  146. </label>
  147. <label class="radio-inline">
  148. <input type="radio" name="overSale" value="0"> 关
  149. </label>
  150. </div>
  151. </div>
  152. </td>
  153. </tr>
  154. <tr class="copy_tr_tmp copy_tr_[room_id] no_display">
  155. <td data-base-room-id="[data-base-room-id]" data-room-id="[data-room-id]">[子房型名称]</td>
  156. <td>
  157. <div class="form-inline">
  158. <span style="display: inline-block">
  159. <div class="input-group date form_date">
  160. <input class="form-control start_date" size="16" type="text" value="[start_date]" readonly>
  161. <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
  162. </div>
  163. </span>
  164. <span>-</span>
  165. <span style="display: inline-block">
  166. <div class="input-group date form_date">
  167. <input class="form-control end_date" size="16" type="text" value="[end_date]" readonly>
  168. <span class="input-group-addon"><span class="glyphicon glyphicon-calendar"></span></span>
  169. </div>
  170. </span>
  171. <span class="glyphicon glyphicon-plus add cursor" onclick="create_tr(this)"></span>
  172. </div>
  173. </td>
  174. <td>
  175. <label class="checkbox-inline">
  176. <input type="checkbox" value="-1" class="raw_all" checked> 全部
  177. </label>
  178. <label class="checkbox-inline">
  179. <input type="checkbox" value="1" class="child_cb" checked> 一
  180. </label>
  181. <label class="checkbox-inline">
  182. <input type="checkbox" value="2" class="child_cb" checked> 二
  183. </label>
  184. <label class="checkbox-inline">
  185. <input type="checkbox" value="3" class="child_cb" checked> 三
  186. </label>
  187. <label class="checkbox-inline">
  188. <input type="checkbox" value="4" class="child_cb" checked> 四
  189. </label>
  190. <label class="checkbox-inline">
  191. <input type="checkbox" value="5" class="child_cb" checked> 五
  192. </label>
  193. <label class="checkbox-inline">
  194. <input type="checkbox" value="6" class="child_cb" checked> 六
  195. </label>
  196. <label class="checkbox-inline">
  197. <input type="checkbox" value="0" class="child_cb" checked> 日
  198. </label>
  199. </td>
  200. <td>
  201. <div class="form-group hidden action-price" id="div-price">
  202. <div class="input-group">
  203. <input class="form-control distrib_one" placeholder="分销价">
  204. <div class="input-group-addon">元</div>
  205. </div>
  206. </div>
  207. <div class="form-group hidden action-info" id="div-info">
  208. <div class="form-inline">
  209. <select title="请选择" class="form-control one-run_status">
  210. <option value="326">固定数量</option>
  211. <option value="329">关房</option>
  212. </select>
  213. <div class="form-group">
  214. <div class="input-group">
  215. <input class="form-control input-width-mid sale-count" type="text"
  216. onkeyup="this.value=this.value.replace(/[^0-9]/g,'')"
  217. onafterpaste="this.value=this.value.replace(/[^0-9]/g,'')">
  218. <div class="input-group-addon">间</div>
  219. </div>
  220. </div>
  221. <span class="">超卖:</span>
  222. <label class="radio-inline">
  223. <input type="radio" name="overSale[0][0][0]" class="over-sell" value="1" checked> 开
  224. </label>
  225. <label class="radio-inline">
  226. <input type="radio" name="overSale[0][0][0]" class="over-sell" value="0"> 关
  227. </label>
  228. </div>
  229. </div>
  230. </td>
  231. </tr>
  232. </tbody>
  233. </table>
  234. </div>
  235. <div style="margin-top: 30px;margin-left: 150px">
  236. <button type="button" class="btn btn-primary btn-default submit">保存</button>
  237. <button type="button" class="btn btn-default" onclick="window.top.close()">取消</button>
  238. </div>
  239. </div>
  240. </body>
  241. <script src="js/jquery-2.2.4.min.js" type="text/javascript" charset="UTF-8"></script>
  242. <script src="http://img.zhizhuchuxing.cn/zzframe/dists/js/module.js" type="text/javascript" charset="utf-8"></script>
  243. <script src="http://img.zhizhuchuxing.cn/zzframe/dist/js/bootstrap.min.js" type="text/javascript"
  244. charset="utf-8"></script>
  245. <script src="http://img.zhizhuchuxing.cn/zzframe/dists/js/xcConfirm.js" type="text/javascript" charset="utf-8"></script>
  246. <script src="js/common/common.js?v=0.0.2" type="text/javascript" charset="utf-8"></script>
  247. <script src="../js/base_path.js?v=0.0.2" type="text/javascript" charset="utf-8"></script>
  248. <script src="js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
  249. <script src="js/distrib_change_price.js?v=1.14" type="text/javascript" charset="utf-8"></script>
  250. </html>