fullorderxw_readlist.html 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>
  7. 店铺名称:<select name="shop" class="select">
  8. <option value="">请选择</option>
  9. {loop usershop() as $val}
  10. <option value="{$val['id']}">{$val['shopname']}</option>
  11. {/loop}</select>
  12. </li>
  13. <li>
  14. 发货仓库:<select name="warehouse" class="select">
  15. <option value="">请选择</option>
  16. {loop warehouse(100) as $val}
  17. <option value="{$val['id']}">{$val['title']}</option>
  18. {/loop}</select>
  19. </li>
  20. <li>
  21. 快递公司:<select name="express" class="select">
  22. <option value="">请选择</option>
  23. {loop express(100) as $val}
  24. <option value="{$val['id']}">{$val['servicename']}</option>
  25. {/loop}</select>
  26. </li>
  27. <li>订单状态:<select name="state" class="select">
  28. <option value="">请选择</option>
  29. {loop typeclass(29,2) as $val}
  30. <option value="{$val['id']}">{$val['spare']}</option>
  31. {/loop}
  32. <option value="283">null</option>
  33. </select>
  34. </li>
  35. <li>打印状态:<select name="print" class="select">
  36. <option value="">请选择</option>
  37. <option value="1">不可打印</option>
  38. <option value="2">未打印</option>
  39. <option value="3">已打印</option>
  40. </select>
  41. </li>
  42. <li>发货状态:<select name="libraryconfirm" class="select">
  43. <option value="">请选择</option>
  44. <option value="1">不允许出库</option>
  45. <option value="2">允许出库</option>
  46. </select>
  47. </li>
  48. <li>订单号:<input value="" name="orderinfo" type="text" ></li>
  49. <li>客户名称:<input value="" name="name" type="text" ></li>
  50. <li>邮箱:<input value="" name="email" type="text" ></li>
  51. <li>编号:<input value="" name="number" type="text" ></li>
  52. <li>运单号:<input value="" name="waybill" type="text" ></li>
  53. <li>author_id:<input value="" name="authorid" type="text" ></li>
  54. <li>source_content_id:<input value="" name="sourcecontentid" type="text" ></li>
  55. <!--
  56. <li>
  57. 订单状态:<select name="state" class="select">
  58. <option value="">请选择</option>
  59. {loop typeclass(29) as $val}
  60. <option value="{$val['id']}">{$val['title']}</option>
  61. {/loop}</select>
  62. </li>
  63. -->
  64. <li>订单时间:<input id="timetk" value="{date('Y-m-d',time()-30*24*3600)} 0:00" name="timetk" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
  65. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="timetj" value="{date('Y-m-d',time())} 0:00" name="timetj" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
  66. <li><span>确 定</span></li>
  67. </ul>
  68. <div class="control">
  69. <a href="javascript:void(0);" class="xzreadlist">下载excel</a>
  70. </div>
  71. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  72. <tr>
  73. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  74. <td>店铺名称</td>
  75. <td>发货仓库</td>
  76. <!--<td>订单类型</td>-->
  77. <!--<td>负责人</td>-->
  78. <td>订单号</td>
  79. <td>编号</td>
  80. <td>客户姓名</td>
  81. <td>订单状态</td>
  82. <td>订单时间</td>
  83. <!--<td>客户留言</td>-->
  84. <td>审核状态</td>
  85. <!--<td>打印状态</td>
  86. <td>出库状态</td>-->
  87. <td>物流方式</td>
  88. <td>运单号</td>
  89. <td>物流状态</td>
  90. <td>订单备注</td>
  91. <td>发货状态</td>
  92. </table>
  93. </div>
  94. <table class="datatext data" border="0" style="border-collapse:collapse;">
  95. </table>
  96. <div class="bomf"></div>
  97. </div>
  98. <div style="display:none;">
  99. <input id="upload-file" name="files" accept="image/xls,image/xlsx" type="file">
  100. </div>
  101. <script>
  102. var editurl = "/fullorderxw/zw/";
  103. var editdj = 3;
  104. var editt = "订单查看";
  105. var dataurl = "/fullorderxw/readlist/";
  106. var customon = 1;
  107. function custom(){
  108. $(".data tr").each(function() {
  109. $(this).find('td:eq(0)').css("width","1%");
  110. $(this).find('td:eq(2)').css("width","5%");
  111. $(this).find('td:eq(1)').css("width","7%");
  112. $(this).find('td:eq(5)').css("width","9%");
  113. $(this).find('td:eq(6)').css("width","6%");
  114. $(this).find('td:eq(8)').css("width","5%");
  115. $(this).find('td:eq(9)').css("width","6%");
  116. $(this).find('td:eq(11)').css("width","4%");
  117. $(this).find('td:eq(12)').css("width","10%");
  118. $(this).find('td:eq(13)').css("width","6%");
  119. });}
  120. $(".xzreadlist").click(function() {
  121. var f = "";
  122. $(".select").each(function() {
  123. f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
  124. });
  125. $("input:text").each(function() {
  126. f = f + $(this).attr("name") + "=" + $(this).val() + "&";
  127. });
  128. $("input:hidden").each(function() {
  129. f = f + $(this).attr("name") + "=" + $(this).val() + "&";
  130. });
  131. window.location.href = "/fullorderxw/readlistdown/?excel=1&"+f;
  132. });
  133. </script>
  134. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  135. {Template footer}