|
- <!--
- 作者:fudr
- 时间:2016-10-09
- 描述:销售规则
- -->
- <!DOCTYPE html>
- <html lang="en">
-
- <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"/>
- <style type="text/css">
- .topleft {
- margin-left: 20px;
- margin-top: 10px;
- }
-
- #up_base_room {
- width: 888px;
- height: 50px;
- line-height: 50px;
- border: 1px solid black;
- padding-left: 20px;
- position: absolute;
- left: 320px;
- background: white;
- }
-
- .second_style_next {
- display: inline-block;
- width: 280px;
- height: 30px;
- margin-left: 5px;
- line-height: 30px;
- }
-
- .second_style_next_data {
- display: inline-block;
- width: 280px;
- height: 30px;
- margin-left: 5px;
- line-height: 30px;
- }
-
- .height {
- height: 47px;
- }
-
- .title {
- font-size: large;
- display: inline-block;
- line-height: 47px;
- margin-left: 10px;
- }
-
- .head {
- line-height: 47px;
- width: 80px;
- margin-left: 10px;
- text-align: right;
- display: inline-block
- }
-
- td {
- width: 114px;
- height: 74px;
- }
-
- .input {
- border: 1px solid lightgrey;
- width: 124px;
- display: inline-block;
- vertical-align: top;
- height: 28px;
- line-height: 28px;
- margin-top: 5px;
- color: lightgrey;
- }
-
- .inputshort {
- border: 1px solid lightgrey;
- width: 70px;
- display: inline-block;
- vertical-align: top;
- height: 28px;
- line-height: 28px;
- margin-top: 5px;
- color: lightgrey;
- }
-
- .inputin {
- width: 85px;
- border: medium none;
- color: grey;
- }
-
- .inputinshort {
- width: 50px;
- border: medium none;
- color: grey;
- }
-
- .button {
- width: 80px;
- height: 35px;
- display: inline-block;
- line-height: 30px;
- border: 1px solid rgb(204, 204, 204);
- text-align: center;
- color: #fff;
- cursor: pointer;
- background-color: #428bca !important;
- }
-
- .frist_style_chinese {
- vertical-align: top;
- display: inline-block;
- height: 50px;
- width: 355px;
- line-height: 50px;
- font-family: "微软雅黑";
- margin-left: 10px;
- }
-
- .frist_style_cha {
- display: inline-block;
- height: 50px;
- width: 50px;
- }
-
- .frist_style_cha img {
- width: 20px;
- height: 20px;
- margin-top: 15px;
- margin-left: 105px;
- }
- </style>
-
- </head>
-
- <body>
- <!--logo-->
- <!--<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="float: left;margin-top:40px;margin-left:35px;">-->
- <div class="iframe_box">
- <!--title-->
- <div style="padding-bottom: 10px;border-bottom: 1px solid #eee;">
- <span style="font-size: 14px;text-align: left;font-weight: bold;">渠道商房态</span>
- </div>
- <!--产品名称-->
- <div class="topleft">
- <span style="width: 70px;height: 20px;display: inline-block;text-align: right">产品名称:</span>
- <span id='room_name' style="width: 300px;height: 20px;display: inline-block;">湖景大床房(双人入住)[含早]</span>
- </div>
- <!--分销商-->
- <div class="topleft">
- <span style="width: 70px;height: 20px;display: inline-block;text-align: right">渠<span
- style="color:white">a</span>道<span style="color:white">a</span>商:</span>
- <input placeholder=" 请输入渠道商名称" id='div_name'
- style="width: 130px;height: 25px;border: 1px solid lightgrey;border-radius: 5px;text-align: left"
- oninput="searchOnclick()">
- </div>
- <!--日期-->
- <div class="topleft">
- <span style="width: 70px;height: 20px;display: inline-block;text-align: right">日<span
- style="color:white">空空</span>期:</span>
- <input style="width: 130px;height: 25px;font-size: 12px" id='input_time' placeholder="请输入日期" class="Wdate"
- type="text"
- onClick="WdatePicker({onpicked:function(dp) {searchOnclick();},doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})">
- <!--<span id="search" onclick='searchOnclick()' class="search_btn btn-primary"-->
- <!--style="font-size: 12px;text-align:center;width: 50px; padding: 3px;display: inline-block;margin-left: 10px;cursor: pointer">搜索</span>-->
- <span class="search_btn btn-primary"
- style="font-size: 12px;text-align:center;width: 50px; padding: 3px;display: inline-block;margin-left: 50px;cursor: pointer"
- onclick="beforeOnclick()">前7天</span>
- <span class="search_btn btn-primary"
- style="font-size: 12px;width: 50px; padding: 3px;text-align:center;display: inline-block;margin-left: 5px;cursor: pointer "
- onclick="todayOnclick()">今天</span>
- <span class="search_btn btn-primary"
- style="font-size: 12px;text-align:center;width: 50px; padding: 3px;display: inline-block;margin-left: 5px;;cursor: pointer"
- onclick="afterOnclick()">后7天</span>
- <span class="permission-display"
- style="width: 70px;height: 20px;display: inline-block;text-align: right;margin-left: 325px"></span>
- <span id="updateAll" class="search_btn btn-primary permission-display"
- style="font-size: 12px;width: 75px; text-align:center;padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;">修改房态</span>
- <span class="search_btn btn-primary permission-display"
- style="font-size: 12px;text-align:center;width: 75px; padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;"
- onclick="closeStatus()">关闭授权</span>
- <span class="search_btn btn-primary permission-display"
- style="font-size: 12px;text-align:center;width: 75px; padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;"
- onclick="openStatus()">打开授权</span>
- </div>
- <!--列表-->
- <div class="topleft">
- <table id="table" width="1222px" id="sample-table-1"
- class="table table-striped table-bordered table-hover permission">
- <!--<thead>
- <tr>
- <th width="35px" class="center">
- <label>
- <input class="ace" onclick="select_checked('0')" type="checkbox">
- <span class="lbl"></span>
- </label>
- </th>
- <th width="200px" style="text-align: left;">分销商</th>
- <th id="f_date1" width="100px">08-16</br>今天</th>
- <th id="f_date2" width="100px">08-16</br>今天</th>
- <th id="f_date3" width="100px">08-16</br>今天</th>
- <th id="f_date4" width="100px">08-16</br>今天</th>
- <th id="f_date5" width="100px">08-16</br>今天</th>
- <th id="f_date6" width="100px">08-16</br>今天</th>
- <th id="f_date7" width="100px">08-16</br>今天</th>
- <th width="100px">操作</th>
- </tr>
- </thead>-->
- <thead>
- <tr class="tb_title">
- <th style="width: 35px;" class="center">
- <label>
- <input id="all" class="ace" type="checkbox">
- <span class="lbl"></span>
- </label>
- </th>
- <th width="200px" style="text-align: center;">渠道商</th>
- <th id="f_date1" style="width: 120px;text-align: center;"></th>
- <th id="f_date2" style="width: 120px;text-align: center;"></th>
- <th id="f_date3" style="width: 120px;text-align: center;"></th>
- <th id="f_date4" style="width: 120px;text-align: center;"></th>
- <th id="f_date5" style="width: 120px;text-align: center;"></th>
- <th id="f_date6" style="width: 120px;text-align: center;"></th>
- <th id="f_date7" style="width: 120px;text-align: center;"></th>
- <th style="width: 100px;text-align: center;">授权状态</th>
- </tr>
- </thead>
- <tbody id="room_list" style="text-align: center;visibility: hidden;">
- <tr class="base" style="display: table-row;background: #f9f9f9; height:71px"
- data-distrib-id="[distrib_id]" data-distrib-type="[distrib_type]">
- <th class="center" style="vertical-align: middle;">
- <label>
- <input class="ace" onclick="selectAll()" value="[room-type]"
- type="checkbox" name="mybox">
- <span class="lbl"></span>
- </label>
- </th>
- <td style="vertical-align: middle;">[分销商名称]</td>
- <td id="day1" class="change" date_num='2' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete1]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[100]</span></br>
- <span class='remaining'>剩余[1]</span></br>
- <span class='distribution_price'>[分销价1]:[100]</span>
- </div>
-
- </div>
-
- </td>
- <td id="day2" class="change" date_num='3' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete2]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[200]</span></br>
- <span class='remaining'>剩余[2]</span></br>
- <span class='distribution_price'>[分销价2]:[200]</span>
- </div>
-
- </div>
-
- </td>
- <td id="day3" class="change" date_num='4' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete3]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[300]</span></br>
- <span class='remaining'>剩余[3]</span></br>
- <span class='distribution_price'>[分销价3]:[300]</span>
- </div>
-
- </div>
-
- </td>
- <td id="day4" class="change" date_num='5' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete4]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[400]</span></br>
- <span class='remaining'>剩余[4]</span></br>
- <span class='distribution_price'>[分销价4]:[400]</span>
- </div>
-
- </div>
-
- </td>
- <td id="day5" class="change" date_num='6' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete5]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[500]</span></br>
- <span class='remaining'>剩余[5]</span></br>
- <span class='distribution_price'>[分销价5]:[500]</span>
- </div>
-
- </div>
-
- </td>
- <td id="day6" class="change" date_num='7' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete6]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[600]</span></br>
- <span class='remaining'>剩余[6]</span></br>
- <span class='distribution_price'>[分销价6]:[600]</span>
- </div>
-
- </div>
-
- </td>
- <td id="day7" class="change" date_num='8' onclick="cdayAddEvent(this)"
- is_need_delete="[is_need_delete7]">
- <div style="position:relative;">
- <div style="float: right;margin-top: -11px;margin-right: -9px;">
-
- </div>
- <div style="position:relative;text-align: left;">
- <span class='has_sell'>已售[700]</span></br>
- <span class='remaining'>剩余[7]</span></br>
- <span class='distribution_price'>[分销价7]:[700]</span>
- </div>
-
- </div>
-
- </td>
-
- <td style="vertical-align: middle;text-align: center;">
- 关
- <img class='image_class' src="images/OffSwitch.png" style="height: 16px;width: 53*16/36px;"
- onclick="image_onclick(this)" isopen="0"> 开
- </td>
- </tr>
-
- </tbody>
-
- </table>
- <div class="pageDiv" style="float: right"></div>
- <!--修改基础房型的弹出层 one day-->
- <div id="up_base_room" style="display: none;z-index: 17;">
- <span>房态:</span>
- <select id="base_stock_type" style="width: 70px;">
- <option value="326" selected="selected" style="font-size: 12px;">固定数量</option>
- <option value="329" style="font-size: 12px;">关房</option>
- </select>
- <span style="border: solid 1px #CCCCCC ;width: 80px;" class="second_style_next" id="count_input">
- <input id="authorized_stock_num" style="width: 45px;border: 0;" type="text"
- name="" value="">
- <span style="color: #999999;">间</span>
- </span>
- <span style="margin-left: 20px;margin-right: 10px;">最大<label id="max_stock">0</label>间</span>
- <span style="margin-left: 20px;margin-right: 10px;" id="overSale_name">超卖:</span>
- <span style="width: 80px;" class="second_style_next">
- <input type="radio" name="overSale" value="1" checked/> 开
- <input type="radio" name="overSale" value="0"/> 关
- </span>
- <span style="margin-left: 20px;margin-right: 10px;" id="fenxiao_name">分销价:</span>
- <span style="border: solid 1px #CCCCCC ;width: 90px;" class="second_style_next" id="fenxiao_price">
- <input id="distribution_price" style="width: 45px;border: 0;" type="text"
- name="" value="" oninput="cannot_input_fenxiao()">
- <span style="color: #999999;">RMB</span>
- </span>
- <span style="margin-left: 20px;margin-right: 10px;" id="lingshou_name">零售价:</span>
- <span style="border: solid 1px #CCCCCC ;width: 90px;" class="second_style_next" id="lingshou_price">
- <input id="retail_price" style="width: 45px;border: 0;" type="text" name=""
- value="" oninput="cannot_input_lingshou()">
- <span style="color: #999999;">RMB</span>
- </span>
- <span class="save_base" id="one_save"
- style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;"
- onclick="saveUpdate()">保存</span>
- <span class="cancel_base"
- style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;"
- onclick="cancelUpdate()">取消</span>
-
- </div>
-
- </div>
- <!--蒙板-->
- <div id="mask" style="display: none;position: fixed;left:0;top:0;right:0;bottom:0;opacity: 0;"></div>
-
- </div>
-
- <!--</div>-->
- <div id="one" style="display: none;margin:-535px 0px 0px -275px;">
- <div style="width: 500px;height: auto;border:1px solid lightgrey;">
- <div class="height" style="width: 500px;background: lightgrey;">
- <span class="frist_style_chinese">批量修改房态</span><span class="frist_style_cha"
- style="text-align: right;"> <img
- src="images/chacha.png" type="button"
- onclick="doclick_close()" style="cursor: pointer;text-align: right;"/></span>
- </div>
- <div style="width: 500px;">
- <span class="head">时间范围:</span>
- <input type="text" id="start_date_update" class="Wdate"
- style="height: 25px; width: 120px;display: inline-block" name="begin"
- onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"/>
- <span>-</span>
- <input type="text" id="end_date_update" class="Wdate"
- style="height: 25px; width: 120px;display: inline-block" name="end"
- onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"/>
- </div>
- <div>
- <span class="head">适用星期:</span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>一<span
- style="opacity: 0">空</span>
- </span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>二<span
- style="opacity: 0">空</span>
- </span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>三<span
- style="opacity: 0">空</span>
- </span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>四<span
- style="opacity: 0">空</span>
- </span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>五<span
- style="opacity: 0">空</span>
- </span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>六<span
- style="opacity: 0">空</span>
- </span>
- <span>
- <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>七<span
- style="opacity: 0">空</span>
- </span>
- </div>
- <div style="width: 500px; height: 40px;">
- <span class="head" style="height: 40px; line-height: 40px;">授权库存:</span>
- <select id="authorized_stock_many"
- style="width: 125px; vertical-align: top; height: 30px; margin-top: 5px;">
- <option value="326" selected="selected" style="font-size: 12px;">固定数量</option>
- <option value="329" style="font-size: 12px;">关房</option>
- </select>
- <span style="border: solid 1px #CCCCCC ;width: 125px;" class="second_style_next_data">
- <input id="authorized_stock_num_many" style="width: 90px;border: 0;"
- type="text" name="" value=""
- >
- <span style="color: #999999;">间</span>
- </span>
-
- </div>
- <div style="width: 500px; height: 40px;">
-
- <span class="head" style="height: 40px; line-height: 40px;">超卖:</span>
- <span style="width: 125px;margin-left: 0px;" class="second_style_next">
- <input type="radio" name="overSaleBatch" value="1" title="开" checked/> 开
- <input type="radio" name="overSaleBatch" value="0" title="关"/> 关
- </span>
- </div>
- <div>
- <span class="head" style="height: 40px; line-height: 40px;">分销价:</span>
- <span style="border: solid 1px #CCCCCC ;width: 130px;margin-left: 0px;text-align: right;"
- class="second_style_next">
- <input id="distribution_price_many"
- style="width: 80px;border: 0;text-align: right;"
- type="text" name="" value="" onpaste="return false"
- oninput="cannot_input_fenxiao_many()"
- onkeydown="return check(event)">
- <span style="color: #999999;padding-right: 5px;">RMB</span>
- </span>
- <div style="margin: 0px 30px 0px 90px;"><span id="to_fenxiao"></span></div>
- </div>
- <div>
- <span class="head" style="height: 40px; line-height: 40px;">零售价:</span>
- <span style="border: solid 1px #CCCCCC ;width: 130px;margin-left: 0px;text-align: right;"
- class="second_style_next">
- <input id="retail_price_many"
- style="width: 80px;border: 0;text-align: right;" type="text"
- name="" value="" onpaste="return false"
- oninput="cannot_input_lingshou_many()"
- onkeydown="return check(event)">
- <span style="color: #999999;padding-right: 5px;">RMB</span>
- </span>
- <div style="margin: 0px 30px 0px 90px;"><span id="to_lingshou"></span></div>
- </div>
- <div style="padding: 10px 0px 16px 0px;">
- <span style="margin-left: 250px"><input type="button" onclick="doclick_save()" class="button"
- value="保存"/></span>
- </div>
- </div>
-
- </div>
- </body>
- <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="js/htCommon.js"></script>
- <script type="text/javascript" src="js/sell_rule_main.js"></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>
|