<%@ Page Language="C#" MasterPageFile="~/Member/UserManage.master" EnableEventValidation="false"
    ValidateRequest="false" AutoEventWireup="true" CodeFile="PurchaseEdit.aspx.cs"
    Inherits="member_Trade_PurchaseEdit" %>

<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContInfo" runat="server">
    <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="tishi_xin">
                带 <span class="red">*</span> 为必填项</div>
            <div class="h2_title">
                <h2>
                    产品基本信息</h2>
            </div>
            <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="province" name="province" runat="server" size="8" style="width: 132px">
			</select>
			<select id="city" name="city" runat="server" size="8" style="width: 132px">
			</select>
			<select id="county" name="county" runat="server" size="8" style="width: 132px">
			</select>--%>
                        <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><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>
                    </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" name="ImgUrl" 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><span class="red">*</span>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtStartDate" onfocus="calendar()" runat="server" Width="90px"></asp:TextBox>—<asp:TextBox
                            ID="txtEndDate" onfocus="calendar()" runat="server" Width="97px"></asp:TextBox>
                        <%--<div id="txt2"></div> <div id="txt3"></div>--%>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>品牌：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtBrand" runat="server" Width="133px"></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="131px"></asp:TextBox>
                        <div id="txt5">
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="thing">
                        <strong>需求数量：</strong>
                    </td>
                    <td class="td_c">
                        <asp:TextBox ID="txtCount" runat="server" Width="130px"></asp:TextBox>
                        <div id="txt6">
                        </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="68px"></asp:TextBox>
                        元 /
                        <asp:DropDownList ID="dropUnit" runat="server">
                        </asp:DropDownList><div id="txt7">
                        </div>
                    </td>
                </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                    <td>
                        &nbsp;</td>
                </tr>
                <tr>
                    <td align="center">
                        <asp:Button ID="btnSave" runat="server" Text="确定" OnClick="btnSave_Click" CssClass="i_button" />
                        <asp:Button ID="btnCancel" runat="server" Text="取消" CssClass="i_button" OnClick="btnCancel_Click" /></td>
                </tr>
                <asp:Label ID="lblMessage" runat="server" Visible="false"></asp:Label>
            </table>
        </div>

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

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

    </form>

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

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

</asp:Content>
