<%@ Page language="c#" Codebehind="ClientFeedBackEdit.aspx.cs" validateRequest=false  AutoEventWireup="false" Inherits="WsdnStarCrm.Crm.ClientFeedBackEdit" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<!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></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"><asp:panel id="Panel1" runat="server">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label2" runat="server">客户名称</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Client" runat="server" Width="200px"></asp:TextBox>
										<asp:TextBox id="Wsdn_StarCRM_Id" runat="server" Width="1px"></asp:TextBox><IMG onclick="javascript:selectclient();" alt="选择客户" src="../image/mini_post.gif">
										<asp:TextBox id="Wsdn_StarCRM_Clientid" runat="server" Width="0px" ReadOnly="True"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label1" runat="server">投诉情况</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Reason" runat="server" Width="380px" TextMode="MultiLine" Rows="3"></asp:TextBox><FONT face="宋体" color="red">*</FONT></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 23px">
										<asp:Label id="Label3" runat="server">联系人姓名</asp:Label></TD>
									<TD style="HEIGHT: 23px">
										<asp:TextBox id="Wsdn_StarCRM_Linkman" runat="server"></asp:TextBox><IMG onclick="javascript:selectlinkman();" alt="选择联系人" src="../image/mini_post.gif"></TD>
									<TD style="HEIGHT: 23px">
										<asp:Label id="Label10" runat="server">电话号码</asp:Label></TD>
									<TD style="HEIGHT: 23px">
										<asp:TextBox id="Wsdn_StarCRM_Phone" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label5" runat="server">投诉类型</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Type" runat="server"></asp:TextBox><IMG onclick="javascript:doselect('投诉类型','Wsdn_StarCRM_Type');" alt="察看该项目" src="../image/mini_post.gif"><FONT face="宋体" color="red">*</FONT></TD>
									<TD></TD>
									<TD></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label4" runat="server">联系地址</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Address" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label11" runat="server">服务员工</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Employee" runat="server"></asp:TextBox><IMG onclick="javascript:selectemployee();" alt="选择员工" src="../image/mini_post.gif"></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label9" runat="server">投诉产品</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Product" runat="server"></asp:TextBox><IMG onclick="javascript:doselectproduct();" alt="选择产品" src="../image/mini_post.gif"></TD>
									<TD>
										<asp:Label id="Label8" runat="server">产品序号</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_ProductSer" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label15" runat="server">购买日期</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_BuyTime" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_BuyTime', false)"><IMG src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A></TD>
									<TD>
										<asp:Label id="Label14" runat="server">开始解决时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_StartTime" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_StartTime', false)"><IMG src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label13" runat="server">最终解决时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_EndTime" runat="server"></asp:TextBox><A title="选择时间" href="javascript:OpenCalendar('Wsdn_StarCRM_EndTime', false)"><IMG src="../image/ftb/insertdate.gif" width="19" align="absMiddle" border="0"></A></TD>
									<TD>
										<asp:Label id="Label12" runat="server">投诉解决程度</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Rate" runat="server"></asp:TextBox><IMG onclick="javascript:doselect('派工服务类型','Wsdn_StarCRM_Type');" alt="察看该项目" src="../image/mini_post.gif"></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label16" runat="server">录入时间</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Time" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:checkbox id="DeleteFlag" runat="server" Text="删除"></asp:checkbox></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="其他部门可见"></asp:CheckBox></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label17" runat="server">解决过程/方法</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_Way" runat="server" Width="380px" TextMode="MultiLine" Rows="3"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD style="HEIGHT: 17px">
										<asp:Label id="Label18" runat="server">客户反馈</asp:Label></TD>
									<TD colSpan="3">
										<asp:TextBox id="Wsdn_StarCRM_FeedBack" runat="server" Width="380px" TextMode="MultiLine" Rows="3"></asp:TextBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgTitle1"><asp:button id="Button5" runat="server" Text="其他信息↓"></asp:button></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>
										<FTB:FreeTextBox id="Wsdn_StarCRM_Info" runat="server" Width="92%" Height="280px" DropDownListCssClass="WsdnOrgInfo"
											HtmlModeCss="WsdnOrgInfo" DesignModeCss="WsdnOrgInfo" ToolbarBackgroundImage="False" SupportFolder="~/FreeTextBox/"
											GutterBackColor="224, 224, 224" BackColor="224, 224, 224"></FTB:FreeTextBox></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="Button2" runat="server" Text="返回投诉列表"></asp:button></P>
						<P><asp:button id="BtPrint" runat="server" Text="打印当前信息"></asp:button>
							<asp:dropdownlist id="PrintList" runat="server">
								<asp:ListItem Value="网页形式">网页形式</asp:ListItem>
								<asp:ListItem Value="输出为Excel" Selected="True">输出为Excel</asp:ListItem>
							</asp:dropdownlist><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></P>
						<P>
							<HR width="100%" SIZE="1">
							<asp:datagrid id="DGValidate" runat="server" Width="100%" Visible="False" ForeColor="Red" AutoGenerateColumns="False"
								Height="68px">
								<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>
					</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>
