<%@ 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)
    {
        string CusID = Request.QueryString["itemid"];
    
        this.XTextBox2.Text = CusID;
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <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-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 runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="客户扩展申请表"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" value valuetodisplaytext text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" text="--系统自动生成--" BackColor="#8AB3DF" XDataBind="DF_MasterData_CustomerExt.FormNo" Value ValueToDisplayText></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="17" class="title1" colspan="4">
                        <asp:Label id="XLabel12" runat="server" value valuetodisplaytext text="申请人信息 "></asp:Label></td>
                </tr>
                <tr>
                    <td width="253" class="td">
                        <asp:Label id="XLabel20" runat="server" value valuetodisplaytext text="创建用户"></asp:Label>
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_MasterData_CustomerExt.AppAccount" Value ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:Account" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" Width="48px" HiddenInput="True" DataMap="DisplayName->DF_MasterData_CustomerExt.AppName" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td width="9" class="td1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_MasterData_CustomerExt.AppName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td width="50" class="td">
                        <asp:Label id="XLabel21" runat="server" value valuetodisplaytext text="创建日期"></asp:Label></td>
                    <td width="8" class="td1">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_MasterData_CustomerExt.CreateDate" Width="50%" CssClass="text" backColor="#e6f1f8" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="17" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="申请信息 "></asp:Label>&nbsp;&nbsp;
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="varCusID" Value ValueToDisplayText BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" Width="47px" HiddenInput="True" CssClass="text1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_MasterData_CustomerExt.CustomerID" Value ValueToDisplayText="TableName:DF_MasterData_Customer;FilterColumn:CustomerID;DisplayColumn:CustomerID" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" Width="32px" HiddenInput="True" DataMap="CustomerNameCH->DF_MasterData_CustomerExt.CustomerName;CustomerSAPID->DF_MasterData_CustomerExt.CustomerSAPID" Express="varCusID"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="253" class="td">
                        <asp:Label id="XLabel3" runat="server" value valuetodisplaytext text="客户名称"></asp:Label></td>
                    <td width="9" class="td1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_MasterData_CustomerExt.CustomerName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td width="50" class="td">
                        <asp:Label id="XLabel4" runat="server" value valuetodisplaytext text="客户SAP编号"></asp:Label></td>
                    <td width="8" class="td1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_MasterData_CustomerExt.CustomerSAPID" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                </tr>
                <%--<tr>
                    <td class="td" height="23">
                        <aspxform:XLabel id="XLabel7" runat="server" Value ValueToDisplayText text="需扩展公司"></aspxform:XLabel>
                    </td>
                    <td class="td1" colspan="3">
                        <aspxform:XCheckBoxList id="XCheckBoxList1" runat="server" XDataBind="DF_MasterData_CustomerExt.CompanyExt" RepeatDirection="Horizontal">
                            <asp:ListItem>1000</asp:ListItem>
                            <asp:ListItem>1001</asp:ListItem>
                            <asp:ListItem>1002</asp:ListItem>
                            <asp:ListItem>2000</asp:ListItem>
                            <asp:ListItem>4000</asp:ListItem>
                            <asp:ListItem>5000</asp:ListItem>
                            <asp:ListItem>7000</asp:ListItem>
                        </aspxform:XCheckBoxList>
                    </td>
                </tr>--%>
                <tr>
                    <td class="td">
                        <asp:Label id="XLabel7" runat="server" value valuetodisplaytext text="产品线"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_MasterData_CustomerExt.ProductLine" PromptText="--请选择--" ValueColumn="Name" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_cpx;OrderBy:OrderID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="td">
                        <asp:Label id="XLabel5" runat="server" value valuetodisplaytext text="需扩展销售组织"></asp:Label></td>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_MasterData_CustomerExt.SalesOrg" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr HiddenExpress="1">
                    <td class="td">
                        <asp:Label id="XLabel16" runat="server" value valuetodisplaytext text="附件"></asp:Label></td>
                    <td class="td1" colspan="3">
                        <aspxform:XAttachments id="XAttachments1" runat="server" BackColor="#d4e4fe" XDataBind="DF_MasterData_CustomerExt.AppAttach" FileTypesDescription="Word,Excel,bmp,jpg,tiff,gif,pcx,tga,exif,fpx,svg,psd,cdr,pcd,dxf,ufo,eps,ai,raw,PDF" width="100%" ></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel22" runat="server" value valuetodisplaytext text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td align="center" class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_MasterData_CustomerExt.Remark" Value ValueToDisplayText BorderWidth="1px" Min="0" Max="0" Width="100%" HiddenInput="False" CssClass="text" TextMode="MultiLine" Height="76px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ErrorMessage="请选择产品线" ControlToValidate="XDropDownList1"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ErrorMessage="请填写需要扩展的销售组织" ControlToValidate="XTextBox8"></aspxform:XRequiredFieldValidator>
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderWidth="1" BorderColor="#dcdcdc" Width="1200px"></aspxform:XSignTrace>
        </p>
    </form>
</body>
</html>
