|
- <!--
- 作者:fuhongcheng_fhc@163.com
- 时间:2016-09-19
- 描述:房型信息
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
- <meta HTTP-EQUIV="expires" CONTENT="0">
- <title>房态管理</title>
- <link rel="stylesheet" type="text/css" href="./css/ace.min.css"/>
- <link rel="stylesheet" type="text/css" href="./css/bootstrap/bootstrap.min.css"/>
- <link rel="stylesheet" type="text/css" href="./css/bootstrap-timepicker.css"/>
- <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css"/>
- <link rel="stylesheet" type="text/css" href="./css/daterangepicker.css"/>
- <link rel="stylesheet" type="text/css" href="./css/datepicker.css"/>
- <link rel="stylesheet" type="text/css" href="./css/master.css">
- <link rel="stylesheet" href="css/new_page.css"/>
- </head>
- <style type="text/css">
- .bg_ccc {
- background: #ccc !important;
- }
-
- .dis {
- display: inline-block;
- vertical-align: top;
- }
-
- .main_style {
- width: 500px;
- height: 500px;
- border: solid 1px #CCCCCC;
- }
-
- .frist_style {
- width: 497px;
- height: 50px;
- background-color: #F2F2F2;
- }
-
- .frist_style_chinese {
- vertical-align: top;
- display: inline-block;
- height: 50px;
- width: 435px;
- line-height: 50px;
- font-family: "微软雅黑";
- margin-left: 15px;
- }
-
- .frist_style_cha {
- display: inline-block;
- height: 50px;
- width: 46px;
- }
-
- .frist_style_cha img {
- width: 20px;
- height: 20px;
- margin-top: 15px;
- margin-left: 15px;
- }
-
- .second_style {
- width: 500px;
- height: 450px;
- }
-
- .second_style_frist {
- width: 500px;
- height: 30px;
- margin-top: 10px;
- }
-
- .second_style_main {
- width: 100px;
- height: 30px;
- margin-left: -15px;
- text-align: right;
- display: inline-block;
- line-height: 30px;
- vertical-align: top;
- }
-
- .second_style_next {
- display: inline-block;
- width: 80%;
- height: 30px;
- margin-left: 5px;
- line-height: 30px;
- }
-
- .save {
- display: inline-block;
- width: 70px;
- height: 30px;
- border: 1px solid #ccc;
- line-height: 30px;
- text-align: center;
- margin: 60px 0px 0px 215px;
- }
-
- th {
- text-align: center;
- background-color: lightgrey;
- }
-
- td:last-child {
- text-align: center;
- }
-
- td {
- height: 71px;
- }
-
- #basetwo {
- background-color: #f5f5f5;
- }
-
- .bday {
- width: 100px;
- }
-
- .cday {
- width: 125px;
- }
-
- .update_input {
- display: inline-block;
- line-height: 30px;
- }
-
- #up_base_room, #up_child_room {
- width: 917px;
- height: 50px;
- line-height: 50px;
- border: 1px solid black;
- padding-left: 35px;
- position: absolute;
- left: 445px;
- background: white;
- }
-
- .search_btn {
- 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;
- margin-left: 20px;
- }
- </style>
- <body>
- <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
- <div class="navbar-header ">
- <a href="#" class="navbar-brand">
- <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;"> <span
- id="version_txt"></span></sub>
- </a>
- </div>
- </div>
- <div class="warp clearfix" id="show_html" style="display: none">
- <div class="control-bar"></div>
- <div class="control-show" style="width: 1243px;float: left;margin-top:40px;margin-left:35px;;">-->
- <div class="iframe_box">
- <div style="padding-bottom: 10px;border-bottom: 1px solid #eee;">
- <span style="font-size: 14px;text-align: left;font-weight: bold;">房态管理</span>
- </div>
- <!--row start-->
- <div class="row1" style="margin-left: 20px;margin-top: 15px;overflow: hidden;">
- <!--酒店-->
- <div class="form-group" style="overflow: hidden;">
- <label class="control-label no-padding-right" style="font-size: 12px;text-align: right;">酒<span
- style="color:white">空空</span>店:</label>
- <label style="margin-right: 10px;"></label>
- <label id="hotel_name" style="margin-right: 10px;font-size: 12px;"></label>
- </div>
- <!--开始日期-->
- <div class="" style="overflow: hidden;padding-right:6px;margin-bottom: 15px;line-height: 25px;">
- <label class="col-sm-1 control-label no-padding-right"
- style="font-size: 12px;text-align: right;margin-left:-40px">开始日期:</label>
- <label style="margin-right: 10px;"></label>
- <div class="col-sm-1" style="width: 150px;">
- <input id="Wdate" style="height: 25px;width: 110px;" placeholder="出发日期" class="Wdate"
- type="text"
- onClick="WdatePicker({onpicked:function(dp) {search();},doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"
- oninput="search()">
- </div>
- <div class="col-sm-1" style="width: 60px;margin-left: -25px">
- <span id="today" class="btn" style="font-size: 12px;width: 50px; padding: 3px;">今天</span>
- </div>
- <div class="col-sm-1" style="width: 60px;">
- <span id="before7" class="btn" style="font-size: 12px;width: 50px; padding: 3px;">前7天</span>
- </div>
- <div class="col-sm-1" style="width: 60px;">
- <span id="after7" class="btn" style="font-size: 12px;width: 50px; padding: 3px;">后7天</span>
- </div>
- <label class="col-sm-1 control-label no-padding-right"
- style="font-size: 12px;width: 100px;text-align: right;margin-left: 30px">房型售卖状态:</label>
- <select id="sale_status" name="" style="height: 28px;float: left;" onchange="search()">
- <option value="-1">全部</option>
- <option value="1">上线</option>
- <option value="0">下线</option>
- </select>
-
- <label style="margin-right: 10px;"></label>
- <div class="col-sm-1" style="width: 230px;">
- <div class="input-group">
- <input id="base_room_type" type="text" class="form-control" placeholder="基础房型名称关键字" onblur="search()" style="height: 28px">
- <span class="input-group-addon" style="height: 26px;cursor:pointer ">查询</span>
- </div>
-
- </div>
-
- <div class="col-sm-1 permission permission-display" style="width: 80px;float: right;">
- <span id="batchUpRoomBasePrice" class="btn"
- style="font-size: 12px;width: 70px;padding: 3px;background: white!important;color: black!important;border: 1px solid !important;text-shadow: none!important;"
- onclick="getRoomID(this)">修改采购价</span>
- </div>
- <div class="col-sm-1 permission permission-display" style="width: 80px;float: right;">
- <span id="batchUpRoomSaleStatus" class="btn"
- style="font-size: 12px;width: 70px;padding: 3px;background: white!important;color: black!important;border: 1px solid !important;text-shadow: none!important;"
- onclick="getRoomStatus(this)">一键开关房</span>
- </div>
- <div style="width: 80px;float: right;">
- <a id="lookLog" onclick="open_new_path(this)" go_path="zz-jd/hotel_log.html" target="_blank"
- style="font-size: 12px;width: 70px; padding: 3px;">查看操作日志</a>
- </div>
- </div>
- <!--开始日期 end-->
- <!--table starttable table-striped table-bordered table-hover-->
- <table id="table" style="display: none"
- class="table table-bordered table-hover permission">
- <thead>
- <tr class="tb_title">
- <th style="width: 35px;" class="center">
- <label>
- <input class="ace" onclick="select_checked('0',this)" type="checkbox">
- <span class="lbl"></span>
- </label>
- </th>
- <th width="120" style="text-align: left;">房型名称</th>
- <th id="f_date1" width="130"></th>
- <th id="f_date2" width="130"></th>
- <th id="f_date3" width="130"></th>
- <th id="f_date4" width="130"></th>
- <th id="f_date5" width="130"></th>
- <th id="f_date6" width="130"></th>
- <th id="f_date7" width="130"></th>
- <th width="120">操作</th>
- </tr>
- </thead>
- <tbody id="room_list" style="display: none;">
- <tr class="base" id="basetwo" style="cursor: pointer;" data-room-type="[tr-room-type]">
- <td class="center" style="vertical-align: middle;">
- <label>
- <input class="ace baseace" onclick="select_checked('1',this)" type="checkbox">
- <span class="lbl"></span>
- </label>
- </td>
- <td style="vertical-align: middle;font-weight: bold;" data-room-type="[room-type]">[房型名称]
- <img src="images/down_arrow.png"/>
- </td>
- <td class="bday" childIndex="2" data-value="[value1]" data-count="[total-count1]">
- [day1]
- </td>
- <td class="bday" childIndex="3" data-value="[value2]" data-count="[total-count2]">
- [day2]
- </td>
- <td class="bday" childIndex="4" data-value="[value3]" data-count="[total-count3]">
- [day3]
- </td>
- <td class="bday" childIndex="5" data-value="[value4]" data-count="[total-count4]">
- [day4]
- </td>
- <td class="bday" childIndex="6" data-value="[value5]" data-count="[total-count5]">
- [day5]
- </td>
- <td class="bday" childIndex="7" data-value="[value6]" data-count="[total-count6]">
- [day6]
- </td>
- <td class="bday" childIndex="8" data-value="[value7]" data-count="[total-count7]">
- [day7]
- </td>
- <td style="text-align: left;padding-left: 25px;vertical-align: middle;">
- <a class="base_add_child permission-display" onclick="addChild(this)"
- style="display: inline-block;color: #428bca;cursor: pointer;">新增子房型</a>
- <a data-room-name="[update-room-name]" onclick="updateBaseRoomInfo(this)"
- class="base_update permission-display"
- style="display: inline-block;color: #428bca;cursor: pointer;margin-top: 10px;">管理库存</a></br>
- </td>
- </tr>
- <tr class="child" style="display:table-row;background: white;" data-room-type="[tr-room-type]"
- data-parent-room-type="[parent-room-type]">
- <td class="center" style="vertical-align: middle;">
- <label>
- <input class="ace childace" onclick="select_checked('2',this)" room-type="[room-type]"
- type="checkbox">
- <span class="lbl"></span>
- </label>
- </td>
- <td style="vertical-align: middle;">[房型名称]</td>
- <td class="cday" style="cursor: pointer;" childIndex="2" data-value="[value1]"
- data-count="[total-count1]"
- data-close="[close1]">
- [cday1]
- </td>
- <td class="cday" style="cursor: pointer;" childIndex="3" data-value="[value2]"
- data-count="[total-count2]"
- data-close="[close2]">
- [cday2]
- </td>
- <td class="cday" style="cursor: pointer;" childIndex="4" data-value="[value3]"
- data-count="[total-count3]"
- data-close="[close3]">
- [cday3]
- </td>
- <td class="cday" style="cursor: pointer;" childIndex="5" data-value="[value4]"
- data-count="[total-count4]"
- data-close="[close4]">
- [cday4]
- </td>
- <td class="cday" style="cursor: pointer;" childIndex="6" data-value="[value5]"
- data-count="[total-count5]"
- data-close="[close5]">
- [cday5]
- </td>
- <td class="cday" style="cursor: pointer;" childIndex="7" data-value="[value6]"
- data-count="[total-count6]"
- data-close="[close6]">
- [cday6]
- </td>
- <td class="cday" style="cursor: pointer;" childIndex="8" data-value="[value7]"
- data-count="[total-count7]"
- data-close="[close7]">
- [cday7]
- </td>
- <td style="text-align: left;padding-left: 25px;vertical-align: middle;">
- <a class="child_update permission-display"
- style="display: inline-block;color: #428bca;cursor: pointer;"
- onclick="modifyChildRoom(this)">修改</a>
- <a class="child_on_off_line permission-display" data-value="[is_onsale]"
- style="display: inline-block;color: #428bca;cursor: pointer;">[下线]</a>
- <a class="child_cancel permission-display" onclick="CancelChildRoom(this)"
- style="display: inline-block;color: #428bca;cursor: pointer;">删除</a>
- </br>
- <a class="child_sale_rule"
- style="display: inline-block;color: #428bca;margin-top: 10px;cursor: pointer;">渠道商房态</a>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="pageDiv"></div>
- <!--修改基础房型的弹出层 one day-->
- <div id="up_base_room" style="display: none;z-index: 17;">
- <span>库存:</span>
- <label style="font-size: 12px">买断房数:</label>
- <span style="border: solid 1px #CCCCCC ;width: 95px;font-size: 12px" class="update_input">
- <input id="maiduan_count" style="width: 57px;border: 0;" type="text" name=""
- value="" maxlength="8">
- <span style="color: #999999;">间</span>
- </span>
- <label style="font-size: 12px">保留房数:</label>
- <span style="border: solid 1px #CCCCCC ;width: 95px;" class="update_input">
- <input id="baoliu_count" style="width: 57px;border: 0;;font-size: 12px" type="text"
- name=""
- value="" maxlength="8">
- <span style="color: #999999;">间</span>
- </span>
- <label style="font-size: 12px">现询房数:</label>
- <span style="border: solid 1px #CCCCCC ;width: 95px;" class="update_input">
- <input id="xianxun_count" style="width: 57px;border: 0;font-size: 12px" type="text"
- name=""
- value="" maxlength="8">
- <span style="color: #999999;">间</span>
- </span>
- <span id="qudao_baodi"></span>
- <span class="save_base"
- style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;">保存</span>
- <span class="cancel_base"
- style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;">取消</span>
-
- </div>
- <!--修改基础房型的弹出层 end-->
- <!--修改子房型 one day -->
- <div id="up_child_room" style="display: none;z-index: 17;">
- <span>房态:</span>
- <label style="font-size: 13px;line-height: 20px"><input type="radio" name="status" value="1"
- checked/>开房</label>
- <label style="font-size: 13px;line-height: 20px"><input type="radio" name="status"
- value="2"/>关房</label>
- <span style="margin-left: 40px">采购价:</span>
- <span style="margin-left: 15px">买断</span>
- <span style="border: solid 1px #CCCCCC ;" class="update_input">
- <input id="child_maiduan_price" style="width: 60px;border: 0;" type="text" name=""
- value="" maxlength="8">
- <span style="color: #999999;">RMB</span>
- </span>
- <span>保留</span>
- <span style="border: solid 1px #CCCCCC ;" class="update_input">
- <input id="child_baoliu_price" style="width: 60px;border: 0;" type="text" name=""
- value="" maxlength="8">
- <span style="color: #999999;">RMB</span>
- </span>
- <span>现询</span>
- <span style="border: solid 1px #CCCCCC ;" class="update_input">
- <input id="child_xianxun_price" style="width: 60px;border: 0;" type="text" name=""
- value="" maxlength="8">
- <span style="color: #999999;">RMB</span>
- </span>
- <span class="save_child"
- style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;">保存</span>
- <span class="cancel_child"
- style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;">取消</span>
-
- </div>
- <!--修改子房型 end-->
- <!--蒙板-->
- <div id="mask" style="display: none;position: fixed;left:0;top:0;right:0;bottom:0;opacity: 0;"></div>
- <!--box-->
- <div class="main_style" style="display: none;">
- <!--头部-->
- <div class="frist_style">
- <span class="frist_style_chinese">新增子房型</span><span class="frist_style_cha"
- style="cursor: pointer;"> <img
- src="images/chacha.png" onclick="clickMask()"/></span>
- </div>
- <!--信息-->
- <div class="second_style">
- <!--1-->
- <div style="margin-top: 20px;" class="">
- <span class="second_style_main">基础房型 :</span>
- <span id="div_room_name" class="second_style_next">湖景大床房</span>
- </div>
- <!--2-->
- <div class="second_style_frist">
- <span class="second_style_main">适用日期 :</span>
- <div class="dis" style="width: 115px; height:30px; padding-right: 3px;">
- <div class="col-sm-1" style="width: 150px;">
- <input id="Wdate2" style="height: 25px;width: 110px;" placeholder="开始日期"
- class="Wdate" type="text"
- onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true,onpicked:function(){Wdate3.click();Wdate3.focus()}})">
- </div>
- </div>
- <span style="margin-top: 5px;display: inline-block;margin-left: 25px;">—</span>
- <div class="dis" style="width: 115px; height:30px; padding-right: 3px;">
- <div class="col-sm-1" style="width: 150px;">
- <input id="Wdate3" style="height: 25px;width: 110px;" placeholder="结束日期"
- class="Wdate" type="text"
- onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true,minDate:'#F{$dp.$D(\'Wdate2\')}'})">
- </div>
- </div>
- </div>
-
- <!--3-->
- <div class="second_style_frist">
- <span class="second_style_main">适用星期 :</span>
- <span class="second_style_next">
- <label><input type="checkbox" checked="checked" name="week"
- value="2"/><span> 一 </span></label>
- <label><input type="checkbox" checked="checked" name="week"
- value="3"/><span> 二 </span></label>
- <label><input type="checkbox" checked="checked" name="week"
- value="4"/><span> 三 </span></label>
- <label><input type="checkbox" checked="checked" name="week"
- value="5"/><span> 四 </span></label>
- <label><input type="checkbox" checked="checked" name="week"
- value="6"/><span> 五 </span></label>
- <label><input type="checkbox" checked="checked" name="week"
- value="7"/><span> 六 </span></label>
- <label><input type="checkbox" checked="checked" name="week"
- value="1"/><span> 日 </span></label>
- </span>
- </div>
- <!--5-->
- <div class="second_style_frist">
- <span class="second_style_main">买断:</span>
- <span style="border: solid 1px #CCCCCC ;width: 100px;text-align: right;" class="second_style_next">
- <input id="div_maiduan_price"
- style="width: 50px;border: 0;text-align: right;" type="text"
- name="" value=""/>
- <span style="color: #999999;padding-right: 5px;">RMB</span>
- </span>
- <label>保留:</label>
- <span style="border: solid 1px #CCCCCC ;width: 100px;text-align: right;" class="second_style_next">
- <input id="div_baoliu_price"
- style="width: 50px;border: 0;text-align: right;" type="text"
- name="" value=""/>
- <span style="color: #999999;padding-right: 5px;">RMB</span>
- </span>
- <label>现询:</label>
- <span style="border: solid 1px #CCCCCC ;width: 100px;text-align: right;" class="second_style_next">
- <input id="div_xianxun_price"
- style="width: 50px;border: 0;text-align: right;" type="text"
- name="" value=""/>
- <span style="color: #999999;padding-right: 5px;">RMB</span>
- </span>
- </div>
- <!--6-->
- <div class="second_style_frist">
- <span class="second_style_main">入住人数 :</span>
- <span class="second_style_next">
- <select id="checkInCount" onchange="changePeople(this)" style="width: 80px;"
- name="">
- <option value="999">不限</option>
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- <option value="6">6</option>
- </select>
- </span>
- </div>
- <!--7-->
- <div class="second_style_frist">
- <span class="second_style_main">早 餐 :</span>
- <span class="second_style_next">
- <select id="divBreakfast" onchange="changeBreakfast(this)"
- style="width: 80px;" name="">
- <!--<option value="206">无早</option>-->
- <!--<option value="315">含早</option>-->
- <!--<option value="207">单早</option>-->
- <!--<option value="208">双早</option>-->
- <option value="0">无早</option>
- <option value="1">单早</option>
- <option value="2">双早</option>
- <option value="3">三早</option>
- <option value="4">四早</option>
- <option value="5">五早</option>
- <option value="6">六早</option>
- <option value="7">七早</option>
- <option value="8">八早</option>
- <option value="9">九早</option>
- <option value="10">十早</option>
-
- </select>
- </span>
- </div>
- <!--8-->
- <div class="second_style_frist">
- <span class="second_style_main">子房型名称 :</span>
- <span class="second_style_next"><input id="div_child_room_name"
- style="border: solid 1px #CCCCCC ;width: 250px;"
- type="" name="" id="" value=""/></span>
- </div>
- <!--9-->
- <div id="addChildSave" style="cursor: pointer;" class="save btn-primary">保存</div>
-
- </div>
- </div>
- <!--box end-->
- <!--修改子房型-->
- <div class="modify_child_room"
- style="width: 450px;height: 315px;display:none;border-radius:5px;position: absolute;top:50%;left:50%;margin-left:-300px; margin-top:-150px;background: white">
- <div style="width: 450px;height: 300px;border-radius:5px">
- <div style="height: 30px;border-bottom: 1px solid lightgrey">
- <div style="margin-left: 10px;margin-top: 4px;">
- <span style="display: inline-block;text-align: left;vertical-align: middle">修改子房型</span>
- <span style="display: inline-block;text-align: left;vertical-align: middle;float: right;cursor: pointer"
- onclick="clickMask()"><img
- style="width: 20px" src=./images/chacha.png></span>
- </div>
- </div>
- <div style="margin-left: 40px;margin-top: 20px;">
- <span style="width: 80px;text-align: right;display: inline-block;">基础房型:</span>
- <span class="data-base-room-name" data-base-room-type="">[基础房型]</span>
- </div>
- <div style="margin-left: 40px;margin-top: 20px;">
- <span style="width: 80px;text-align: right;display: inline-block;">入住人数:</span>
- <select id="checkin_people" onchange="mdchangePeople(this)">
- <option value="999">不限</option>
- <option value="1">1</option>
- <option value="2">2</option>
- <option value="3">3</option>
- <option value="4">4</option>
- <option value="5">5</option>
- <option value="6">6</option>
- </select>
- </div>
- <div style="margin-left: 40px;margin-top: 20px;">
- <span style="width: 80px;text-align: right;display: inline-block;">早餐:</span>
- <select id="breakfast" onchange="mdchangeBreakfast(this)">
- <option value="0">无早</option>
- <option value="1">单早</option>
- <option value="2">双早</option>
- <option value="3">三早</option>
- <option value="4">四早</option>
- <option value="5">五早</option>
- <option value="6">六早</option>
- <option value="7">七早</option>
- <option value="8">八早</option>
- <option value="9">九早</option>
- <option value="10">十早</option>
- </select>
- </div>
- <div style="margin-left: 40px;margin-top: 20px;">
- <span style="width: 80px;text-align: right;display: inline-block;">子房型名称:</span>
- <input class="data-child-room-name" style="width: 220px">
- </div>
-
- <div style="margin-top: 10px;">
- <div>
- <div class="form-group" style="margin-top: 7px;margin-left: 40px;">
- <!--<button class="btn btn-primary storage" onclick="commit()">确定</button>-->
- <div style="margin-left: 228px;margin-top: 20px" class="search_btn btn-primary"
- onclick="commit()">
- 确定
- </div>
- <!--<button class="btn btn-primary storage" onclick="clickMask()" value="" style="margin-left: 40px;">关闭-->
- </button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--修改子房型 end-->
- </div>
- <!--row end-->
- </div>
- <!--page-content end-->
- <!--</div>
- </div>-->
- </body>
- <script type="text/javascript" src="js/htCommon.js"></script>
- <script type="text/javascript" src="js/room_info.js?version=0.0.3"></script>
- <script src="../js/base_path.js" type="text/javascript" charset="utf-8"></script>
- <!--<script type="text/javascript" src="js/xm.js"></script>
- <script src="js/master.js" type="text/javascript" charset="utf-8"></script>
- <script>
- login();
- </script>-->
- </html>
|