addStoreDepotEntry.jsp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <%-- <%@ include file="/include/head.jsp"%> --%>
  2. <%@ page contentType="text/html;charset=GBK"%>
  3. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  5. <HEAD>
  6. <TITLE>新增合同</TITLE>
  7. <link href="main.css" rel="stylesheet" type="text/css"></link>
  8. <link href="./liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css"></link>
  9. <script type="text/javascript" src="/shares/js/jquery-1.3.2.min.js"></script>
  10. <script src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
  11. <script type="text/javascript" src="/shares/js/common.js"></script>
  12. <script type="text/javascript" src="/shares/js/constant.js"></script>
  13. <script type="text/javascript" src="/shares/js/file.js"></script>
  14. <script src="/shares/xheditor/xheditor-1.1.14/xheditor-1.1.14-zh-cn.min.js" type="text/javascript" ></script>
  15. <script type="text/javascript">
  16. $(document).ready(function(){
  17. $("#storeDepot\\.sdepot_name").focus();
  18. });
  19. function addStoreDepotEntry(){
  20. var rs = $.validate({name:"storeDepot.sdepot_no",model:[{type:"require",msg:"发料仓库编号不能为空!"}]});
  21. rs &= $.validate({name:"storeDepot.sdepot_name",model:[{type:"require",msg:"发料仓库名称不能为空!"}]});
  22. if(!rs)return;
  23. $("#addStoreDepotEntryForm").submit();
  24. }
  25. </script>
  26. <style type="text/css">
  27. body {
  28. padding: 5px;
  29. margin: 0;
  30. }
  31. #layout1 {
  32. width: 99.5%;
  33. margin: 0;
  34. padding: 0;
  35. }
  36. .l-button {
  37. margin-left: 1px;
  38. }
  39. #deptBtn {
  40. width: 100%;
  41. background: #e5ecf9;
  42. text-align: center;
  43. height: 25px;
  44. padding-top: 3px
  45. }
  46. #leftBtn{
  47. width: 100%;
  48. background: #e5ecf9;
  49. height: 25px;
  50. padding-top: 3px
  51. }
  52. .l-layout-left {
  53. overflow-y: auto;
  54. }
  55. #displayMoneyDiv{
  56. font-family: "楷体_GB2312";
  57. /* "宋体",, "黑体",Arial,Helvetica, sans-serif */
  58. /* color:#000000; */
  59. color:red;
  60. font-size: 13px;
  61. }
  62. </style>
  63. </HEAD>
  64. <BODY >
  65. <%@ include file="/include/button.jsp"%>
  66. <%@ include file="/include/message.jsp"%>
  67. <div class="l-content">
  68. <form id="addStoreDepotEntryForm" name="addStoreDepotEntryForm" method="post" action="erpEndProdStoreDepotAction.do?task=addStoreDepotEntry">
  69. <div id="layout1">
  70. <div position="center" id="center" title="" class="forum-container">
  71. <input id="tabid" name="tabid" value="${param.tabid }" type="hidden"/>
  72. <div id="title" class="form-button" >
  73. <input type="button" value="保存" class="l-button" onclick="addStoreDepotEntry()" id="addStoreDepotEntryBtn" />
  74. </div>
  75. <table border="0" cellspacing="1" cellpadding="0" class="l-table-edit line">
  76. <tr>
  77. <td class="l-table-edit-text">发料仓库编号<FONT COLOR="red">*</FONT>:</td>
  78. <td class="l-table-edit-td">
  79. <jsp:include page="/yw/erp/include/code.jsp">
  80. <jsp:param name="name" value="storeDepot.sdepot_no"/>
  81. <jsp:param name="value" value="${requestScope.storeDepot.sdepot_no }"/>
  82. </jsp:include>
  83. <%-- <input id="storeDepot.sdepot_no" name="storeDepot.sdepot_no" type='text' value="${storeDepot.sdepot_no }" /> --%>
  84. </td>
  85. </tr>
  86. <tr>
  87. <td class="l-table-edit-text">发料仓库名称<FONT COLOR="red">*</FONT>:</td>
  88. <td class="l-table-edit-td" >
  89. <input id="storeDepot.sdepot_name" name="storeDepot.sdepot_name" type='text' value="${storeDepot.sdepot_name }" style="width:300px;"/>
  90. </td>
  91. </tr>
  92. </table>
  93. </div>
  94. </div>
  95. </form>
  96. </div>
  97. </BODY>
  98. </HTML>