You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
164 lines
5.8 KiB
Plaintext
164 lines
5.8 KiB
Plaintext
2 months ago
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="GZ_ShowAll.aspx.cs" Inherits="TradeManage.SysManage.GZ_ShowAll" %>
|
||
|
|
||
|
|
||
|
<!DOCTYPE html>
|
||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
|
<head id="Head1" runat="server">
|
||
|
<title>导入</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../themes/default/easyui.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../themes/icon.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../themes/New.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../themes/DataGrid.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="../Scripts/fancybox/jquery.fancybox-1.3.4.css" />
|
||
|
<script src="../Scripts/MicrosoftAjax.js" type="text/javascript"></script>
|
||
|
<script src="../Scripts/jquery.min.js" type="text/javascript"></script>
|
||
|
<script src="../Scripts/jquery.easyui.min.js" type="text/javascript"></script>
|
||
|
<script src="../Scripts/DataGrid.js" type="text/javascript"></script>
|
||
|
<script src="../Scripts/DataPager.js" type="text/javascript"></script>
|
||
|
<script src="../Scripts/Global.js" type="text/javascript"></script>
|
||
|
|
||
|
<script src="../Scripts/jquery.bgiframe.min.js" type="text/javascript"></script>
|
||
|
|
||
|
<script src="../Scripts/WindowLoad.js" type="text/javascript"></script>
|
||
|
<script src="../Scripts/fancybox/jquery.fancybox-1.3.4.js" type="text/javascript"></script>
|
||
|
|
||
|
<script type="text/javascript">
|
||
|
var WindowLoadModel = new WindowLoad();
|
||
|
var DateTimeNow = new Date();
|
||
|
|
||
|
|
||
|
$(document).ready(function () {
|
||
|
WindowLoadModel.ApplicationPath = "../";
|
||
|
WindowLoadModel.ControlID = "WindowLoad";
|
||
|
WindowLoadModel.Isbgiframe = true;
|
||
|
WindowLoadModel.Load();
|
||
|
ajaxInit(WindowLoadModel);
|
||
|
|
||
|
BindSYears();
|
||
|
BindSMonth();
|
||
|
|
||
|
$("#cmdSearch").click(function () {
|
||
|
ReadData();
|
||
|
});
|
||
|
ReadData();
|
||
|
$("#SYears,#SMonths").change(function () {
|
||
|
ReadData();
|
||
|
});
|
||
|
|
||
|
//$("#SYeare").change(function () {
|
||
|
// BindSMonthe();
|
||
|
//});
|
||
|
});
|
||
|
|
||
|
//绑定年份
|
||
|
function BindSYears() {
|
||
|
var years = new Sys.StringBuilder();
|
||
|
var year = DateTimeNow.getFullYear();
|
||
|
var i = year;
|
||
|
for (i = 2010; i < 2050; i++) {
|
||
|
if (i === year) {
|
||
|
years.append("<option value='" + i + "' selected='selected'>" + i + "年</option>");
|
||
|
} else {
|
||
|
years.append("<option value='" + i + "'>" + i + "年</option>");
|
||
|
}
|
||
|
}
|
||
|
$("#SYears").html(years.toString());
|
||
|
}
|
||
|
|
||
|
//绑定月份
|
||
|
function BindSMonth() {
|
||
|
var months = new Sys.StringBuilder();
|
||
|
var month = DateTimeNow.getMonth();
|
||
|
var i = 1;
|
||
|
// months.append("<option value='0'>-全部-</option>");
|
||
|
for (; i < 13; i++) {
|
||
|
if (i === month) {
|
||
|
months.append("<option value='" + i + "' selected='selected'>" + i + "月</option>");
|
||
|
}
|
||
|
else
|
||
|
months.append("<option value='" + i + "'>" + i + "月</option>");
|
||
|
|
||
|
}
|
||
|
$("#SMonths").html(months.toString());
|
||
|
}
|
||
|
|
||
|
|
||
|
function BindSYeare() {
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
contentType: "application/json",
|
||
|
url: "FinanceService.asmx/GZ_GetUserSYearList",
|
||
|
dataType: "json",
|
||
|
async: false,
|
||
|
success: function (data) {
|
||
|
$("#SYeare").html(data.d);
|
||
|
//BindSMonthe();
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
function BindSMonthe() {
|
||
|
var param = new Object();
|
||
|
param.SYear = $("#SYeare").val();
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
contentType: "application/json",
|
||
|
url: "FinanceService.asmx/GZ_GetUserSMonthList",
|
||
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
||
|
dataType: "json",
|
||
|
async: false,
|
||
|
success: function (data) {
|
||
|
$("#SMonthe").html(data.d);
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
|
||
|
//#region 读取数据
|
||
|
function ReadData() {
|
||
|
var param = new Object();
|
||
|
|
||
|
param.SYear = $("#SYears").val();
|
||
|
param.SMonth = $("#SMonths").val();
|
||
|
|
||
|
|
||
|
|
||
|
$.ajax({
|
||
|
url: "OA_Manage.asmx/GZ_GetAllUser",
|
||
|
data: Sys.Serialization.JavaScriptSerializer.serialize(param),
|
||
|
success: function (data) {
|
||
|
$("#Container").html(data.d);
|
||
|
}
|
||
|
});
|
||
|
}
|
||
|
//#endregion
|
||
|
</script>
|
||
|
</head>
|
||
|
<body class="headbody">
|
||
|
<div class="title_ico">
|
||
|
工资
|
||
|
</div>
|
||
|
<table id="tableImport" border="1" align="center" cellpadding="0" cellspacing="0"
|
||
|
style="width: 95%;" class="tableAll">
|
||
|
<tr>
|
||
|
|
||
|
<td class="f1" width="15%">
|
||
|
日期范围:
|
||
|
</td>
|
||
|
<td >
|
||
|
<select id="SYears" name="SYears">
|
||
|
</select>
|
||
|
<select id="SMonths" name="SMonths">
|
||
|
</select><input id="cmdSearch" class="btnClass btnClassFind" style="display:none" type="button" value="查询" /></td>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div id="Container">
|
||
|
<table border="1" cellpadding="0" cellspacing="0"
|
||
|
style="width:90%;" class="tableAll"><tr><td colspan="6">2015年10月工资</td></tr><tr><td class="f1" style="background-color:lightgray">基本工资</td><td>2500</td><td class="f1">基本工资</td><td>2500</td><td class="f1">基本工资</td><td>2500</td></tr></table>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|