<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" EnableEventValidation="false"
    ValidateRequest="false" AutoEventWireup="true" CodeFile="SupplyAdd.aspx.cs" Inherits="member_Supply_Supplyt"
    Title="供应信息" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">

    <script language="javascript" src="../../js/Industry.js" type="text/javascript"></script>

    <script type="text/javascript" src="../../js/calendar.js"></script>

    <form id="form1" action="">
        <div id="sub_content">
            <div class="pagetitle">
                发布供应信息</div>
				<div class="tishi">
            <span>提&nbsp;示：</span>
			<p>·产品关键字请出现在标题中，可让您的信息更容易被搜索到。</p>
			<p>·详细的产品简介，可提高客户关注度。</p>
			<div class="clr"></div>
			</div>
            <div class="tishi_xin">
                提示：带 <span class="red">*</span> 为必填项
            </div>
			<div class="clr"></div>
            <div class="h2_title">
                <h2>
                    产品基本信息</h2>
            </div>
            <asp:Label ID="lblMessage" runat="server" Visible="false" ForeColor="red"></asp:Label>
            <table border="0" cellpadding="0" cellspacing="0" width="100%" class="lr_bo">
                <tr>
                    <td class="thing">
                        <strong>信息标题：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtName" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt0">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品关键字：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtKey" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt1">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>行业分类：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <select id="SortB" name="SortB" runat="server" size="8" style="width: 132px">
                        </select>
                        <select id="SortM" name="SortM" runat="server" size="8" style="width: 132px">
                        </select>
                        <select id="SortS" name="SortS" runat="server" size="8" style="width: 132px">
                        </select>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品图片：</strong>
                    </td>
                    <td class="td_c">
                        <asp:HiddenField ID="ImgUrl1" runat="server" />
                        <a href="" id="txturldz" target="_blank">
                            <img src="../../Images/System/wutu1.gif" alt="" name="ImgUrl" width="98" height="98" border="0" id="ImgUrl" runat="server" /></a><br />
                        <input id="txtupload" type="button" value="上传" onclick="return rowTest()" /><br />
                        <div id="rowTest" style="display: none">
                            <iframe name="tag" src="../Tool/Upload.html" style="width: 550px; height: 120px"
                                frameborder="0" scrolling="no" onload="this.height=tag.document.body.scrollHeight">
                            </iframe>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品系列：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:DropDownList ID="dropProType" runat="server">
                            </asp:DropDownList>
                        </span>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产 地：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtPlace" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt2">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>品 牌：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtBrand" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt3">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>型 号：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtModel" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt4">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品单价：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtPrice" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt5">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>供货数量：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtQuantity" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt6">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品单位：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <asp:DropDownList ID="dropUnit" runat="server">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>最小定量：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtMinimum" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt7">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>发货期限：</strong>
                    </td>
                    <td class="td_c"><asp:RadioButtonList ID="radlDeadline" runat="server" RepeatDirection="Horizontal"
                            RepeatLayout="Flow">
                            <asp:ListItem Value="10">10天</asp:ListItem>
                            <asp:ListItem Value="20">20天</asp:ListItem>
                            <asp:ListItem Value="30">1个月</asp:ListItem>
                            <asp:ListItem Value="90">3个月</asp:ListItem>
                            <asp:ListItem Selected="True" Value="180">6个月</asp:ListItem>
                        </asp:RadioButtonList></td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>详细说明：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <FCKeditorV2:fckeditor id="txtContent" runat="server" basepath="~/Control/fckeditor/"
                            toolbarset="Basic" height="400" width="640">
                        </FCKeditorV2:fckeditor>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>有效期从：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtStartDate" onfocus="calendar()" runat="server" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>至有效期：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtEndDate" onfocus="calendar()" runat="server" Width="200px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>备 注：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtRemark" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt8">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品文档：</strong>
                    </td>
                    <td class="td_c">
                        <span>
                            <asp:TextBox ID="txtDocument" runat="server" Width="200px"></asp:TextBox></span>
                        <div id="txt9">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center" style="height: 45px; border-bottom: 1px #CCCCCC solid;">
                        <asp:Button ID="btnSave" runat="server" Text="发布" OnClick="btnSave_Click" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="i_button" /></td>
                </tr>
            </table>
        </div>
    </form>

    <script language="javascript" type="text/javascript">
	  setup(1);
    </script>

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript" src="../js/Supply.js"></script>

</asp:Content>
