Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

542 linhas
24 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">a</span>道<span style="color:white">a</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. oninput="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"
  183. style="width: 70px;height: 20px;display: inline-block;text-align: right;margin-left: 325px"></span>
  184. <span id="updateAll" class="search_btn btn-primary permission-display"
  185. style="font-size: 12px;width: 75px; text-align:center;padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;">修改房态</span>
  186. <span class="search_btn btn-primary permission-display"
  187. style="font-size: 12px;text-align:center;width: 75px; padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;"
  188. onclick="closeStatus()">关闭授权</span>
  189. <span class="search_btn btn-primary permission-display"
  190. style="font-size: 12px;text-align:center;width: 75px; padding: 3px;display: inline-block;cursor: pointer;float: right;margin-left: 10px;"
  191. onclick="openStatus()">打开授权</span>
  192. </div>
  193. <!--列表-->
  194. <div class="topleft">
  195. <table id="table" width="1222px" id="sample-table-1"
  196. class="table table-striped table-bordered table-hover permission">
  197. <!--<thead>
  198. <tr>
  199. <th width="35px" class="center">
  200. <label>
  201. <input class="ace" onclick="select_checked('0')" type="checkbox">
  202. <span class="lbl"></span>
  203. </label>
  204. </th>
  205. <th width="200px" style="text-align: left;">分销商</th>
  206. <th id="f_date1" width="100px">08-16</br>今天</th>
  207. <th id="f_date2" width="100px">08-16</br>今天</th>
  208. <th id="f_date3" width="100px">08-16</br>今天</th>
  209. <th id="f_date4" width="100px">08-16</br>今天</th>
  210. <th id="f_date5" width="100px">08-16</br>今天</th>
  211. <th id="f_date6" width="100px">08-16</br>今天</th>
  212. <th id="f_date7" width="100px">08-16</br>今天</th>
  213. <th width="100px">操作</th>
  214. </tr>
  215. </thead>-->
  216. <thead>
  217. <tr class="tb_title">
  218. <th style="width: 35px;" class="center">
  219. <label>
  220. <input id="all" class="ace" type="checkbox">
  221. <span class="lbl"></span>
  222. </label>
  223. </th>
  224. <th width="200px" style="text-align: center;">渠道商</th>
  225. <th id="f_date1" style="width: 120px;text-align: center;"></th>
  226. <th id="f_date2" style="width: 120px;text-align: center;"></th>
  227. <th id="f_date3" style="width: 120px;text-align: center;"></th>
  228. <th id="f_date4" style="width: 120px;text-align: center;"></th>
  229. <th id="f_date5" style="width: 120px;text-align: center;"></th>
  230. <th id="f_date6" style="width: 120px;text-align: center;"></th>
  231. <th id="f_date7" style="width: 120px;text-align: center;"></th>
  232. <th style="width: 100px;text-align: center;">授权状态</th>
  233. </tr>
  234. </thead>
  235. <tbody id="room_list" style="text-align: center;visibility: hidden;">
  236. <tr class="base" style="display: table-row;background: #f9f9f9; height:71px"
  237. data-distrib-id="[distrib_id]" data-distrib-type="[distrib_type]">
  238. <th class="center" style="vertical-align: middle;">
  239. <label>
  240. <input class="ace" onclick="selectAll()" value="[room-type]"
  241. type="checkbox" name="mybox">
  242. <span class="lbl"></span>
  243. </label>
  244. </th>
  245. <td style="vertical-align: middle;">[分销商名称]</td>
  246. <td id="day1" class="change" date_num='2' onclick="cdayAddEvent(this)"
  247. is_need_delete="[is_need_delete1]">
  248. <div style="position:relative;">
  249. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  250. </div>
  251. <div style="position:relative;text-align: left;">
  252. <span class='has_sell'>已售[100]</span></br>
  253. <span class='remaining'>剩余[1]</span></br>
  254. <span class='distribution_price'>[分销价1]:[100]</span>
  255. </div>
  256. </div>
  257. </td>
  258. <td id="day2" class="change" date_num='3' onclick="cdayAddEvent(this)"
  259. is_need_delete="[is_need_delete2]">
  260. <div style="position:relative;">
  261. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  262. </div>
  263. <div style="position:relative;text-align: left;">
  264. <span class='has_sell'>已售[200]</span></br>
  265. <span class='remaining'>剩余[2]</span></br>
  266. <span class='distribution_price'>[分销价2]:[200]</span>
  267. </div>
  268. </div>
  269. </td>
  270. <td id="day3" class="change" date_num='4' onclick="cdayAddEvent(this)"
  271. is_need_delete="[is_need_delete3]">
  272. <div style="position:relative;">
  273. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  274. </div>
  275. <div style="position:relative;text-align: left;">
  276. <span class='has_sell'>已售[300]</span></br>
  277. <span class='remaining'>剩余[3]</span></br>
  278. <span class='distribution_price'>[分销价3]:[300]</span>
  279. </div>
  280. </div>
  281. </td>
  282. <td id="day4" class="change" date_num='5' onclick="cdayAddEvent(this)"
  283. is_need_delete="[is_need_delete4]">
  284. <div style="position:relative;">
  285. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  286. </div>
  287. <div style="position:relative;text-align: left;">
  288. <span class='has_sell'>已售[400]</span></br>
  289. <span class='remaining'>剩余[4]</span></br>
  290. <span class='distribution_price'>[分销价4]:[400]</span>
  291. </div>
  292. </div>
  293. </td>
  294. <td id="day5" class="change" date_num='6' onclick="cdayAddEvent(this)"
  295. is_need_delete="[is_need_delete5]">
  296. <div style="position:relative;">
  297. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  298. </div>
  299. <div style="position:relative;text-align: left;">
  300. <span class='has_sell'>已售[500]</span></br>
  301. <span class='remaining'>剩余[5]</span></br>
  302. <span class='distribution_price'>[分销价5]:[500]</span>
  303. </div>
  304. </div>
  305. </td>
  306. <td id="day6" class="change" date_num='7' onclick="cdayAddEvent(this)"
  307. is_need_delete="[is_need_delete6]">
  308. <div style="position:relative;">
  309. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  310. </div>
  311. <div style="position:relative;text-align: left;">
  312. <span class='has_sell'>已售[600]</span></br>
  313. <span class='remaining'>剩余[6]</span></br>
  314. <span class='distribution_price'>[分销价6]:[600]</span>
  315. </div>
  316. </div>
  317. </td>
  318. <td id="day7" class="change" date_num='8' onclick="cdayAddEvent(this)"
  319. is_need_delete="[is_need_delete7]">
  320. <div style="position:relative;">
  321. <div style="float: right;margin-top: -11px;margin-right: -9px;">
  322. </div>
  323. <div style="position:relative;text-align: left;">
  324. <span class='has_sell'>已售[700]</span></br>
  325. <span class='remaining'>剩余[7]</span></br>
  326. <span class='distribution_price'>[分销价7]:[700]</span>
  327. </div>
  328. </div>
  329. </td>
  330. <td style="vertical-align: middle;text-align: center;">
  331. <img class='image_class' src="images/OffSwitch.png" style="height: 16px;width: 53*16/36px;"
  332. onclick="image_onclick(this)" isopen="0"> 开
  333. </td>
  334. </tr>
  335. </tbody>
  336. </table>
  337. <div class="pageDiv" style="float: right"></div>
  338. <!--修改基础房型的弹出层 one day-->
  339. <div id="up_base_room" style="display: none;z-index: 17;">
  340. <span>房态:</span>
  341. <select id="base_stock_type" style="width: 70px;">
  342. <option value="326" selected="selected" style="font-size: 12px;">固定数量</option>
  343. <option value="329" style="font-size: 12px;">关房</option>
  344. </select>
  345. <span style="border: solid 1px #CCCCCC ;width: 80px;" class="second_style_next" id="count_input">
  346. <input id="authorized_stock_num" style="width: 45px;border: 0;" type="text"
  347. name="" value="">
  348. <span style="color: #999999;">间</span>
  349. </span>
  350. <span style="margin-left: 20px;margin-right: 10px;">最大<label id="max_stock">0</label>间</span>
  351. <span style="margin-left: 20px;margin-right: 10px;" id="overSale_name">超卖:</span>
  352. <span style="width: 80px;" class="second_style_next">
  353. <input type="radio" name="overSale" value="1" checked/> 开
  354. <input type="radio" name="overSale" value="0"/> 关
  355. </span>
  356. <span style="margin-left: 20px;margin-right: 10px;" id="fenxiao_name">分销价:</span>
  357. <span style="border: solid 1px #CCCCCC ;width: 90px;" class="second_style_next" id="fenxiao_price">
  358. <input id="distribution_price" style="width: 45px;border: 0;" type="text"
  359. name="" value="" oninput="cannot_input_fenxiao()">
  360. <span style="color: #999999;">RMB</span>
  361. </span>
  362. <span style="margin-left: 20px;margin-right: 10px;" id="lingshou_name">零售价:</span>
  363. <span style="border: solid 1px #CCCCCC ;width: 90px;" class="second_style_next" id="lingshou_price">
  364. <input id="retail_price" style="width: 45px;border: 0;" type="text" name=""
  365. value="" oninput="cannot_input_lingshou()">
  366. <span style="color: #999999;">RMB</span>
  367. </span>
  368. <span class="save_base" id="one_save"
  369. style="cursor: pointer;background: #428bca!important;color: white;margin-left:26px;padding: 10px 20px;"
  370. onclick="saveUpdate()">保存</span>
  371. <span class="cancel_base"
  372. style="cursor: pointer;background:#428bca!important;color: white;padding: 10px 20px;margin-left: 28px;"
  373. onclick="cancelUpdate()">取消</span>
  374. </div>
  375. </div>
  376. <!--蒙板-->
  377. <div id="mask" style="display: none;position: fixed;left:0;top:0;right:0;bottom:0;opacity: 0;"></div>
  378. </div>
  379. <!--</div>-->
  380. <div id="one" style="display: none;margin:-535px 0px 0px -275px;">
  381. <div style="width: 500px;height: auto;border:1px solid lightgrey;">
  382. <div class="height" style="width: 500px;background: lightgrey;">
  383. <span class="frist_style_chinese">批量修改房态</span><span class="frist_style_cha"
  384. style="text-align: right;"> <img
  385. src="images/chacha.png" type="button"
  386. onclick="doclick_close()" style="cursor: pointer;text-align: right;"/></span>
  387. </div>
  388. <div style="width: 500px;">
  389. <span class="head">时间范围:</span>
  390. <input type="text" id="start_date_update" class="Wdate"
  391. style="height: 25px; width: 120px;display: inline-block" name="begin"
  392. onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"/>
  393. <span>-</span>
  394. <input type="text" id="end_date_update" class="Wdate"
  395. style="height: 25px; width: 120px;display: inline-block" name="end"
  396. onClick="WdatePicker({doubleCalendar:true,errDealMode:0,alwaysUseStartDate:true})"/>
  397. </div>
  398. <div>
  399. <span class="head">适用星期:</span>
  400. <span>
  401. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>一<span
  402. style="opacity: 0">空</span>
  403. </span>
  404. <span>
  405. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>二<span
  406. style="opacity: 0">空</span>
  407. </span>
  408. <span>
  409. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>三<span
  410. style="opacity: 0">空</span>
  411. </span>
  412. <span>
  413. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>四<span
  414. style="opacity: 0">空</span>
  415. </span>
  416. <span>
  417. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>五<span
  418. style="opacity: 0">空</span>
  419. </span>
  420. <span>
  421. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>六<span
  422. style="opacity: 0">空</span>
  423. </span>
  424. <span>
  425. <input class="checkbox_date" type="checkbox" checked="checked"><span style="opacity: 0">a</span>七<span
  426. style="opacity: 0">空</span>
  427. </span>
  428. </div>
  429. <div style="width: 500px; height: 40px;">
  430. <span class="head" style="height: 40px; line-height: 40px;">授权库存:</span>
  431. <select id="authorized_stock_many"
  432. style="width: 125px; vertical-align: top; height: 30px; margin-top: 5px;">
  433. <option value="326" selected="selected" style="font-size: 12px;">固定数量</option>
  434. <option value="329" style="font-size: 12px;">关房</option>
  435. </select>
  436. <span style="border: solid 1px #CCCCCC ;width: 125px;" class="second_style_next_data">
  437. <input id="authorized_stock_num_many" style="width: 90px;border: 0;"
  438. type="text" name="" value=""
  439. >
  440. <span style="color: #999999;">间</span>
  441. </span>
  442. </div>
  443. <div style="width: 500px; height: 40px;">
  444. <span class="head" style="height: 40px; line-height: 40px;">超卖:</span>
  445. <span style="width: 125px;margin-left: 0px;" class="second_style_next">
  446. <input type="radio" name="overSaleBatch" value="1" title="开" checked/> 开
  447. <input type="radio" name="overSaleBatch" value="0" title="关"/> 关
  448. </span>
  449. </div>
  450. <div>
  451. <span class="head" style="height: 40px; line-height: 40px;">分销价:</span>
  452. <span style="border: solid 1px #CCCCCC ;width: 130px;margin-left: 0px;text-align: right;"
  453. class="second_style_next">
  454. <input id="distribution_price_many"
  455. style="width: 80px;border: 0;text-align: right;"
  456. type="text" name="" value="" onpaste="return false"
  457. oninput="cannot_input_fenxiao_many()"
  458. onkeydown="return check(event)">
  459. <span style="color: #999999;padding-right: 5px;">RMB</span>
  460. </span>
  461. <div style="margin: 0px 30px 0px 90px;"><span id="to_fenxiao"></span></div>
  462. </div>
  463. <div>
  464. <span class="head" style="height: 40px; line-height: 40px;">零售价:</span>
  465. <span style="border: solid 1px #CCCCCC ;width: 130px;margin-left: 0px;text-align: right;"
  466. class="second_style_next">
  467. <input id="retail_price_many"
  468. style="width: 80px;border: 0;text-align: right;" type="text"
  469. name="" value="" onpaste="return false"
  470. oninput="cannot_input_lingshou_many()"
  471. onkeydown="return check(event)">
  472. <span style="color: #999999;padding-right: 5px;">RMB</span>
  473. </span>
  474. <div style="margin: 0px 30px 0px 90px;"><span id="to_lingshou"></span></div>
  475. </div>
  476. <div style="padding: 10px 0px 16px 0px;">
  477. <span style="margin-left: 250px"><input type="button" onclick="doclick_save()" class="button"
  478. value="保存"/></span>
  479. </div>
  480. </div>
  481. </div>
  482. </body>
  483. <script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>
  484. <script type="text/javascript" src="js/htCommon.js"></script>
  485. <script type="text/javascript" src="js/sell_rule_main.js"></script>
  486. <!--<script type="text/javascript" src="js/xm.js"></script>
  487. <script src="js/master.js" type="text/javascript" charset="utf-8"></script>
  488. <script>
  489. login();
  490. </script>-->
  491. </html>