<%@ 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">
        agent.on('beforeSubmit', function () {
            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();
            agent.Eles[document.getElementById("XTextBox2").getAttribute("xform_xele_index")].setValue(str3.toString() + str1 + str5 + str2 + str4);
        });

    </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客户主数据" valuetodisplaytext value></asp:Label></td>
                    <td class="formno">
                        &nbsp;</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="创建人" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:Name" XDataBind="DF_MasterData_Customer.CreateName" Width="70%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="创建日期" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_MasterData_Customer.CreateDate" Width="50%" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel18" runat="server" text="业务员" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:Account" XDataBind="DF_MasterData_Customer.SalesManID" Width="43px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" Express="DF_MasterData_Customer.CreateName" DataMap="DisplayName->DF_MasterData_Customer.SalesMan"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.SalesMan" Width="220px" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="55px" DataMap="Name->DF_MasterData_Customer.SalesMan;AttendanceKakaNO->DF_MasterData_Customer.SalesManID" Text="查询" DisplayColumns="Name:姓名,;AttendanceKakaNO:账号," XDataSource="TableName:V_DF_HR_BasicInfo"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox26" runat="server" ValueToDisplayText XDataBind="varStatus" Width="5px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请输入客户的中文名称！" ValidationGroup="submit" Display="Dynamic">请输入客户的中文名称！</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" text="公司基本信息" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" ValueToDisplayText XDataBind="varformat" Width="28px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText XDataBind="varCustomer" Width="28px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel3" runat="server" text="客户中文名称" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_MasterData_Customer.CustomerNameCH" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel4" runat="server" text="客户英文名称" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_MasterData_Customer.CustomerNameEN" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst">
                        <aspxform:XLabel id="XLabel7" runat="server" text="省份" ValueToDisplayText XDataBind="varProvince" Value BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_MasterData_Customer.Province" Width="50%" CssClass="text" XDataSource="TableName:DF_DataSourceList;Filter:Type->varProvince;OrderBy:OrderID" ValueColumn="Value" DisplayColumn="Name" PromptText="-------请选择----------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel8" runat="server" text="城市" valuetodisplaytext value></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox4" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.City" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst">
                        <asp:Label id="XLabel9" runat="server" text="免费电话号码" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_MasterData_Customer.CompanyTel" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel27" runat="server" text="总机" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_MasterData_Customer.CustomerPhone" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="HEIGHT: 28px">
                        <asp:Label id="XLabel29" runat="server" text="传真" valuetodisplaytext value></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_MasterData_Customer.CustomerFax" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel31" runat="server" text="网址" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_MasterData_Customer.CustomerUrl" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr hiddenexpress="1">
                    <td class="basiclblfirst" style="HEIGHT: 28px">
                        <asp:Label id="XLabel32" runat="server" text="最后接触人" valuetodisplaytext value hiddenexpress="1"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XTextBox id="XTextBox25" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_MasterData_Customer.LastTouch" Width="70%" CssClass="text" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel33" runat="server" text="最后接触时间" valuetodisplaytext value hiddenexpress="1"></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_MasterData_Customer.CreateDate" Width="50%" CssClass="text" DisplayOnly="True" Type="TimeMinutes" HiddenExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="HEIGHT: 58px">
                        <asp:Label id="XLabel38" runat="server" text="简介" valuetodisplaytext value></asp:Label></td>
                    <td class="basiclblfirst3" colspan="3">
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_MasterData_Customer.CustomerDes" Width="90%" CssClass="text" Rows="3" TextMode="MultiLine"></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="客户属性" valuetodisplaytext value></asp:Label>
                        <aspxform:XLabel id="XLabel16" runat="server" text="kehuxinxilaiyuan" ValueToDisplayText XDataBind="varxinxi" Value HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel23" runat="server" text="xingtai" ValueToDisplayText XDataBind="varxingtai" Value HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel22" runat="server" text="jigou" ValueToDisplayText XDataBind="varjigou" Value HiddenExpress="1" Font-Bold="True"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel24" runat="server" text="yewuguanxi" ValueToDisplayText XDataBind="varyewuguanxi" Value HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel51" runat="server" text="suoyouzhi" ValueToDisplayText XDataBind="varsuoyouzhi" Value HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox19" runat="server" ValueToDisplayText XDataBind="varStr1" Width="17px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox20" runat="server" ValueToDisplayText XDataBind="varStr2" Width="17px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" ValueToDisplayText XDataBind="varStr3" Width="17px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" ValueToDisplayText XDataBind="varStr4" Width="21px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" Express="if(DF_MasterData_Customer.CusProperty=='是','1','2')"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox24" runat="server" ValueToDisplayText XDataBind="varStr5" Width="20px" Max="0" Min="0" Value BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox2" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.PropertyStr" Width="10" CssClass="text" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel11" runat="server" text="客户信息来源" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_MasterData_Customer.CusInfoSource" Width="50%" CssClass="text" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxinxi" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td height="23" class="basiclblfirst" style="WIDTH: 11%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                    </td>
                </tr>
                <tr>
                    <td height="24" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel52" runat="server" text="集团（品牌）" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox68" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.Brand" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel65" runat="server" text="机构" valuetodisplaytext value></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_MasterData_Customer.Mechanism" Width="50%" CssClass="text" DataMap="Value->varStr1" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjigou" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" ControlToValidate="XDropDownList12" ErrorMessage="请选择客户机构！" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel21" runat="server" text="形态" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_MasterData_Customer.CustomerShape" Width="50%" CssClass="text" DataMap="Value->varStr2" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxingtai" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-------请选择----------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" ControlToValidate="XDropDownList7" ErrorMessage="请选择客户形态！" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel19" runat="server" text="业务关系" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_MasterData_Customer.BusinessRelation" Width="50%" CssClass="text" DataMap="Value->varStr3" XDataSource="TableName:DF_DataSourceList;Filter:Type->varyewuguanxi" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" ControlToValidate="XDropDownList5" ErrorMessage="请选择客户业务关系！" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel25" runat="server" text="军工属性" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_MasterData_Customer.CusProperty" RepeatDirection="Horizontal">
                            <asp:ListItem Value="是">是</asp:ListItem>
                            <asp:ListItem Value="否">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel26" runat="server" text="所有制" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_MasterData_Customer.Ownership" Width="50%" CssClass="text" DataMap="Value->varStr5" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsuoyouzhi" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" ControlToValidate="XDropDownList2" ErrorMessage="请选择客户所有制！" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel64" runat="server" text="客户信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel60" runat="server" text="SAP客户编号" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_MasterData_Customer.CustomerSAPID" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel15" runat="server" text="BPM客户编号" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox9" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.CustomerID" Width="70%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel12" runat="server" text="CRM客户编号" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_MasterData_Customer.CRMID" Width="70%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel6" runat="server" text="SAP客户等级" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_MasterData_Customer.CusLeavel" Width="50%" CssClass="text1" XDataSource="TableName:V_DF_DataSourceList_kehudengji;OrderBy:OrderID" ValueColumn="Name" DisplayColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel95" runat="server" text="是否红旗客户" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_MasterData_Customer.IsFlag" RepeatDirection="Horizontal">
                            <asp:ListItem Value="是">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="否">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel62" runat="server" text="客户状态" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_MasterData_Customer.CustomerStatus" Width="50%" CssClass="text1" XDataSource="TableName:DF_DataSourceList;Filter:Type->varzhuangtai" ValueColumn="Value" DisplayColumn="Name" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel67" runat="server" text="kehuzhuangtai" ValueToDisplayText XDataBind="varzhuangtai" Value HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel17" runat="server" text="是否关联方" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_MasterData_Customer.IsRelatedCus" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem Selected="True">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                    </td>
                    <td class="basictextfirst3">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td class="title1" colspan="6">
                        <asp:Label id="XLabel28" runat="server" text="开票信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <asp:Label id="XLabel5" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                    <td class="tds" style="WIDTH: 180px">
                        <asp:Label id="XLabel30" runat="server" text="税号/统一社会信用代码" valuetodisplaytext value></asp:Label></td>
                    <td width="180" class="tds">
                        <asp:Label id="XLabel34" runat="server" text="银行账号" valuetodisplaytext value></asp:Label></td>
                    <td class="tds" style="WIDTH: 200px">
                        <asp:Label id="XLabel35" runat="server" text="开票地址" valuetodisplaytext value></asp:Label></td>
                    <td class="tds" style="WIDTH: 220px">
                        <asp:Label id="XLabel36" runat="server" text="银行名称" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel37" runat="server" text="开票电话" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_MCustomer_BillInfo.LineNumber" Width="20px" CssClass="text" BorderColor="Transparent" BackColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_MCustomer_BillInfo.Tariff" Width="100%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_MCustomer_BillInfo.CustomerID" Width="1px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True" Height="1px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_MCustomer_BillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingAddress" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_MCustomer_BillInfo.BankName" Width="100%" CssClass="text"></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" Width="40px" CssClass="text" 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" Width="100%" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingTelExt" Width="40px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" hiddenexpress="1" menudock="Left" dynamicarea="2,1" 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">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <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" XDataBind="DF_MCustomer_Address.LineNumber" Width="20px" CssClass="text" BorderColor="Transparent" BackColor="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>
        <%--<aspxform:XTextBox id="XTextBox66" runat="server" Value ValueToDisplayText Width="50px" XDataBind="varaddressNull" Max="0" Min="0" Express="DF_MCustomer_Address.LineNumber" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" BorderStyle="Dotted"></aspxform:XTextBox>--%>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" ControlToValidate="XRadioButtonList2" ErrorMessage="请选择客户军工属性！" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XTextBox14" ErrorMessage="请输入客户的SAP编号！" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ValidationGroup="submit" ErrorMessage="申请主数据必须有一个客户地址！" ControlToValidate="XTextBox66"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator22" runat="server" ValidationGroup="submit" ErrorMessage="申请主数据客户地址不能为空！" ControlToValidate="XTextBox41"></aspxform:XRequiredFieldValidator>--%>
    </form>
</body>
</html>
