budgetFinanceWriteBack-update.jsp 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  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="budgetFinanceWriteBackController.do?doUpdate" >
  44. <input id="id" name="id" type="hidden" value="${budgetFinanceWriteBackPage.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="code" name="code" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${budgetFinanceWriteBackPage.code}'/>
  52. <span class="Validform_checktip"></span>
  53. <label class="Validform_label" style="display: none;">编码</label>
  54. </td>
  55. <td align="right">
  56. <label class="Validform_label">总金额:</label>
  57. </td>
  58. <td class="value">
  59. <input id="totalMoney" name="totalMoney" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${budgetFinanceWriteBackPage.totalMoney}'/>
  60. <span class="Validform_checktip"></span>
  61. <label class="Validform_label" style="display: none;">总金额</label>
  62. </td>
  63. </tr>
  64. <tr>
  65. <td align="right">
  66. <label class="Validform_label">计入月度:</label>
  67. </td>
  68. <td class="value">
  69. <input id="budgetMonth" name="budgetMonth" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${budgetFinanceWriteBackPage.budgetMonth}'/>
  70. <span class="Validform_checktip"></span>
  71. <label class="Validform_label" style="display: none;">计入月度</label>
  72. </td>
  73. <td align="right">
  74. <label class="Validform_label">状态:</label>
  75. </td>
  76. <td class="value">
  77. <input id="status" name="status" type="text" style="width: 150px" class="inputxt" datatype="n" ignore="ignore" value='${budgetFinanceWriteBackPage.status}'/>
  78. <span class="Validform_checktip"></span>
  79. <label class="Validform_label" style="display: none;">状态</label>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td align="right">
  84. <label class="Validform_label">备注:</label>
  85. </td>
  86. <td class="value">
  87. <input id="remark" name="remark" type="text" style="width: 150px" class="inputxt" ignore="ignore" value='${budgetFinanceWriteBackPage.remark}'/>
  88. <span class="Validform_checktip"></span>
  89. <label class="Validform_label" style="display: none;">备注</label>
  90. </td>
  91. </tr>
  92. </table>
  93. <div style="width: auto;height: 200px;">
  94. <%-- 增加一个div,用于调节页面大小,否则默认太小 --%>
  95. <div style="width:800px;height:1px;"></div>
  96. <t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
  97. <t:tab href="budgetFinanceWriteBackController.do?budgetFinanceWriteBackDetailList&id=${budgetFinanceWriteBackPage.id}" icon="icon-search" title="财务回写详情" id="budgetFinanceWriteBackDetail"></t:tab>
  98. </t:tabs>
  99. </div>
  100. </t:formvalid>
  101. <!-- 添加 附表明细 模版 -->
  102. <table style="display:none">
  103. <tbody id="add_budgetFinanceWriteBackDetail_table_template">
  104. <tr>
  105. <td align="center"><div style="width: 25px;" name="xh"></div></td>
  106. <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
  107. <td align="left">
  108. <input name="budgetFinanceWriteBackDetailList[#index#].fkId" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  109. <label class="Validform_label" style="display: none;">主表id</label>
  110. </td>
  111. <td align="left">
  112. <input name="budgetFinanceWriteBackDetailList[#index#].entityId" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  113. <label class="Validform_label" style="display: none;">预算主体id</label>
  114. </td>
  115. <td align="left">
  116. <input name="budgetFinanceWriteBackDetailList[#index#].entityName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  117. <label class="Validform_label" style="display: none;">预算主体</label>
  118. </td>
  119. <td align="left">
  120. <input name="budgetFinanceWriteBackDetailList[#index#].measureId" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  121. <label class="Validform_label" style="display: none;">预算指标id</label>
  122. </td>
  123. <td align="left">
  124. <input name="budgetFinanceWriteBackDetailList[#index#].measureName" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  125. <label class="Validform_label" style="display: none;">预算指标</label>
  126. </td>
  127. <td align="left">
  128. <input name="budgetFinanceWriteBackDetailList[#index#].money" maxlength="16" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  129. <label class="Validform_label" style="display: none;">金额</label>
  130. </td>
  131. <td align="left">
  132. <input name="budgetFinanceWriteBackDetailList[#index#].remark" maxlength="500" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  133. <label class="Validform_label" style="display: none;">明细</label>
  134. </td>
  135. </tr>
  136. </tbody>
  137. </table>
  138. </body>
  139. <script src = "webpage/cn/com/lzt/budget/financewriteback/budgetFinanceWriteBack.js"></script>