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

</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 () {
            //XTextBox30
            //agent.Eles[document.getElementById("XTextBox30").getAttribute("xform_xele_index")].setValue(userToken.Account);
            XFormOnChange(agent.Eles[document.getElementById("XTextBox16").getAttribute("xform_xele_index")]);

        });

        function customerSAp() {

            var state = request("formstate");
            var cusName = agent.Eles[document.getElementById("XTextBox5").getAttribute("xform_xele_index")].getValue();
            var cusID = agent.Eles[document.getElementById("XTextBox3").getAttribute("xform_xele_index")].getValue();
            //alert(cusID);
            //if (cusName != "" && state=="New") {
            if (cusName != "") {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/MDAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'IsCustomerExist',
                        CustomerName: cusName,
                        CustomerID: cusID
                    },
                    success: function (action) {
                         agent.Eles[document.getElementById("XTextBox26").getAttribute("xform_xele_index")].setValue(action.result.Value);
                    },
                    failure: function (action) {
                    }
                });
            }
        }

        function request(paras) {
            var url = location.href;
            var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&");
            var paraObj = {};
            for (i = 0; j = paraString[i]; i++) {
                paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length);
            }
            var returnValue = paraObj[paras.toLowerCase()];
            if (typeof (returnValue) == "undefined")
            { return ""; }
            else
            { return returnValue; }
        }
</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: 120px">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="客户"></asp:Label></td>
                    <td class="formno">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" value valuetodisplaytext text="创建用户"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" DataMap="Account->DF_MasterData_Customer.SalesManID;DisplayName->DF_MasterData_Customer.SalesMan" XDataBind="DF_MasterData_Customer.CreateName" CssClass="text" Width="70%"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" ValueToDisplayText XDataBind="varuser" Width="34px" Max="0" Min="0" Value Express="DF_MasterData_Customer.CreateName" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" value valuetodisplaytext text="创建日期"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_MasterData_Customer.CreateDate" CssClass="text" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel16" runat="server" value valuetodisplaytext text="业务员"></asp:Label>
                        <aspxform:XTextBox id="XTextBox18" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.SalesManID" Width="38px" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox17" runat="server" ValueToDisplayText XDataBind="DF_MasterData_Customer.SalesMan" CssClass="text" Width="220px"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" DataMap="Name->DF_MasterData_Customer.SalesMan;AttendanceKakaNO->DF_MasterData_Customer.SalesManID" Width="55px" XDataSource="TableName:V_DF_HR_BasicInfo" DisplayColumns="Name:姓名,;AttendanceKakaNO:账号," Text="查询"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ValidationGroup="YZZ" Display="Dynamic" ErrorMessage="请输入客户的中文名称！" ControlToValidate="XTextBox5">请输入客户的中文名称！</aspxform:XRequiredFieldValidator>
        <aspxform:XCompareValidator id="XCompareValidator1" runat="server" Display="None" ErrorMessage="您添加的客户已存在，请联系客户管理员！" ControlToValidate="XTextBox26" ControlToCompare="XTextBox27">您添加的客户已存在，请联系客户管理员！</aspxform:XCompareValidator>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="20" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="公司基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" ValueToDisplayText XDataBind="varformat" Width="28px" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox16" runat="server" ValueToDisplayText XDataBind="varCustomer" Width="28px" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox26" runat="server" ValueToDisplayText Max="0" Min="0" Express="javascript('customerSAp',DF_MasterData_Customer.CustomerNameCH)" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" width="30px" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" BorderColor="#DCDCDC" BorderWidth="1" width="20px" HiddenExpress="1">0</aspxform:XTextBox>
                        <%--<aspxform:XTextBox id="XTextBox30" runat="server" ValueToDisplayText XDataBind="varLoginUser" Width="28px" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="false"></aspxform:XTextBox>--%></td>
                </tr>
                <tr>
                    <td height="28" 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 tabIndex="1" id="XTextBox5" onblur="customerSAp();" runat="server" XDataBind="DF_MasterData_Customer.CustomerNameCH" CssClass="text" Width="70%" Express="varsuname"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox65" runat="server" XDataBind="varsuname" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></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_MasterData_Customer.CustomerNameEN" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst3">
                        <aspxform:XLabel id="XLabel95" runat="server" text="省份" ValueToDisplayText XDataBind="varProvince" Value BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_MasterData_Customer.Province" CssClass="text" Width="50%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varProvince;OrderBy:OrderID" PromptText="------请选择------" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel96" runat="server" value valuetodisplaytext text="城市"></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox69" runat="server" XDataBind="DF_MasterData_Customer.City" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst">
                        <asp:Label id="XLabel9" runat="server" value valuetodisplaytext text="免费电话号码"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_MasterData_Customer.CompanyTel" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel27" runat="server" value valuetodisplaytext text="总机"></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_MasterData_Customer.CustomerPhone" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="HEIGHT: 28px">
                        <asp:Label id="XLabel29" runat="server" value valuetodisplaytext text="传真"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_MasterData_Customer.CustomerFax" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel31" runat="server" value valuetodisplaytext text="网址"></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_MasterData_Customer.CustomerUrl" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr hiddenexpress="1">
                    <td class="basiclblfirst" style="HEIGHT: 28px">
                        <aspxform:XLabel id="XLabel32" runat="server" text="最后接触人" ValueToDisplayText Value HiddenExpress="1" BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                    <td class="basiclblfirst3">
                        <aspxform:XTextBox id="XTextBox23" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_MasterData_Customer.LastTouch" CssClass="text" Width="70%" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <aspxform:XLabel id="XLabel33" runat="server" text="最后接触时间" ValueToDisplayText Value HiddenExpress="1" BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_MasterData_Customer.CreateDate" CssClass="text" Width="50%" DisplayOnly="True" Type="TimeMinutes" HiddenExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="HEIGHT: 58px">
                        <asp:Label id="XLabel38" runat="server" value valuetodisplaytext text="简介"></asp:Label></td>
                    <td class="basiclblfirst3" colspan="3">
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_MasterData_Customer.CustomerDes" CssClass="text" Width="90%" 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" value valuetodisplaytext text="客户属性"></asp:Label>
                        <aspxform:XLabel id="XLabel20" 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>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel52" runat="server" value valuetodisplaytext text="客户信息来源"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_MasterData_Customer.CusInfoSource" CssClass="text" Width="50%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxinxi" PromptText="------请选择------" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel65" runat="server" value valuetodisplaytext text="机构"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_MasterData_Customer.Mechanism" CssClass="text" Width="50%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjigou" PromptText="------请选择------" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="basiclblfirst">
                        <asp:Label id="XLabel21" runat="server" value valuetodisplaytext text="形态"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_MasterData_Customer.CustomerShape" CssClass="text" Width="50%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxingtai" PromptText="-------请选择----------" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel19" runat="server" value valuetodisplaytext text="业务关系"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_MasterData_Customer.BusinessRelation" CssClass="text" Width="50%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varyewuguanxi" PromptText="------请选择------" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="HEIGHT: 23px">
                        <asp:Label id="XLabel25" runat="server" value valuetodisplaytext text="军工属性"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_MasterData_Customer.CusProperty" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel26" runat="server" value valuetodisplaytext text="所有制"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_MasterData_Customer.Ownership" CssClass="text" Width="50%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsuoyouzhi" PromptText="------请选择------" DisplayColumn="Name" ValueColumn="ItemID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel64" runat="server" value valuetodisplaytext text="客户信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel60" runat="server" value valuetodisplaytext text="SAP客户编号"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_MasterData_Customer.CustomerSAPID" CssClass="text1" Width="70%" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel17" runat="server" value valuetodisplaytext text="集团(品牌)"></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_MasterData_Customer.Brand" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel11" runat="server" value="" valuetodisplaytext="" text="CRM编号"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_MasterData_Customer.CRMID" CssClass="text1" Width="70%" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel6" runat="server" value="" valuetodisplaytext="" text="BPM单位编号"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_MasterData_Customer.CustomerID" CssClass="text1" Width="70%" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel63" runat="server" value valuetodisplaytext text="是否红旗客户"></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 Value="否">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel62" runat="server" value valuetodisplaytext text="客户状态"></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_MasterData_Customer.CustomerStatus" CssClass="text1" Width="50%" XDataSource="TableName:V_DF_DataSource_CusStatus;Filter:LdValue->varState" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel50" runat="server" text="3" ValueToDisplayText XDataBind="varState" Value HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel40" runat="server" value valuetodisplaytext text="客户等级"></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_MasterData_Customer.CusLeavel" CssClass="text1" Width="50%" Express="if(DF_MasterData_Customer.BusinessRelation=='286','C',if(DF_MasterData_Customer.BusinessRelation=='287','Q',DF_MasterData_Customer.CusLeavel))" XDataSource="TableName:V_DF_DataSourceList_kehudengji;OrderBy:OrderID" DisplayColumn="Name" ValueColumn="Name" DisableExpress="Global.StepName=='业务员发起主数据申请'||DF_MasterData_Customer.CustomerID==''">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox6" runat="server" ValueToDisplayText XDataBind="varCusSapLevel" Width="9px" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                    </td>
                    <td class="basictextfirst3">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" menudock="Left" datamap="Tariff->DF_MCustomer_BillInfo.Tariff;BankAccount->DF_MCustomer_BillInfo.BankAccount;BillingAddress->DF_MCustomer_BillInfo.BillingAddress;BankName->DF_MCustomer_BillInfo.BankName;BillingTelCode->DF_MCustomer_BillInfo.BillingTelCode;BillingTel->DF_MCustomer_BillInfo.BillingTel;BillingTelExt->DF_MCustomer_BillInfo.BillingTelExt;LineNumber->DF_MCustomer_BillInfo.LineNumber" xdatasource="TableName:V_DF_MDataBill;Filter:CustomerID->varCustomer" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="6">
                        <asp:Label id="XLabel28" runat="server" text="开票信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="37" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel5" runat="server" text="序号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 183px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel30" runat="server" text="税号/统一社会信用代码"></asp:Label></td>
                    <td class="tds" style="WIDTH: 180px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel34" runat="server" text="银行账号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 200px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel35" runat="server" text="开票地址"></asp:Label></td>
                    <td class="tds" style="WIDTH: 250px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel36" runat="server" text="银行名称"></asp:Label></td>
                    <td class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; WIDTH: 83px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel37" runat="server" text="开票电话"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="HEIGHT: 28px; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_MCustomer_BillInfo.LineNumber" CssClass="text" Width="20px" BorderColor="Transparent" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_MCustomer_BillInfo.Tariff" CssClass="text" Width="100%" DisableExpress="DF_MasterData_Customer.CustomerStatus=='810'"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_MCustomer_BillInfo.CustomerID" Width="1px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="1px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_MCustomer_BillInfo.BankAccount" CssClass="text" Width="98%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingAddress" CssClass="text" Width="98%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_MCustomer_BillInfo.BankName" CssClass="text" Width="98%"></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" CssClass="text" Width="40px" 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 width="932" align="center" class="table" menudock="Left" datamap="LineNumber->DF_MCustomer_Address.LineNumber;Address->DF_MCustomer_Address.Address;ZipCode->DF_MCustomer_Address.ZipCode;CustomerID->DF_MCustomer_Address.CustomerID" xdatasource="TableName:V_DF_MDataAddr;Filter:CustomerID->varCustomer;BufferType:RuntimeUpdate" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel39" runat="server" value valuetodisplaytext text="常用地址"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds" style="HEIGHT: 26px; WIDTH: 48px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel10" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 150px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel15" runat="server" text="地址类型"></asp:Label></td>
                    <td width="677" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel41" runat="server" value valuetodisplaytext text="地址"></asp:Label></td>
                    <td width="200" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <asp:Label id="XLabel42" runat="server" value valuetodisplaytext text="邮编"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="HEIGHT: 28px; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_MCustomer_Address.LineNumber" CssClass="text" Width="20px" BorderColor="Transparent" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </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" CssClass="text" Width="89%"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox8" runat="server" ValueToDisplayText XDataBind="DF_MCustomer_Address.CustomerID" Width="46px" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_MCustomer_Address.ZipCode" CssClass="text" Width="99%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />--%>
    </form>
</body>
</html>
