productLookup.jsp 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <%@ page contentType="text/html;charset=GBK"%>
  2. <%@ taglib uri="/WEB-INF/tlds/author.tld" prefix="h"%>
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4. <html>
  5. <head>
  6. <title>选择存货(存货分类)</title>
  7. <link href="${pageContext.request.contextPath}/main.css" rel="stylesheet" type="text/css" />
  8. <link href="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
  9. <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.5.2.min.js" type=text/javascript></script>
  10. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
  11. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/plugins/ligerLayout.js" type="text/javascript"></script>
  12. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  13. <script type="text/javascript" src="/shares/js/constant.js"></script>
  14. <script type="text/javascript" src="/shares/js/common.js"></script>
  15. <script type="text/javascript" src="/shares/js/yw/erp2/common/control/productLookup.js"></script>
  16. <script type="text/javascript">
  17. var pidArr = new Array();
  18. var rows = new Array(); // 先声明一维
  19. var managerTree = "";
  20. var dialog = "";
  21. $(function() {
  22. $("#layout1").ligerLayout({
  23. leftWidth : 250,
  24. height : '99%'
  25. });
  26. loadTree();
  27. });
  28. </script>
  29. <style type="text/css">
  30. body {
  31. padding: 5px;
  32. margin: 0;
  33. }
  34. #layout1 {
  35. width: 99.5%;
  36. margin: 0 auto;
  37. padding: 0;
  38. }
  39. .l-button {
  40. margin-left: 1px;
  41. }
  42. .l-layout-left {
  43. overflow-y: auto;
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <%@ include file="/include/button.jsp"%>
  49. <%@ include file="/include/message.jsp"%>
  50. <div class="l-content">
  51. <div id="layout1">
  52. <div position="left" title="存货类别" class="user-tree-style">
  53. <ul id="productTypeTree" class="tree" style="margin-top: 3px;">
  54. </div>
  55. <c:if test="${empty requestScope.depot_id}">
  56. <div position="center" id="center" title="存货列表" >
  57. </c:if>
  58. <c:if test="${!empty requestScope.depot_id}">
  59. <div position="center" id="center" title="存货列表(${requestScope.depot_name })" >
  60. </c:if>
  61. <div class="default_search" style="margin: 0;">
  62. <ul style="width: 220px; float: left;">
  63. <li style="float: left; height: 25px; line-height: 25px; margin: 0; padding-top: 2px;padding-left:5px">存货编码:</li>
  64. <listyle="float: left; height: 25px; line-height: 25px; margin: 0; padding-top: 2px;">
  65. <input type="text" name="product_num" id="product_num" />
  66. </li>
  67. </ul>
  68. <ul style="width: 220px; float: left;">
  69. <li style="float: left; height: 25px; line-height: 25px; margin: 0; padding-top: 2px;padding-left:5px">存货名称:</li>
  70. <li style="float: left; height: 25px; line-height: 25px; margin: 0; padding-top: 2px;">
  71. <input type="text" name="product_name" id="product_name" />
  72. </li>
  73. </ul>
  74. <ul style="width: 220px; float: left;">
  75. <li style="float: left; height: 25px; line-height: 25px; margin: 0; padding-top: 2px;">
  76. <input type="button" class='l-button' name="search" onclick="searchByKword()" value="查询" />
  77. </li>
  78. </ul>
  79. </div>
  80. <div style="overflow: hidden; clear: both;">
  81. <div id="productGrid" style="margin: 0; padding: 0"></div>
  82. </div>
  83. </div>
  84. </div>
  85. </div>
  86. <input type="hidden" name="typefp" id="typefp" value="${requestScope.typefp}" />
  87. <input type="hidden" name="ptype_id" id="ptype_id" value="${requestScope.ptype_id}"/>
  88. <input type="hidden" name="depot_id" id="depot_id" value="${requestScope.depot_id }"/>
  89. <input type="hidden" name="location_id" id="location_id" value="${requestScope.location_id }" />
  90. <jsp:include page="commonControl.jsp" />
  91. </body>
  92. </html>