<%@ 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"];
        if (CusID != null)
        {
            this.XTextBox4.Text = CusID;
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <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-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 style="TEXT-ALIGN: center">
    <form runat="server">
        <table width="1200" 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>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" Value ValueToDisplayText text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" Value ValueToDisplayText BackColor="#8AB3DF" text="----自动生成----" XDataBind="DF_MasterData_CustomerLevel.FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1199" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="14" class="title1" colspan="4">
                        <asp:Label id="XLabel34" runat="server" Value ValueToDisplayText Text="用户信息"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel35" runat="server" Value ValueToDisplayText Text="创建用户"></asp:Label>
                        <aspxform:XTextBox id="XTextBox3" runat="server" Value ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:Account" XDataBind="DF_MasterData_CustomerLevel.AppAccount" DataMap="DisplayName->DF_MasterData_CustomerLevel.AppName" Width="18px" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox38" style="WIDTH: 70%" runat="server" XDataBind="DF_MasterData_CustomerLevel.AppName" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel40" runat="server" Value ValueToDisplayText Text="创建日期"></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" style="WIDTH: 50%" runat="server" XDataBind="DF_MasterData_CustomerLevel.CreateDate" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel36" runat="server" Value ValueToDisplayText Text="申请人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox35" runat="server" ValueToDisplayText="TableName:DF_SA_SS_SalesPersonnel;FilterColumn:StaffID;DisplayColumn:StaffID" XDataBind="DF_MasterData_CustomerLevel.SalesMan" DataMap="StaffName->DF_MasterData_CustomerLevel.SalesManName;ProductLine->BU;Region->DF_MasterData_CustomerLevel.AppArea" Width="20%" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" Express="DF_MasterData_CustomerLevel.AppAccount"></aspxform:XTextBox>
                    </td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_MasterData_CustomerLevel.SalesManName" Width="220px" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Text="查询" DataMap="StaffID->DF_MasterData_CustomerLevel.SalesMan;StaffName->DF_MasterData_CustomerLevel.SalesManName;ProductLine->BU;Region->DF_MasterData_CustomerLevel.AppArea" Width="45px" CssClass="anxiu" Height="23px" XDataSource="TableName:DF_SA_SS_SalesPersonnel" DisplayColumns="StaffID:账号,;StaffName:姓名,"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                    </td>
                </tr>
                <tr>
                    <td height="22" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel38" runat="server" Value ValueToDisplayText Text="BU"></asp:Label>
                        <aspxform:XDropDownList id="XDropDownList34" runat="server" DataMap="Name->DF_MasterData_CustomerLevel.AppBU" HiddenExpress="1" XDataSource="TableName:V_DF_SA_SS_ProductLine;Filter:Value->BU" ValueColumn="Name" DisplayColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox128" runat="server" XDataBind="BU" Width="1px" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox42" style="WIDTH: 70%" runat="server" ValueToDisplayText XDataBind="DF_MasterData_CustomerLevel.AppBU" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel39" runat="server" Value ValueToDisplayText Text="所属地区"></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox41" style="WIDTH: 70%" runat="server" XDataBind="DF_MasterData_CustomerLevel.AppArea" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" class="table">
            <tbody>
                <tr>
                    <td height="25" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" Value ValueToDisplayText text="申请信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox4" runat="server" Value ValueToDisplayText XDataBind="varCustomer" Width="62px" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox7" runat="server" Value ValueToDisplayText="TableName:DF_MasterData_Customer;FilterColumn:CustomerID;DisplayColumn:CustomerID" XDataBind="DF_MasterData_CustomerLevel.CustomerBPMID" DataMap="CustomerNameCH->DF_MasterData_CustomerLevel.CustomerName;CustomerSAPID->DF_MasterData_CustomerLevel.CustomerSAPID;CusLeavel->DF_MasterData_CustomerLevel.CustomerOldLevel" Width="55px" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" HiddenExpress="1" Express="varCustomer"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel3" runat="server" Value ValueToDisplayText text="客户中文名称"></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_MasterData_CustomerLevel.CustomerName" Width="70%" BorderWidth="1px" BorderColor="Gainsboro" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" Value ValueToDisplayText text="SAP客户编号"></asp:Label>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_MasterData_CustomerLevel.CustomerSAPID" Width="70%" BorderWidth="1px" BorderColor="Gainsboro" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel10" runat="server" Value ValueToDisplayText text="BPM预审单号"></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_MasterData_CustomerLevel.InquiryFormNo" Width="220" CssClass="text" ReadOnly="True" backColor="#e6f1f8"></aspxform:XTextBox>
                        &nbsp;
                        <aspxform:XHistoryFormLink id="XHistoryFormLink1" runat="server" XDataBind="DF_MasterData_CustomerLevel.InquiryTID" EmptyText="查看" PopupWndWidth="-1" PopupWndHeight="-1" BackColor="#d4e4fe">查看</aspxform:XHistoryFormLink>
                        &nbsp;
                        <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="id" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" ReadOnly="True" Enabled="False" width="5"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Text="查询" DataMap="TaskID->DF_MasterData_CustomerLevel.InquiryTID;FormNo->DF_MasterData_CustomerLevel.InquiryFormNo" Width="60px" XDataSource="TableName:V_DF_InquiryQuery;Filter:SalesmanID->DF_MasterData_CustomerLevel.SalesMan" DisplayColumns="FormNo:预审单号,150;CreateDate:创建时间,200;SalesOpportunities:销售机会名称,250" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst">
                        <asp:Label id="XLabel7" runat="server" Value ValueToDisplayText text="原客户等级"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_MasterData_CustomerLevel.CustomerOldLevel" Width="70%" BorderWidth="1px" BorderColor="Gainsboro" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel8" runat="server" Value ValueToDisplayText text="修改等级"></asp:Label>
                    </td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_MasterData_CustomerLevel.CustomerNewLevel" Width="50%" XDataSource="TableName:V_DF_DataSourceList_kehudengji;OrderBy:OrderID" ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="25" class="title1" colspan="4">
                        <asp:Label id="XLabel9" runat="server" Value ValueToDisplayText text="申请理由"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" Value ValueToDisplayText text="本年度累计成交金额(人民币)："></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_MasterData_CustomerLevel.Amount1" Width="70%" BorderWidth="1px" BorderColor="Gainsboro" Format="type:currency;pfx:￥;.2"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel6" runat="server" Value ValueToDisplayText text="大订单金额(人民币)："></asp:Label>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_MasterData_CustomerLevel.Amount2" Width="70%" BorderWidth="1px" BorderColor="Gainsboro" Format="type:currency;pfx:￥;.2"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ErrorMessage="请选择修改等级!" ControlToValidate="XDropDownList1"></aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ErrorMessage="请填写累计成交金额" ControlToValidate="XTextBox6"></aspxform:XRequiredFieldValidator>
        &nbsp;
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ErrorMessage="请填写大订单金额" ControlToValidate="XTextBox9"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
