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.
 
 
 
 

350 lines
16 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>酒店提交订单</title>
  6. <link rel="stylesheet" type="text/css" href="./css/ace.min.css" />
  7. <link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css" />
  8. <link rel="stylesheet" type="text/css" href="./css/bootstrap-timepicker.css" />
  9. <link rel="stylesheet" type="text/css" href="./css/font-awesome.min.css" />
  10. <link rel="stylesheet" type="text/css" href="./css/daterangepicker.css" />
  11. <link rel="stylesheet" type="text/css" href="./css/datepicker.css" />
  12. <link rel="stylesheet" type="text/css" href="./css/master.css">
  13. <link rel="stylesheet" type="text/css" href="./css/Page.css">
  14. <script type="text/javascript" src="./js/jquery-2.0.3.min.js"></script>
  15. <script type="text/javascript" src="./js/date-time/bootstrap-datepicker.min.js"></script>
  16. <script type="text/javascript" src="./js/date-time/bootstrap-timepicker.min.js"></script>
  17. <script type="text/javascript" src="./js/Page.js"></script>
  18. <script src="js/base_path.js" type="text/javascript" charset="utf-8"></script>
  19. <script type="text/javascript" src="./js/hotelPlaceOrder.js"></script>
  20. </head>
  21. <style type="text/css">
  22. .table-bordered>thead>tr>th,
  23. .table-bordered>tbody>tr>th,
  24. .table-bordered>tfoot>tr>th,
  25. .table-bordered>thead>tr>td,
  26. .table-bordered>tbody>tr>td,
  27. .table-bordered>tfoot>tr>td {
  28. border: none;
  29. }
  30. .table thead>tr>th,
  31. .table tbody>tr>th,
  32. .table tfoot>tr>th,
  33. .table thead>tr>td,
  34. .table tbody>tr>td,
  35. .table tfoot>tr>td {
  36. line-height: 30px;
  37. padding: 0px;
  38. padding-bottom: 8px;
  39. padding-top: 8px;
  40. /*line-height: 1.428571;*/
  41. vertical-align: top;
  42. border-top: 1px solid #ddd;
  43. }
  44. .editable-click {
  45. border: 0px solid gray;
  46. }
  47. .profile-user-info-striped .profile-info-value {
  48. border-top: 0px dotted #dcebf7;
  49. padding-left: 12px;
  50. }
  51. .profile-user-info-striped {
  52. border: 0px solid #dcebf7;
  53. }
  54. tbody>tr {
  55. border-bottom: 1px dashed #DDDDDD;
  56. }
  57. tbody>tr:last-child {
  58. border-bottom: 1px solid #DDDDDD;
  59. }
  60. #tr_final > td{
  61. font-weight: 700;
  62. }
  63. th,
  64. td {
  65. text-align: center;
  66. }
  67. .profile-user-info-striped .profile-info-name {
  68. color: #336199;
  69. border-top: 1px solid #f7fbff;
  70. margin-left: 20px;
  71. }
  72. </style>
  73. <script src="js/jquery.cookie.js"></script>
  74. <!--<script src="js/xm.js"></script>
  75. <script>
  76. login();
  77. </script>-->
  78. <body style="font-size: 12px;">
  79. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  80. <div class="navbar-header ">
  81. <a href="#" class="navbar-brand">
  82. <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  83. </a>
  84. </div>
  85. </div>
  86. <div id="show_html" style="display:none;" class="warp clearfix">
  87. <div class="control-bar">
  88. </div>
  89. <div class="control-show" style="float: left;">-->
  90. <!--
  91. 作者:fuhongcheng_fhc@163.com
  92. 时间:2016-06-06
  93. 描述:酒店代下订单
  94. -->
  95. <div id="">
  96. <div class="hotelPlaceOrder" style="width: 1225px;margin-left: 20px;">
  97. <form name="myform" action="" method="post">
  98. <input type="hidden" name="method" value="add" />
  99. <input type="hidden" name="maxcount" value="0" />
  100. <input type="hidden" name="prod_id" value="0" />
  101. <div class="top" style="font-size: 20px;">
  102. 代下订单
  103. <hr style="width: 1200px;margin-top: 20px;"/>
  104. </div>
  105. <div class="bookingInfo">
  106. <p><b>预订信息</b></p>
  107. <hr />
  108. <div class="tabbable" style="margin-left:11px;">
  109. <div class="profile-user-info profile-user-info-striped">
  110. <div class="profile-info-row">
  111. <div class="profile-info-name" style="background-color: white;"><span style="letter-spacing:24px;">产</span>品:</div>
  112. <div class="profile-info-value">
  113. <span class="editable editable-click" id="hotel_room">&nbsp;</span>
  114. <input hidden="hidden" type="text" name="prod_name" id="prod_name"/>
  115. </div>
  116. </div>
  117. <div class="profile-info-row">
  118. <div class="profile-info-name" style="background-color: white;">订单来源:</div>
  119. <div class="profile-info-value">
  120. <span class="editable editable-click">来源分类:
  121. <select name="order_from" onchange="sel_type(this.options[this.selectedIndex].value)" style="margin-left: 10px;">
  122. <option value="">请选择</option>
  123. <option value="176">自营</option>
  124. <option value="177">分销</option>
  125. </select>
  126. </span>
  127. </div>
  128. </div>
  129. <div id="fen" class="profile-info-row" style="display: none">
  130. <div class="profile-info-name" style="background-color: white;"></div>
  131. <div class="profile-info-value">
  132. <span id="fen_name" class="editable editable-click">订单渠道:
  133. <!--<select>
  134. <option value="0">选择省</option>
  135. <option value="1">四川省</option>
  136. <option value="2">云南省</option>
  137. </select>
  138. <select>
  139. <option value="0">选择市</option>
  140. <option value="1">广安市</option>
  141. <option value="2">成都市</option>
  142. </select>-->
  143. <!--<input name="distributors" id="distributors" readonly="true" style="margin-left: 10px;" type="text"placeholder="名称 / 手机 / 登录名" value="" />-->
  144. <select style="margin-left: 10px;" name="distributors" id="distributors">
  145. <option value="1">蜘蛛行网络科技有限公司</option>
  146. <option value="2">上海自在国际旅行社有限公司</option>
  147. <option value="3">上海南顺旅行社</option>
  148. <option value="4">上海恒栋车公司</option>
  149. <option value="5">两站服务台</option>
  150. <option value="6">同行管理</option>
  151. <option value="7">移动终端销售</option>
  152. <option value="8">微信销售</option>
  153. <option value="9">IOS 销售</option>
  154. <option value="10">ANDROID 销售</option>
  155. </select>
  156. </span>
  157. <br /><br />
  158. <span class="editable editable-click">订单编号:
  159. <input name="outside_order_id" id="order_no" readonly="true" style="margin-left: 10px;" type="text"placeholder="分销商订单号" value="" />
  160. </span>
  161. </div>
  162. </div><!--profile-info-row end-->
  163. <div class="profile-info-row">
  164. <div class="profile-info-name" style="background-color: white;">入住日期:</div>
  165. <div class="profile-info-value">
  166. <span class="editable editable-click" id="hotel_room"></span>
  167. <div class="col-sm-1" style="float: left;width: 150px;padding-left:0px;padding-right: 3px;margin-bottom: 10px;">
  168. <div class="input-group">
  169. <input id="id-date-picker-1" onchange="date_choose_picker(1)" class="form-control date-picker" data-date-format="yyyy-mm-dd" type="text" placeholder="开始日期" style="font-size: 12px;height: 30px;">
  170. <span class="input-group-addon">
  171. <i class="icon-calendar bigger-110"></i>
  172. </span>
  173. </div>
  174. </div>
  175. <div class="col-sm-1" style="float: left;width: 150px;padding-left:0px;padding-right: 3px;margin-bottom: 10px;">
  176. <div class="input-group">
  177. <input id="id-date-picker-2" onchange="date_choose_picker(2)" class="form-control date-picker" data-date-format="yyyy-mm-dd" type="text" placeholder="结束日期" style="font-size: 12px;height: 30px;">
  178. <span class="input-group-addon">
  179. <i class="icon-calendar bigger-110"></i>
  180. </span>
  181. </div>
  182. </div>
  183. <span id="all_days" class="editable editable-click" style="display: inline-block; padding-top:5px;height: 20px;;margin-left: 10px;">共 0 晚</span>
  184. <select name="arrive_latest_time" onchange="sel_time_hour(this.options[this.selectedIndex].innerHTML)" style="margin-left: 30px">
  185. <option value="12:00">12:00</option>
  186. <option value="13:00">13:00</option>
  187. <option value="14:00">14:00</option>
  188. <option value="15:00">15:00</option>
  189. <option value="16:00">16:00</option>
  190. <option value="17:00">17:00</option>
  191. <option value="18:00">18:00</option>
  192. <option value="19:00">19:00</option>
  193. <option value="20:00">20:00</option>
  194. <option value="21:00">21:00</option>
  195. <option value="22:00">22:00</option>
  196. <option value="23:00">23:00</option>
  197. <option value="24:00">24:00</option>
  198. </select>
  199. <span class="editable editable-click" style="display: inline-block; padding-top:5px;height: 20px;;margin-left: 10px;">最晚到达</span>
  200. </div>
  201. </div><!--profile-info-row end-->
  202. <div class="profile-info-row">
  203. <div class="profile-info-name" style="background-color: white;"></div>
  204. <div class="profile-info-value">
  205. <span class="editable editable-click" id="hotel_room"></span>
  206. <div id="pagination" class="row">
  207. <div class="col-xs-12">
  208. <div class="table-responsive">
  209. <table id="sample-table-1" class="table table-striped table-bordered table-hover">
  210. <thead>
  211. <tr>
  212. <th>入住日期</th>
  213. <th>库存</th>
  214. <th>数量</th>
  215. <th width="120px">采购价</th>
  216. <th width="120px">结算价</th>
  217. <th width="120px">零售价</th>
  218. <th>采购价金额</th>
  219. <th>结算价金额</th>
  220. <th>销售利润</th>
  221. </tr>
  222. </thead>
  223. <tbody id="hotelList">
  224. <tr id="tr_one" style="display: none;">
  225. <td>[入住日期]
  226. <input type="hidden" name="check_in_date" id="" value="checkIn:Value" />
  227. <input type="hidden" name="run_id" id="" value="[run_id:Value]" />
  228. </td>
  229. <td>[库存]</td>
  230. <td>
  231. <select name="room_count" id="select_room" onchange="select_room([index],this.options[this.selectedIndex].value)">
  232. <option value="[value:i]">[html:i] 间</option>
  233. </select>
  234. </td>
  235. <td>
  236. <input name="base_price_[base]" id="cai_price_[cai1]" oninput="cai_change([cai_blur],this.value)" onkeyup="value=(parseInt((value=value.replace(/\D/g,''))==''||parseInt((value=value.replace(/\D/g,''))==0)?'0':value,10))" onafterpaste="value=(parseInt((value=value.replace(/\D/g,''))==''||parseInt((value=value.replace(/\D/g,''))==0)?'0':value,10))" style="width: 60px;margin-right: 10px;" type="text" value="[采购价]" placeholder=''/>元
  237. </td>
  238. <td>
  239. <input name="mid_price_[mid]" id="jie_price_[jie1]" oninput="jie_change([jie_blur],this.value)" onkeyup="value=(parseInt((value=value.replace(/\D/g,''))==''||parseInt((value=value.replace(/\D/g,''))==0)?'0':value,10))" onafterpaste="value=(parseInt((value=value.replace(/\D/g,''))==''||parseInt((value=value.replace(/\D/g,''))==0)?'0':value,10))" style="width: 60px;margin-right: 10px;" type="text" value="[结算价]" placeholder=''/>元
  240. </td>
  241. <td><input name="order_price_[order]" id="zero_price_[zero1]" oninput="zero_change([zero_blur],this.value)" onkeyup="value=(parseInt((value=value.replace(/\D/g,''))==''||parseInt((value=value.replace(/\D/g,''))==0)?'0':value,10))" onafterpaste="value=(parseInt((value=value.replace(/\D/g,''))==''||parseInt((value=value.replace(/\D/g,''))==0)?'0':value,10))" style="width: 60px;margin-right: 10px;" type="text" value="[零售价]" placeholder=''/>元</td>
  242. <td id="cai_price_balance_[cai2]">[采购价金额]</td>
  243. <td id="jie_price_balance_[jie2]">[结算价金额]</td>
  244. <td id="profits_[lirun]">[销售利润]</td>
  245. </tr>
  246. <tr id="tr_final" style="display: none;">
  247. <td>总计:</td>
  248. <td></td>
  249. <td></td>
  250. <td></td>
  251. <td></td>
  252. <td id="all_order">[总零售价]</td>
  253. <td id="all_cai">[采购价金额]</td>
  254. <td id="all_jie">[结算价金额]</td>
  255. <td id="all_lirun">[销售利润]</td>
  256. </tr>
  257. </tbody>
  258. </table>
  259. </div>
  260. <!-- /.table-responsive -->
  261. </div><!-- /span -->
  262. </div><!--row end-->
  263. </div>
  264. </div>
  265. </div>
  266. </div><!--tabbable end-->
  267. </div>
  268. <div style="clear: both;"></div>
  269. <!--客人信息-->
  270. <div style="font-weight:bold;">客人信息</div>
  271. <hr style="width: 1200px;margin-top: 20px;"/>
  272. <div class="tabbable">
  273. <div class="profile-user-info profile-user-info-striped" style="margin-left:-40px;">
  274. <div class="profile-info-row">
  275. <div class="profile-info-name" style="background-color: white;">客人姓名:</div>
  276. <div class="profile-info-value">
  277. <input name="customer_name" id="guest_name" type="text" value="" placeholder="客人姓名" style="font-size: 13px;"/>
  278. </div>
  279. </div>
  280. <div class="profile-info-row">
  281. <div class="profile-info-name" style="background-color: white;">联系电话:</div>
  282. <div class="profile-info-value">
  283. <input name="customer_mobile" style="font-size: 13px;" id="guest_phone" type="text" value="" placeholder="联系电话" onkeyup="(this.v=function(){if(this.value.length>=11){return;}this.value=this.value.replace(/[^0-9]+/,'');}).call(this)" onblur="this.v();"/>
  284. </div>
  285. </div>
  286. </div>
  287. </div><!--客人信息 end-->
  288. <!--订单备注-->
  289. <br /><br />
  290. <div style="font-weight:bold;">订单备注</div>
  291. <hr style="width: 1200px;margin-top: 20px;"/>
  292. <div class="tabbable">
  293. <div class="profile-user-info profile-user-info-striped" style="margin-left:-40px;">
  294. <div class="profile-info-row">
  295. <div class="profile-info-name" style="background-color: white;"><span style="letter-spacing:24px;">备</span>注:</div>
  296. <div class="profile-info-value">
  297. <textarea name="order_comment" id="order_remark" name="remark" rows="5" style="width: 500px;" maxlength="70"></textarea>
  298. </div>
  299. </div>
  300. </div>
  301. </div><!--订单备注 end-->
  302. <hr style="width: 1200px;margin-top: 20px;"/>
  303. <div>
  304. <span id="btn_submit" style="cursor: pointer;width: 100px;height: 30px;line-height:30px;text-align: center;background-color: gray;display: inline-block;border-radius: 3px;">提交</span>
  305. <!--<span id="btn_shutdown" style="margin-left:10px;width: 100px;height: 30px;line-height:30px;text-align: center;background-color: lightgray;display: inline-block;border-radius: 3px;">关闭</span>-->
  306. </div>
  307. <div style="margin-bottom: 40px;"></div>
  308. </form>
  309. </div>
  310. <!--
  311. 作者:fuhongcheng_fhc@163.com
  312. 时间:2016-06-06
  313. 描述:酒店代下订单
  314. -->
  315. </div>
  316. <!--</div>-->
  317. </body>
  318. <!--<script type="text/javascript" src="./js/master.js"></script>-->
  319. <script type="text/javascript">
  320. $('.date-picker').datepicker({
  321. autoclose: true
  322. }).next().on("click", function() {
  323. $(this).prev().focus();
  324. });
  325. $('#timepicker1').timepicker({
  326. minuteStep: 1,
  327. showSeconds: false,
  328. showMeridian: false
  329. }).next().on("click", function() {
  330. $(this).prev().focus();
  331. });
  332. $('#timepicker2').timepicker({
  333. minuteStep: 1,
  334. showSeconds: false,
  335. showMeridian: false
  336. }).next().on("click", function() {
  337. $(this).prev().focus();
  338. });
  339. </script>
  340. </html>