| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>生成社保缴费记录</title>
- <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css" />
- <link href="${pageContext.request.contextPath }/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css" />
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/core/base.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath}/liger/lib/json2.js" type="text/javascript"></script>
- <script type="text/javascript" src="${pageContext.request.contextPath}/liger/lib/ligerUI/js/ligerui.all.js"></script>
- <script type="text/javascript" src="/shares/datePicker/WdatePicker.js"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript">
- var dialog = frameElement.dialog;
- $(function() {
- loadTypeTree("userButton", {
- type : "user",
- backId : "staff_ids",
- backName : "staff_names",
- tab : "1"
- });
- showSuccessMsg("${requestScope.msgEvent}");
- });
- function checkForm() {
- var rs = $.validate({
- name : "staff_names",
- model : [ {
- type : "require",
- msg : "对象不能为空!"
- } ]
- });
- rs = $.validate({
- name : "insurance_month",
- model : [ {
- type : "require",
- msg : "社保月份不能为空!"
- } ]
- }) && rs;
- rs = $.validate({
- name : "insurance_charged_month",
- model : [ {
- type : "require",
- msg : "社保扣费月不能为空!"
- } ]
- }) && rs;
- if (rs) {
- return true;
- }
- return false;
- }
- function CloseWin() {
- // window.parent.dialog.close();
- window.parent.frames[stripscriptback('${param.tabid }')].closeODialog();
- }
- function refresh() {
- window.parent.initSalaryInsuranceHistoryList();
- window.parent.dialog.close();
- }
-
- function stripscriptback(s) {
- var pattern = new RegExp("[_]");
- var rs = "";
- for (var i = 0; i < s.length; i++) {
- rs = rs + s.substr(i, 1).replace(pattern, '&');
- }
- return rs;
- }
- //保存
- function btnSave() {
- if (checkForm()) {
- // $("#salInsCount_save").attr('disabled', true);
- $("#salaryInsuranceHistoryForm").submit();
- }
- }
- function showSuccessMsg(isSucc) {
- if (isSucc) {
- $.ligerDialog.success('新增成功!', "提示", onBtnClick);
- // refresh();
- }
- }
- function onBtnClick() {
- // refresh();
- window.parent.f_selectTab("${param.tabid }");
- window.parent.f_reloadTab("${param.tabid }");
- // alert(window.top.frames["hrSalaryStaffInsuranceHistoryAction.do?task=toList"].f_btnCancel());
- CloseWin();
- }
- </script>
- <style type="text/css">
- .file-style {
- width: 550px;
- }
- .file-style input[type='file'] {
- width: 300px;
- height: 24px;
- line-height: 22px;
- vertical-align: bottom;
- background-color: #fff;
- border: 1px solid #cccccc;
- margin-top: 2px;
- margin-bottom: 2px;
- }
- </style>
- </head>
- <body>
- <form id="salaryInsuranceHistoryForm" action="hrSalaryStaffInsuranceHistoryAction.do?task=doCreateSalayInsuranceHistory" method="post">
- <!-- <div id="title" class="form-button"> -->
- <!-- <input id="btnSave" type="button" class="l-button" value="保存" onclick="btnSave();" /> -->
- <!-- <input type="button" value="关闭" class="l-button" onclick="CloseWin();" /> -->
- <!-- </div> -->
- <!-- <div class="container-layout"> -->
- <div class="forum-container">
- <center>
- <table class="l-table-edit line">
- <tr>
- <th colspan="4">生成月报表</th>
- </tr>
- <tr>
- <td class="l-table-edit-text">选择对象<FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td" colspan="3"><textarea name="staff_names" id="staff_names" rows="5" cols="50" readonly="readonly"></textarea> <input type="hidden" name="staff_ids" id="staff_ids"></input>
- <input type="button" class="l-button" value="选择" id="userButton"></input></td>
- </tr>
- <tr>
- <td class="l-table-edit-text" width="20%">社保月份<FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td" width="30%"><input type="text" class="Wdate" name="salaryInsuranceHistory.insurance_month" id="insurance_month"
- onclick="WdatePicker({dateFmt:'yyyy-MM'})" value="${salaryInsuranceHistory.insurance_month }"></td>
- </td>
- <td class="l-table-edit-text" width="20%">社保扣费月<FONT COLOR="red">*</FONT>:
- </td>
- <td class="l-table-edit-td" width="30%"><input type="text" class="Wdate" name="salaryInsuranceHistory.insurance_charged_month" id="insurance_charged_month"
- onclick="WdatePicker({dateFmt:'yyyy-MM'})" value="${salaryInsuranceHistory.insurance_charged_month }"></td>
- </tr>
- <tr>
- <td colspan="4">
- <div style="margin-top: 5px">
- <font color=red>温馨提示:</font>
- </div>
- <div style="margin-top: 5px">1、社保月份是需交社保的月份,如果已经生成报表,再进行重新生成时,将会覆盖该月份原来的数据。</div>
- <div>2、社保扣费月,是将会在哪个月份进行扣取社保费用。</div>
- <div>3、如果所选对象没有社保帐套,则不会生成数据。</div>
- </td>
- </tr>
- </table>
- <input type="hidden" id="universalid" name="universalid" value="${salaryStaffInsurance.universalid }">
- <input type="hidden" id="tabid" name="tabid" value="${param.tabid }">
- </center>
- </div>
- <!-- </div> -->
- </form>
- </body>
- </html>
|