warehouseyl.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>SKU:<input value="" name="sku" type="text" ></li>
  7. <li>品类:<input value="" name="classtitle" type="text" ></li>
  8. <li>产品名称:<input value="" name="title" type="text" ></li>
  9. <li>状态:<select name="state" class="select">
  10. <option value="">请选择</option>
  11. <option value="0">入库</option>
  12. <option value="1">出库</option>
  13. </select></li>
  14. <li>统计时间:<input id="ktime" value="{date('Y-m-d',time()-30*24*3600)}" name="ktime" type="text" >
  15. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="jtime" value="{date('Y-m-d',time()+24*3600)}" name="jtime" type="text" ></li>
  16. <li><span>确 定</span></li>
  17. </ul>
  18. <div class="control">
  19. <a href="/warehouseyl/drmb/" target="_blank" class="window">下载导入模板</a>
  20. <a href="javascript:void(0);" class="whlabeldr">导入库存数据</a>
  21. <a href="javascript:void(0);" class="warehouseyldc">导出库存数据</a>
  22. <a href="javascript:void(0);" class="window" data-h="/warehouseyl/add/" data-t="添加">添 加</a>
  23. </div>
  24. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  25. <tr>
  26. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  27. <td>编码</td>
  28. <td>产品名称</td>
  29. <td>规格</td>
  30. <td>尺寸</td>
  31. <td>描述</td>
  32. <td>入库</td>
  33. <td>出库</td>
  34. <td>结余</td>
  35. </tr>
  36. </table>
  37. </div>
  38. <table class="datatext data" border="0" style="border-collapse:collapse;">
  39. </table>
  40. <div class="bomf"></div>
  41. </div>
  42. <script>
  43. var dataurl = "/warehouseyl";var fdataurl = "/warehouseyl/";var excel = "/warehouseyl/";
  44. $(function () { $("#ktime").calendar();$("#jtime").calendar();});
  45. var editurl = "/warehouseyl/edit/";
  46. var editdj = 2;
  47. var editt = "修改";
  48. function custom(){
  49. $(".data tr").each(function() {
  50. $(this).find('td:eq(3)').css("width","25%");
  51. });}
  52. $(".warehouseyldc").click(function() {
  53. var f = "";
  54. $("input:text").each(function() {
  55. f = f + $(this).attr("name") + "=" + $(this).val() + "&";
  56. });
  57. window.location.href = "/warehouseyl/dcexcel?excel=1"+"&"+f;
  58. });
  59. </script>
  60. <script type="text/javascript" src="{$theme}js/time.js"></script>
  61. <div style="display:none;">
  62. <input id="upload-file" name="files" accept="image/xls,image/xlsx" type="file">
  63. </div>
  64. {Template footer}