<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        this.XTextBox1.Text = Request.QueryString["bu"];
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>BPM Form</title> 
    <link type="text/css" rel="Stylesheet" href="/Oimec/Styles/css/StyleSheet.css" />
    <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {PADDING-RIGHT: 0px; PADDING-LEFT: 2px; PADDING-BOTTOM: 0px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    INPUT {HEIGHT: 20px}
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    </style>
</head>
<body>
    <form id="Form1" runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="价格体系下载"></asp:Label></td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" value valuetodisplaytext text="操作用户"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" ValueToDisplayText BorderColor="Gainsboro" BackColor="#E6F1F8" XDataBind="DF_PriceSystemFiles.CreateName" CssClass="text" Width="50%" DisableBehavior="ReadOnly"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" value valuetodisplaytext text="创建日期"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BorderColor="Gainsboro" BackColor="#E6F1F8" XDataBind="DF_PriceSystemFiles.CreateAt" CssClass="text" Width="50%" DisableBehavior="ReadOnly" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel22" runat="server" value valuetodisplaytext text="厂商"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_PriceSystemFiles.Manufacturers" Width="50%" ValueColumn="Manufacturers" DisplayColumn="Manufacturers" XDataSource="TableName:V_DF_SalesPriceSystem_cs;Filter:BU->DF_PriceSystemFiles.BU">
                            <asp:ListItem Selected="True">未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" BorderColor="#DCDCDC" XDataBind="DF_PriceSystemFiles.BU" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" table>
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="上传价格体系原文件"></asp:Label></td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_PriceSystemFiles.Attachment" RepeatDirection="Horizontal" width="100%" FileTypesDescription="Word,Excel"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <p align="center">
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XAttachments1" ErrorMessage="请上传文件！" Display="None"></aspxform:XRequiredFieldValidator>
        </p>
    </form>
</body>
</html>
