comageSubsidy-update.jsp 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title>司龄补贴</title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <script src="plug-in/layer/layer.js"></script>
  9. <script>
  10. function btn_ok(){
  11. $("#btnsub").click();
  12. }
  13. function callback(data){
  14. if(data.success){
  15. layer.alert(data.msg, function(index){
  16. layer.close(index);
  17. });
  18. }
  19. else{
  20. layer.alert(data.msg);
  21. }
  22. }
  23. </script>
  24. <script type="text/javascript">
  25. //编写自定义JS代码
  26. </script>
  27. </head>
  28. <body>
  29. <t:formvalid formid="formobj" dialog="false" usePlugin="password" layout="table" action="comageSubsidyController.do?doUpdate" tiptype="1" callback="callback">
  30. <input id="id" name="id" type="hidden" value="${comageSubsidyPage.id }"/>
  31. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  32. <tr>
  33. <td align="right">
  34. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  35. 最低工作年限:
  36. </label>
  37. </td>
  38. <td class="value">
  39. <input id="minYears" name="minYears" type="text" style="width: 150px" datatype="n" ignore="checked" value='${comageSubsidyPage.minYears}'/>
  40. <span class="Validform_checktip"></span>
  41. <label class="Validform_label" style="display: none;">最低工作年限</label>
  42. </td>
  43. </tr>
  44. <tr>
  45. <td align="right">
  46. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  47. 最低补贴(元):
  48. </label>
  49. </td>
  50. <td class="value">
  51. <input id="min" name="min" type="text" style="width: 150px" datatype="*" ignore="checked" value='${comageSubsidyPage.min}'/>
  52. <span class="Validform_checktip"></span>
  53. <label class="Validform_label" style="display: none;">最低补贴</label>
  54. </td>
  55. </tr>
  56. <tr>
  57. <td align="right">
  58. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  59. 每年增幅(元):
  60. </label>
  61. </td>
  62. <td class="value">
  63. <input id="increase" name="increase" type="text" style="width: 150px" datatype="*" ignore="checked" value='${comageSubsidyPage.increase}'/>
  64. <span class="Validform_checktip"></span>
  65. <label class="Validform_label" style="display: none;">每年增幅</label>
  66. </td>
  67. </tr>
  68. <tr>
  69. <td align="right">
  70. <label class="Validform_label"><span color="red" class="requiredIcon">*</span>
  71. 最高补贴(元):
  72. </label>
  73. </td>
  74. <td class="value">
  75. <input id="max" name="max" type="text" style="width: 150px" datatype="*" ignore="checked" value='${comageSubsidyPage.max}'/>
  76. <span class="Validform_checktip"></span>
  77. <label class="Validform_label" style="display: none;">最高补贴</label>
  78. </td>
  79. </tr>
  80. <tr>
  81. <td align="right">
  82. <label class="Validform_label">
  83. 说明:
  84. </label>
  85. </td>
  86. <td class="value" >
  87. <textarea id="description" style="width:350px;height: 120px;" class="inputxt" rows="4" name="description" ignore="ignore" >${comageSubsidyPage.description}</textarea>
  88. <span class="Validform_checktip"></span>
  89. <label class="Validform_label" style="display: none;">说明</label>
  90. </td>
  91. </tr>
  92. <tr>
  93. <td height="50px" align="center" colspan="2" >
  94. <!-- <a style="margin-left:80px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="history.go(-1)">返回</a> -->
  95. <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
  96. <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">保存</a>
  97. </td>
  98. </tr>
  99. </table>
  100. </t:formvalid>
  101. </body>
  102. <script src = "webpage/cn/com/lzt/comagesubsidy/comageSubsidy.js"></script>