<%@ 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 formart = Request.QueryString["formstate"];
        if (formart == "New")
        {
            this.XDropDownList11.Text = "公共可用";
        }
        else if (formart == "Edit")
        {
            string cusID = Request.QueryString["customerid"];
            this.XTextBox3.Text = cusID;
            this.XTextBox12.Text = formart;
        }
        else
        {
            string item = Request.QueryString["itemid"];
            this.XTextBox3.Text = item;
        }
    
        string tid = Request.QueryString["tid"];
        if (tid != null)
        {
            // this.XTextBox37.Visible=false;
            //this.XChildFormLink1.Visible=false;
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <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>
    <script type="text/javascript">

        Ext.onReady(function () {
            XFormOnChange(agent.Eles[document.getElementById("XDropDownList19").getAttribute("xform_xele_index")]);
        })

        //得到X控件的值
        function GetXValue(id) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
        }
        //给X控件赋值
        function SetXValue(id, value) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].setValue(value);
        }

        Ext.onReady(function () {
            //页面加载时红旗客户属性设置默认选中“否”
                 var radio1_0 = document.getElementById("XRadioButtonList1_0");
                 var radio1_1 = document.getElementById("XRadioButtonList1_1");
                 if (radio1_0.checked == false && radio1_1.checked == false){
                     radio1_1.checked = true;
                 }
        });

        agent.on('beforeSubmit', function () {

            var EN = agent.Eles[document.getElementById("XTextBox1").getAttribute("xform_xele_index")].getValue();
            var check4 = document.getElementById("XCheckBoxList1_0");
            var check2 = document.getElementById("XCheckBoxList1_1");
            if (check4.checked == true) {
                if (EN == "") {
                    alert("请输入客户英文名称！");
                    return false;
                }
            }
            if (check2.checked == true) {
                if (EN == "") {
                    alert("请输入客户英文名称！");
                    return false;
                }
            }

            var str1 = agent.Eles[document.getElementById("XTextBox19").getAttribute("xform_xele_index")].getValue();
            var str2 = agent.Eles[document.getElementById("XTextBox20").getAttribute("xform_xele_index")].getValue();
            var str3 = agent.Eles[document.getElementById("XTextBox21").getAttribute("xform_xele_index")].getValue();
            var str4 = agent.Eles[document.getElementById("XTextBox23").getAttribute("xform_xele_index")].getValue();
            var str5 = agent.Eles[document.getElementById("XTextBox24").getAttribute("xform_xele_index")].getValue();

            var str6 = str3.toString() + str1 + str5 + str2 + str4;
            //客户属性字符串
            agent.Eles[document.getElementById("XTextBox10").getAttribute("xform_xele_index")].setValue(str6);
        });

        //获得销售组织代码
        function getSaleOrg(areaname, companyext) {
            var val = "";
            if (companyext != "") {

                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/MDAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetSalesExtOrganizingData',
                        areaName: areaname,
                        companyExt: companyext
                    },
                    success: function (action) {
                        SetXValue("XTextBox16", val);
                        SetXValue("XTextBox32", val);
                        SetXValue("XTextBox33", val);
                        SetXValue("XTextBox40", val);
                        var result = action.result;
                        var items = action.result.Value;
                        for (var i = 0; i < items.length; i++) {
                            var item = items[i];
                            var salesOrganizationCode = item[2];
                            var company = item[0];
                            if (company == "2000") {
                                SetXValue("XTextBox16", salesOrganizationCode);
                                SetXValue("XTextBox32", salesOrganizationCode);
                            }
                            else if (company == "4000") {
                                SetXValue("XTextBox33", salesOrganizationCode);
                                SetXValue("XTextBox40", salesOrganizationCode);
                            }
                        }
                    },
                    failure: function (action) {
                    }
                });
            }
            else {
                SetXValue("XTextBox16", val);
                SetXValue("XTextBox32", val);
                SetXValue("XTextBox33", val);
                SetXValue("XTextBox40", val);
            }
        }

    </script>
</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" style="PADDING-LEFT: 20px">
                        <asp:Label id="XLabel2" runat="server" text="SAP客户主数据"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" Text="----自动生成----" XDataBind="DF_SAPCustomer.FormNo" Value ValueToDisplayText BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" text="创建人"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_SAPCustomer.CreateName" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:Name" ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="创建日期"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_SAPCustomer.CreateDate" CssClass="text" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel18" runat="server" text="业务员" value valuetodisplaytext></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_SAPCustomer.SalesManID" Value ValueToDisplayText Width="43px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_SAPCustomer.SalesMan" ValueToDisplayText ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="varStatus" Value ValueToDisplayText Width="5px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ValidationGroup="first" ErrorMessage="请选择事业部" ControlToValidate="XDropDownList1"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ValidationGroup="first" ErrorMessage="请选择地区" ControlToValidate="XDropDownList3"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ValidationGroup="first" ErrorMessage="请选择公司代码" ControlToValidate="XDropDownList4"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ValidationGroup="first" ErrorMessage="请输入客户的中文名称！" ControlToValidate="XTextBox5" Display="Dynamic" DisableExpress="Global.StepName!='业务员发起申请'">请输入客户的中文名称！</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ValidationGroup="first" ErrorMessage="请选择省份" ControlToValidate="XDropDownList6"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ValidationGroup="first" ErrorMessage="请填写城市" ControlToValidate="XTextBox4"></aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ValidationGroup="second" ErrorMessage=" 请选择事业部" ControlToValidate="XDropDownList1" Display="None"> 请选择事业部</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ValidationGroup="second" ErrorMessage="请选择公司代码" ControlToValidate="XDropDownList4" Display="None">请选择公司代码</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" ValidationGroup="second" ErrorMessage="请选择地区" ControlToValidate="XDropDownList3" Display="None">请选择地区</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ValidationGroup="second" ErrorMessage="请选择装运点！" ControlToValidate="XDropDownList17" Display="None">请选择装运点！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ValidationGroup="second" ErrorMessage="请选择交货工厂" ControlToValidate="XDropDownList18" Display="None">请选择交货工厂</aspxform:XRequiredFieldValidator>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="23" class="title1" colspan="4">
                        <asp:Label id="XLabel55" runat="server" text="组织结构信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="varStaff" Value ValueToDisplayText="TableName:DF_SA_SS_SalesPersonnel;FilterColumn:StaffID;DisplayColumn:StaffID" Width="58px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_SAPCustomer.SalesManID" DataMap="ProductLine->DF_SAPCustomer.AppBU;RegionID->DF_SAPCustomer.AppArea"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_SAPCustomer.SaleOrgDes2" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1" AppendMode="ClearAndAppend"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_SAPCustomer.SaleOrg2" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1" AppendMode="ClearAndAppend"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_SAPCustomer.SaleOrgDes3" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_SAPCustomer.SaleOrg3" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox43" runat="server" Width="20px" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Express="javascript('getSaleOrg',areaname,DF_SAPCustomer.CompanyExt)"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="26" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel31" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel9" runat="server" text="事业部"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_SAPCustomer.AppBU" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varBU" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox6" runat="server" Text="产品线" XDataBind="varBU" ValueToDisplayText ReadOnly="True" CssClass="text" Width="15" HiddenInput="true"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel32" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel11" runat="server" text="地区"></asp:Label> 
                        <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="areaname" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_SAPCustomer.AppArea" CssClass="text" Width="50%" DataMap="Name->areaname" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varArea" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox7" runat="server" Text="地区" XDataBind="varArea" ValueToDisplayText ReadOnly="True" CssClass="text" Width="15px" HiddenInput="true"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel33" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel16" runat="server" text="公司代码" asp:label></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_SAPCustomer.CompanyCode" CssClass="text" Width="50%" DataMap="CompanyCode->company" PromptText="------请选择------" XDataSource="TableName:DF_SA_SS_Company;OrderBy:CompanyCode" DisplayColumn="Company" ValueColumn="CompanyCode">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="company" Value ValueToDisplayText Width="20px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel17" runat="server" text="需扩展公司"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <%-- <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_SAPCustomer.CompanyExt" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varExt" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox17" runat="server" ValueToDisplayText XDataBind="varExt" ReadOnly="True" CssClass="text" Width="15" HiddenInput="true" Text="扩展公司"></aspxform:XTextBox>--%>
                        <aspxform:XCheckBoxList id="XCheckBoxList1" runat="server" XDataBind="DF_SAPCustomer.CompanyExt" RepeatDirection="Horizontal">
                            <asp:ListItem>2000</asp:ListItem>
                            <asp:ListItem>4000</asp:ListItem>
                        </aspxform:XCheckBoxList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" hiddenexpress="Global.StepName=='业务员发起申请'" datamap="SalesOrganizationCode->DF_SAPCustomer.SalesOrg" xdatasource="ProcedureName:proc_DF_SA_SS_SalesOrganizing_Area;Filter:@Company->company,@Rate->rate,@District->areaname,@SalesOrganization->salesorganization" valuecolumn="SalesOrganizationCode" displaycolumn="SalesOrganizationCode">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="XLabel73" runat="server" text="其它信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_SAPCustomer.SaleOrgDes" Width="60px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox45" runat="server" Text="" XDataBind="salesorganization" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel72" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel70" runat="server" text="装运点"></asp:Label></td>
                    <td class="basiclblfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList17" runat="server" XDataBind="DF_SAPCustomer.PortDes" CssClass="text" Width="50%" DataMap="Value->DF_SAPCustomer.SendPort" PromptText="------请选择------" XDataSource="TableName:V_DF_DataSource_SendPort" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="DF_SAPCustomer.SendPort" CssClass="text" Width="60px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel71" runat="server" text="交货工厂"></asp:Label></td>
                    <td class="basiclblfirst3" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList18" runat="server" XDataBind="DF_SAPCustomer.FactoryDes" CssClass="text" Width="50%" ValidationGroup="second" DataMap="Value->DF_SAPCustomer.Factory" PromptText="------请选择------" XDataSource="TableName:V_DF_DataSource_Factory" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="DF_SAPCustomer.Factory" CssClass="text" Width="60px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel74" runat="server" text="税点"></asp:Label></td>
                    <td class="basiclblfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList19" runat="server" XDataBind="rate" CssClass="text" Width="50%" Max="0" Min="0" HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px">
                            <asp:ListItem >17%</asp:ListItem>
                            <asp:ListItem Selected="True">16%</asp:ListItem>
                            <asp:ListItem>6%</asp:ListItem>
                            <asp:ListItem>3%</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_SAPCustomer.SalesOrg" Width="60px" HiddenInput="false" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList10" runat="server" DataMap="SalesOrganizationCode->DF_SAPCustomer.SalesOrg" XDataSource="ProcedureName:proc_DF_SA_SS_SalesOrganizing_Area;Filter:@Company->DF_SAPCustomer.CompanyCode,@Rate->rate,@District->areaname,@SalesOrganization->salesorganization" DisplayColumn="SalesOrganizationCode" ValueColumn="SalesOrganizationCode" HiddenExpress="0!=1">
                            <asp:ListItem Selected="True">未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <%--
        <br />
        <table class="table" align="center" hiddenexpress="Global.StepName=='业务员发起申请'">
            <tbody>
                <tr>
                    <td class="title1" style="HEIGHT: 22px" colspan="4">
                        <aspxform:XLabel id="XLabel6" runat="server" text="组织结构信息2" ValueToDisplayText Value></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox16" runat="server" ValueToDisplayText="TableName:DF_SA_SS_SalesPersonnel;FilterColumn:StaffID;DisplayColumn:StaffID" Value XDataBind="varStaff" Width="58px" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" HiddenInput="True" DataMap="ProductLine->DF_SAPCustomer.AppBU;RegionID->DF_SAPCustomer.AppArea" Express="DF_SAPCustomer.SalesManID"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%" height="24">
                        <aspxform:XLabel id="XLabel53" runat="server" text="*" ValueToDisplayText Value ForeColor="Red"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel54" runat="server" text="销售组织" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList10" runat="server" XDataBind="DF_SAPCustomer.SaleOrgDes" Width="50%" CssClass="text" DataMap="Value->DF_SAPCustomer.SalesOrg" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_SaleOrg" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_SAPCustomer.SalesOrg" Width="60px" CssClass="text" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <aspxform:XLabel id="XLabel59" runat="server" text="*" ValueToDisplayText Value ForeColor="Red"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel61" runat="server" text="装运点" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList14" runat="server" XDataBind="DF_SAPCustomer.PortDes" Width="50%" CssClass="text" DataMap="Value->DF_SAPCustomer.SendPort" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_SendPort" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_SAPCustomer.SendPort" Width="60px" CssClass="text" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <aspxform:XLabel id="XLabel63" runat="server" text="交货工厂" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList13" runat="server" XDataBind="DF_SAPCustomer.FactoryDes" Width="50%" CssClass="text" DataMap="Value->DF_SAPCustomer.Factory" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Factory" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_SAPCustomer.Factory" Width="60px" CssClass="text" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <aspxform:XLabel id="XLabel58" runat="server" text="2000销售组织" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList15" runat="server" XDataBind="DF_SAPCustomer.SaleOrgDes2" Width="50%" CssClass="text" DataMap="Value->DF_SAPCustomer.SaleOrg2" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_SaleOrg2" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_SAPCustomer.SaleOrg2" Width="60px" CssClass="text" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <aspxform:XLabel id="XLabel66" runat="server" text="4000销售组织" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList16" runat="server" XDataBind="DF_SAPCustomer.SaleOrgDes3" Width="50%" CssClass="text" DataMap="Value->DF_SAPCustomer.SaleOrg3" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_SaleOrg4" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_SAPCustomer.SaleOrg3" Width="60px" CssClass="text" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        --%>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="23" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" text="公司基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="varformat" Value ValueToDisplayText Width="28px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="varCustomer" Value ValueToDisplayText Width="28px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel38" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel3" runat="server" text="客户中文名称"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_SAPCustomer.CustomerNameCH" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" text="客户英文名称"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_SAPCustomer.CustomerNameEN" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst">
                        <asp:Label id="XLabel68" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<aspxform:XLabel id="XLabel7" runat="server" Text="省份" XDataBind="varProvince" BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_SAPCustomer.Province" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varProvince;OrderBy:OrderID" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <%--<aspxform:XTextBox id="XTextBox2" runat="server" ValueToDisplayText XDataBind="DF_SAPCustomer.Province" Width="70%" CssClass="text"></aspxform:XTextBox>--%></td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel69" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel8" runat="server" text="城市" value valuetodisplaytext></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_SAPCustomer.City" ValueToDisplayText CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="19" class="title1" colspan="4">
                        <asp:Label id="XLabel49" runat="server" text="客户属性"></asp:Label>
                        <aspxform:XLabel id="XLabel23" runat="server" Text="xingtai" XDataBind="varxingtai" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel22" runat="server" Text="jigou" XDataBind="varjigou" Value ValueToDisplayText HiddenExpress="1" Font-Bold="True"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel24" runat="server" Text="yewuguanxi" XDataBind="varyewuguanxi" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel51" runat="server" Text="suoyouzhi" XDataBind="varsuoyouzhi" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="varStr1" Value ValueToDisplayText Width="17px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="varStr2" Value ValueToDisplayText Width="17px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="varStr3" Value ValueToDisplayText Width="17px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="varStr4" Value ValueToDisplayText Width="21px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Express="if(DF_SAPCustomer.CusProperty=='是','1','2')"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="varStr5" Value ValueToDisplayText Width="20px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel52" runat="server" text="集团（品牌）"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox68" runat="server" XDataBind="DF_SAPCustomer.Brand" ValueToDisplayText CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel40" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel65" runat="server" text="机构"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_SAPCustomer.Mechanism" CssClass="text" Width="50%" DataMap="Value->varStr1" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjigou" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" ValidationGroup="first" ErrorMessage="请选择客户机构！" ControlToValidate="XDropDownList12" DisableExpress="Global.StepName!='业务员发起申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="basiclblfirst">
                        <asp:Label id="XLabel46" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel21" runat="server" text="形态"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_SAPCustomer.CustomerShape" CssClass="text" Width="50%" DataMap="Value->varStr2" PromptText="-------请选择----------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxingtai" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" ValidationGroup="first" ErrorMessage="请选择客户形态！" ControlToValidate="XDropDownList7" DisableExpress="Global.StepName!='业务员发起申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel43" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel19" runat="server" text="业务关系" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_SAPCustomer.BusinessRelation" CssClass="text" Width="50%" DataMap="Value->varStr3" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varyewuguanxi" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" ValidationGroup="first" ErrorMessage="请选择客户业务关系！" ControlToValidate="XDropDownList5" DisableExpress="Global.StepName!='业务员发起申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel45" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label><asp:Label id="XLabel25" runat="server" text="军工属性" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_SAPCustomer.CusProperty" RepeatDirection="Horizontal">
                            <asp:ListItem Value="是">是</asp:ListItem>
                            <asp:ListItem Value="否">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel44" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel26" runat="server" text="所有制" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_SAPCustomer.Ownership" CssClass="text" Width="50%" DataMap="Value->varStr5" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsuoyouzhi" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" ValidationGroup="first" ErrorMessage="请选择客户所有制！" ControlToValidate="XDropDownList2" DisableExpress="Global.StepName!='业务员发起申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr hiddenexpress="Global.StepName=='业务员发起申请'">
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel29" runat="server" text="客户属性字符串"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_SAPCustomer.PropertyStr" ValueToDisplayText ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst">
                    </td>
                    <td class="basictextfirst">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="XLabel64" runat="server" text="客户信息" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel60" runat="server" text="SAP客户编号" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_SAPCustomer.CustomerSAPID" CssClass="text1" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel48" runat="server" text="客户等级" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList9" runat="server" XDataBind="DF_SAPCustomer.CusLevel" CssClass="text1" Width="50%" DisableExpress="1" Express="if(DF_SAPCustomer.BusinessRelation=='286','C',if(DF_SAPCustomer.BusinessRelation=='287','Q',DF_SAPCustomer.CusLevel))" XDataSource="TableName:V_DF_DataSourceList_kehudengji;OrderBy:OrderID" DisplayColumn="Name" ValueColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel12" runat="server" text="CRM客户编号" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_SAPCustomer.CRMID" CssClass="text1" Width="70%" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel15" runat="server" text="BPM客户编号" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_SAPCustomer.CustomerID" ValueToDisplayText="TableName:DF_MasterData_Customer;FilterColumn:CustomerID;DisplayColumn:CustomerID" CssClass="text1" Width="70%" Express="varCustomer" DataMap="Ownership->DF_SAPCustomer.Ownership;CustomerNameCH->DF_SAPCustomer.CustomerNameCH;CustomerNameEN->DF_SAPCustomer.CustomerNameEN;CreateName->DF_SAPCustomer.CreateName;Mechanism->DF_SAPCustomer.Mechanism;IsFlag->DF_SAPCustomer.IsFlag1;CustomerShape->DF_SAPCustomer.CustomerShape;City->DF_SAPCustomer.City;CRMID->DF_SAPCustomer.CRMID;CusProperty->DF_SAPCustomer.CusProperty;Brand->DF_SAPCustomer.Brand;SalesManID->DF_SAPCustomer.SalesManID;CustomerSAPID->DF_SAPCustomer.CustomerSAPID;CusLeavel->DF_SAPCustomer.CusLevel;CreateDate->DF_SAPCustomer.CreateDate;CustomerStatus->DF_SAPCustomer.CustomerStatus;BusinessRelation->DF_SAPCustomer.BusinessRelation;SalesMan->DF_SAPCustomer.SalesMan;Province->DF_SAPCustomer.Province"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel95" runat="server" text="是否红旗客户" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_SAPCustomer.IsFlag1" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem Selected="True">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel62" runat="server" text="客户状态" value valuetodisplaytext></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_SAPCustomer.CustomerStatus" CssClass="text1" Width="50%" DisableExpress="1" XDataSource="TableName:DF_DataSourceList;Filter:Type->varzhuangtai" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel67" runat="server" Text="kehuzhuangtai" XDataBind="varzhuangtai" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" datamap="BankName->DF_MCustomer_BillInfo.BankName;BillingTel->DF_MCustomer_BillInfo.BillingTel;CustomerID->DF_MCustomer_BillInfo.CustomerID;Tariff->DF_MCustomer_BillInfo.Tariff;BillingTelCode->DF_MCustomer_BillInfo.BillingTelCode;LineNumber->DF_MCustomer_BillInfo.LineNumber;BillingAddress->DF_MCustomer_BillInfo.BillingAddress;BankAccount->DF_MCustomer_BillInfo.BankAccount;BillingTelExt->DF_MCustomer_BillInfo.BillingTelExt" xdatasource="TableName:V_DF_MDataBill;Filter:CustomerID->varCustomer;BufferType:RuntimeUpdate" dynamicarea="2,1" menudock="Left">
            <tbody>
                <tr>
                    <td class="title1" colspan="6">
                        <asp:Label id="XLabel28" runat="server" text="开票信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="46" height="16" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel5" runat="server" text="序号"></asp:Label></td>
                    <td width="125" class="tds">
                        <asp:Label id="XLabel30" runat="server" text="税号/统一社会信用代码" width="130px"></asp:Label></td>
                    <td width="170" class="tds">
                        <asp:Label id="XLabel34" runat="server" text="银行账号"></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel35" runat="server" text="开票地址"></asp:Label></td>
                    <td width="250" class="tds">
                        <asp:Label id="XLabel36" runat="server" text="银行名称"></asp:Label></td>
                    <td width="150" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel37" runat="server" text="开票电话"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_MCustomer_BillInfo.LineNumber" BackColor="Transparent" CssClass="text" Width="20px" BorderColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_MCustomer_BillInfo.Tariff" CssClass="text" Width="100%"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_MCustomer_BillInfo.CustomerID" Width="1px" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Height="1px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_MCustomer_BillInfo.BankAccount" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingAddress" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_MCustomer_BillInfo.BankName" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox36" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingTelCode" ValueToDisplayText CssClass="text" Width="40px" Max="0" Min="0" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingTel" CssClass="text" Width="100%"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingTelExt" CssClass="text" Width="40px" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--<table align="center" class="table" xdatasource="TableName:V_DF_MDataAddr;Filter:CustomerID->varCustomer;BufferType:RuntimeUpdate" datamap="LineNumber->DF_MCustomer_Address.LineNumber;Address->DF_MCustomer_Address.Address;ZipCode->DF_MCustomer_Address.ZipCode;CustomerID->DF_MCustomer_Address.CustomerID;AddrType->DF_MCustomer_Address.AddrType" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel47" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel39" runat="server" text="常用地址"></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <asp:Label id="XLabel10" runat="server" text="序号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 150px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel20" runat="server" text="地址类型"></asp:Label></td>
                    <td class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel41" runat="server" text="地址"></asp:Label></td>
                    <td class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; WIDTH: 200px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel42" runat="server" text="邮编"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_MCustomer_Address.LineNumber" Width="20px" CssClass="text" BorderColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_MCustomer_Address.CustomerID" Width="1px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList8" runat="server" XDataBind="DF_MCustomer_Address.AddrType" Width="99%">
                            <asp:ListItem>中文地址</asp:ListItem>
                            <asp:ListItem>英文地址</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_MCustomer_Address.Address" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_MCustomer_Address.ZipCode" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />--%> 
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0" hiddenexpress="1">
            <tbody>
                <tr class="title1">
                    <td height="14" class="td1">
                        <asp:Label id="XLabel118" runat="server" text="上传附件" width="123px" font-bold="True" height="10px"></asp:Label></td>
                </tr>
                <tr>
                    <td height="88" class="td1">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_SAPCustomer.AttachFiles" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.JPG" FileTypesDescription="All"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <%--<aspxform:XTextBox id="XTextBox66" runat="server" ValueToDisplayText Value XDataBind="varaddressNull" Width="50px" Max="0" Min="0" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" Express="DF_MCustomer_Address.LineNumber" BorderStyle="Dotted"></aspxform:XTextBox>--%>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" ValidationGroup="first" ErrorMessage="请选择客户军工属性！" ControlToValidate="XRadioButtonList2" DisableExpress="Global.StepName!='业务员发起申请'"></aspxform:XRequiredFieldValidator>
        <%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XTextBox66" ErrorMessage="申请主数据必须有一个客户地址！" ValidationGroup="first" DisableExpress="Global.StepName!='业务员发起申请'"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator22" runat="server" ControlToValidate="XTextBox41" ErrorMessage="申请主数据客户地址不能为空！" ValidationGroup="first" DisableExpress="Global.StepName=='SAP客户主数据岗审批'"></aspxform:XRequiredFieldValidator>--%>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel50" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_SAPCustomer.Remarks" Value ValueToDisplayText CssClass="text" Width="100%" Max="0" Min="0" HiddenInput="False" BorderWidth="1px" Height="76px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22">
                        <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" PositionSelectVisible="False" SaveAsTemplateButtonVisible="False"></aspxform:XProcessButtonList>
                    </td>
                    <td>
                    </td>
                </tr>
            </tbody>
        </table>
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
        </p>
    </form>
</body>
</html>
