You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

пре 3 година
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868
  1. <!--
  2. 作者:fuhongcheng_fhc@163.com
  3. 时间:2016-09-19
  4. 描述:房型信息
  5. -->
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  10. <meta http-equiv="X-UA-Compatible" content="IE=8">
  11. <meta http-equiv="Expires" content="0">
  12. <meta http-equiv="Pragma" content="no-cache">
  13. <meta http-equiv="Cache-control" content="no-cache">
  14. <meta http-equiv="Cache" content="no-cache">
  15. <title>房态管理</title>
  16. <link rel="stylesheet" type="text/css" href="./css/ace.min.css"/>
  17. <link rel="stylesheet" type="text/css" href="./css/bootstrap/bootstrap.min.css"/>
  18. <link rel="stylesheet" type="text/css" href="./css/bootstrap-timepicker.css"/>
  19. <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css"/>
  20. <link rel="stylesheet" type="text/css" href="./css/daterangepicker.css"/>
  21. <link rel="stylesheet" type="text/css" href="./css/datepicker.css"/>
  22. <link rel="stylesheet" type="text/css" href="./css/master.css">
  23. <link rel="stylesheet" href="css/new_page.css"/>
  24. </head>
  25. <style type="text/css">
  26. .bg_ccc {
  27. background: #ccc !important;
  28. }
  29. .dis {
  30. display: inline-block;
  31. vertical-align: top;
  32. }
  33. .main_style {
  34. width: 500px;
  35. height: 570px;
  36. border: solid 1px #CCCCCC;
  37. margin-top:-270px;
  38. }
  39. .frist_style {
  40. width: 497px;
  41. height: 50px;
  42. background-color: #F2F2F2;
  43. }
  44. .frist_style_chinese {
  45. vertical-align: top;
  46. display: inline-block;
  47. height: 50px;
  48. width: 435px;
  49. line-height: 50px;
  50. font-family: "微软雅黑";
  51. margin-left: 15px;
  52. }
  53. .frist_style_cha {
  54. display: inline-block;
  55. height: 50px;
  56. width: 46px;
  57. }
  58. .frist_style_cha img {
  59. width: 20px;
  60. height: 20px;
  61. margin-top: 15px;
  62. margin-left: 15px;
  63. }
  64. .second_style {
  65. width: 500px;
  66. height: 450px;
  67. }
  68. .second_style_frist {
  69. width: 500px;
  70. height: 30px;
  71. margin-top: 10px;
  72. }
  73. .second_style_main {
  74. width: 105px;
  75. height: 30px;
  76. margin-left: -15px;
  77. text-align: right;
  78. display: inline-block;
  79. line-height: 30px;
  80. vertical-align: top;
  81. }
  82. .second_style_next {
  83. display: inline-block;
  84. width: 80%;
  85. height: 30px;
  86. margin-left: 5px;
  87. line-height: 30px;
  88. }
  89. .save {
  90. display: inline-block;
  91. width: 70px;
  92. height: 30px;
  93. border: 1px solid #ccc;
  94. line-height: 30px;
  95. text-align: center;
  96. margin: 30px 0px 0px 215px;
  97. }
  98. th {
  99. text-align: center;
  100. background-color: lightgrey;
  101. }
  102. td:last-child {
  103. text-align: center;
  104. }
  105. td {
  106. height: 71px;
  107. }
  108. #basetwo {
  109. background-color: #f5f5f5;
  110. }
  111. .bday {
  112. width: 100px;
  113. }
  114. .cday {
  115. width: 125px;
  116. }
  117. .update_input {
  118. display: inline-block;
  119. line-height: 30px;
  120. }
  121. #up_base_room, #up_child_room {
  122. width: 917px;
  123. height: 50px;
  124. line-height: 50px;
  125. border: 1px solid black;
  126. padding-left: 35px;
  127. position: absolute;
  128. left: 445px;
  129. background: white;
  130. }
  131. .search_btn {
  132. width: 80px;
  133. height: 30px;
  134. display: inline-block;
  135. line-height: 30px;
  136. border: 1px solid rgb(204, 204, 204);
  137. text-align: center;
  138. background-color: lightgray;
  139. cursor: pointer;
  140. margin-left: 20px;
  141. }
  142. </style>
  143. <body>
  144. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  145. <div class="navbar-header ">
  146. <a href="#" class="navbar-brand">
  147. <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;">&nbsp;<span
  148. id="version_txt"></span></sub>
  149. </a>
  150. </div>
  151. </div>
  152. <div class="warp clearfix" id="show_html" style="display: none">
  153. <div class="control-bar"></div>
  154. <div class="control-show" style="width: 1243px;float: left;margin-top:40px;margin-left:35px;;">-->
  155. <div class="iframe_box" style="min-width: 1360px">
  156. <div style="padding-bottom: 10px;border-bottom: 1px solid #eee;">
  157. <span style="font-size: 14px;text-align: left;font-weight: bold;">房态管理</span>
  158. <div class="col-sm-1 permission permission-display" style="width: 80px;float: right;">
  159. <span id="channel_room_link" class="btn"
  160. style="font-size: 12px;width: 70px;padding: 3px;background: white!important;color: black!important;border: 1px solid !important;text-shadow: none!important;"
  161. onclick="open_new_path(this)" go_path="">渠道房态</span>
  162. </div>
  163. </div>
  164. <!--row start-->
  165. <div class="row1" style="margin-left: 20px;margin-top: 15px;overflow: hidden;">
  166. <!--酒店-->
  167. <div class="form-group" style="overflow: hidden;">
  168. <label class="control-label no-padding-right" style="font-size: 12px;text-align: right;">酒<span
  169. style="color:white">空空</span>店:</label>
  170. <label style="margin-right: 10px;"></label>
  171. <label id="hotel_name" style="margin-right: 10px;font-size: 12px;"></label>
  172. </div>
  173. <!--开始日期-->
  174. <div class="" style="overflow: hidden;padding-right:6px;margin-bottom: 15px;line-height: 25px;">
  175. <label class="col-sm-1 control-label no-padding-right"
  176. style="font-size: 12px;text-align: right;margin-left:-40px">开始日期:</label>
  177. <label style="margin-right: 10px;"></label>
  178. <div class="col-sm-1" style="width: 150px;">
  179. <input id="Wdate" style="height: 25px;width: 110px;" placeholder="出发日期" class="Wdate"
  180. type="text"
  181. onClick="WdatePicker({onpicked:function(dp) {search();},doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"
  182. oninput="search()">
  183. </div>
  184. <div class="col-sm-1" style="width: 60px;margin-left: -25px">
  185. <span id="today" class="btn" style="font-size: 12px;width: 50px; padding: 3px;">今天</span>
  186. </div>
  187. <div class="col-sm-1" style="width: 60px;">
  188. <span id="before7" class="btn" style="font-size: 12px;width: 50px; padding: 3px;">前7天</span>
  189. </div>
  190. <div class="col-sm-1" style="width: 60px;">
  191. <span id="after7" class="btn" style="font-size: 12px;width: 50px; padding: 3px;">后7天</span>
  192. </div>
  193. <label class="col-sm-1 control-label no-padding-right"
  194. style="font-size: 12px;width: 100px;text-align: right;margin-left: 30px">房型售卖状态:</label>
  195. <select id="sale_status" name="" style="height: 28px;float: left;" onchange="search()">
  196. <option value="-1">全部</option>
  197. <option value="1" selected>上线</option>
  198. <option value="0">下线</option>
  199. </select>
  200. <label style="margin-right: 10px;"></label>
  201. <div class="col-sm-1" style="width: 230px;">
  202. <div class="input-group">
  203. <input id="base_room_type" type="text" class="form-control" placeholder="基础房型名称关键字"
  204. onblur="search()" style="height: 28px">
  205. <span class="input-group-addon" style="height: 26px;cursor:pointer ">查询</span>
  206. </div>
  207. </div>
  208. <div class="col-sm-1 permission permission-display" style="width: 80px;float: right;">
  209. <span id="batchUpRoomBasePrice" class="btn"
  210. style="font-size: 12px;width: 70px;padding: 3px;background: white!important;color: black!important;border: 1px solid !important;text-shadow: none!important;"
  211. onclick="getRoomID(this)">修改采购价</span>
  212. </div>
  213. <div class="col-sm-1 permission permission-display" style="width: 80px;float: right;">
  214. <span id="batchUpRoomSaleStatus" class="btn"
  215. style="font-size: 12px;width: 70px;padding: 3px;background: white!important;color: black!important;border: 1px solid !important;text-shadow: none!important;"
  216. onclick="getRoomStatus(this)">一键开关房</span>
  217. </div>
  218. <div style="width: 90px;float: right;">
  219. <a id="lookLog" onclick="open_new_path(this)" go_path="zz-jd/hotel_log.html" target="_blank"
  220. style="font-size: 12px;width: 70px; padding: 3px;">查看操作日志</a>
  221. </div>
  222. <div style="width: 80px;float: right;">
  223. <a onclick="open_order_detail_path(this)" target="_blank" id="room_order" go_path="" style="font-size: 12px;width: 70px; padding: 3px;">房型排序设置</a>
  224. </div>
  225. </div>
  226. <!--开始日期 end-->
  227. <!--table starttable table-striped table-bordered table-hover-->
  228. <table id="table" style="display: none; min-width: 1300px;" class="table table-bordered table-hover permission">
  229. <thead>
  230. <tr id="table_head" class="tb_title">
  231. <th style="width: 35px;" class="center">
  232. <label>
  233. <input class="ace" onclick="select_checked('0',this)" type="checkbox">
  234. <span class="lbl"></span>
  235. </label>
  236. </th>
  237. <th width="120" style="text-align: left;">房型名称</th>
  238. <th id="f_date1" width="130"></th>
  239. <th id="f_date2" width="130"></th>
  240. <th id="f_date3" width="130"></th>
  241. <th id="f_date4" width="130"></th>
  242. <th id="f_date5" width="130"></th>
  243. <th id="f_date6" width="130"></th>
  244. <th id="f_date7" width="130"></th>
  245. <th width="120">操作</th>
  246. </tr>
  247. </thead>
  248. <tbody id="room_list" style="display: none;">
  249. <tr class="base" id="basetwo" style="cursor: pointer;" base-bed-type="[base-bed-type]" data-room-type="[tr-room-type]">
  250. <td class="center" style="vertical-align: middle;">
  251. <label>
  252. <input class="ace baseace" onclick="select_checked('1',this)" type="checkbox">
  253. <span class="lbl"></span>
  254. </label>
  255. </td>
  256. <td style="vertical-align: middle;font-weight: bold;" data-room-type="[room-type]">[房型名称]
  257. <img src="images/down_arrow.png"/>
  258. </td>
  259. <td class="bday" childIndex="2" data-value="[value1]" data-count="[total-count1]">
  260. [day1]
  261. </td>
  262. <td class="bday" childIndex="3" data-value="[value2]" data-count="[total-count2]">
  263. [day2]
  264. </td>
  265. <td class="bday" childIndex="4" data-value="[value3]" data-count="[total-count3]">
  266. [day3]
  267. </td>
  268. <td class="bday" childIndex="5" data-value="[value4]" data-count="[total-count4]">
  269. [day4]
  270. </td>
  271. <td class="bday" childIndex="6" data-value="[value5]" data-count="[total-count5]">
  272. [day5]
  273. </td>
  274. <td class="bday" childIndex="7" data-value="[value6]" data-count="[total-count6]">
  275. [day6]
  276. </td>
  277. <td class="bday" childIndex="8" data-value="[value7]" data-count="[total-count7]">
  278. [day7]
  279. </td>
  280. <td style="text-align: left;padding-left: 25px;vertical-align: middle;">
  281. <a class="base_add_child permission-display" onclick="addChild(this)"
  282. style="display: inline-block;color: #428bca;cursor: pointer;">新增子房型</a>
  283. <a data-room-name="[update-room-name]" onclick="updateBaseRoomInfo(this)"
  284. class="base_update permission-display"
  285. style="display: inline-block;color: #428bca;cursor: pointer;margin-top: 10px;">管理库存</a></br>
  286. </td>
  287. </tr>
  288. <tr class="child" style="display:table-row;background: white;" data-room-type="[tr-room-type]" bed-type="[bed-type]"
  289. data-parent-room-type="[parent-room-type]" data-room-modify-info="[data-room-modify-info]">
  290. <td class="center" style="vertical-align: middle;">
  291. <label>
  292. <input class="ace childace" onclick="select_checked('2',this)" room-type="[room-type]"
  293. type="checkbox">
  294. <span class="lbl"></span>
  295. </label>
  296. </td>
  297. <td style="vertical-align: middle;">[房型名称]</td>
  298. <td class="cday" style="cursor: pointer;" childIndex="2" data-value="[value1]"
  299. data-count="[total-count1]"
  300. data-close="[close1]">
  301. [cday1]
  302. </td>
  303. <td class="cday" style="cursor: pointer;" childIndex="3" data-value="[value2]"
  304. data-count="[total-count2]"
  305. data-close="[close2]">
  306. [cday2]
  307. </td>
  308. <td class="cday" style="cursor: pointer;" childIndex="4" data-value="[value3]"
  309. data-count="[total-count3]"
  310. data-close="[close3]">
  311. [cday3]
  312. </td>
  313. <td class="cday" style="cursor: pointer;" childIndex="5" data-value="[value4]"
  314. data-count="[total-count4]"
  315. data-close="[close4]">
  316. [cday4]
  317. </td>
  318. <td class="cday" style="cursor: pointer;" childIndex="6" data-value="[value5]"
  319. data-count="[total-count5]"
  320. data-close="[close5]">
  321. [cday5]
  322. </td>
  323. <td class="cday" style="cursor: pointer;" childIndex="7" data-value="[value6]"
  324. data-count="[total-count6]"
  325. data-close="[close6]">
  326. [cday6]
  327. </td>
  328. <td class="cday" style="cursor: pointer;" childIndex="8" data-value="[value7]"
  329. data-count="[total-count7]"
  330. data-close="[close7]">
  331. [cday7]
  332. </td>
  333. <td style="text-align: left;padding-left: 25px;vertical-align: middle;">
  334. <a class="child_update permission-display"
  335. style="display: inline-block;color: #428bca;cursor: pointer;"
  336. onclick="modifyChildRoom(this)">修改</a>
  337. <a class="child_on_off_line permission-display" data-value="[is_onsale]"
  338. style="display: inline-block;color: #428bca;cursor: pointer;">[下线]</a>
  339. <a class="child_cancel permission-display" onclick="CancelChildRoom(this)"
  340. style="display: inline-block;color: #428bca;cursor: pointer;">删除</a>
  341. </br>
  342. <a class="child_sale_rule"
  343. style="display: inline-block;color: #428bca;margin-top: 10px;cursor: pointer;">渠道商房态</a>
  344. </td>
  345. </tr>
  346. </tbody>
  347. </table>
  348. <div class="pageDiv"></div>
  349. <!--修改基础房型的弹出层 one day-->
  350. <div id="up_base_room" style="display: none;z-index: 17;">
  351. <span>库存:</span>
  352. <label style="font-size: 12px">买断房数:</label>
  353. <span style="border: solid 1px #CCCCCC ;width: 95px;font-size: 12px" class="update_input">
  354. <input id="maiduan_count" style="width: 57px;border: 0;" type="text" name=""
  355. value="" maxlength="8">
  356. <span style="color: #999999;">间</span>
  357. </span>
  358. <label style="font-size: 12px">保留房数:</label>
  359. <span style="border: solid 1px #CCCCCC ;width: 95px;" class="update_input">
  360. <input id="baoliu_count" style="width: 57px;border: 0;;font-size: 12px" type="text"
  361. name=""
  362. value="" maxlength="8">
  363. <span style="color: #999999;">间</span>
  364. </span>
  365. <label style="font-size: 12px">现询房数:</label>
  366. <span style="border: solid 1px #CCCCCC ;width: 95px;" class="update_input">
  367. <input id="xianxun_count" style="width: 57px;border: 0;font-size: 12px" type="text"
  368. name=""
  369. value="" maxlength="8">
  370. <span style="color: #999999;">间</span>
  371. </span>
  372. <span id="qudao_baodi"></span>
  373. <span class="save_base"
  374. style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;">保存</span>
  375. <span class="cancel_base"
  376. style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;">取消</span>
  377. </div>
  378. <!--修改基础房型的弹出层 end-->
  379. <!--修改子房型 one day -->
  380. <div id="up_child_room" style="display: none;z-index: 17;">
  381. <span>房态:</span>
  382. <label style="font-size: 13px;line-height: 20px"><input type="radio" name="status" value="1"
  383. checked/>开房</label>
  384. <label style="font-size: 13px;line-height: 20px"><input type="radio" name="status"
  385. value="0"/>关房</label>
  386. <span style="margin-left: 40px">采购价:</span>
  387. <span style="margin-left: 15px">买断</span>
  388. <span style="border: solid 1px #CCCCCC ;" class="update_input">
  389. <input id="child_maiduan_price" style="width: 60px;border: 0;" type="text" name=""
  390. value="" maxlength="8">
  391. <span style="color: #999999;">RMB</span>
  392. </span>
  393. <span>保留</span>
  394. <span style="border: solid 1px #CCCCCC ;" class="update_input">
  395. <input id="child_baoliu_price" style="width: 60px;border: 0;" type="text" name=""
  396. value="" maxlength="8">
  397. <span style="color: #999999;">RMB</span>
  398. </span>
  399. <span>现询</span>
  400. <span style="border: solid 1px #CCCCCC ;" class="update_input">
  401. <input id="child_xianxun_price" style="width: 60px;border: 0;" type="text" name=""
  402. value="" maxlength="8">
  403. <span style="color: #999999;">RMB</span>
  404. </span>
  405. <span class="save_child"
  406. style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;">保存</span>
  407. <span class="cancel_child"
  408. style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;">取消</span>
  409. </div>
  410. <!--修改子房型 end-->
  411. <!--蒙板-->
  412. <div id="mask" style="display: none;position: fixed;left:0;top:0;right:0;bottom:0;opacity: 0;"></div>
  413. <!--box-->
  414. <div class="main_style" style="display: none; margin-top: -285px;">
  415. <!--头部-->
  416. <div class="frist_style">
  417. <span class="frist_style_chinese">新增子房型</span><span class="frist_style_cha"
  418. style="cursor: pointer;"> <img
  419. src="images/chacha.png" onclick="clickMask()"/></span>
  420. </div>
  421. <!--信息-->
  422. <div class="second_style">
  423. <!--1-->
  424. <div style="margin-top: 20px;" class="">
  425. <span class="second_style_main">基础房型 :</span>
  426. <span id="div_room_name" class="second_style_next">湖景大床房</span>
  427. </div>
  428. <!--2-->
  429. <div class="second_style_frist">
  430. <span class="second_style_main">适用日期 :</span>
  431. <div class="dis" style="width: 115px; height:30px; padding-right: 3px;">
  432. <div class="col-sm-1" style="width: 150px;">
  433. <input id="Wdate2" style="height: 25px;width: 110px;" placeholder="开始日期"
  434. class="Wdate" type="text"
  435. onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true,onpicked:function(){Wdate3.click();Wdate3.focus()}})">
  436. </div>
  437. </div>
  438. <span style="margin-top: 5px;display: inline-block;margin-left: 25px;">—</span>
  439. <div class="dis" style="width: 115px; height:30px; padding-right: 3px;">
  440. <div class="col-sm-1" style="width: 150px;">
  441. <input id="Wdate3" style="height: 25px;width: 110px;" placeholder="结束日期"
  442. class="Wdate" type="text"
  443. onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true,minDate:'#F{$dp.$D(\'Wdate2\')}'})">
  444. </div>
  445. </div>
  446. </div>
  447. <!--3-->
  448. <div class="second_style_frist">
  449. <span class="second_style_main">适用星期 :</span>
  450. <span class="second_style_next">
  451. <label><input type="checkbox" checked="checked" name="week"
  452. value="2"/><span> 一 </span></label>
  453. <label><input type="checkbox" checked="checked" name="week"
  454. value="3"/><span> 二 </span></label>
  455. <label><input type="checkbox" checked="checked" name="week"
  456. value="4"/><span> 三 </span></label>
  457. <label><input type="checkbox" checked="checked" name="week"
  458. value="5"/><span> 四 </span></label>
  459. <label><input type="checkbox" checked="checked" name="week"
  460. value="6"/><span> 五 </span></label>
  461. <label><input type="checkbox" checked="checked" name="week"
  462. value="7"/><span> 六 </span></label>
  463. <label><input type="checkbox" checked="checked" name="week"
  464. value="1"/><span> 日 </span></label>
  465. </span>
  466. </div>
  467. <!--5-->
  468. <div class="second_style_frist">
  469. <span class="second_style_main">买断:</span>
  470. <span style="border: solid 1px #CCCCCC ;width: 100px;text-align: right;" class="second_style_next">
  471. <input id="div_maiduan_price"
  472. style="width: 50px;border: 0;text-align: right;" type="text"
  473. name="" value=""/>
  474. <span style="color: #999999;padding-right: 5px;">RMB</span>
  475. </span>
  476. <label>保留:</label>
  477. <span style="border: solid 1px #CCCCCC ;width: 100px;text-align: right;" class="second_style_next">
  478. <input id="div_baoliu_price"
  479. style="width: 50px;border: 0;text-align: right;" type="text"
  480. name="" value=""/>
  481. <span style="color: #999999;padding-right: 5px;">RMB</span>
  482. </span>
  483. <label>现询:</label>
  484. <span style="border: solid 1px #CCCCCC ;width: 100px;text-align: right;" class="second_style_next">
  485. <input id="div_xianxun_price"
  486. style="width: 50px;border: 0;text-align: right;" type="text"
  487. name="" value=""/>
  488. <span style="color: #999999;padding-right: 5px;">RMB</span>
  489. </span>
  490. </div>
  491. <!--6-->
  492. <div class="second_style_frist">
  493. <span class="second_style_main">入住人数 :</span>
  494. <span class="second_style_next">
  495. <select id="checkInCount" onchange="changePeople(this)" style="width: 80px;"
  496. name="">
  497. <option value="999">不限</option>
  498. <option value="1">1</option>
  499. <option value="2">2</option>
  500. <option value="3">3</option>
  501. <option value="4">4</option>
  502. <option value="5">5</option>
  503. <option value="6">6</option>
  504. </select>
  505. </span>
  506. </div>
  507. <!--7-->
  508. <div class="second_style_frist">
  509. <span class="second_style_main">早&nbsp;&nbsp;餐 :</span>
  510. <span class="second_style_next">
  511. <select id="divBreakfast" onchange="changeBreakfast(this)" style="width: 80px;" name="">
  512. <option value="0">无早</option>
  513. <option value="1">单早</option>
  514. <option value="2">双早</option>
  515. <option value="3">三早</option>
  516. <option value="4">四早</option>
  517. <option value="5">五早</option>
  518. <option value="6">六早</option>
  519. <option value="7">七早</option>
  520. <option value="8">八早</option>
  521. <option value="9">九早</option>
  522. <option value="10">十早</option>
  523. </select>
  524. </span>
  525. </div>
  526. <div class="second_style_frist">
  527. <span class="second_style_main">床&nbsp;&nbsp;型 :</span>
  528. <span class="second_style_next">
  529. <select id="bed_type" style="width: 80px;" has-append="false" name="bed_type">
  530. [data-bed-type]
  531. <!--<option value="0">不设置</option>
  532. <option value="1">大床</option>
  533. <option value="2">双床</option>
  534. <option value="10">多床</option>-->
  535. </select>
  536. </span>
  537. </div>
  538. <div class="second_style_frist">
  539. <span class="second_style_main">最晚预订日期 :</span>
  540. <span class="second_style_next">
  541. <select id="lastest_book_day_new" style="width:73px" onchange="changeLastestBook(this)">
  542. </select>
  543. <label>天前的</label>
  544. <select id="lastest_book_date_new" name="" style="width: 50px;">
  545. <option value="01">01</option>
  546. <option value="02">02</option>
  547. <option value="03">03</option>
  548. <option value="04">04</option>
  549. <option value="05">05</option>
  550. <option value="06">06</option>
  551. <option value="07">07</option>
  552. <option value="08">08</option>
  553. <option value="09">09</option>
  554. <option value="10">10</option>
  555. <option value="11">11</option>
  556. <option value="12">12</option>
  557. <option value="13">13</option>
  558. <option value="14">14</option>
  559. <option value="15">15</option>
  560. <option value="16">16</option>
  561. <option value="17">17</option>
  562. <option value="18">18</option>
  563. <option value="19">19</option>
  564. <option value="20">20</option>
  565. <option value="21">21</option>
  566. <option value="22">22</option>
  567. <option value="23">23</option>
  568. <option value="24">24</option>
  569. </select>
  570. <label>:</label>
  571. <select id="lastest_book_time_new" name="" style="width: 50px;">
  572. <option value="00">00</option>
  573. </select>
  574. </span>
  575. </div>
  576. <div class="second_style_frist">
  577. <span class="second_style_main">最晚取消日期 :</span>
  578. <span class="second_style_next">
  579. <select id="lastest_cancel_day_new" style="width:73px">
  580. <option value=-1>不可取消</option>
  581. <option value=0>零</option>
  582. <option value=1>一</option>
  583. <option value=2>二</option>
  584. <option value=3>三</option>
  585. <option value=4>四</option>
  586. <option value=5>五</option>
  587. <option value=6>六</option>
  588. <option value=7>七</option>
  589. </select>
  590. <label>天前的</label>
  591. <select id="lastest_cancel_day_new1" name="" style="width: 50px;">
  592. <option value="01">01</option>
  593. <option value="02">02</option>
  594. <option value="03">03</option>
  595. <option value="04">04</option>
  596. <option value="05">05</option>
  597. <option value="06">06</option>
  598. <option value="07">07</option>
  599. <option value="08">08</option>
  600. <option value="09">09</option>
  601. <option value="10">10</option>
  602. <option value="11">11</option>
  603. <option value="12">12</option>
  604. <option value="13">13</option>
  605. <option value="14">14</option>
  606. <option value="15">15</option>
  607. <option value="16">16</option>
  608. <option value="17">17</option>
  609. <option value="18">18</option>
  610. <option value="19">19</option>
  611. <option value="20">20</option>
  612. <option value="21">21</option>
  613. <option value="22">22</option>
  614. <option value="23">23</option>
  615. <option value="24">24</option>
  616. </select>
  617. <label>:</label>
  618. <select id="lastest_cancel_day_new2" name="" style="width: 50px;">
  619. <option value="00">00</option>
  620. </select>
  621. </span>
  622. </div>
  623. <!--8-->
  624. <div class="second_style_frist">
  625. <span class="second_style_main">子房型名称 :</span>
  626. <span class="second_style_next"><input id="div_child_room_name"
  627. style="border: solid 1px #CCCCCC ;width: 250px;"
  628. type="" name="" id="" value=""/></span>
  629. </div>
  630. <!--8-->
  631. <div class="second_style_frist">
  632. <span class="second_style_main">内部标识 :</span>
  633. <span class="second_style_next"><input id="new_neibu"
  634. style="border: solid 1px #CCCCCC ;width: 250px;"
  635. type="" name="" value=""/></span>
  636. </div>
  637. <!--9-->
  638. <div id="addChildSave" style="cursor: pointer;" class="save btn-primary">保存</div>
  639. </div>
  640. </div>
  641. <!--box end-->
  642. <!--修改子房型-->
  643. <div class="modify_child_room"
  644. style="width: 450px;height: 470px;display:none;border-radius:5px;position: absolute;top:50%;left:50%;margin-left:-300px; margin-top:-150px;background: white">
  645. <div style="width: 450px;height: 300px;border-radius:5px">
  646. <div style="height: 30px;border-bottom: 1px solid lightgrey">
  647. <div style="margin-left: 10px;margin-top: 4px;">
  648. <span style="display: inline-block;text-align: left;vertical-align: middle">修改子房型</span>
  649. <span style="display: inline-block;text-align: left;vertical-align: middle;float: right;cursor: pointer"
  650. onclick="clickMask()"><img
  651. style="width: 20px" src=./images/chacha.png></span>
  652. </div>
  653. </div>
  654. <div style="margin-left: 40px;margin-top: 20px;">
  655. <span style="width: 80px;text-align: right;display: inline-block;">基础房型:</span>
  656. <span class="data-base-room-name" data-base-room-type="">[基础房型]</span>
  657. </div>
  658. <div style="margin-left: 40px;margin-top: 20px;">
  659. <span style="width: 80px;text-align: right;display: inline-block;">入住人数:</span>
  660. <select id="checkin_people" onchange="mdchangePeople(this)">
  661. <option value="999">不限</option>
  662. <option value="1">1</option>
  663. <option value="2">2</option>
  664. <option value="3">3</option>
  665. <option value="4">4</option>
  666. <option value="5">5</option>
  667. <option value="6">6</option>
  668. </select>
  669. </div>
  670. <div style="margin-left: 40px;margin-top: 20px;">
  671. <span style="width: 80px;text-align: right;display: inline-block;">早餐:</span>
  672. <select id="breakfast" onchange="mdchangeBreakfast(this)">
  673. <option value="0">无早</option>
  674. <option value="1">单早</option>
  675. <option value="2">双早</option>
  676. <option value="3">三早</option>
  677. <option value="4">四早</option>
  678. <option value="5">五早</option>
  679. <option value="6">六早</option>
  680. <option value="7">七早</option>
  681. <option value="8">八早</option>
  682. <option value="9">九早</option>
  683. <option value="10">十早</option>
  684. </select>
  685. </div>
  686. <div style="margin-left: 40px;margin-top: 20px;">
  687. <span style="width: 80px;text-align: right;display: inline-block;">床型:</span>
  688. <select id="modify_bed_type" name="modify_bed_type" has-append="false" onchange="">
  689. [modify-data-bed-type]
  690. </select>
  691. </div>
  692. <div style="margin-left: 26px;margin-top: 20px;">
  693. <span style="width: 94px;text-align: right;display: inline-block;">最晚预订日期:</span>
  694. <select id="lastest_book_day" style="width:73px" onchange="mdChangeLastestBook(this)">
  695. </select>
  696. <label>天前的</label>
  697. <select id="lastest_book_date" name="" style="width: 50px;">
  698. <option value="01">01</option>
  699. <option value="02">02</option>
  700. <option value="03">03</option>
  701. <option value="04">04</option>
  702. <option value="05">05</option>
  703. <option value="06">06</option>
  704. <option value="07">07</option>
  705. <option value="08">08</option>
  706. <option value="09">09</option>
  707. <option value="10">10</option>
  708. <option value="11">11</option>
  709. <option value="12">12</option>
  710. <option value="13">13</option>
  711. <option value="14">14</option>
  712. <option value="15">15</option>
  713. <option value="16">16</option>
  714. <option value="17">17</option>
  715. <option value="18">18</option>
  716. <option value="19">19</option>
  717. <option value="20">20</option>
  718. <option value="21">21</option>
  719. <option value="22">22</option>
  720. <option value="23">23</option>
  721. <option value="24">24</option>
  722. </select>
  723. <label>:</label>
  724. <select id="lastest_book_time" name="" style="width: 50px;">
  725. <option value="00">00</option>
  726. </select>
  727. </div>
  728. <div style="margin-left: 26px;margin-top: 20px;">
  729. <span style="width: 94px;text-align: right;display: inline-block;">最晚取消日期:</span>
  730. <select id="lastest_cancel_day" style="width:73px">
  731. <option value=-1>不可取消</option>
  732. <option value=0>零</option>
  733. <option value=1>一</option>
  734. <option value=2>二</option>
  735. <option value=3>三</option>
  736. <option value=4>四</option>
  737. <option value=5>五</option>
  738. <option value=6>六</option>
  739. <option value=7>七</option>
  740. </select>
  741. <label>天前的</label>
  742. <select id="lastest_cancel_day1" name="" style="width: 50px;">
  743. <option value="01">01</option>
  744. <option value="02">02</option>
  745. <option value="03">03</option>
  746. <option value="04">04</option>
  747. <option value="05">05</option>
  748. <option value="06">06</option>
  749. <option value="07">07</option>
  750. <option value="08">08</option>
  751. <option value="09">09</option>
  752. <option value="10">10</option>
  753. <option value="11">11</option>
  754. <option value="12">12</option>
  755. <option value="13">13</option>
  756. <option value="14">14</option>
  757. <option value="15">15</option>
  758. <option value="16">16</option>
  759. <option value="17">17</option>
  760. <option value="18">18</option>
  761. <option value="19">19</option>
  762. <option value="20">20</option>
  763. <option value="21">21</option>
  764. <option value="22">22</option>
  765. <option value="23">23</option>
  766. <option value="24">24</option>
  767. </select>
  768. <label>:</label>
  769. <select id="lastest_cancel_day2" name="" style="width: 50px;">
  770. <option value="00">00</option>
  771. </select>
  772. </div>
  773. <div style="margin-left: 40px;margin-top: 20px;">
  774. <span style="width: 80px;text-align: right;display: inline-block;">子房型名称:</span>
  775. <input class="data-child-room-name" style="width: 220px">
  776. </div>
  777. <div style="margin-left: 40px;margin-top: 20px;">
  778. <span style="width: 80px;text-align: right;display: inline-block;">内部标识:</span>
  779. <input id="modify_neibu" style="width: 220px">
  780. </div>
  781. <div style="margin-top: 10px;">
  782. <div>
  783. <div class="form-group" style="margin-top: 7px;margin-left: 40px;">
  784. <!--<button class="btn btn-primary storage" onclick="commit()">确定</button>-->
  785. <div style="margin-left: 228px" class="search_btn btn-primary"
  786. onclick="commit()">
  787. 确定
  788. </div>
  789. <!--<button class="btn btn-primary storage" onclick="clickMask()" value="" style="margin-left: 40px;">关闭-->
  790. <!--</button>-->
  791. </div>
  792. </div>
  793. </div>
  794. </div>
  795. </div>
  796. <!--修改子房型 end-->
  797. </div>
  798. <!--row end-->
  799. </div>
  800. <!--page-content end-->
  801. <!--</div>
  802. </div>-->
  803. <input type="hidden" id="refreshed" value="no">
  804. <script>
  805. onload = function () {
  806. var e = document.getElementById("refreshed");
  807. if (e.value == "no") e.value = "yes";
  808. else {
  809. e.value = "no";
  810. location.reload();
  811. }
  812. var option = '';
  813. for(var i=0; i<=30; i++)
  814. {
  815. option += '<option value="'+ i +'">'+i+'</option>';
  816. }
  817. $('#lastest_book_day_new').append(option);
  818. $('#lastest_book_day').append(option);
  819. }
  820. </script>
  821. </body>
  822. <script type="text/javascript" src="js/htCommon.js"></script>
  823. <script type="text/javascript" src="js/room_info.js?version=1.4.0"></script>
  824. <script src="../js/base_path.js" type="text/javascript" charset="utf-8"></script>
  825. <script type="text/javascript" src="js/table_flow.js?version=1.2.8"></script>
  826. <!--<script type="text/javascript" src="js/xm.js"></script>
  827. <script src="js/master.js" type="text/javascript" charset="utf-8"></script>
  828. <script>
  829. login();
  830. </script>-->
  831. </html>