<%@ Page language="c#" Codebehind="ProductEdit.aspx.cs" validateRequest="false" AutoEventWireup="false" Inherits="WsdnStarMarket.Storehouse.ProductEdit" %>
<%@ Register TagPrefix="ftb" Namespace="FreeTextBoxControls" Assembly="FreeTextBox" %>
<%@ Register TagPrefix="uc1" TagName="Css" Src="../include/Css.ascx" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>MeetingEdit</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:textbox id="Wsdn_StarCRM_Id" runat="server" Visible="False"></asp:textbox><asp:label id="LabelCF" runat="server" Visible="False"></asp:label><asp:label id="thisid" runat="server" Visible="False">0</asp:label><asp:label id="Msg" runat="server" ForeColor="#C00000"></asp:label><asp:datagrid id="DGValidate" runat="server" Visible="False" Width="100%" Height="68px" ForeColor="Red"
							AutoGenerateColumns="False">
							<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></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="Label1" runat="server">产品名称</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Name" runat="server" MaxLength="50"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label2" runat="server">产品编码</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Sname" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label3" runat="server">产品类型</asp:Label></TD>
									<TD>
										<asp:TextBox id="TypeName" runat="server"></asp:TextBox><IMG onclick="javascript:doselectID('产品类型','Wsdn_StarCRM_Type');" height="14" alt="选择该项目"
											src="../image/mini_post.gif" width="13">
										<asp:TextBox id="Wsdn_StarCRM_Type" runat="server" Width="0"></asp:TextBox>&nbsp;
									</TD>
									<TD>
										<asp:Label id="Label5" runat="server">单位</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Unit" runat="server"></asp:TextBox><IMG onclick="javascript:doselect('产品单位','Wsdn_StarCRM_Unit');" height="14" alt="选择该项目"
											src="../image/mini_post.gif" width="13">
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label4" runat="server">型号规格</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Spec" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label9" runat="server">条形码</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Code" runat="server"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label6" runat="server">供应商</asp:Label></TD>
									<TD>
										<asp:TextBox id="Providername" runat="server"></asp:TextBox><IMG onclick="javascript:window.open('../include/selcl.aspx?type=2','_blank','location=no, top=100, left=100,toolbar=yes, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')"
											height="14" alt="察看该项目" src="../image/mini_post.gif" width="13">
										<asp:TextBox id="ProviderID" runat="server" Width="0px">0</asp:TextBox></TD>
									<TD>
										<asp:Label id="Label8" runat="server">生产厂商</asp:Label></TD>
									<TD>
										<asp:TextBox id="Companyname" runat="server"></asp:TextBox><IMG onclick="javascript:window.open('../include/selcl.aspx?type=3','_blank','location=no, top=100, left=100,toolbar=yes, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no')"
											height="14" alt="察看该项目" src="../image/mini_post.gif" width="13">
										<asp:TextBox id="CompanyID" runat="server" Width="0px">0</asp:TextBox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label14" runat="server">成本价</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_CostPrice" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label15" runat="server">市场价</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_MarketPrice" runat="server"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label16" runat="server">采购价</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_AgentPrice" runat="server"></asp:TextBox></TD>
									<TD>
										<asp:Label id="Label17" runat="server">预设价格一</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Price1" runat="server"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label18" runat="server">预设价格二</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Price2" runat="server"></asp:TextBox>&nbsp;
									</TD>
									<TD>
										<asp:Label id="Label19" runat="server">预设价格三</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Price3" runat="server"></asp:TextBox>&nbsp;
									</TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label20" runat="server">预设价格四</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Price4" runat="server"></asp:TextBox>&nbsp;
									</TD>
									<TD>
										<asp:Label id="Label7" runat="server">产地</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_From" runat="server"></asp:TextBox><IMG onclick="javascript:doselect('城市','Wsdn_StarCRM_From');" height="14" alt="察看该项目"
											src="../image/mini_post.gif" width="13"></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label10" runat="server">涉及部门</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Department" runat="server"></asp:TextBox><IMG onclick="javascript:doselectdepartment();" height="14" alt="选择部门" src="../image/mini_post.gif"
											width="13">
									</TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsPublic" runat="server" Text="公开资料" Checked="True"></asp:CheckBox></TD>
									<TD>
										<asp:CheckBox id="DeleteFlag" runat="server" Text="删除"></asp:CheckBox>
										<asp:textbox id="Imageurl" runat="server" Width="1px" Enabled="False">noname.gif</asp:textbox>
										<asp:textbox id="BigImageurl" runat="server" Width="1px" Enabled="False">noname1.gif</asp:textbox></TD>
								</TR>
								<TR>
									<TD>
										<asp:Label id="Label21" runat="server" Visible="False">产品条码</asp:Label></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_Product" runat="server" Visible="False"></asp:TextBox>
										<asp:TextBox id="Wsdn_StarCRM_StTop" runat="server" Visible="False" Width="20px"></asp:TextBox></TD>
									<TD>
										<asp:CheckBox id="Wsdn_StarCRM_IsService" runat="server" Text="是否服务性质产品" Visible="False"></asp:CheckBox></TD>
									<TD>
										<asp:TextBox id="Wsdn_StarCRM_St" runat="server" Visible="False"></asp:TextBox>&nbsp;
										<asp:TextBox id="Wsdn_StarCRM_StBottom" runat="server" Visible="False" Width="20px"></asp:TextBox></TD>
								</TR>
								<TR>
									<TD><FONT face="宋体">
											<asp:Label id="Label11" runat="server" Font-Bold="True">实时产品数量</asp:Label></FONT></TD>
									<TD>
										<asp:Label id="Pnum" runat="server" ForeColor="Black" Font-Bold="True" Font-Size="Larger"></asp:Label></TD>
									<TD></TD>
									<TD></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">
							<TABLE cellSpacing="1" cellPadding="0" width="100%" border="0">
								<TR>
									<TD>
										<FTB:FreeTextBox id="Wsdn_StarCRM_Info" runat="server" Height="150px" Width="92%" GutterBackColor="224, 224, 224"
											BackColor="224, 224, 224" DropDownListCssClass="WsdnOrgInfo" HtmlModeCss="WsdnOrgInfo" DesignModeCss="WsdnOrgInfo"
											ToolbarBackgroundImage="False" SupportFolder="~/FreeTextBox/"></FTB:FreeTextBox></TD>
								</TR>
							</TABLE>
						</asp:panel></TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo" align="center">
						<P>&nbsp;
							<asp:button id="BtSubmit" runat="server" Text="Button"></asp:button>&nbsp;
							<asp:button id="Btcopy" runat="server" Text="复制记录"></asp:button>&nbsp;
							<asp:button id="BtFile" runat="server" Text="上传文件" ToolTip="添加完毕并存盘之后方可上传相关文件"></asp:button>&nbsp;
							<asp:button id="Button7" runat="server" Text="跟踪产品出入库" Font-Bold="True"></asp:button>&nbsp;<asp:button id="Button2" runat="server" Text="返回" Visible="False"></asp:button><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>&nbsp;&nbsp;&nbsp;</P>
						<P>
							<asp:label id="Label26" runat="server">图片1：</asp:label><INPUT id="File1" style="WIDTH: 184px; HEIGHT: 22px" type="file" size="11" name="File1"
								runat="server">
							<asp:label id="Label27" runat="server">图片2：</asp:label>
							<INPUT id="File2" style="WIDTH: 184px; HEIGHT: 22px" type="file" size="11" name="File2"
								runat="server">&nbsp;
							<asp:button id="BtUpload" runat="server" Text="图片上传"></asp:button></P>
						<P>
							<asp:PlaceHolder id="PlaceHolder1" runat="server"></asp:PlaceHolder>
							<asp:PlaceHolder id="PlaceHolder2" runat="server"></asp:PlaceHolder>
							<HR width="100%" SIZE="1">
							<FONT face="宋体">&nbsp;</FONT>&nbsp;<FONT face="宋体">&nbsp;</FONT>&nbsp;<FONT face="宋体">&nbsp;</FONT>
							<asp:label id="Label22" runat="server">内部留言：</asp:label><asp:textbox id="TextBox1" runat="server" Width="450px"></asp:textbox><asp:button id="BtNote" runat="server" Text="提交留言"></asp:button>
						<P></P>
						<P></P>
					</TD>
				</TR>
				<TR>
					<TD class="WsdnOrgInfo"></TD>
				</TR>
				<TR>
					<TD><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><asp:label id="Label23" runat="server">相关文件：</asp:label><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></TD>
				</TR>
			</TABLE>
		</form>
	</body>
</HTML>
