warehousefactory_out.html 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>
  7. 仓库:
  8. <select name="warehouse" class="select class isshopid">
  9. <option value="">请选择</option>
  10. <option value="1">原材料仓</option>
  11. <option value="2">半成品仓</option>
  12. <option value="3">成品仓</option>
  13. <option value="4">辅料仓</option>
  14. <option value="5">普通仓</option>
  15. </select>
  16. </li>
  17. <li>
  18. 出库类别:
  19. <select name="entertype" class="select class isshopid">
  20. <option value="">请选择</option>
  21. <option value="1">材料出库单</option>
  22. <option value="2">销售出库单</option>
  23. <option value="3">其他出库单</option>
  24. </select>
  25. </li>
  26. <li>
  27. <em>入库类别:</em>
  28. <select name="entertype" class="select class isshopid">
  29. <option value="">请选择</option>
  30. <option value="1">采购入库单</option>
  31. <option value="2">生产入库单</option>
  32. <option value="3">其他入库单</option>
  33. </select>
  34. </li>
  35. <li>
  36. 保税/非保税:
  37. <select name="tax" class="select class">
  38. <option value="">请选择</option>
  39. <option value="1">保税</option>
  40. <option value="2">非保税</option>
  41. </select>
  42. </li>
  43. <li>
  44. 合同号:
  45. <input class="must" value="" name="contract" type="text" >
  46. </li>
  47. <li>存货编码:<input value="" name="sku" type="text" ></li>
  48. <li>产品名称:<input value="" name="title" type="text" ></li>
  49. <li>出库经办人:<input value="" name="cagent" type="text" ></li>
  50. <li>领用部门:<input value="" name="department" type="text" ></li>
  51. <li>客户:<input value="" name="customer" type="text" ></li>
  52. <li>出库单号:<input value="" name="outorder" type="text" ></li>
  53. <li>统计时间:<input id="ktime" value="{date('Y-m-d',time()-30*24*3600)}" name="ktime" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD'})">
  54. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="jtime" value="{date('Y-m-d',time()+24*3600)}" name="jtime" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD'})"></li>
  55. <li><span>确 定</span></li>
  56. </ul>
  57. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  58. <tr>
  59. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  60. <td>所属仓库</td>
  61. <td>出库类别</td>
  62. <td>出库单号</td>
  63. <td>存货编码</td>
  64. <td>存货名称</td>
  65. <td>曲度</td>
  66. <td>颜色</td>
  67. <td>尺寸</td>
  68. <td>其它规格</td>
  69. <td>数量</td>
  70. <td>均价(CNY)</td>
  71. <td>出库时间</td>
  72. </tr>
  73. </table>
  74. </div>
  75. <table class="datatext data" border="0" style="border-collapse:collapse;">
  76. </table>
  77. <div class="bomf"></div>
  78. </div>
  79. <script>
  80. var dataurl = "/warehousefactory/out";var fdataurl = "/warehousefactory/out/";var excel = "/warehousefactory/";
  81. $(function () { $("#ktime").calendar();$("#jtime").calendar();});
  82. var editurl = "/warehousefactory/outxq/";
  83. var editdj = 3;
  84. var editt = "详情";
  85. var customon = 1;
  86. function custom(){
  87. $(".data tr").each(function() {
  88. $(this).find('td:eq(3)').css("width","9%");
  89. $(this).find('td:eq(12)').css("width","10%");
  90. });}
  91. $(".warehousefactorydc").click(function() {
  92. var f = "";
  93. $("input:text").each(function() {
  94. f = f + $(this).attr("name") + "=" + $(this).val() + "&";
  95. });
  96. window.location.href = "/warehousefactory/dcexcel?excel=1"+"&"+f;
  97. });
  98. </script>
  99. <div style="display:none;">
  100. <input id="upload-file" name="files" accept="image/xls,image/xlsx" type="file">
  101. </div>
  102. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  103. {Template footer}