budgetControl-update.jsp 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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. <style>
  8. .ui-button {
  9. display: inline-block;
  10. padding: 2px 2px;
  11. margin-bottom: 0;
  12. font-size: 8px;
  13. font-weight: normal;
  14. line-height: 1.42857143;
  15. text-align: center;
  16. white-space: nowrap;
  17. vertical-align: middle;
  18. -ms-touch-action: manipulation;
  19. touch-action: manipulation;
  20. cursor: pointer;
  21. -webkit-user-select: none;
  22. -moz-user-select: none;
  23. -ms-user-select: none;
  24. user-select: none;
  25. background-image: none;
  26. border: 1px solid transparent;
  27. border-radius: 4px;
  28. }
  29. </style>
  30. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  31. <script type="text/javascript">
  32. $(document).ready(function(){
  33. $('#tt').tabs({
  34. onSelect:function(title){
  35. $('#tt .panel-body').css('width','auto');
  36. }
  37. });
  38. $(".tabs-wrap").css('width','100%');
  39. });
  40. </script>
  41. </head>
  42. <body style="overflow-x: hidden;">
  43. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" tiptype="1" action="budgetControlController.do?doUpdate" >
  44. <input id="id" name="id" type="hidden" value="${budgetControlPage.id }"/>
  45. <table cellpadding="0" cellspacing="1" class="formtable">
  46. <tr>
  47. <td align="right">
  48. <label class="Validform_label">名称:</label>
  49. </td>
  50. <td class="value">
  51. <input id="name" name="name" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${budgetControlPage.name}'/>
  52. <span class="Validform_checktip"></span>
  53. <label class="Validform_label" style="display: none;">名称</label>
  54. </td>
  55. </tr>
  56. </table>
  57. <div style="width: auto;height: 200px;">
  58. <%-- 增加一个div,用于调节页面大小,否则默认太小 --%>
  59. <div style="width:800px;height:1px;"></div>
  60. <t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
  61. <t:tab href="budgetControlController.do?budgetControlDetailList&id=${budgetControlPage.id}" icon="icon-search" title="预算控制详情" id="budgetControlDetail"></t:tab>
  62. </t:tabs>
  63. </div>
  64. </t:formvalid>
  65. <!-- 添加 附表明细 模版 -->
  66. <table style="display:none">
  67. <tbody id="add_budgetControlDetail_table_template">
  68. <tr>
  69. <td align="center"><div style="width: 25px;" name="xh"></div></td>
  70. <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
  71. <td align="left">
  72. <input name="budgetControlDetailList[#index#].measureId" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  73. <label class="Validform_label" style="display: none;">预算指标id</label>
  74. </td>
  75. <td align="left">
  76. <input name="budgetControlDetailList[#index#].measureName" maxlength="255" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  77. <label class="Validform_label" style="display: none;">预算指标</label>
  78. </td>
  79. <td align="left">
  80. <t:dictSelect field="budgetControlDetailList[#index#].controlPeriod" type="radio" typeGroupCode="budget_control_period" defaultVal="" hasLabel="false" title="控制周期"></t:dictSelect>
  81. <label class="Validform_label" style="display: none;">控制周期</label>
  82. </td>
  83. <td align="left">
  84. <t:dictSelect field="budgetControlDetailList[#index#].controlNature" type="radio" typeGroupCode="budget_control_nature" defaultVal="" hasLabel="false" title="控制性质"></t:dictSelect>
  85. <label class="Validform_label" style="display: none;">控制性质</label>
  86. </td>
  87. <td align="left">
  88. <input name="budgetControlDetailList[#index#].controlPer" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="/^(-?\d+)(\.\d+)?$/" ignore="ignore" />
  89. <label class="Validform_label" style="display: none;">弹性系数</label>
  90. </td>
  91. <td align="left">
  92. <t:dictSelect field="budgetControlDetailList[#index#].controlWay" type="radio" typeGroupCode="budget_control_way" defaultVal="" hasLabel="false" title="控制种属"></t:dictSelect>
  93. <label class="Validform_label" style="display: none;">控制种属</label>
  94. </td>
  95. <td align="left">
  96. <input name="budgetControlDetailList[#index#].fkId" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  97. <label class="Validform_label" style="display: none;">主表id</label>
  98. </td>
  99. </tr>
  100. </tbody>
  101. </table>
  102. </body>
  103. <script src = "webpage/cn/com/lzt/budget/control/budgetControl.js"></script>