No Description

predictorderlist.blade.php 27KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. @extends('admin/master')
  2. @section('content')
  3. <body>
  4. <div class="page-container">
  5. <div>
  6. <div>
  7. <!--a class="btn btn-primary radius" onclick="order_add('新增', 0)" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 新增订单</a-->
  8. @if($search_admin == 1)
  9. <input class="input-text" style="width:6%;text-align:center" type="text" value="所属销售"/>
  10. <select style="width:8%;text-align:center" id='admin_id' name="admin_id">
  11. <option value="0" @if($admin_id=='') selected @endif>-- 选择销售 --</option>
  12. @foreach($adminlist as $v)
  13. <option value="{{$v['id']}}" @if($admin_id==$v['id']) selected @endif>{{$v['realname']}}</option>
  14. @endforeach
  15. </select>
  16. @endif
  17. <input class="input-text" style="width:6%;text-align:center" type="text" value="开始时间"/>
  18. <input id="stime" type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss' })" autocomplete="off" class="input-text Wdate" style="width:10%;text-align:center;margin-left: -5px" name="stime" value="{{$stime?$stime:''}}">
  19. <input class="input-text" style="width:6%;text-align:center" type="text" value="结束时间"/>
  20. <input id="etime"type="text" onfocus="WdatePicker({ dateFmt:'yyyy-MM-dd HH:mm:ss' })" autocomplete="off" class="input-text Wdate" style="width:10%;text-align:center;margin-left: -5px" name="etime" value="{{$etime?$etime:''}}">
  21. <input class="input-text" style="width:6%;text-align:center" type="text" value="收货人"/>
  22. <input id="receiverName" type="text" class="input-text" style="width:8%;text-align:center" name="receiverName" value="{{$receiverName?$receiverName:''}}">
  23. <input class="input-text" style="width:6%;text-align:center" type="text" value="收货人手机号"/>
  24. <input id="receiverMobile" type="text" class="input-text" style="width:8%;text-align:center" name="receiverMobile" value="{{$receiverMobile?$receiverMobile:''}}">
  25. <!--input class="input-text" style="width:6%;text-align:center" type="text" value="订单状态"/>
  26. <select style="width:8%;text-align:center" id='status' name="status">
  27. <option value="-1" @if($status=='-1') selected @endif>-- 请选择--</option>
  28. @if($self_role !='管理员' )<option value="0" @if($status==0) selected @endif>已录入</option> @endif
  29. <option value="1" @if($status==1) selected @endif>待审核</option>
  30. <option value="2" @if($status==2) selected @endif>已审核</option>
  31. <option value="3" @if($status==3) selected @endif>已发货</option>
  32. </select-->
  33. <input class="input-text" style="width:6%;text-align:center" type="text" value="预售时间"/>
  34. <select style="width:8%;text-align:center" id='if_all' name="if_all">
  35. <option value="0" @if($if_all=='0') selected @endif>今天及以后</option>
  36. <option value="1" @if($if_all==1) selected @endif>全部</option>
  37. </select>
  38. <div style="float:right">
  39. <a class="btn btn-primary radius" onclick="user_search()" href="javascript:;">搜索</a>
  40. <!--a class="btn btn-primary radius" onclick="order_export()" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 导出订单</a-->
  41. <!--a class="btn btn-primary radius" onclick="order_verify_more()" href="javascript:;"><i class="Hui-iconfont">&#xe600;</i> 批量审核</a-->
  42. </div>
  43. </div>
  44. </div>
  45. <div class="mt-20">
  46. <table class="table table-border table-bordered table-bg table-hover table-sort">
  47. <thead>
  48. <tr class="text-c">
  49. <th width="4%"><!--input type="checkbox" id="selected-all"-->订单编号</th>
  50. <th width="4%">买家名称</th>
  51. <th width="4%">收货人</th>
  52. <th width="4%">收货人手机号</th>
  53. <th width="6%">收货地址</th>
  54. <th width="9%">商品信息</th>
  55. <th width="4%">预发货时间</th>
  56. <th width="6%">物流单号</th>
  57. @if($self_role !='销售' )
  58. <th width="3%">货品成本</th>
  59. <th width="3%">运费成本</th>
  60. @endif
  61. <th width="4%">发货仓库</th>
  62. <th width="4%">付款金额</th>
  63. <th width="5%">下单时间</th>
  64. <th width="4%">加粉时间</th>
  65. <th width="2%">是否复购</th>
  66. <th width="2%">是否退补单</th>
  67. <th width="4%">应该退补差价</th>
  68. <th width="5%">退补备注</th>
  69. <th width="4%">所属销售</th>
  70. <th width="4%">订单状态</th>
  71. @if($self_role =='销售' )<th width="5%">驳回原因</th>@endif
  72. <th width="5%">买家备注</th>
  73. <th width="5%">卖家备注</th>
  74. <th width="5%">发货备注</th>
  75. </tr>
  76. </thead>
  77. <tbody>
  78. @if($result)
  79. @foreach($result as $a)
  80. <tr class="text-c" style=" text-align:center;">
  81. <td><!--input type="checkbox" name="id[]" value="{{$a['id']}}"--> {{$a['id']}}</td>
  82. <td>{{$a['customerName']}}</td>
  83. <td>{{$a['receiverName']}}</td>
  84. <td>{{$a['receiverMobile']}}</td>
  85. <td>{{$a['receiverState']}}{{$a['receiverCity']}}{{$a['receiverDistrict']}}{{$a['receiverStreet']}}{{$a['receiverAddress']}}</td>
  86. <td>
  87. @if( is_array($a['goods']) && $a['warehouse'] == 3)
  88. @foreach($a['goods'] as $good)
  89. <p>{{$good}}</p>
  90. @endforeach
  91. @else
  92. {{$a['goods_note']}}
  93. @endif
  94. </td>
  95. <td>{{$a['delivery_date']}}</td>
  96. @if($self_role =='销售' || ($self_role =='管理员' && $a['status']>0) )
  97. <td>{{$a['logistics_id']}}</td>
  98. @else
  99. <td class ="change_logistics_id">
  100. <p id="logi_1{{$a['id']}}">{{$a['logistics_id']}}</p>
  101. <input id="logi_2{{$a['id']}}" style="display: none" type='text' autofocus="autofocus" name='logistics_id' value="{{$a['logistics_id']}}" onblur="change_logistics_id({{$a['id']}})" />
  102. <span class="sort_icon" hidden onClick='change_logistics_click("{{$a['id']}}","{{$a['logistics_id']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  103. </td>
  104. @endif
  105. @if($self_role !='销售' )
  106. @if($self_role =='管理员' && $a['status']>0)
  107. <td>{{$a['cost']}}</td>
  108. <td>{{$a['freight_cost']}}</td>
  109. @else
  110. <td class ="change_logistics_id">
  111. <p id="cost_1{{$a['id']}}">{{$a['cost']}}</p>
  112. <input id="cost_2{{$a['id']}}" style="display: none" type='text' name='cost' value="{{$a['cost']}}" onblur="change_cost({{$a['id']}})" />
  113. <span class="sort_icon" hidden onClick='change_cost_click("{{$a['id']}}","{{$a['cost']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  114. </td>
  115. <td class ="change_logistics_id">
  116. <p id="freight_cost_1{{$a['id']}}">{{$a['freight_cost']}}</p>
  117. <input id="freight_cost_2{{$a['id']}}" style="display: none" type='text' name='freight_cost' value="{{$a['freight_cost']}}" onblur="change_freight_cost({{$a['id']}})" />
  118. <span class="sort_icon" hidden onClick='change_freight_cost_click("{{$a['id']}}","{{$a['freight_cost']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  119. </td>
  120. @endif
  121. @endif
  122. <td>@if($a['warehouse']==1) A仓库 @elseif($a['warehouse']==2) B仓库 @else @endif</td>
  123. <td>{{$a['receivedAmount']}}</td>
  124. <td>{{$a['createTime']}}</td>
  125. <td>{{$a['fanTime']}}</td>
  126. <td>@if($a['is_fugou']==1) 是 @else 否 @endif</td>
  127. <td>@if($a['is_refund']==1) 是 @else 否 @endif</td>
  128. <td>{{$a['refund_price']}}</td>
  129. @if(($self_role =='销售' || $self_role =='管理员') && $a['status']>0)
  130. <td>{{$a['refund_note']}}</td>
  131. @else
  132. <td class ="change_logistics_id">
  133. <p id="refund_note_1{{$a['id']}}">{{$a['refund_note']}}</p>
  134. <textarea id="refund_note_2{{$a['id']}}" rows=4 style="display: none" name='refund_note' onblur="change_refund_note({{$a['id']}})" >{{$a['refund_note']}}</textarea>
  135. <span class="sort_icon" hidden onClick='change_refund_note_click("{{$a['id']}}","{{$a['refund_note']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  136. </td>
  137. @endif
  138. <td>{{$a['admin_name']}}</td>
  139. <td id="order_verify{{$a['id']}}">{{$a['status_name']}}</td>
  140. @if($self_role =='销售' ) <td>@if($a['status'] == 0)<font color='red'> {{$a['refuse_reason']}} </font> @endif</td> @endif
  141. @if(($self_role =='销售' || $self_role =='管理员') && $a['status']>0)
  142. <td>{{$a['buyerMemo']}}</td>
  143. <td>{{$a['sellerMemo']}}</td>
  144. <td>{{$a['send_note']}}</td>
  145. @else
  146. <td class ="change_logistics_id">
  147. <p id="buyerMemo_1{{$a['id']}}">{{$a['buyerMemo']}}</p>
  148. <input id="buyerMemo_2{{$a['id']}}" style="display: none" type='text' name='buyerMemo' value="{{$a['buyerMemo']}}" onblur="change_buyerMemo({{$a['id']}})" />
  149. <span class="sort_icon" hidden onClick='change_buyerMemo_click("{{$a['id']}}","{{$a['cost']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  150. </td>
  151. <td class ="change_logistics_id">
  152. <p id="sellerMemo_1{{$a['id']}}">{{$a['sellerMemo']}}</p>
  153. <input id="sellerMemo_2{{$a['id']}}" style="display: none" type='text' name='sellerMemo' value="{{$a['sellerMemo']}}" onblur="change_sellerMemo({{$a['id']}})" />
  154. <span class="sort_icon" hidden onClick='change_sellerMemo_click("{{$a['id']}}","{{$a['cost']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  155. </td>
  156. <td class ="change_logistics_id">
  157. <p id="send_note_1{{$a['id']}}">{{$a['send_note']}}</p>
  158. <textarea id="send_note_2{{$a['id']}}" rows=4 style="display: none" name='send_note' onblur="change_send_note({{$a['id']}})" >{{$a['send_note']}}</textarea>
  159. <span class="sort_icon" hidden onClick='change_send_note_click("{{$a['id']}}","{{$a['send_note']}}")' style="cursor:pointer"><i class="Hui-iconfont">&#xe647;</i></span>
  160. </td>
  161. @endif
  162. </tr>
  163. @endforeach
  164. @endif
  165. </tbody>
  166. </table>
  167. </div>
  168. <!--弹出层 推入分组-->
  169. <div id="modal-demo1" class="modal fade" tabnonautomatic_index="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  170. <div class="modal-dialog">
  171. <div class="modal-content radius">
  172. <div class="modal-body" style="height:150px">
  173. <div id="fa2">
  174. <p style="font-size:14px">驳回原因:</p>
  175. <input id='order_id' type='hidden' name='status' value=''/>
  176. <textarea style="height:75px;" cols="85" id='refuse_reason'></textarea>
  177. </div>
  178. <div style="float:right">
  179. <button class="btn btn-primary radius" onclick='verify_refuse()' value="&nbsp;&nbsp;确定&nbsp;&nbsp;">&nbsp;&nbsp;确定&nbsp;&nbsp;</button>&nbsp;
  180. <button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
  181. </div>
  182. </div>
  183. </div>
  184. </div>
  185. </div>
  186. <div id="page" class="page_div"></div>
  187. </div>
  188. <!--_footer 作为公共模版分离出去-->
  189. <script type="text/javascript" src="/admin/lib/jquery/1.9.1/jquery.min.js"></script>
  190. <script type="text/javascript" src="/admin/lib/layer/2.4/layer.js"></script>
  191. <script type="text/javascript" src="/admin/static/h-ui/js/H-ui.min.js"></script>
  192. <script type="text/javascript" src="/admin/static/h-ui.admin/js/H-ui.admin.js"></script>
  193. <script type="text/javascript" src="/admin/lib/page/paging.js"></script>
  194. <script type="text/javascript" src="/admin/lib/My97DatePicker/4.8/WdatePicker.js"></script>
  195. <!--/_footer 作为公共模版分离出去-->
  196. <!--/_footer 作为公共模版分离出去-->
  197. <script type="text/javascript">
  198. /*广告-添加*/
  199. function order_add(title){
  200. location.href="/admin/order/create";
  201. }
  202. /*广告-编辑*/
  203. function order_edit(title,id){
  204. var page = {{$page}};
  205. var admin_id = $('#admin_id').val();
  206. var stime = $('#stime').val();
  207. var etime = $('#etime').val();
  208. var receiverName = $('#receiverName').val();
  209. var receiverMobile = $('#receiverMobile').val();
  210. var last_url = '{{$last_url}}';
  211. location.href="/admin/order/edit/"+id+'?page='+page+'&admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile+'&last_url='+last_url;
  212. }
  213. /*广告-设为首页显示*/
  214. function up(obj,id){
  215. layer.confirm('确认要设为首页显示吗?',function(index){
  216. location.href='/admin/order/up/'+id;
  217. });
  218. }
  219. /*广告-移除*/
  220. function order_del(obj,id){
  221. layer.confirm('确认要删除吗?',function(index){
  222. location.href='/admin/order/delete/'+id;
  223. });
  224. }
  225. /*广告-设为首页隐藏*/
  226. function down(obj,id){
  227. layer.confirm('确认要设为首页隐藏吗?',function(index){
  228. location.href='/admin/order/down/'+id;
  229. });
  230. }
  231. function user_search(){
  232. var admin_id = $('#admin_id').val();
  233. var stime = $('#stime').val();
  234. var etime = $('#etime').val();
  235. var receiverName = $('#receiverName').val();
  236. var receiverMobile = $('#receiverMobile').val();
  237. //var status = $('#status').val();
  238. var if_all = $('#if_all').val();
  239. //var page = {{$page}};
  240. location.href = 'predictOrder?admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile+'&if_all='+if_all;
  241. }
  242. //导出
  243. function order_export(){
  244. var admin_id = $('#admin_id').val();
  245. var stime = $('#stime').val();
  246. var etime = $('#etime').val();
  247. var receiverName = $('#receiverName').val();
  248. var receiverMobile = $('#receiverMobile').val();
  249. var status = $('#status').val();
  250. location.href = '/admin/order/order_export?admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile+'&status='+status;
  251. }
  252. function change_logistics_click(id, logistics_id){
  253. $("#logi_1"+id).hide();
  254. $("#logi_2"+id).show();
  255. $("#logi_2"+id).focus();
  256. }
  257. function change_logistics_id(id){
  258. var logistics_id = $("#logi_2"+id).val();
  259. $.ajax({
  260. url: '/admin/order/editLogisticsId?id='+id+'&logistics_id='+logistics_id,
  261. type: 'get',
  262. dateType: 'json',
  263. success:function(msg){
  264. $("#logi_1"+id).html(logistics_id);
  265. $("#logi_1"+id).show();
  266. $("#logi_2"+id).hide();
  267. }
  268. });
  269. }
  270. function change_cost_click(id, cost){
  271. $("#cost_1"+id).hide();
  272. $("#cost_2"+id).show();
  273. $("#cost_2"+id).focus();
  274. }
  275. function change_cost(id){
  276. var cost = $("#cost_2"+id).val();
  277. $.ajax({
  278. url: '/admin/order/editLogisticsId?id='+id+'&cost='+cost,
  279. type: 'get',
  280. dateType: 'json',
  281. success:function(msg){
  282. $("#cost_1"+id).html(cost);
  283. $("#cost_1"+id).show();
  284. $("#cost_2"+id).hide();
  285. }
  286. });
  287. }
  288. function change_freight_cost_click(id, freight_cost){
  289. $("#freight_cost_1"+id).hide();
  290. $("#freight_cost_2"+id).show();
  291. $("#freight_cost_2"+id).focus();
  292. }
  293. function change_freight_cost(id){
  294. var freight_cost = $("#freight_cost_2"+id).val();
  295. $.ajax({
  296. url: '/admin/order/editLogisticsId?id='+id+'&freight_cost='+freight_cost,
  297. type: 'get',
  298. dateType: 'json',
  299. success:function(msg){
  300. $("#freight_cost_1"+id).html(freight_cost);
  301. $("#freight_cost_1"+id).show();
  302. $("#freight_cost_2"+id).hide();
  303. }
  304. });
  305. }
  306. function change_buyerMemo_click(id, buyerMemo){
  307. $("#buyerMemo_1"+id).hide();
  308. $("#buyerMemo_2"+id).show();
  309. $("#buyerMemo_2"+id).focus();
  310. }
  311. function change_buyerMemo(id){
  312. var buyerMemo = $("#buyerMemo_2"+id).val();
  313. $.ajax({
  314. url: '/admin/order/editLogisticsId?id='+id+'&buyerMemo='+buyerMemo,
  315. type: 'get',
  316. dateType: 'json',
  317. success:function(msg){
  318. $("#buyerMemo_1"+id).html(buyerMemo);
  319. $("#buyerMemo_1"+id).show();
  320. $("#buyerMemo_2"+id).hide();
  321. }
  322. });
  323. }
  324. function change_sellerMemo_click(id, sellerMemo){
  325. $("#sellerMemo_1"+id).hide();
  326. $("#sellerMemo_2"+id).show();
  327. $("#sellerMemo_2"+id).focus();
  328. }
  329. function change_sellerMemo(id){
  330. var sellerMemo = $("#sellerMemo_2"+id).val();
  331. $.ajax({
  332. url: '/admin/order/editLogisticsId?id='+id+'&sellerMemo='+sellerMemo,
  333. type: 'get',
  334. dateType: 'json',
  335. success:function(msg){
  336. $("#sellerMemo_1"+id).html(sellerMemo);
  337. $("#sellerMemo_1"+id).show();
  338. $("#sellerMemo_2"+id).hide();
  339. }
  340. });
  341. }
  342. function change_send_note_click(id, send_note){
  343. $("#send_note_1"+id).hide();
  344. $("#send_note_2"+id).show();
  345. $("#send_note_2"+id).focus();
  346. }
  347. function change_send_note(id){
  348. var send_note = $("#send_note_2"+id).val();
  349. $.ajax({
  350. url: '/admin/order/editLogisticsId?id='+id+'&send_note='+send_note,
  351. type: 'get',
  352. dateType: 'json',
  353. success:function(msg){
  354. $("#send_note_1"+id).html(send_note);
  355. $("#send_note_1"+id).show();
  356. $("#send_note_2"+id).hide();
  357. }
  358. });
  359. }
  360. function change_refund_note_click(id, refund_note){
  361. $("#refund_note_1"+id).hide();
  362. $("#refund_note_2"+id).show();
  363. $("#refund_note_2"+id).focus();
  364. }
  365. function change_refund_note(id){
  366. var refund_note = $("#refund_note_2"+id).val();
  367. $.ajax({
  368. url: '/admin/order/editLogisticsId?id='+id+'&refund_note='+refund_note,
  369. type: 'get',
  370. dateType: 'json',
  371. success:function(msg){
  372. $("#refund_note_1"+id).html(refund_note);
  373. $("#refund_note_1"+id).show();
  374. $("#refund_note_2"+id).hide();
  375. }
  376. });
  377. }
  378. function order_refund(id){
  379. $.ajax({
  380. url: '/admin/order/setrefund/'+id,
  381. type: 'get',
  382. dateType: 'json',
  383. success:function(msg){
  384. var str = '<span class="btn btn-danger radius">退款</span>';
  385. $("#refund"+id).html(str);
  386. }
  387. });
  388. }
  389. function order_verify(id, status, name){
  390. if( !confirm('确认'+name) ){
  391. return false;
  392. }
  393. var admin_id = $('#admin_id').val();
  394. var stime = $('#stime').val();
  395. var etime = $('#etime').val();
  396. var receiverName = $('#receiverName').val();
  397. var receiverMobile = $('#receiverMobile').val();
  398. var page = {{$page}};
  399. var str_query = 'page='+page+'&admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile;
  400. location.href = '/admin/order/setverify/'+id+'?status='+status+'&'+str_query;
  401. }
  402. function order_verify_more(){
  403. var ids = $(":checkbox[name='id[]']:checked").serialize();
  404. var idLength = $(":checkbox[name='id[]']:checked").length;
  405. if (idLength < 1) {
  406. alert("请至少选中一项");
  407. return false;
  408. }
  409. var ids = $(":checkbox[name='id[]']:checked").serialize();
  410. var admin_id = $('#admin_id').val();
  411. var stime = $('#stime').val();
  412. var etime = $('#etime').val();
  413. var receiverName = $('#receiverName').val();
  414. var receiverMobile = $('#receiverMobile').val();
  415. var page = {{$page}};
  416. location.href = '/admin/order/setverifymore?'+ids+'&page='+page+'&admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile;
  417. }
  418. /*弹出层-填写原因*/
  419. function refuse_reason(id) {
  420. $("#order_id").val(id);
  421. $("#modal-demo1").modal("show");
  422. }
  423. function verify_refuse(){
  424. var reason = $("#refuse_reason").val();
  425. var id = $("#order_id").val();
  426. var status = 0;
  427. var admin_id = $('#admin_id').val();
  428. var stime = $('#stime').val();
  429. var etime = $('#etime').val();
  430. var receiverName = $('#receiverName').val();
  431. var receiverMobile = $('#receiverMobile').val();
  432. var page = {{$page}};
  433. var str_query = 'page='+page+'&admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile;
  434. location.href = '/admin/order/setverify/'+id+'?status='+status+'&refuse_reason='+reason+'&'+str_query;
  435. }
  436. $(".change_logistics_id").mouseover(
  437. function(){
  438. $(this).children("span").show();
  439. $(this).children("span").addClass('f-18 c-success');
  440. $(this).mouseout(
  441. function(){
  442. $(this).children("span").hide();
  443. }
  444. );
  445. }
  446. );
  447. /*分页*/
  448. $("#page").paging({
  449. pageNo:{{$page}},
  450. totalPage: {{$pages}},
  451. totalSize: {{$count}},
  452. callback: function(num) {
  453. var admin_id = $('#admin_id').val();
  454. var stime = $('#stime').val();
  455. var etime = $('#etime').val();
  456. var receiverName = $('#receiverName').val();
  457. var receiverMobile = $('#receiverMobile').val();
  458. //var status = $('#status').val();
  459. var if_all = $('#if_all').val();
  460. location.href = 'predictOrder?page='+num+'&admin_id='+admin_id+'&stime='+stime+'&etime='+etime+'&receiverName='+receiverName+'&receiverMobile='+receiverMobile+'&if_all='+if_all;
  461. }
  462. })
  463. </script>
  464. </body>
  465. @endsection