<%@ Page language="c#" Codebehind="SalaryEdit.aspx.cs" AutoEventWireup="false" Inherits="WsndStarHR.HR.SalaryEdit" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title></title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="C#" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<script language="javascript" src="../js/JScript.js"></script>
	</HEAD>
	<body MS_POSITIONING="GridLayout">
		<form id="Form1" method="post" runat="server">
			<uc1:css id="Css1" runat="server"></uc1:css>
			<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button1" runat="server" Text="基本资料↓"></asp:button><asp:label id="LabelCF" runat="server"></asp:label></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<asp:Label id="Label2" runat="server">员工</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Employee" runat="server" Width="250px"></asp:TextBox><IMG onclick="javascript:selectemployee();" alt="选择员工" src="../image/mini_post.gif">
										<asp:TextBox id="StarHR_id" runat="server" Width="1px"></asp:TextBox><FONT color="red">*</FONT></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label1" runat="server">工资期间</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_year" runat="server" Width="60px"></asp:TextBox>
										<asp:Label id="Label4" runat="server">年</asp:Label>
										<asp:TextBox id="StarHR_month" runat="server" Width="32px"></asp:TextBox>
										<asp:Label id="Label5" runat="server">月,第</asp:Label>
										<asp:TextBox id="StarHR_week" runat="server" Width="32px"></asp:TextBox>
										<asp:Label id="Label6" runat="server">周</asp:Label><FONT face="宋体">&nbsp;(请灵活选择年薪制、月薪制或周薪制)</FONT></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label7" runat="server">起始时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="StarHR_fromtime" runat="server" Width="96px"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('StarHR_fromtime', false)"><IMG src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A></TD>
									<TD>
										<asp:Label id="Label16" runat="server">结束时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="StarHR_totime" runat="server" Width="95px"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('StarHR_totime', false)"><IMG src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label8" runat="server">录入人员</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_writeman" runat="server" Width="96px"></asp:TextBox><FONT color="red"></FONT></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label9" runat="server">基本工资</asp:Label></TD>
									<TD>
										<asp:TextBox id="StarHR_base" runat="server" Width="150px" AutoPostBack="True"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label21" runat="server">奖金</asp:Label></TD>
									<TD>
										<asp:TextBox id="StarHR_bonus" runat="server" Width="95px" AutoPostBack="True"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('StarHR_totime', false)"></A></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_plusl1" runat="server">奖金补贴1</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_plus1" runat="server" Width="150px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_plusl2" runat="server">奖金补贴2</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_plus2" runat="server" Width="150px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_plusl3" runat="server">奖金补贴3</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_plus3" runat="server" Width="150px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_plusl4" runat="server">奖金补贴4</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_plus4" runat="server" Width="150px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_reducel1" runat="server">扣款项目1</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_reduce1" runat="server" Width="125px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_reducel2" runat="server">扣款项目2</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_reduce2" runat="server" Width="125px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_reducel3" runat="server">扣款项目3</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_reduce3" runat="server" Width="125px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="StarHR_reducel4" runat="server">扣款项目4</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_reduce4" runat="server" Width="125px" AutoPostBack="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label20" runat="server" Font-Bold="True">实发工资</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="StarHR_real" runat="server" Width="150px" Font-Bold="True" Enabled="False"></asp:TextBox>&nbsp;(实发工资=基本工资+奖金+补贴-所有扣款项目)</TD>
								</TR>
								<TR>
									<TD style="WIDTH: 105px">
										<asp:Label id="Label18" runat="server">录入时间</asp:Label></TD>
									<TD style="WIDTH: 86px">
										<asp:TextBox id="StarHR_time" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_Time', false)"></A></TD>
									<TD></TD>
									<TD>
										<P><BR>
											<asp:checkbox id="DeleteFlag" runat="server" Text="删除"></asp:checkbox>
											<asp:CheckBox id="Locked" runat="server" Text="锁定"></asp:CheckBox><BR>
										</P>
									</TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><FONT face="宋体"></FONT></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel3" runat="server" Visible="False">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD><FONT face="宋体"></FONT></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P><asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:button id="Btcopy" runat="server" Text="复制当前记录"></asp:button>&nbsp;
							<asp:button id="Button3" runat="server" Text="设定工资项目"></asp:button>&nbsp;
							<asp:button id="Button2" runat="server" Text="返回列表"></asp:button><FONT face="宋体">&nbsp;</FONT>
							<asp:button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:button></P>
						<P><asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label>
							<HR width="100%" SIZE="1">
							<asp:datagrid id="DGValidate" runat="server" Width="100%" Height="68px" Visible="False" ForeColor="Red"
								AutoGenerateColumns="False">
								<AlternatingItemStyle ForeColor="Red"></AlternatingItemStyle>
								<ItemStyle ForeColor="Red"></ItemStyle>
								<HeaderStyle ForeColor="Red" CssClass="WsdnOrgTitle1"></HeaderStyle>
								<Columns>
									<asp:BoundColumn DataField="MainCaption" HeaderText="错误项目"></asp:BoundColumn>
									<asp:BoundColumn DataField="Value" HeaderText="项目值"></asp:BoundColumn>
									<asp:BoundColumn DataField="ValidateMessage" HeaderText="描述"></asp:BoundColumn>
								</Columns>
							</asp:datagrid>
						<P></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"></TD>
				</TR>
				<TR>
					<TD colSpan="4"><asp:label id="Label35" runat="server">发表备忘：</asp:label><asp:textbox id="TextBox1" runat="server" Width="450px"></asp:textbox><asp:button id="Button6" runat="server" Text="提交备忘"></asp:button></TD>
				</TR>
				<TR>
					<TD colSpan="4"><asp:datagrid id="DataGridNote" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="内容"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Status" HeaderText="状态"></asp:BoundColumn>
							</Columns>
						</asp:datagrid>
						<P><asp:label id="Label40" runat="server">相关文件：</asp:label></P>
						<asp:datagrid id="DataGridFile" runat="server" Width="100%" AutoGenerateColumns="False">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<Columns>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Employee" HeaderText="发表人"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Name" HeaderText="文件说明"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Time" HeaderText="发表时间"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Department" HeaderText="所在部门"></asp:BoundColumn>
								<asp:HyperLinkColumn Text="下载" Target="_blank" DataNavigateUrlField="Wsdn_StarCRM_Url" DataNavigateUrlFormatString="../UploadFile/{0}"
									HeaderText="下载"></asp:HyperLinkColumn>
							</Columns>
						</asp:datagrid></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
