budgetCostHrScheme-add.jsp 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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?doAdd" >
  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" datatype="*" 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,用于调节页面大小,否则默认太小 --%>
  58. <t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
  59. <t:tab href="budgetCostHrSchemeController.do?budgetCostHrSchemeDetailList&id=${budgetCostHrSchemePage.id}" icon="icon-search" title="人工费用预算方案详情" id="budgetCostHrSchemeDetail"></t:tab>
  60. </t:tabs>
  61. </t:formvalid>
  62. <!-- 添加 附表明细 模版 -->
  63. <table style="display:none">
  64. <tbody id="add_budgetCostHrSchemeDetail_table_template">
  65. <tr>
  66. <td align="center"><div style="width: 25px;" name="xh"></div></td>
  67. <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
  68. <td align="left">
  69. <input name="budgetCostHrSchemeDetailList[#index#].schemeId" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  70. <label class="Validform_label" style="display: none;">方案id</label>
  71. </td>
  72. <td align="left">
  73. <input name="budgetCostHrSchemeDetailList[#index#].jiaojinPer" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  74. <label class="Validform_label" style="display: none;">缴金人数比例</label>
  75. </td>
  76. <td align="left">
  77. <input name="budgetCostHrSchemeDetailList[#index#].mothly" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  78. <label class="Validform_label" style="display: none;">月度工资</label>
  79. </td>
  80. <td align="left">
  81. <input name="budgetCostHrSchemeDetailList[#index#].cert" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  82. <label class="Validform_label" style="display: none;">证书补贴</label>
  83. </td>
  84. <td align="left">
  85. <input name="budgetCostHrSchemeDetailList[#index#].socialBase" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  86. <label class="Validform_label" style="display: none;">社保缴纳基数</label>
  87. </td>
  88. <td align="left">
  89. <input name="budgetCostHrSchemeDetailList[#index#].socialPer" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="/^(-?\d+)(\.\d+)?$/" ignore="ignore" />
  90. <label class="Validform_label" style="display: none;">社保缴纳比例</label>
  91. </td>
  92. <td align="left">
  93. <input name="budgetCostHrSchemeDetailList[#index#].providentFundBase" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  94. <label class="Validform_label" style="display: none;">公积金缴纳基数</label>
  95. </td>
  96. <td align="left">
  97. <input name="budgetCostHrSchemeDetailList[#index#].providentFundPer" maxlength="32" type="text" class="inputxt" style="width:120px;" datatype="/^(-?\d+)(\.\d+)?$/" ignore="ignore" />
  98. <label class="Validform_label" style="display: none;">公积金缴纳比例</label>
  99. </td>
  100. <td align="left">
  101. <input name="budgetCostHrSchemeDetailList[#index#].mealOvertime" maxlength="32" type="text" class="inputxt" style="width:120px;" ignore="ignore" />
  102. <label class="Validform_label" style="display: none;">工作餐补及中夜班津贴</label>
  103. </td>
  104. </tr>
  105. </tbody>
  106. </table>
  107. </body>
  108. <script src = "webpage/cn/com/lzt/budget/costhrscheme/budgetCostHrScheme.js"></script>