<%@ Page language="c#" Codebehind="PriceReportAdd1.aspx.cs" AutoEventWireup="false" Inherits="WsdnStarMarket.Order.PriceReportAdd1" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>PriceReportAdd1</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" style="HEIGHT: 18px" colSpan="4"><asp:label id="Label1" runat="server">报价单添加向导：第二步，选择需报价的产品。</asp:label></TD>
				</TR>
				<TR>
					<TD colSpan="4">
						<asp:datagrid id="DGValidate" runat="server" Visible="False" Width="100%" AutoGenerateColumns="False"
							Height="68px" ForeColor="Red">
							<ItemStyle ForeColor="Red" CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle 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>
				<TR>
					<TD class="WsdnOrgInfo" colSpan="4"><asp:label id="Label2" runat="server" Font-Bold="True">报价单基本信息：</asp:label><asp:checkbox id="Wsdn_StarCRM_IsPublic" runat="server" Visible="False" Text="公开资料"></asp:checkbox></TD>
				</TR>
				<TR>
					<TD><asp:label id="Label17" runat="server">报价单号：</asp:label></TD>
					<TD><asp:label id="Wsdn_StarCRM_Id" runat="server"></asp:label></TD>
					<TD><asp:label id="Label18" runat="server">客户：</asp:label></TD>
					<TD><asp:label id="Wsdn_StarCRM_Client" runat="server"></asp:label></TD>
				</TR>
				<TR>
					<TD><asp:label id="Label19" runat="server">业务员：</asp:label></TD>
					<TD><asp:label id="Wsdn_StarCRM_Employee" runat="server"></asp:label></TD>
					<TD><asp:label id="Label20" runat="server">部门：</asp:label></TD>
					<TD><asp:label id="Wsdn_StarCRM_Department" runat="server"></asp:label></TD>
				</TR>
				<TR>
					<TD><asp:label id="Label21" runat="server">报价时间：</asp:label></TD>
					<TD><asp:label id="Wsdn_StarCRM_Time" runat="server"></asp:label></TD>
					<TD><asp:label id="Label22" runat="server">备注：</asp:label></TD>
					<TD><asp:label id="Info" runat="server" MaxLength="200" Width="300"></asp:label></TD>
				</TR>
				<TR>
					<TD colSpan="1"></TD>
					<TD colSpan="3"></TD>
				</TR>
				</TD></TR>
				<TR>
					<TD class="WsdnOrgInfo" colSpan="4">
						<asp:label id="Label3" runat="server" Font-Bold="True">报价单产品信息：</asp:label></TD>
				</TR>
				<TR>
					<TD colSpan="4" align="right">
						<asp:datagrid id="Datagrid2" runat="server" Width="100%" AutoGenerateColumns="False" AllowPaging="True"
							PageSize="15" ShowFooter="True">
							<ItemStyle CssClass="WsdnOrgInfo"></ItemStyle>
							<HeaderStyle CssClass="WsdnOrgTitle1"></HeaderStyle>
							<FooterStyle HorizontalAlign="Right"></FooterStyle>
							<Columns>
								<asp:HyperLinkColumn DataNavigateUrlField="Wsdn_StarCRM_Id" DataNavigateUrlFormatString="PriceReportAdd1.aspx?mid={0}"
									DataTextField="Wsdn_StarCRM_Product" HeaderText="编辑"></asp:HyperLinkColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Product" HeaderText="产品名称"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Unit" HeaderText="单位"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_Spec" HeaderText="规格"></asp:BoundColumn>
								<asp:BoundColumn DataField="psize" HeaderText="尺寸"></asp:BoundColumn>
								<asp:BoundColumn DataField="packing" HeaderText="包装"></asp:BoundColumn>
								<asp:BoundColumn DataField="Wsdn_StarCRM_MarketPrice" HeaderText="零售价"></asp:BoundColumn>
								<asp:BoundColumn DataField="Price1" HeaderText="价格一"></asp:BoundColumn>
								<asp:BoundColumn DataField="base1" HeaderText="采购数量一"></asp:BoundColumn>
								<asp:TemplateColumn HeaderText="删除">
									<ItemTemplate>
										<asp:CheckBox id="ChkDelete" Runat="server"></asp:CheckBox>
										<asp:TextBox id=TextBox1 accessKey='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "DeleteFlag"))%>' runat="server" CssClass='<%#String.Format("{0}", DataBinder.Eval(Container.DataItem, "Wsdn_StarCRM_Id"))%>' Width="0px">
										</asp:TextBox>
									</ItemTemplate>
								</asp:TemplateColumn>
							</Columns>
							<PagerStyle CssClass="WsdnOrgTitle1" Mode="NumericPages"></PagerStyle>
						</asp:datagrid>
						<asp:Label id="Lgrid" runat="server"></asp:Label>
						<asp:Label id="Label9" runat="server" Visible="False"></asp:Label>
						<asp:TextBox id="Wsdn_StarCRM_Productid" runat="server" Width="1px" Height="1px"></asp:TextBox>
						<asp:TextBox id="Wsdn_StarCRM_Price" runat="server" Width="1px" Height="1px"></asp:TextBox>
						<asp:Button id="BtnDelete" runat="server" Text="删除"></asp:Button>
				<TR class="WsdnOrgInfo">
					<TD>
						<asp:label id="Label4" runat="server" Font-Bold="True">产品名称</asp:label></TD>
					<TD>
						<asp:textbox id="Wsdn_StarCRM_Product" runat="server" ReadOnly="True" Font-Bold="True"></asp:textbox>
						<asp:textbox id="Wsdn_StarCRM_PId" runat="server" Width="0"></asp:textbox>&nbsp;&nbsp;<INPUT onclick="javascript:doselectproduct4();" type="button" value="选择产品"></TD>
					<TD>
						<asp:label id="Label5" runat="server">计量单位</asp:label></TD>
					<TD>
						<asp:textbox id="Wsdn_StarCRM_Unit" runat="server"></asp:textbox></TD>
				</TR>
				<TR class="">
					<TD>
						<asp:label id="Label7" runat="server" Font-Bold="True">市场零售价</asp:label></TD>
					<TD>
						<asp:TextBox id="Wsdn_StarCRM_MarketPrice" runat="server"></asp:TextBox><asp:TextBox id="Wsdn_StarCRM_AgentPrice" runat="server" Width="0"></asp:TextBox></TD>
					<TD>
						<asp:label id="Label6" runat="server">规格</asp:label></TD>
					<TD>
						<asp:textbox id="Wsdn_StarCRM_Spec" runat="server"></asp:textbox></TD>
				</TR>
				<TR>
					<TD colSpan="4">
					</TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD>
						<asp:Label id="Label13" runat="server">包装</asp:Label></TD>
					<TD>
						<asp:TextBox id="packing" runat="server"></asp:TextBox></TD>
					<TD>
						<asp:Label id="Label8" runat="server">尺寸</asp:Label></TD>
					<TD>
						<asp:TextBox id="psize" runat="server"></asp:TextBox></TD>
				</TR>
				<TR class="">
					<TD>
						<asp:Label id="Label11" runat="server">价格一</asp:Label></TD>
					<TD>
						<asp:TextBox id="price1" runat="server"></asp:TextBox></TD>
					<TD>
						<asp:Label id="Label12" runat="server">基于价格一的采购数量：</asp:Label></TD>
					<TD>
						<asp:TextBox id="base1" runat="server" MaxLength="200"></asp:TextBox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD>
						<asp:Label id="Label25" runat="server">价格二</asp:Label></TD>
					<TD>
						<asp:TextBox id="price2" runat="server"></asp:TextBox></TD>
					<TD>
						<asp:Label id="Label26" runat="server">基于价格二的采购数量：</asp:Label></TD>
					<TD>
						<asp:TextBox id="base2" runat="server" MaxLength="200"></asp:TextBox></TD>
				</TR>
				<TR class="">
					<TD>
						<asp:Label id="Label27" runat="server">价格三</asp:Label></TD>
					<TD>
						<asp:TextBox id="price3" runat="server"></asp:TextBox></TD>
					<TD>
						<asp:Label id="Label28" runat="server">基于价格三的采购数量：</asp:Label></TD>
					<TD>
						<asp:TextBox id="base3" runat="server" MaxLength="200"></asp:TextBox></TD>
				</TR>
				<TR class="WsdnOrgInfo">
					<TD>
						<asp:Label id="Label10" runat="server">备注：</asp:Label></TD>
					<TD colspan="3">
						<asp:TextBox id="Wsdn_StarCRM_Info" runat="server" MaxLength="200" Width="568px"></asp:TextBox></TD>
				</TR>
				</TD></TR>
				<TR>
				<TR>
					<TD align="right" colSpan="4">
						<P>
							<asp:Label id="Msg" runat="server" ForeColor="Red"></asp:Label>
							<asp:Button id="BtAdd" runat="server" Text="添加记录"></asp:Button>&nbsp;
							<asp:Button id="Btmodify" runat="server" Text="修改"></asp:Button>&nbsp;&nbsp;
							<asp:Button id="Button1" runat="server" Text="报价单输出"></asp:Button>
							<asp:DropDownList id="DropDownList1" runat="server">
								<asp:ListItem Value="Word格式">Word格式</asp:ListItem>
								<asp:ListItem Value="Html格式">Html格式</asp:ListItem>
							</asp:DropDownList>&nbsp;&nbsp;&nbsp;
							<asp:button id="BtCancel" runat="server" Text=" 撤销该单 "></asp:button>&nbsp;
							<asp:Button id="Button3" runat="server" Text="返回列表"></asp:Button>&nbsp;</P>
						<P>
							<asp:Label id="Label35" runat="server">发表留言：</asp:Label>
							<asp:TextBox id="Textbox2" runat="server" Width="450px"></asp:TextBox>
							<asp:Button id="BtNote" runat="server" Text="提交留言"></asp:Button>&nbsp;
							<asp:button id="BtFile" runat="server" Text="上传相关文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:button></P>
						<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_Id" HeaderText="ID"></asp:BoundColumn>
									<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>
									<asp:ButtonColumn Text="删除" CommandName="Delete"></asp:ButtonColumn>
								</Columns>
							</asp:datagrid><FONT face="宋体"></P>
						<P></FONT>
							<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>
					</TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
