fullorder_ddpmdata.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>
  7. 省州:<select name="province" class="select">
  8. <option value="">请选择</option>
  9. {loop $province as $val}
  10. <option value="{$val['province']}" {if $arg_array[3] == $val['province']}selected="selected"{/if}>{$val['province']}</option>
  11. {/loop}</select>
  12. </li>
  13. <li style="display: none;"><input type="text" name="timetk" value="{$arg_array[1]}"></li>
  14. <li style="display: none;"><input type="text" name="timetj" value="{$arg_array[2]}"></li>
  15. <li style="display: none;"><input type="text" name="country" value="{$arg_array[0]}"></li>
  16. <li><span>确 定</span></li>
  17. </ul>
  18. <div class="control">
  19. <a href="javascript:void(0);" class="ctex">导出当前数据</a>
  20. <a href="javascript:void(0);" onClick="window.history.back();">返回上页</a>
  21. </div>
  22. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  23. <tr>
  24. <td class="none"><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  25. <td>订单号</td>
  26. <td>订单编号</td>
  27. <td>仓库品名</td>
  28. <td>订单金额</td>
  29. </tr>
  30. </table>
  31. </div>
  32. <table class="datatext data" border="0" style="border-collapse:collapse;">
  33. </table>
  34. <div class="bomf"></div>
  35. </div>
  36. <script>
  37. var dataurl = "/fullorder/ddpmdata/{$arg_array[0]}/{$arg_array[1]}/{$arg_array[2]}"; var operate = "/fullorder/ddpmdata/{$arg_array[0]}/{$arg_array[1]}/{$arg_array[2]}";
  38. var customon = 1;
  39. function custom(){
  40. $(".data tr").each(function() {
  41. $(this).find('td:eq(0)').css("display","none");
  42. $(this).find('td:eq(1)').css("width","5%");
  43. $(this).find('td:eq(2)').css("width","5%");
  44. $(this).find('td:eq(4)').css("width","5%");
  45. });}
  46. $(".ctex").click(function() {
  47. var f = "";
  48. $(".select").each(function() {
  49. f = f + $(this).attr("name") + "=" + $(this).children("option:selected").val() + "&";
  50. });
  51. window.location.href = "/fullorder/ddpmexcel/{$arg_array[0]}/{$arg_array[1]}/{$arg_array[2]}?excel=1&"+f;
  52. });
  53. </script>
  54. {Template footer}