whlabel_enter.html 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. {Template header}
  2. <body>
  3. <div class="warp">
  4. <div class="fixed">
  5. <ul class="search">
  6. <li>类目:<select name="category" class="select">
  7. <option value="">请选择</option>{loop typeclass(16) as $val}
  8. <option value="{$val['id']}">{$val['title']}</option>{/loop}</select></li>
  9. <li>长度:<select name="size" class="select">
  10. <option value="">请选择</option>{loop typeclass(14) as $val}
  11. <option value="{$val['id']}">{$val['title']}</option>{/loop}</select></li>
  12. <li>等级:<select name="grade" class="select">
  13. <option value="">请选择</option>{loop typeclass(13) as $val}
  14. <option value="{$val['id']}">{$val['title']}</option>{/loop}</select></li>
  15. <li>颜色:<select name="color" class="select">
  16. <option value="">请选择</option>
  17. <option value="57">Natural Black</option>
  18. {loop typeclassyc(8) as $val} <!-- 这个是不显示部分颜色 -->
  19. {if $val['id'] != 57}
  20. <option value="{$val['id']}">{$val['title']}</option>
  21. {/if}
  22. {/loop}</select></li>
  23. <li>曲度:<select name="lowe" class="select">
  24. <option value="">请选择</option>
  25. {loop typeclassyc(15) as $val} <!-- 这个是不显示部分曲度 -->
  26. <option value="{$val['id']}">{$val['title']}</option>
  27. {/loop}
  28. </select></li>
  29. <li>统计时间:<input id="timetk" value="{date('Y-m-d',time()-10*24*3600)} 0:00" name="ktime" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})">
  30. 至&nbsp;&nbsp;&nbsp;&nbsp; <input id="timetj" value="{date('Y-m-d',time()+24*3600)} 0:00" name="jtime" type="text" onClick="laydate({istime: true,format:'YYYY-MM-DD hh:mm'})"></li>
  31. <li>SKU:<input value="" name="sku" type="text" ></li>
  32. <li>供应商:<select name="warehouse" class="select">
  33. <option value="">请选择</option>{loop purchase(100) as $val}
  34. <option value="{$val['id']}">{$val['title']}</option>{/loop}</select></li>
  35. <li>仓库:<select name="warehouse" class="select">
  36. <option value="">请选择</option>{loop warehouse(10) as $val}
  37. <option value="{$val['id']}">{$val['title']}</option>{/loop}</select></li>
  38. <li><span>确 定</span></li>
  39. </ul>
  40. <div class="control">
  41. <a href="javascript:void(0);" class="window" data-h="/whlabel/enteradd/" data-t="库存配置 - 添加">添 加</a>
  42. <a href="javascript:void(0);" class="check">删 除</a>
  43. </div>
  44. <table class="datatitle data" border="0" style="border-collapse:collapse;">
  45. <tr>
  46. <td><label onClick="swapCheck()"><input name="checkbox" type="checkbox" class="regular-checkbox"></label></td>
  47. <td>所属仓库</td>
  48. <td>所属店铺</td>
  49. <td>SKU</td>
  50. <td>产品名称</td>
  51. <td>入库时间</td>
  52. <td>数量</td>
  53. </tr>
  54. </table>
  55. </div>
  56. <table class="datatext data" border="0" style="border-collapse:collapse;">
  57. </table>
  58. <div class="bomf"></div>
  59. </div>
  60. <script>
  61. var dataurl = "/whlabel/enter";var fdataurl = "/whlabel/";
  62. var editurl = "/whlabel/enteredit/";
  63. var editdj = 3;
  64. var editt = "库存管理 - 修改";
  65. $(function () { $("#ktime").calendar();$("#jtime").calendar();});
  66. var customon = 1;
  67. function custom(){
  68. $(".data tr").each(function() {
  69. $(this).find('td:eq(1)').css("width","10%");
  70. $(this).find('td:eq(2)').css("width","10%");
  71. $(this).find('td:eq(3)').css("width","14%");
  72. $(this).find('td:eq(5)').css("width","14%");
  73. $(this).find('td:eq(6)').css("width","4%");
  74. $(this).find('td:eq(4)').css("width","45%");
  75. });}</script>
  76. <script type="text/javascript" src="{$theme}js/laydate.js"></script>
  77. {Template footer}