budgetCostHrScheme-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="budgetCostHrSchemeController.do?doUpdate" >
  44. <input id="id" name="id" type="hidden" value="${budgetCostHrSchemePage.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='${budgetCostHrSchemePage.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="budgetCostHrSchemeController.do?budgetCostHrSchemeDetailList&id=${budgetCostHrSchemePage.id}" icon="icon-search" title="人工费用预算方案详情" id="budgetCostHrSchemeDetail"></t:tab>
  62. </t:tabs>
  63. </div>
  64. </t:formvalid>
  65. <!-- 添加 附表明细 模版 -->
  66. <table style="display:none">
  67. <tbody id="add_budgetCostHrSchemeDetail_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="budgetCostHrSchemeDetailList[#index#].schemeId" 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="budgetCostHrSchemeDetailList[#index#].mothly" maxlength="32" 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. <input name="budgetCostHrSchemeDetailList[#index#].socialBase" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  81. <label class="Validform_label" style="display: none;">社保缴纳基数</label>
  82. </td>
  83. <td align="left">
  84. <input name="budgetCostHrSchemeDetailList[#index#].socialPer" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="/^(-?\d+)(\.\d+)?$/" ignore="ignore" />
  85. <label class="Validform_label" style="display: none;">社保缴纳比例</label>
  86. </td>
  87. <td align="left">
  88. <input name="budgetCostHrSchemeDetailList[#index#].providentFundBase" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  89. <label class="Validform_label" style="display: none;">公积金缴纳基数</label>
  90. </td>
  91. <td align="left">
  92. <input name="budgetCostHrSchemeDetailList[#index#].providentFundPer" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="/^(-?\d+)(\.\d+)?$/" ignore="ignore" />
  93. <label class="Validform_label" style="display: none;">公积金缴纳比例</label>
  94. </td>
  95. <td align="left">
  96. <input name="budgetCostHrSchemeDetailList[#index#].mealOvertime" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  97. <label class="Validform_label" style="display: none;">工作餐补及中夜班津贴</label>
  98. </td>
  99. </tr>
  100. </tbody>
  101. </table>
  102. </body>
  103. <script src = "webpage/cn/com/lzt/budget/costhrscheme/budgetCostHrScheme.js"></script>