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

    // Insert page code here
    protected void Page_Load(object sender, EventArgs e)
    {
        string formstate = Request.QueryString["formstate"];
        this.XTextBox7.Text = formstate;
    }

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
     <link href="/Oimec/Styles/CSS/StyleSheet.css" rel="Stylesheet" type="text/css" />
    <title>BPM Form</title>
    <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:1px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    /*INPUT {height: 15px}*/
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti">
                        <asp:Label id="Label1" runat="server" text="备货采购员维护"></asp:Label></td>
                    <td class="formno">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label6" runat="server" text="当前操作人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox5" runat="server" HiddenInput="True" width="20px" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.UpdateAccount"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox7" runat="server" HiddenInput="True" width="20px" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="formstate"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" width="70%" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.UpdateName" ReadOnly="True" BackColor="#E6F1F8"></aspxform:XTextBox>
                    </td>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label7" runat="server" text="操作日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.UpdateDate" DisplayOnly="True" Width="60%"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="Label3" runat="server" text="维护信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label8" runat="server" text="供应商编号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox4" runat="server" width="70%" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.SupplierID" ReadOnly="True" BackColor="#E6F1F8"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label2" runat="server" text="供应商名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" width="70%" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.SupplierName" ReadOnly="True" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="40px" DisplayColumns="SupplierName:供应商名称;SupplierSAPID:供应商编号" XDataSource="TableName:V_DF_MSupplier_ZK" DataMap="SupplierName->DF_MM_StockPurchaser.SupplierName;SupplierSAPID->DF_MM_StockPurchaser.SupplierID" Text="查询"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="币种"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_MM_StockPurchaser.Currency" PromptText="----请选择----">
                            <asp:ListItem>外币</asp:ListItem>
                            <asp:ListItem>人民币</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td height="12" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="处理人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox1" runat="server" HiddenInput="True" width="20px" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.HandlerAccount"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" width="70%" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_MM_StockPurchaser.HanderName" ReadOnly="True" BackColor="#E6F1F8"></aspxform:XTextBox>
                        <aspxform:XSelectUserButton id="XSelectUserButton1" runat="server" Width="40px" DataMap="Account->DF_MM_StockPurchaser.HandlerAccount;DisplayName->DF_MM_StockPurchaser.HanderName" Text="查询" Height="20px"></aspxform:XSelectUserButton>
                    </td>
                </tr>
            </tbody>
        </table>
        &nbsp;<br />
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写供应商编号！" ControlToValidate="XTextBox4">请填写供应商编号！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" Display="None" ForeColor="Red" ErrorMessage="请填写供应商名称！" ControlToValidate="XTextBox3">请填写供应商名称！</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" Display="None" ForeColor="Red" ErrorMessage="请选择币种！" ControlToValidate="XDropDownList1">请选择币种！</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" Display="None" ForeColor="Red" ErrorMessage="请选择处理人！" ControlToValidate="XTextBox2">请选择处理人！</aspxform:XRequiredFieldValidator>
    </form>
</body>
</html>
