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

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

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

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

    <form id="form1" action="">
        <asp:HiddenField ID="txtSortB" runat="server"></asp:HiddenField>
        <asp:HiddenField ID="txtSortM" runat="server"></asp:HiddenField>
        <asp:HiddenField ID="txtSortS" runat="server"></asp:HiddenField>
        <div id="sub_content">
            <div class="pagetitle">
                修改供应信息</div>
				<div class="content_top_nav">
                <div class="content_top_title">
                    发布信息小贴示</div>
                <div class="content_top_text">
                    1、填写简洁的“产品关键字”，程序会自动为您匹配正确的产品分类，节约您发布信息时间。<br />
                    2、产品关键字请出现在标题中，可让您的信息更容易被搜索到。<br />
                    3、详细的产品简介，可提高客户关注度。
                </div>
            </div>
            <div class="tishi_xin">
                带 <span class="red">*</span> 为必填项</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">
                        <asp:TextBox ID="txtName" runat="server" Width="200px">
                        </asp:TextBox>
                        <div id="txt0">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品关键字：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtKey" runat="server" Width="200px">
                        </asp:TextBox>
                        <div id="txt1">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>行业分类：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <select id="SortB" runat="server" size="8" style="width: 132px">
                        </select>
                        <select id="SortM" runat="server" size="8" style="width: 132px">
                        </select>
                        <select id="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 border="0" src="../../Images/System/wutu.gif" id="ImgUrl" alt="" runat="server"
                                style="width: 106px; height: 95px" /></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: 190px"
                                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">
                        &nbsp;<div id="txt2">
                            <asp:DropDownList ID="dropProType" runat="server">
                            </asp:DropDownList></div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产 地：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtPlace" runat="server" Width="200px">
                        </asp:TextBox><div id="txt3">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>品 牌：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtBrand" runat="server" Width="200px">
                        </asp:TextBox><div id="txt4">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>型 号：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtModel" runat="server" Width="200px">
                        </asp:TextBox><div id="txt5">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品单价：</strong><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtPrice" runat="server" Width="200px">
                        </asp:TextBox><div id="txt6">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>供货数量：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtQuantity" runat="server" Width="200px">
                        </asp:TextBox><div id="txt7">
                        </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">
                        <asp:TextBox ID="txtMinimum" runat="server" Width="200px">
                        </asp:TextBox>
                        <div id="txt8">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>发货期限：</strong>
                    </td>
                    <td class="td_c">
                        &nbsp;<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" runat="server" onfocus="calendar()" 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" runat="server" onfocus="calendar()" Width="200px">
                        </asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>备 注：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtRemark" runat="server" Width="200px">
                        </asp:TextBox><div id="txt9">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>产品文档：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtDocument" runat="server" Width="200px">
                        </asp:TextBox><div id="txt10">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="2" height="40">
					<asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="发布" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CssClass="i_button" />
                    </td>
                </tr>
            </table>
        </div>
    </form>

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

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

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

</asp:Content>
