index.html 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <?php $shoname_name = D('Home/Front')->get_config_by_name('shoname'); ?>
  6. <title><?php echo $shoname; ?></title>
  7. <link rel="shortcut icon" href="" />
  8. <meta name="renderer" content="webkit">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  11. <link rel="stylesheet" href="/layuiadmin/style/admin.css" media="all">
  12. <!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
  13. <!--[if lt IE 9]>
  14. <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  15. <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  16. <![endif]-->
  17. <link href="./resource/css/bootstrap.min.css?v=201903260001" rel="stylesheet">
  18. <link href="./resource/css/common.css?v=201903260001" rel="stylesheet">
  19. <script type="text/javascript">
  20. window.sysinfo = {
  21. <?php if (!empty($_W['uniacid']) ){ ?>'uniacid': '{$_W['uniacid']}',<?php } ?>
  22. <?php if( !empty($_W['acid']) ){ ?>'acid': '{$_W['acid']}',<?php } ?>
  23. <?php if (!empty($_W['openid']) ) { ?>'openid': '{$_W['openid']}',<?php } ?>
  24. <?php if( !empty($_W['uid']) ) { ?>'uid': '{$_W['uid']}',<?php } ?>
  25. 'isfounder': <?php if (!empty($_W['isfounder']) ) { ?>1<?php }else{ ?>0<?php } ?>,
  26. 'siteroot': '{$_W['siteroot']}',
  27. 'siteurl': '{$_W['siteurl']}',
  28. 'attachurl': '{$_W['attachurl']}',
  29. 'attachurl_local': '{$_W['attachurl_local']}',
  30. 'attachurl_remote': '{$_W['attachurl_remote']}',
  31. 'module': {'url' : '<?php if( defined('MODULE_URL') ) { ?>{MODULE_URL}<?php } ?>', 'name' : '<?php if (defined('IN_MODULE') ) { ?>{IN_MODULE}<?php } ?>'},
  32. 'cookie': {'pre': ''},
  33. 'account': {:json_encode($_W['account'])},
  34. };
  35. </script>
  36. <script type="text/javascript" src="./resource/js/lib/jquery-1.11.1.min.js"></script>
  37. <script type="text/javascript" src="./resource/js/lib/bootstrap.min.js"></script>
  38. <script type="text/javascript" src="./resource/js/app/util.js?v=201903260001"></script>
  39. <script type="text/javascript" src="./resource/js/app/common.min.js?v=201903260001"></script>
  40. <script type="text/javascript" src="./resource/js/require.js?v=201903260001"></script>
  41. <script type="text/javascript" src="./resource/js/lib/jquery.nice-select.js?v=201903260001"></script>
  42. <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
  43. <link href="/static/css/snailfish.css" rel="stylesheet">
  44. <style>
  45. tbody tr td{
  46. position: relative;
  47. }
  48. tbody tr .icow-weibiaoti--{
  49. visibility: hidden;
  50. display: inline-block;
  51. color: #fff;
  52. height:18px;
  53. width:18px;
  54. background: #e0e0e0;
  55. text-align: center;
  56. line-height: 18px;
  57. vertical-align: middle;
  58. }
  59. tbody tr:hover .icow-weibiaoti--{
  60. visibility: visible;
  61. }
  62. tbody tr .icow-weibiaoti--.hidden{
  63. visibility: hidden !important;
  64. }
  65. .full .icow-weibiaoti--{
  66. margin-left:10px;
  67. }
  68. .full>span{
  69. display: -webkit-box;
  70. display: -webkit-flex;
  71. display: -ms-flexbox;
  72. display: flex;
  73. vertical-align: middle;
  74. align-items: center;
  75. }
  76. tbody tr .label{
  77. margin: 5px 0;
  78. }
  79. .goods_attribute a{
  80. cursor: pointer;
  81. }
  82. .newgoodsflag{
  83. width: 22px;height: 16px;
  84. background-color: #ff0000;
  85. color: #fff;
  86. text-align: center;
  87. position: absolute;
  88. bottom: 70px;
  89. left: 57px;
  90. font-size: 12px;
  91. }
  92. .a{cursor: pointer;}
  93. .img-40 {
  94. width: 40px;
  95. height: 40px;
  96. }
  97. .daterangepicker select.ampmselect, .daterangepicker select.hourselect, .daterangepicker select.minuteselect{
  98. width:auto!important;
  99. }
  100. .div-inline{
  101. display:inline-block;
  102. text-align:center;
  103. height:130px;
  104. width:10%;
  105. margin-right: .5%;
  106. padding: 35px 0;
  107. border-radius:15px;
  108. }
  109. .div-inline2{
  110. display:inline-block;
  111. text-align:center;
  112. height:45px;
  113. width:9%;
  114. padding: 5px 0;
  115. }
  116. .b{
  117. margin-left: 20px;
  118. display: block;
  119. text-align: left;
  120. font-weight: lighter;
  121. font-size: 30px;
  122. color: #fff;
  123. }
  124. .span{
  125. font-size: 14px;
  126. color: #fff;
  127. margin-left: 20px;
  128. display: block;
  129. text-align: left;
  130. margin-top: 12px;
  131. }
  132. .list-tb-div table{
  133. margin-bottom: 1px;
  134. }
  135. </style>
  136. </head>
  137. <body layadmin-themealias="default">
  138. <table id="demo" lay-filter="test"></table>
  139. <div class="layui-fluid">
  140. <div class="layui-card">
  141. <div class="layui-card-header layui-elem-quote">当前位置:<span class="line-text">营业数据
  142. </div>
  143. <div class="layui-tab layui-tab-brief" >
  144. <ul class="layui-tab-title">
  145. <li <?php if( empty($tabid) || $tabid=='0' ){ ?>class="layui-this"<?php } ?>><a href="{:U($cur_controller, array('reports_index' => 0))}">本周</a></li>
  146. <li <?php if( $tabid=='1' ){ ?>class="layui-this"<?php } ?> ><a href="{:U($cur_controller, array('reports_index' => 1))}">上周</a></li>
  147. <li <?php if( $tabid=='2' ){ ?>class="layui-this"<?php } ?> ><a href="{:U($cur_controller, array('reports_index' => 2))}">本月</a></li>
  148. <li <?php if( $tabid=='3' ){ ?>class="layui-this"<?php } ?> ><a href="{:U($cur_controller, array('reports_index' => 3))}">上月</a></li>
  149. <li style="float: right;margin-right: 100px;">
  150. <a href="{:U($cur_controller, array('reports_index' => $_GPC['reports_index'],'reports_index' => $_GPC['reports_index'], 'is_export' => 1 ))}" target="_blank" class="layui-btn layui-btn-sm layui-btn-primary"><i class="layui-icon-about layui-icon"></i>导出</a>
  151. </li>
  152. </ul>
  153. </div>
  154. <div class="layui-card-body" style="padding:15px;padding-bottom:0px;">
  155. <div>
  156. <div class="div-inline" style="background: rgb(246, 191, 0);" >
  157. <b class="b">{$zongdanshu}</b>
  158. <span class="span">订单笔数</span>
  159. </div>
  160. <div class="div-inline" style="background: rgb(171,130,255);">
  161. <?php if( empty($quxiaoshu)){ ?> <b class="b">0</b> <?php }else{ ?><b class="b">{$quxiaoshu}</b><?php } ?>
  162. <span class="span">取消笔数</span>
  163. </div>
  164. <div class="div-inline" style="background: rgb(243, 85, 14);">
  165. <?php
  166. $zongxiadan = sprintf("%.2f",$zongxiadan);
  167. ?>
  168. <b class="b">{$zongxiadan}</b>
  169. <span class="span">下单金额</span>
  170. </div>
  171. <div class="div-inline" style="background: rgb(81, 194, 132);">
  172. <?php if( empty($wait_refund_count)){ ?> <b class="b">0</b> <?php }else{ ?><b class="b">{$wait_refund_count}</b><?php } ?>
  173. <span class="span">申请退款笔数</span>
  174. </div>
  175. <div class="div-inline" style="background: rgb(80, 164, 254);">
  176. <?php
  177. $wait_refund_money = sprintf("%.2f",$wait_refund_money);
  178. ?>
  179. <?php if( empty($wait_refund_money)){ ?> <b class="b">0</b> <?php }else{ ?><b class="b">{$wait_refund_money}</b><?php } ?>
  180. <span class="span">申请退款金额</span>
  181. </div>
  182. <div class="div-inline" style="background: rgb(81, 194, 132);">
  183. <?php if( empty($has_refund_count)){ ?> <b class="b">0</b> <?php }else{ ?><b class="b">{$has_refund_count}</b><?php } ?>
  184. <span class="span">已退款笔数</span>
  185. </div>
  186. <div class="div-inline" style="background: rgb(80, 164, 254);">
  187. <?php
  188. $has_refund_money = sprintf("%.2f",$has_refund_money);
  189. ?>
  190. <?php if( empty($has_refund_money)){ ?> <b class="b">0</b> <?php }else{ ?><b class="b">{$has_refund_money}</b><?php } ?>
  191. <span class="span">已退款金额</span>
  192. </div>
  193. <div class="div-inline" style="background: rgb(208, 109, 106);">
  194. <?php
  195. $quxiao = sprintf("%.2f",$quxiao);
  196. ?>
  197. <b class="b">{$quxiao}</b>
  198. <span class="span">取消金额</span>
  199. </div>
  200. <div class="div-inline" style="background: rgb(81, 193, 194);">
  201. <?php
  202. $xaioji = sprintf("%.2f",$xaioji);
  203. ?>
  204. <?php if( empty($xaioji)){ ?> <b class="b">0</b> <?php }else{ ?><b class="b">{$xaioji}</b><?php } ?>
  205. <span class="span">小计金额</span>
  206. </div>
  207. </div>
  208. <br/>
  209. <form action="" class="layui-form" lay-filter="example" method="post" >
  210. <div class="row">
  211. <div class="list-div list-tb-div">
  212. <table cellpadding="0" cellspacing="0" border="0" style="background-color:#fff;">
  213. <tr>
  214. <th class="div-inline2" style="font-size:15px;font-weight:bold;">下单日期</th>
  215. <th class="div-inline2" style="font-size:15px;font-weight:bold;">订单数</th>
  216. <th class="div-inline2" style="font-size:15px;font-weight:bold;">下单金额</th>
  217. <th class="div-inline2" style="font-size:15px;font-weight:bold;">等待退款笔数</th>
  218. <th class="div-inline2" style="font-size:15px;font-weight:bold;">等待退款金额</th>
  219. <th class="div-inline2" style="font-size:15px;font-weight:bold;">已退款笔数</th>
  220. <th class="div-inline2" style="font-size:15px;font-weight:bold;">已退款金额</th>
  221. <th class="div-inline2" style="font-size:15px;font-weight:bold;">取消笔数</th>
  222. <th class="div-inline2" style="font-size:15px;font-weight:bold;">取消金额</th>
  223. <th class="div-inline2" style="font-size:15px;font-weight:bold;">小计</th>
  224. <tr>
  225. </table>
  226. <table cellpadding="0" cellspacing="0" border="0" style="background-color:#fff;">
  227. <?php foreach($list2 as $k => $w){ ?>
  228. <tr>
  229. <th width="15%" class="div-inline2">{$w["date"]}</th>
  230. <th width="15%" class="div-inline2">{$w["count"]}</th>
  231. <!--$order_amount = $w['total']+$w['shipping_fare']-$w['voucher_credit']-$w['fullreduction_money']-$w['score_for_money'];-->
  232. <?php
  233. $order_amount = $w['total']+$w['shipping_fare']+$w['packing_fare']-$w['voucher_credit']-$w['fullreduction_money']-$w['score_for_money']-$w['fare_shipping_free'];
  234. $order_amount = sprintf("%.2f",$order_amount);
  235. ?>
  236. <th width="15%" class="div-inline2">{$order_amount}</th>
  237. <th class="div-inline2">{$w["daywait_refund_count"]}</th>
  238. <?php
  239. $w["daywait_refund_money"] = sprintf("%.2f",$w["daywait_refund_money"]);
  240. ?>
  241. <th class="div-inline2">{$w["daywait_refund_money"]}</th>
  242. <th class="div-inline2">{$w["dayhas_refund_count"]}</th>
  243. <?php
  244. $w["dayhas_refund_money"] = sprintf("%.2f",$w["dayhas_refund_money"]);
  245. ?>
  246. <th class="div-inline2">{$w["dayhas_refund_money"]}</th>
  247. <th width="15%" class="div-inline2">{$w["dayqu"]}</th>
  248. <?php
  249. $w["dayquxiao"] = sprintf("%.2f",$w["dayquxiao"]);
  250. ?>
  251. <th width="15%" class="div-inline2">{$w["dayquxiao"]}</th>
  252. <!--$order_ji = $order_amount - $w["daytuikuan"]-$w["dayquxiao"];-->
  253. <?php
  254. $order_ji = $order_amount - $w["dayquxiao"];
  255. $order_ji = sprintf("%.2f",$order_ji);
  256. ?>
  257. <th width="15%" class="div-inline2">{$order_ji}</th>
  258. </tr>
  259. <?php } ?>
  260. </table>
  261. </div>
  262. </div>
  263. </form>
  264. </div>
  265. </div>
  266. </div>
  267. <script src="/layuiadmin/layui/layui.js"></script>
  268. <script>
  269. layui.config({
  270. base: '/layuiadmin/' //静态资源所在路径
  271. }).extend({
  272. index: 'lib/index' //主入口模块
  273. }).use('index');
  274. </script>
  275. <script>
  276. //由于模块都一次性加载,因此不用执行 layui.use() 来加载对应模块,直接使用即可:
  277. var layer = layui.layer;
  278. var $;
  279. layui.use(['jquery', 'layer','form'], function(){
  280. $ = layui.$;
  281. var form = layui.form;
  282. $('.deldom').click(function(){
  283. var s_url = $(this).attr('data-href');
  284. layer.confirm($(this).attr('data-confirm'), function(index){
  285. $.ajax({
  286. url:s_url,
  287. type:'post',
  288. dataType:'json',
  289. success:function(info){
  290. $('#ajaxModal').removeClass('in');
  291. $('.modal-backdrop').removeClass('in');
  292. if(info.status == 0)
  293. {
  294. layer.msg(info.result.message,{icon: 1,time: 2000});
  295. }else if(info.status == 1){
  296. var go_url = location.href;
  297. if( info.result.hasOwnProperty("url") )
  298. {
  299. go_url = info.result.url;
  300. }
  301. layer.msg('操作成功',{time: 1000,
  302. end:function(){
  303. location.href = info.result.url;
  304. }
  305. });
  306. }
  307. }
  308. })
  309. },function(){
  310. console.log(232323);
  311. $('#ajaxModal').removeClass('in');
  312. $('.modal-backdrop').removeClass('in');
  313. });
  314. return false;
  315. })
  316. $('.btn-operation').click(function(){
  317. var ids_arr = [];
  318. var obj = $(this);
  319. var s_toggle = $(this).attr('data-toggle');
  320. var s_url = $(this).attr('data-href');
  321. $("input[name=item_checkbox]").each(function() {
  322. if( $(this).prop('checked') )
  323. {
  324. ids_arr.push( $(this).val() );
  325. }
  326. })
  327. if(ids_arr.length < 1)
  328. {
  329. layer.msg('请选择要操作的内容');
  330. }else{
  331. var can_sub = true;
  332. if( s_toggle == 'batch-remove' )
  333. {
  334. can_sub = false;
  335. layer.confirm($(obj).attr('data-confirm'), function(index){
  336. $.ajax({
  337. url:s_url,
  338. type:'post',
  339. dataType:'json',
  340. data:{ids:ids_arr},
  341. success:function(info){
  342. if(info.status == 0)
  343. {
  344. layer.msg(info.result.message,{icon: 1,time: 2000});
  345. }else if(info.status == 1){
  346. var go_url = location.href;
  347. if( info.result.hasOwnProperty("url") )
  348. {
  349. go_url = info.result.url;
  350. }
  351. layer.msg('操作成功',{time: 1000,
  352. end:function(){
  353. location.href = info.result.url;
  354. }
  355. });
  356. }
  357. }
  358. })
  359. });
  360. }else{
  361. $.ajax({
  362. url:s_url,
  363. type:'post',
  364. dataType:'json',
  365. data:{ids:ids_arr},
  366. success:function(info){
  367. if(info.status == 0)
  368. {
  369. layer.msg(info.result.message,{icon: 1,time: 2000});
  370. }else if(info.status == 1){
  371. var go_url = location.href;
  372. if( info.result.hasOwnProperty("url") )
  373. {
  374. go_url = info.result.url;
  375. }
  376. layer.msg('操作成功',{time: 1000,
  377. end:function(){
  378. location.href = info.result.url;
  379. }
  380. });
  381. }
  382. }
  383. })
  384. }
  385. }
  386. })
  387. form.on('switch(restwsitch)', function(data){
  388. var s_url = $(this).attr('data-href')
  389. var rest = 1;
  390. if(data.elem.checked)
  391. {
  392. rest = 1;
  393. }else{
  394. rest = 0;
  395. }
  396. $.ajax({
  397. url:s_url,
  398. type:'post',
  399. dataType:'json',
  400. data:{rest:rest},
  401. success:function(info){
  402. if(info.status == 0)
  403. {
  404. layer.msg(info.result.message,{icon: 1,time: 2000});
  405. }else if(info.status == 1){
  406. var go_url = location.href;
  407. if( info.result.hasOwnProperty("url") )
  408. {
  409. go_url = info.result.url;
  410. }
  411. layer.msg('操作成功',{time: 1000,
  412. end:function(){
  413. location.href = info.result.url;
  414. }
  415. });
  416. }
  417. }
  418. })
  419. });
  420. form.on('switch(enablewsitch)', function(data){
  421. var s_url = $(this).attr('data-href')
  422. var enable = 1;
  423. if(data.elem.checked)
  424. {
  425. enable = 1;
  426. }else{
  427. enable = 0;
  428. }
  429. $.ajax({
  430. url:s_url,
  431. type:'post',
  432. dataType:'json',
  433. data:{enable:enable},
  434. success:function(info){
  435. if(info.status == 0)
  436. {
  437. layer.msg(info.result.message,{icon: 1,time: 2000});
  438. }else if(info.status == 1){
  439. var go_url = location.href;
  440. if( info.result.hasOwnProperty("url") )
  441. {
  442. go_url = info.result.url;
  443. }
  444. layer.msg('操作成功',{time: 1000,
  445. end:function(){
  446. location.href = info.result.url;
  447. }
  448. });
  449. }
  450. }
  451. })
  452. });
  453. form.on('switch(statewsitch)', function(data){
  454. var s_url = $(this).attr('data-href')
  455. var state = 1;
  456. if(data.elem.checked)
  457. {
  458. state = 1;
  459. }else{
  460. state = 0;
  461. }
  462. $.ajax({
  463. url:s_url,
  464. type:'post',
  465. dataType:'json',
  466. data:{state:state},
  467. success:function(info){
  468. if(info.status == 0)
  469. {
  470. layer.msg(info.result.message,{icon: 1,time: 2000});
  471. }else if(info.status == 1){
  472. var go_url = location.href;
  473. if( info.result.hasOwnProperty("url") )
  474. {
  475. go_url = info.result.url;
  476. }
  477. layer.msg('操作成功',{time: 1000,
  478. end:function(){
  479. location.href = info.result.url;
  480. }
  481. });
  482. }
  483. }
  484. })
  485. });
  486. form.on('checkbox(checkboxall)', function(data){
  487. if(data.elem.checked)
  488. {
  489. $("input[name=item_checkbox]").each(function() {
  490. $(this).prop("checked", true);
  491. });
  492. $("input[name=checkall]").each(function() {
  493. $(this).prop("checked", true);
  494. });
  495. }else{
  496. $("input[name=item_checkbox]").each(function() {
  497. $(this).prop("checked", false);
  498. });
  499. $("input[name=checkall]").each(function() {
  500. $(this).prop("checked", false);
  501. });
  502. }
  503. form.render('checkbox');
  504. });
  505. //监听提交
  506. form.on('submit(formDemo)', function(data){
  507. $.ajax({
  508. url: data.form.action,
  509. type: data.form.method,
  510. data: data.field,
  511. dataType:'json',
  512. success: function (info) {
  513. if(info.status == 0)
  514. {
  515. layer.msg(info.result.message,{icon: 1,time: 2000});
  516. }else if(info.status == 1){
  517. var go_url = location.href;
  518. if( info.result.hasOwnProperty("url") )
  519. {
  520. go_url = info.result.url;
  521. }
  522. layer.msg('操作成功',{time: 1000,
  523. end:function(){
  524. location.href = info.result.url;
  525. }
  526. });
  527. }
  528. }
  529. });
  530. return false;
  531. });
  532. })
  533. </script>
  534. <script>
  535. var ajax_url = "";
  536. $(function(){
  537. $("[data-toggle='ajaxModal']").click(function () {
  538. var s_url = $(this).attr('data-href');
  539. ajax_url = s_url;
  540. console.log(23);
  541. $.ajax({
  542. url:s_url,
  543. type:"get",
  544. success:function(shtml){
  545. $('#ajaxModal').html(shtml);
  546. $("#ajaxModal").modal();
  547. }
  548. })
  549. });
  550. $(document).delegate(".modal-footer .btn-primary","click",function(){
  551. var s_data = $('#ajaxModal form').serialize();
  552. $.ajax({
  553. url:ajax_url,
  554. type:'post',
  555. dataType:'json',
  556. data:s_data,
  557. success:function(info){
  558. if(info.status == 0)
  559. {
  560. layer.msg(info.result.message,{icon: 1,time: 2000});
  561. }else if(info.status == 1){
  562. var go_url = location.href;
  563. if( info.result.hasOwnProperty("url") )
  564. {
  565. go_url = info.result.url;
  566. }
  567. layer.msg('操作成功',{time: 1000,
  568. end:function(){
  569. location.href = info.result.url;
  570. }
  571. });
  572. }
  573. }
  574. })
  575. return false;
  576. })
  577. })
  578. </script>
  579. <div id="ajaxModal" class="modal fade" style="display: none;">
  580. </div>
  581. <script>
  582. //没有选中时间段不能导出
  583. $(function () {
  584. $('.btn-submit').click(function () {
  585. var e = $(this).data('export');
  586. if(e==1 ){
  587. if($('#keyword').val() !='' ){
  588. $('#export').val(1);
  589. $('#search').submit();
  590. }else if($('#searchtime').val()!=''){
  591. $('#export').val(1);
  592. $('#search').submit();
  593. }else{
  594. $('#export').val(1);
  595. $('#search').submit();
  596. return;
  597. }
  598. }else{
  599. $('#export').val(0);
  600. $('#search').submit();
  601. }
  602. })
  603. })
  604. </script>
  605. </body>