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.
 
 
 
 

544 line
25 KiB

  1. <!--
  2. 作者:fudr
  3. 时间:2016-10-09
  4. 描述:销售规则
  5. -->
  6. <!DOCTYPE html>
  7. <html lang="en">
  8. <head>
  9. <meta charset="UTF-8">
  10. <meta HTTP-EQUIV="pragma" CONTENT="no-cache">
  11. <meta HTTP-EQUIV="expires" CONTENT="0">
  12. <title>渠道商房态</title>
  13. <link rel="stylesheet" type="text/css" href="./css/ace.min.css"/>
  14. <link rel="stylesheet" type="text/css" href="./css/bootstrap/bootstrap.min.css"/>
  15. <link rel="stylesheet" type="text/css" href="./css/bootstrap-timepicker.css"/>
  16. <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css"/>
  17. <link rel="stylesheet" type="text/css" href="./css/daterangepicker.css"/>
  18. <link rel="stylesheet" type="text/css" href="./css/datepicker.css"/>
  19. <link rel="stylesheet" type="text/css" href="./css/master.css">
  20. <link rel="stylesheet" href="css/new_page.css"/>
  21. <style type="text/css">
  22. .topleft {
  23. margin-left: 20px;
  24. margin-top: 10px;
  25. }
  26. #up_base_room {
  27. width: 888px;
  28. height: 50px;
  29. line-height: 50px;
  30. border: 1px solid black;
  31. padding-left: 20px;
  32. position: absolute;
  33. left: 320px;
  34. background: white;
  35. }
  36. .second_style_next {
  37. display: inline-block;
  38. width: 280px;
  39. height: 30px;
  40. margin-left: 5px;
  41. line-height: 30px;
  42. }
  43. .second_style_next_data {
  44. display: inline-block;
  45. width: 280px;
  46. height: 30px;
  47. margin-left: 5px;
  48. line-height: 30px;
  49. }
  50. .height {
  51. height: 47px;
  52. }
  53. .title {
  54. font-size: large;
  55. display: inline-block;
  56. line-height: 47px;
  57. margin-left: 10px;
  58. }
  59. .head {
  60. line-height: 47px;
  61. width: 80px;
  62. margin-left: 10px;
  63. text-align: right;
  64. display: inline-block
  65. }
  66. td {
  67. width: 114px;
  68. height: 74px;
  69. }
  70. .input {
  71. border: 1px solid lightgrey;
  72. width: 124px;
  73. display: inline-block;
  74. vertical-align: top;
  75. height: 28px;
  76. line-height: 28px;
  77. margin-top: 5px;
  78. color: lightgrey;
  79. }
  80. .inputshort {
  81. border: 1px solid lightgrey;
  82. width: 70px;
  83. display: inline-block;
  84. vertical-align: top;
  85. height: 28px;
  86. line-height: 28px;
  87. margin-top: 5px;
  88. color: lightgrey;
  89. }
  90. .inputin {
  91. width: 85px;
  92. border: medium none;
  93. color: grey;
  94. }
  95. .inputinshort {
  96. width: 50px;
  97. border: medium none;
  98. color: grey;
  99. }
  100. .button {
  101. width: 80px;
  102. height: 35px;
  103. display: inline-block;
  104. line-height: 30px;
  105. border: 1px solid rgb(204, 204, 204);
  106. text-align: center;
  107. color: #fff;
  108. cursor: pointer;
  109. background-color: #428bca !important;
  110. }
  111. .frist_style_chinese {
  112. vertical-align: top;
  113. display: inline-block;
  114. height: 50px;
  115. width: 355px;
  116. line-height: 50px;
  117. font-family: "微软雅黑";
  118. margin-left: 10px;
  119. }
  120. .frist_style_cha {
  121. display: inline-block;
  122. height: 50px;
  123. width: 50px;
  124. }
  125. .frist_style_cha img {
  126. width: 20px;
  127. height: 20px;
  128. margin-top: 15px;
  129. margin-left: 105px;
  130. }
  131. </style>
  132. </head>
  133. <body>
  134. <!--logo-->
  135. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  136. <div class="navbar-header ">
  137. <a href="#" class="navbar-brand">
  138. <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;">&nbsp;<span
  139. id="version_txt"></span></sub>
  140. </a>
  141. </div>
  142. </div>
  143. <div class="warp clearfix" id="show_html" style="display: none">
  144. <div class="control-bar"></div>
  145. <div class="control-show" style="float: left;margin-top:40px;margin-left:35px;">-->
  146. <div class="iframe_box">
  147. <!--title-->
  148. <div style="padding-bottom: 10px;border-bottom: 1px solid #eee;">
  149. <span style="font-size: 14px;text-align: left;font-weight: bold;">渠道商房态</span>
  150. </div>
  151. <!--产品名称-->
  152. <div class="topleft">
  153. <span style="width: 70px;height: 20px;display: inline-block;text-align: right">产品名称:</span>
  154. <span id='room_name' style="width: 300px;height: 20px;display: inline-block;">湖景大床房(双人入住)[含早]</span>
  155. </div>
  156. <!--分销商-->
  157. <div class="topleft">
  158. <span style="width: 70px;height: 20px;display: inline-block;text-align: right">渠<span
  159. style="color:white">&nbsp;</span>道<span style="color:white">&nbsp;</span>商:</span>
  160. <input placeholder=" 请输入渠道商名称" id='div_name'
  161. style="width: 130px;height: 25px;border: 1px solid lightgrey;border-radius: 5px;text-align: left"
  162. onblur="searchOnclick()">
  163. </div>
  164. <!--日期-->
  165. <div class="topleft">
  166. <span style="width: 70px;height: 20px;display: inline-block;text-align: right">日<span
  167. style="color:white">空空</span>期:</span>
  168. <input style="width: 130px;height: 25px;font-size: 12px" id='input_time' placeholder="请输入日期" class="Wdate"
  169. type="text"
  170. onClick="WdatePicker({onpicked:function(dp) {searchOnclick();},doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})">
  171. <!--<span id="search" onclick='searchOnclick()' class="search_btn btn-primary"-->
  172. <!--style="font-size: 12px;text-align:center;width: 50px; padding: 3px;display: inline-block;margin-left: 10px;cursor: pointer">搜索</span>-->
  173. <span class="search_btn btn-primary"
  174. style="font-size: 12px;text-align:center;width: 50px; padding: 3px;display: inline-block;margin-left: 50px;cursor: pointer"
  175. onclick="beforeOnclick()">前7天</span>
  176. <span class="search_btn btn-primary"
  177. style="font-size: 12px;width: 50px; padding: 3px;text-align:center;display: inline-block;margin-left: 5px;cursor: pointer "
  178. onclick="todayOnclick()">今天</span>
  179. <span class="search_btn btn-primary"
  180. style="font-size: 12px;text-align:center;width: 50px; padding: 3px;display: inline-block;margin-left: 5px;;cursor: pointer"
  181. onclick="afterOnclick()">后7天</span>
  182. <span class="permission-display" style="width: 70px;height: 20px;display: inline-block;text-align: right;margin-left: 838px">
  183. <a target="_blank" id="channel_order" onclick="open_order_detail_path(this)" go_path="">渠道商排序</a>
  184. <!--<a target="_blank" id="channel_order" href="">渠道商排序</a>-->
  185. </span>
  186. <span id="updateAll" class="search_btn btn-primary permission-display"
  187. style="font-size: 12px;width: 75px; text-align:center;padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;">修改房态</span>
  188. <span class="search_btn btn-primary permission-display"
  189. style="font-size: 12px;text-align:center;width: 75px; padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;"
  190. onclick="closeStatus()">关闭授权</span>
  191. <span class="search_btn btn-primary permission-display"
  192. style="font-size: 12px;text-align:center;width: 75px; padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;"
  193. onclick="openStatus()">打开授权</span>
  194. </div>
  195. <!--列表-->
  196. <div class="topleft">
  197. <table id="table" width="1222px" id="sample-table-1"
  198. class="table table-striped table-bordered table-hover permission">
  199. <!--<thead>
  200. <tr>
  201. <th width="35px" class="center">
  202. <label>
  203. <input class="ace" onclick="select_checked('0')" type="checkbox">
  204. <span class="lbl"></span>
  205. </label>
  206. </th>
  207. <th width="200px" style="text-align: left;">分销商</th>
  208. <th id="f_date1" width="100px">08-16</br>今天</th>
  209. <th id="f_date2" width="100px">08-16</br>今天</th>
  210. <th id="f_date3" width="100px">08-16</br>今天</th>
  211. <th id="f_date4" width="100px">08-16</br>今天</th>
  212. <th id="f_date5" width="100px">08-16</br>今天</th>
  213. <th id="f_date6" width="100px">08-16</br>今天</th>
  214. <th id="f_date7" width="100px">08-16</br>今天</th>
  215. <th width="100px">操作</th>
  216. </tr>
  217. </thead>-->
  218. <thead>
  219. <tr class="tb_title">
  220. <th style="width: 35px;" class="center">
  221. <label>
  222. <input id="all" class="ace" type="checkbox">
  223. <span class="lbl"></span>
  224. </label>
  225. </th>
  226. <th width="200px" style="text-align: center;">渠道商</th>
  227. <th id="f_date1" style="width: 120px;text-align: center;"></th>
  228. <th id="f_date2" style="width: 120px;text-align: center;"></th>
  229. <th id="f_date3" style="width: 120px;text-align: center;"></th>
  230. <th id="f_date4" style="width: 120px;text-align: center;"></th>
  231. <th id="f_date5" style="width: 120px;text-align: center;"></th>
  232. <th id="f_date6" style="width: 120px;text-align: center;"></th>
  233. <th id="f_date7" style="width: 120px;text-align: center;"></th>
  234. <th style="width: 100px;text-align: center;">授权状态</th>
  235. </tr>
  236. </thead>
  237. <tbody id="room_list" style="text-align: center;visibility: hidden;">
  238. <tr class="base" style="display: table-row;background: #f9f9f9; height:71px"
  239. data-distrib-id="[distrib_id]" data-distrib-type="[distrib_type]">
  240. <th class="center" style="vertical-align: middle;">
  241. <label>
  242. <input class="ace" onclick="selectAll()" value="[room-type]"
  243. type="checkbox" name="mybox">
  244. <span class="lbl"></span>
  245. </label>
  246. </th>
  247. <td style="vertical-align: middle;">[分销商名称]</td>
  248. <td id="day1" class="change" date_num='2' onclick="cdayAddEvent(this)"
  249. is_need_delete="[is_need_delete1]">
  250. <div style="position:relative;">
  251. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  252. </div>
  253. <div style="position:relative;text-align: left;">
  254. <span class='has_sell'>已售[100]</span></br>
  255. <span class='remaining'>剩余[1]</span></br>
  256. <span class='distribution_price'>[分销价1]:[100]</span>
  257. </div>
  258. </div>
  259. </td>
  260. <td id="day2" class="change" date_num='3' onclick="cdayAddEvent(this)"
  261. is_need_delete="[is_need_delete2]">
  262. <div style="position:relative;">
  263. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  264. </div>
  265. <div style="position:relative;text-align: left;">
  266. <span class='has_sell'>已售[200]</span></br>
  267. <span class='remaining'>剩余[2]</span></br>
  268. <span class='distribution_price'>[分销价2]:[200]</span>
  269. </div>
  270. </div>
  271. </td>
  272. <td id="day3" class="change" date_num='4' onclick="cdayAddEvent(this)"
  273. is_need_delete="[is_need_delete3]">
  274. <div style="position:relative;">
  275. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  276. </div>
  277. <div style="position:relative;text-align: left;">
  278. <span class='has_sell'>已售[300]</span></br>
  279. <span class='remaining'>剩余[3]</span></br>
  280. <span class='distribution_price'>[分销价3]:[300]</span>
  281. </div>
  282. </div>
  283. </td>
  284. <td id="day4" class="change" date_num='5' onclick="cdayAddEvent(this)"
  285. is_need_delete="[is_need_delete4]">
  286. <div style="position:relative;">
  287. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  288. </div>
  289. <div style="position:relative;text-align: left;">
  290. <span class='has_sell'>已售[400]</span></br>
  291. <span class='remaining'>剩余[4]</span></br>
  292. <span class='distribution_price'>[分销价4]:[400]</span>
  293. </div>
  294. </div>
  295. </td>
  296. <td id="day5" class="change" date_num='6' onclick="cdayAddEvent(this)"
  297. is_need_delete="[is_need_delete5]">
  298. <div style="position:relative;">
  299. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  300. </div>
  301. <div style="position:relative;text-align: left;">
  302. <span class='has_sell'>已售[500]</span></br>
  303. <span class='remaining'>剩余[5]</span></br>
  304. <span class='distribution_price'>[分销价5]:[500]</span>
  305. </div>
  306. </div>
  307. </td>
  308. <td id="day6" class="change" date_num='7' onclick="cdayAddEvent(this)"
  309. is_need_delete="[is_need_delete6]">
  310. <div style="position:relative;">
  311. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  312. </div>
  313. <div style="position:relative;text-align: left;">
  314. <span class='has_sell'>已售[600]</span></br>
  315. <span class='remaining'>剩余[6]</span></br>
  316. <span class='distribution_price'>[分销价6]:[600]</span>
  317. </div>
  318. </div>
  319. </td>
  320. <td id="day7" class="change" date_num='8' onclick="cdayAddEvent(this)"
  321. is_need_delete="[is_need_delete7]">
  322. <div style="position:relative;">
  323. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  324. </div>
  325. <div style="position:relative;text-align: left;">
  326. <span class='has_sell'>已售[700]</span></br>
  327. <span class='remaining'>剩余[7]</span></br>
  328. <span class='distribution_price'>[分销价7]:[700]</span>
  329. </div>
  330. </div>
  331. </td>
  332. <td style="vertical-align: middle;text-align: center;">
  333. <img class='image_class' src="images/OffSwitch.png" style="height: 16px;width: 53*16/36px;"
  334. onclick="image_onclick(this)" isopen="0"> 开
  335. </td>
  336. </tr>
  337. </tbody>
  338. </table>
  339. <div class="pageDiv" style="float: right"></div>
  340. <!--修改基础房型的弹出层 one day-->
  341. <div id="up_base_room" style="display: none;z-index: 17;">
  342. <span>房态:</span>
  343. <select id="base_stock_type" style="width: 70px;">
  344. <option value="326" selected="selected" style="font-size: 12px;">固定数量</option>
  345. <option value="329" style="font-size: 12px;">关房</option>
  346. </select>
  347. <span style="border: solid 1px #CCCCCC ;width: 80px;" class="second_style_next" id="count_input">
  348. <input id="authorized_stock_num" style="width: 45px;border: 0;" type="text"
  349. name="" value="">
  350. <span style="color: #999999;">间</span>
  351. </span>
  352. <span style="margin-left: 20px;margin-right: 10px;">最大<label id="max_stock">0</label>间</span>
  353. <span style="margin-left: 20px;margin-right: 10px;" id="overSale_name">超卖:</span>
  354. <span style="width: 80px;" class="second_style_next">
  355. <input type="radio" name="overSale" value="1" checked/> 开
  356. <input type="radio" name="overSale" value="0"/> 关
  357. </span>
  358. <span style="margin-left: 20px;margin-right: 10px;" id="fenxiao_name">分销价:</span>
  359. <span style="border: solid 1px #CCCCCC ;width: 90px;" class="second_style_next" id="fenxiao_price">
  360. <input id="distribution_price" style="width: 45px;border: 0;" type="text"
  361. name="" value="" oninput="cannot_input_fenxiao()">
  362. <span style="color: #999999;">RMB</span>
  363. </span>
  364. <span style="margin-left: 20px;margin-right: 10px;" id="lingshou_name">零售价:</span>
  365. <span style="border: solid 1px #CCCCCC ;width: 90px;" class="second_style_next" id="lingshou_price">
  366. <input id="retail_price" style="width: 45px;border: 0;" type="text" name=""
  367. value="" oninput="cannot_input_lingshou()">
  368. <span style="color: #999999;">RMB</span>
  369. </span>
  370. <span class="save_base" id="one_save"
  371. style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;"
  372. onclick="saveUpdate()">保存</span>
  373. <span class="cancel_base"
  374. style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;"
  375. onclick="cancelUpdate()">取消</span>
  376. </div>
  377. </div>
  378. <!--蒙板-->
  379. <div id="mask" style="display: none;position: fixed;left:0;top:0;right:0;bottom:0;opacity: 0;"></div>
  380. </div>
  381. <!--</div>-->
  382. <div id="one" style="display: none;margin:-535px 0px 0px -275px;">
  383. <div style="width: 500px;height: auto;border:1px solid lightgrey;">
  384. <div class="height" style="width: 500px;background: lightgrey;">
  385. <span class="frist_style_chinese">批量修改房态</span><span class="frist_style_cha"
  386. style="text-align: right;"> <img
  387. src="images/chacha.png" type="button"
  388. onclick="doclick_close()" style="cursor: pointer;text-align: right;"/></span>
  389. </div>
  390. <div style="width: 500px;">
  391. <span class="head">时间范围:</span>
  392. <input type="text" id="start_date_update" class="Wdate"
  393. style="height: 25px; width: 120px;display: inline-block" name="begin"
  394. onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"/>
  395. <span>-</span>
  396. <input type="text" id="end_date_update" class="Wdate"
  397. style="height: 25px; width: 120px;display: inline-block" name="end"
  398. onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"/>
  399. </div>
  400. <div>
  401. <span class="head">适用星期:</span>
  402. <span>
  403. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>一<span
  404. style="opacity: 0">空</span>
  405. </span>
  406. <span>
  407. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>二<span
  408. style="opacity: 0">空</span>
  409. </span>
  410. <span>
  411. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>三<span
  412. style="opacity: 0">空</span>
  413. </span>
  414. <span>
  415. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>四<span
  416. style="opacity: 0">空</span>
  417. </span>
  418. <span>
  419. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>五<span
  420. style="opacity: 0">空</span>
  421. </span>
  422. <span>
  423. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>六<span
  424. style="opacity: 0">空</span>
  425. </span>
  426. <span>
  427. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>七<span
  428. style="opacity: 0">空</span>
  429. </span>
  430. </div>
  431. <div style="width: 500px; height: 40px;">
  432. <span class="head" style="height: 40px; line-height: 40px;">授权库存:</span>
  433. <select id="authorized_stock_many"
  434. style="width: 125px; vertical-align: top; height: 30px; margin-top: 5px;">
  435. <option value="326" selected="selected" style="font-size: 12px;">固定数量</option>
  436. <option value="329" style="font-size: 12px;">关房</option>
  437. </select>
  438. <span style="border: solid 1px #CCCCCC ;width: 125px;" class="second_style_next_data">
  439. <input id="authorized_stock_num_many" style="width: 90px;border: 0;"
  440. type="text" name="" value=""
  441. >
  442. <span style="color: #999999;">间</span>
  443. </span>
  444. </div>
  445. <div style="width: 500px; height: 40px;">
  446. <span class="head" style="height: 40px; line-height: 40px;">超卖:</span>
  447. <span style="width: 125px;margin-left: 0px;" class="second_style_next">
  448. <input type="radio" name="overSaleBatch" value="1" title="开" checked/> 开
  449. <input type="radio" name="overSaleBatch" value="0" title="关"/> 关
  450. </span>
  451. </div>
  452. <div>
  453. <span class="head" style="height: 40px; line-height: 40px;">分销价:</span>
  454. <span style="border: solid 1px #CCCCCC ;width: 130px;margin-left: 0px;text-align: right;"
  455. class="second_style_next">
  456. <input id="distribution_price_many"
  457. style="width: 80px;border: 0;text-align: right;"
  458. type="text" name="" value="" onpaste="return false"
  459. oninput="cannot_input_fenxiao_many()"
  460. onkeydown="return check(event)">
  461. <span style="color: #999999;padding-right: 5px;">RMB</span>
  462. </span>
  463. <div style="margin: 0px 30px 0px 90px;"><span id="to_fenxiao"></span></div>
  464. </div>
  465. <div>
  466. <span class="head" style="height: 40px; line-height: 40px;">零售价:</span>
  467. <span style="border: solid 1px #CCCCCC ;width: 130px;margin-left: 0px;text-align: right;"
  468. class="second_style_next">
  469. <input id="retail_price_many"
  470. style="width: 80px;border: 0;text-align: right;" type="text"
  471. name="" value="" onpaste="return false"
  472. oninput="cannot_input_lingshou_many()"
  473. onkeydown="return check(event)">
  474. <span style="color: #999999;padding-right: 5px;">RMB</span>
  475. </span>
  476. <div style="margin: 0px 30px 0px 90px;"><span id="to_lingshou"></span></div>
  477. </div>
  478. <div style="padding: 10px 0px 16px 0px;">
  479. <span style="margin-left: 250px"><input type="button" onclick="doclick_save()" class="button"
  480. value="保存"/></span>
  481. </div>
  482. </div>
  483. </div>
  484. </body>
  485. <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
  486. <script type="text/javascript" src="js/htCommon.js"></script>
  487. <script type="text/javascript" src="js/sell_rule_main.js?v=0.9"></script>
  488. <!--<script type="text/javascript" src="js/xm.js"></script>
  489. <script src="js/master.js" type="text/javascript" charset="utf-8"></script>
  490. <script>
  491. login();
  492. </script>-->
  493. </html>