<%@ 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 item = Request.QueryString["itemid"];
        this.XTextBox59.Text = item;

        string formart = Request.QueryString["formstate"];
        this.XTextBox12.Text = formart;
        string tid = Request.QueryString["tid"];
        if (tid != null)
        {
            this.XTextBox37.Visible = false;
            this.XChildFormLink1.Visible = false;
        }
    }
    
    void XTextBox65_TextChanged(object sender, EventArgs e) {
    
    }

</script>
<script type="text/javascript">
    function customerSAp() {
        if (agent.Eles[document.getElementById("XTextBox13").getAttribute("xform_xele_index")].getValue()=='') {

            YZSoft.Ajax.request({
                url: YZSoft.$url( 'Oimec/WorkFlow/Rent2/RFC/CustomerSapID.ashx'),
                params: { CusChiName: agent.Eles[document.getElementById("XTextBox5").getAttribute("xform_xele_index")].getValue() },
                sync: true,
                success: function(action) {
                    alert('您添加的客户已存在，请联系客户管理员！');
                    window.location.reload();
                }
            });

        }
    }


</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">

       YZSoft.XForm.ChildFormLink.OpenForm=function(ele,appname,formstate,w,h){
        var elLink = new Ext.Element(ele,true);
        var txtbox = elLink.prev('input',true);
        if (!txtbox)
            return;

        var key = txtbox.value;
        var cfg = {
            top:window.screenTop + 20,
            left:window.screenLeft + 20,
            listeners: {
                scope: this,
                close: function(form) {
                    if (form.dialogResult=='ok') {
                        txtbox.value = form.returnValue.key;
                        var xel = YZSoft.XForm.Element.TryGetChechedEle(txtbox);
                        if (xel){
                            XFormOnChange(txtbox);
                            xel.mapvalues = form.returnValue;
                            XFormOnDataAvailable(xel);
                        }
                   }
                }
            }
        };
        cfg.param={};
        cfg.param.AAA=XFormShell.XFormAgent.CalcExpress(ele,"DF_CUSSUP_INFO.CustomerID");
        if (w > 0)
            cfg.width = w;
        if (h > 0)
            cfg.height = h;

        YZSoft.BPM.FormManager.OpenFormApplication(appname,key,formstate,null,cfg);
   }
    </script>
</head>
<body>
    <form runat="server">
        <table class="head" border="0" cellspacing="0" cellpadding="0" width="1200">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td style="PADDING-LEFT: 30px" class="biaoti">
                        <asp:Label id="XLabel2" text="客户<span style='font-weight:normal;font-size:30px'>&amp;</span>供应商" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="formno">
                        <asp:Label id="XLabel93" text="表单号：" ValueToDisplayText Value runat="server"></asp:Label>
                        <aspxform:XLabel id="XLabel94" text="----自动生成----" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.FormNO" BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td style="WIDTH: 10%" class="basiclblfirst">
                        <asp:Label id="XLabel13" text="创建用户" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 35%" class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox11" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" runat="server" XDataBind="DF_CUSSUP_INFO.CreateUser" Express="if(varuser==&quot;&quot;&amp;&amp;varformat=='New',DF_CUSSUP_INFO.CreateUser,varuser)" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" Value runat="server" XDataBind="varuser" Width="34px" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 10%" class="basiclblfirst3">
                        <asp:Label id="XLabel14" text="创建日期" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 35%" class="basictextfirst3">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_CUSSUP_INFO.CreateDate" Express='if(vartime!="",vartime,DF_CUSSUP_INFO.CreateDate)' Width="50%" CssClass="text"></aspxform:XDateTimePicker>
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="vartime" Width="44px" BorderWidth="1px" BorderColor="Gainsboro" HiddenExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请输入客户的中文名称！" Display="Dynamic">请输入客户的中文名称！</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ControlToValidate="XTextBox8" ErrorMessage="请输入供应商SAP编号！" DisableExpress="(Global.StepName=='1.业务员发起主数据申请'||DF_CUSSUP_INFO.IsSupplier!=1||DF_CUSSUP_INFO.CustomerID==&quot;&quot;)"></aspxform:XRequiredFieldValidator>
        <aspxform:XRangeValidator id="XRangeValidator2" runat="server" ControlToValidate="XTextBox61" ErrorMessage="请选择客户类型" MinValueExpress="1" Type="Double"></aspxform:XRangeValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XTextBox14" ErrorMessage="请输入客户的SAP编号！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName=='1.业务员发起主数据申请'||DF_CUSSUP_INFO.CustomerID==&quot;&quot;"></aspxform:XRequiredFieldValidator>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td class="title1" height="22" colspan="4">
                        <asp:Label id="XLabel1" text="公司基本信息" ValueToDisplayText Value runat="server"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" ValueToDisplayText Value runat="server" XDataBind="varformat" Width="28px" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox57" runat="server" XDataBind="DF_CUSSUP_INFO.Departement" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox58" runat="server" XDataBind="DF_CUSSUP_INFO.Aera" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox61" runat="server" XDataBind="varCustypes" Express="DF_CUSSUP_INFO.IsCus+DF_CUSSUP_INFO.IsSupplier" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 10%" class="basiclblfirst" height="45">
                        <asp:Label id="XLabel3" text="客户中文名称" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 35%" class="basictextfirst">
                        <aspxform:XTextBox onblur="customerSAp();" id="XTextBox5" runat="server" XDataBind="DF_CUSSUP_INFO.CusChiName" Express="varsuname" Width="70%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox59" ValueToDisplayText="TableName:V_DF_CustomerUers;FilterColumn:ItemID;DisplayColumn:ItemID" Value runat="server" XDataBind="DF_CUSSUP_INFO.CustomerID" Width="38px" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" DataMap="IsCus->DF_CUSSUP_INFO.IsCus;RCusProperty->DF_CUSSUP_INFO.RCusProperty;GroupName->DF_CUSSUP_INFO.GroupName;FreeTel->DF_CUSSUP_INFO.FreeTel;CusShape->DF_CUSSUP_INFO.CusShape;TelCode1->DF_CUSSUP_INFO.TelCode1;CusOwnerShip->DF_CUSSUP_INFO.CusOwnerShip;RCusBusinessRelation->DF_CUSSUP_INFO.RCusBusinessRelation;IsReCus->DF_CUSSUP_INFO.IsReCus;FaxPhone->DF_CUSSUP_INFO.FaxPhone;OpenBillAdd->DF_CUSSUP_INFO.OpenBillAdd;LastToucher->DF_CUSSUP_INFO.LastToucher;FaxPhone1->DF_CUSSUP_INFO.FaxPhone1;CusOrgan->DF_CUSSUP_INFO.CusOrgan;CusInfoSource->DF_CUSSUP_INFO.CusInfoSource;IsSupplier->DF_CUSSUP_INFO.IsSupplier;CusChiName->varsuname;TelCode->DF_CUSSUP_INFO.TelCode;TaxNo->DF_CUSSUP_INFO.TaxNo;TelExt->DF_CUSSUP_INFO.TelExt;CreateDate->vartime;IsReSupplier->DF_CUSSUP_INFO.IsReSupplier;CusEngName->DF_CUSSUP_INFO.CusEngName;FaxExt->DF_CUSSUP_INFO.FaxExt;OpenBillTelCode->DF_CUSSUP_INFO.OpenBillTelCode;CreateUser->varuser;CusType->varCusType;ROpenBillAdd->DF_CUSSUP_INFO.ROpenBillAdd;RCusShape->DF_CUSSUP_INFO.RCusShape;TelPhone->DF_CUSSUP_INFO.TelPhone;TelExt1->DF_CUSSUP_INFO.TelExt1;ROpenBillTelCode->DF_CUSSUP_INFO.ROpenBillTelCode;TelPhone1->DF_CUSSUP_INFO.TelPhone1;OpenBillTelExt->DF_CUSSUP_INFO.OpenBillTelExt;RGroupName->DF_CUSSUP_INFO.RGroupName;URL->DF_CUSSUP_INFO.URL;FaxExt1->DF_CUSSUP_INFO.FaxExt1;CusSapID->DF_CUSSUP_INFO.CusSapID;FreeTel1->DF_CUSSUP_INFO.FreeTel1;Introduction->DF_CUSSUP_INFO.Introduction;ChangeUser->DF_CUSSUP_INFO.ChangeUser;RCusInfoSource->DF_CUSSUP_INFO.RCusInfoSource;CusProperty->DF_CUSSUP_INFO.CusProperty;BPMNumber->DF_CUSSUP_INFO.BPMNumber;RTaxNo->DF_CUSSUP_INFO.RTaxNo;BankName->DF_CUSSUP_INFO.BankName;BankAccount->DF_CUSSUP_INFO.BankAccount;LatTouchDate->DF_CUSSUP_INFO.LatTouchDate;ROpenBillTel->DF_CUSSUP_INFO.ROpenBillTel;RCusOwnerShip->DF_CUSSUP_INFO.RCusOwnerShip;ROpenBillTelExt->DF_CUSSUP_INFO.ROpenBillTelExt;CusBusinessRelation->DF_CUSSUP_INFO.CusBusinessRelation;FaxCode1->DF_CUSSUP_INFO.FaxCode1;OpenBillTel->DF_CUSSUP_INFO.OpenBillTel;RBankAccount->DF_CUSSUP_INFO.RBankAccount;RBankName->DF_CUSSUP_INFO.RBankName;RCusOrgan->DF_CUSSUP_INFO.RCusOrgan;CusSapLevel->varCusSapLevel;FaxCode->DF_CUSSUP_INFO.FaxCode;RURL->DF_CUSSUP_INFO.RURL;RIntroduction->DF_CUSSUP_INFO.RIntroduction"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox65" runat="server" XDataBind="varsuname" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC" OnTextChanged="XTextBox65_TextChanged"></aspxform:XTextBox>
                        <aspxform:XTextBox onblur="customerSAp();" id="XTextBox62" runat="server" XDataBind="DF_CUSSUP_INFO.CusChiNameStatut" Express="if(DF_CUSSUP_INFO.CusChiName!=varsuname,1,0)" Width="70%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 10%" class="basiclblfirst3">
                        <asp:Label id="XLabel4" text="客户英文名称" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 35%" class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_CUSSUP_INFO.CusEngName" Width="70%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox51" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" Value runat="server" XDataBind="DF_CUSSUP_INFO.ChangeUser" Width="24px" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst3" height="26">
                        <asp:Label id="XLabel5" text="类型" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3" width="18%">
                        <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_CUSSUP_INFO.IsCus" Text="客户"></aspxform:XCheckBox>
                        &nbsp;<aspxform:XCheckBox id="XCheckBox2" runat="server" XDataBind="DF_CUSSUP_INFO.IsSupplier" Text="供应商"></aspxform:XCheckBox>
                        <aspxform:XCheckBox id="XCheckBox3" runat="server" XDataBind="DF_CUSSUP_INFO.IsReCus" Express="if(varformat=='New',DF_CUSSUP_INFO.IsCus,DF_CUSSUP_INFO.IsReCus)" HiddenExpress="1" Text="客户"></aspxform:XCheckBox>
                        &nbsp;<aspxform:XCheckBox id="XCheckBox4" runat="server" XDataBind="DF_CUSSUP_INFO.IsReSupplier" Express="if(varformat=='New',DF_CUSSUP_INFO.IsSupplier,DF_CUSSUP_INFO.IsReSupplier)" HiddenExpress="1" Text="供应商"></aspxform:XCheckBox>
                        <asp:Image id="Image1" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.IsCus==DF_CUSSUP_INFO.IsReCus||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image2" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.IsSupplier==DF_CUSSUP_INFO.IsReSupplier||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel6" text="BPM单位编号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3" width="18%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_CUSSUP_INFO.BPMNumber" Width="50%" CssClass="text1" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" height="28">
                        <asp:Label id="XLabel7" text="总机" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_CUSSUP_INFO.TelCode" Width="50px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel27" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_CUSSUP_INFO.TelPhone" Width="90px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel53" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_CUSSUP_INFO.TelExt" Width="50px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_CUSSUP_INFO.TelCode1" Express="if(varformat=='New',DF_CUSSUP_INFO.TelCode,DF_CUSSUP_INFO.TelCode1)" Width="50px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox16" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.TelPhone1" Express="if(varformat=='New',DF_CUSSUP_INFO.TelPhone,DF_CUSSUP_INFO.TelPhone1)" Width="90px" CssClass="text" HiddenInput="True" Min="0" Max="0" BorderStyle="Dotted"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox17" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.TelExt1" Express="if(varformat=='New',DF_CUSSUP_INFO.TelExt,DF_CUSSUP_INFO.TelExt1)" Width="50px" CssClass="text" HiddenInput="True" Min="0" Max="0" BorderStyle="Dotted"></aspxform:XTextBox>
                        </div>
                        <asp:Image id="Image3" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.TelCode==DF_CUSSUP_INFO.TelCode1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image4" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.TelPhone==DF_CUSSUP_INFO.TelPhone1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image5" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.TelExt==DF_CUSSUP_INFO.TelExt1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel8" text="传真" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3" width="18%">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_CUSSUP_INFO.FaxCode" Width="50px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel54" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_CUSSUP_INFO.FaxPhone" Width="90px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel55" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="DF_CUSSUP_INFO.FaxExt" Width="50px" CssClass="text" HiddenInput="False"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_CUSSUP_INFO.FaxCode1" Express="if(varformat=='New',DF_CUSSUP_INFO.FaxCode,DF_CUSSUP_INFO.FaxCode1)" Width="50px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox19" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.FaxPhone1" Express="if(varformat=='New',DF_CUSSUP_INFO.FaxPhone,DF_CUSSUP_INFO.FaxPhone1)" Width="50px" CssClass="text" HiddenInput="True" Min="0" Max="0" BorderStyle="Dotted"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox20" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.FaxExt1" Express="if(varformat=='New',DF_CUSSUP_INFO.FaxExt,DF_CUSSUP_INFO.FaxExt1)" Width="90px" CssClass="text" HiddenInput="True" Min="0" Max="0" BorderStyle="Dotted"></aspxform:XTextBox>
                        </div>
                        <asp:Image id="Image6" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.FaxCode==DF_CUSSUP_INFO.FaxCode1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image7" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.FaxPhone==DF_CUSSUP_INFO.FaxPhone1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image8" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.FaxExt==DF_CUSSUP_INFO.FaxExt1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" height="48">
                        <asp:Label id="XLabel9" text="免费电话号码" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_CUSSUP_INFO.FreeTel" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image9" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.FreeTel==DF_CUSSUP_INFO.FreeTel1||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_CUSSUP_INFO.FreeTel1" Express="if(varformat=='New',DF_CUSSUP_INFO.FreeTel,DF_CUSSUP_INFO.FreeTel1)" Width="50%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel17" text="集团(品牌)" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox style="WIDTH: 50%" id="XTextBox2" runat="server" XDataBind="DF_CUSSUP_INFO.GroupName" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image10" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.GroupName==DF_CUSSUP_INFO.RGroupName||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox style="WIDTH: 50%" id="XTextBox24" runat="server" XDataBind="DF_CUSSUP_INFO.RGroupName" Express="if(varformat=='New',DF_CUSSUP_INFO.GroupName,DF_CUSSUP_INFO.RGroupName)" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel11" text="最后接触人" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox9" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" runat="server" XDataBind="DF_CUSSUP_INFO.LastToucher" Width="50%" CssClass="text1" HiddenInput="False" DisableBehavior="ReadOnly"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst">
                        <asp:Label id="XLabel12" text="最后接触时间" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_CUSSUP_INFO.LatTouchDate" Width="50%" CssClass="text1" DisableExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel50" text="网址:" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_CUSSUP_INFO.URL" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image12" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.URL==DF_CUSSUP_INFO.RURL||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_CUSSUP_INFO.RURL" Express="if(varformat=='New',DF_CUSSUP_INFO.URL,DF_CUSSUP_INFO.RURL)" Width="50%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="FONT-FAMILY: 微软雅黑; FONT-SIZE: 14px" class="basictextfirst3" colspan="2">
                        <asp:Label id="XLabel29" text="简介" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="basictextfirst3" colspan="4">
                        <aspxform:XTextBox id="XTextBox30" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.Introduction" Width="100%" CssClass="text" Height="55px" TextMode="MultiLine"></aspxform:XTextBox>
                        <asp:Image id="Image14" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.Introduction==DF_CUSSUP_INFO.RIntroduction||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox49" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUP_INFO.RIntroduction" Express="if(varformat=='New',DF_CUSSUP_INFO.Introduction,DF_CUSSUP_INFO.RIntroduction)" Width="100%" CssClass="text" HiddenInput="True" Height="55px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td class="title1" height="17" colspan="4">
                        <asp:Label id="XLabel15" text="供应商属性" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst">
                        <asp:Label id="XLabel16" text="SAP供应商编号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 39%" class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_CUSSUP_INFO.SupplierSapID" Width="50%" CssClass="text1" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'||DF_CUSSUP_INFO.IsSupplier!=1"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 11%" class="basiclblfirst3">
                        <asp:Label id="XLabel48" text="供应商类型" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 39%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_CUSSUP_INFO.SupplierType" Width="50%" CssClass="text1" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'" ValueColumn="ID" DisplayColumn="Name" PromptText="--------请选择--------" XDataSource="TableName:V_SupplierType">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td class="title1" height="19" colspan="4">
                        <asp:Label id="XLabel49" text="客户属性" ValueToDisplayText Value runat="server"></asp:Label>
                        <aspxform:XLabel id="XLabel20" text="kehuxinxilaiyuan" ValueToDisplayText Value runat="server" XDataBind="varxinxi" HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel23" text="xingtai" ValueToDisplayText Value runat="server" XDataBind="varxingtai" HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel22" text="jigou" ValueToDisplayText Value runat="server" XDataBind="varjigou" HiddenExpress="1" Font-Bold="True"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel24" text="yewuguanxi" ValueToDisplayText Value runat="server" XDataBind="varyewuguanxi" HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel51" text="suoyouzhi" ValueToDisplayText Value runat="server" XDataBind="varsuoyouzhi" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst" height="21">
                        <asp:Label id="XLabel52" text="客户信息来源" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 39%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_CUSSUP_INFO.CusInfoSource" Width="50%" CssClass="text" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxinxi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" ControlToValidate="XDropDownList3" ErrorMessage="请选择客户信息来源！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_CUSSUP_INFO.RCusInfoSource" Express="if(varformat=='New',DF_CUSSUP_INFO.CusInfoSource,DF_CUSSUP_INFO.RCusInfoSource)" Width="50%" CssClass="text" HiddenExpress="1" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxinxi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <asp:Image id="Image15" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.CusInfoSource==DF_CUSSUP_INFO.RCusInfoSource||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                    </td>
                    <td style="WIDTH: 11%" class="basiclblfirst3">
                        <asp:Label id="XLabel65" text="机构" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basiclblfirst3">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_CUSSUP_INFO.CusOrgan" Width="50%" CssClass="text" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjigou">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" ControlToValidate="XDropDownList12" ErrorMessage="请选择客户机构！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
                        <asp:Image id="Image17" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.CusOrgan==DF_CUSSUP_INFO.RCusOrgan||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XDropDownList id="XDropDownList8" runat="server" XDataBind="DF_CUSSUP_INFO.RCusOrgan" Express="if(varformat=='New',DF_CUSSUP_INFO.CusOrgan,DF_CUSSUP_INFO.RCusOrgan)" Width="50%" CssClass="text" HiddenExpress="1" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjigou">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel21" text="形态" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_CUSSUP_INFO.CusShape" Width="50%" CssClass="text" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-------请选择----------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxingtai">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" ControlToValidate="XDropDownList7" ErrorMessage="请选择客户形态！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
                        <asp:Image id="Image16" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.CusShape==DF_CUSSUP_INFO.RCusShape||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XDropDownList id="XDropDownList9" runat="server" XDataBind="DF_CUSSUP_INFO.RCusShape" Express="if(varformat=='New',DF_CUSSUP_INFO.CusShape,DF_CUSSUP_INFO.RCusShape)" Width="50%" CssClass="text" HiddenExpress="1" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-------请选择----------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxingtai">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel19" text="业务关系" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_CUSSUP_INFO.CusBusinessRelation" Width="50%" CssClass="text" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varyewuguanxi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <asp:Image id="Image18" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.CusBusinessRelation==DF_CUSSUP_INFO.RCusBusinessRelation||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XDropDownList id="XDropDownList13" runat="server" XDataBind="DF_CUSSUP_INFO.RCusBusinessRelation" Express="if(varformat=='New',DF_CUSSUP_INFO.CusBusinessRelation,DF_CUSSUP_INFO.RCusBusinessRelation)" Width="50%" CssClass="text" HiddenExpress="1" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varyewuguanxi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" ControlToValidate="XDropDownList5" ErrorMessage="请选择客户业务关系！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel25" text="军工属性" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_CUSSUP_INFO.CusProperty" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                        <asp:Image id="Image20" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.CusProperty==DF_CUSSUP_INFO.RCusProperty||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_CUSSUP_INFO.RCusProperty" Express="if(varformat=='New',DF_CUSSUP_INFO.CusProperty,DF_CUSSUP_INFO.RCusProperty)" HiddenExpress="1" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" ControlToValidate="XRadioButtonList2" ErrorMessage="请选择客户军工属性！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel26" text="所有制" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_CUSSUP_INFO.CusOwnerShip" Width="50%" CssClass="text" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsuoyouzhi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <asp:Image id="Image19" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.CusOwnerShip==DF_CUSSUP_INFO.RCusOwnerShip||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XDropDownList id="XDropDownList14" runat="server" XDataBind="DF_CUSSUP_INFO.RCusOwnerShip" Express="if(varformat=='New',DF_CUSSUP_INFO.CusOwnerShip,DF_CUSSUP_INFO.RCusOwnerShip)" Width="50%" CssClass="text" HiddenExpress="1" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsuoyouzhi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" ControlToValidate="XDropDownList2" ErrorMessage="请选择客户所有制！" DisableExpress="DF_CUSSUP_INFO.IsCus!=1||Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel64" text="客户信息" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst" height="21">
                        <asp:Label id="XLabel60" text="SAP客户编号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 39%" class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_CUSSUP_INFO.CusSapID" Width="50%" CssClass="text1" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'||DF_CUSSUP_INFO.IsCus!=1"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 11%" class="basiclblfirst3">
                        <asp:Label id="XLabel61" text="SAP客户等级" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_CUSSUP_INFO.CusSapLevel" Express="if(DF_CUSSUP_INFO.CustomerID!=&quot;&quot;,varCusSapLevel,if(DF_CUSSUP_INFO.CusBusinessRelation=='287','297',DF_CUSSUP_INFO.CusSapLevel))" Width="50%" CssClass="text1" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_DataSourceList;Filter:Type->varSAPkehudengji;OrderBy:orderID desc">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="varCusSapLevel" Express="if(DF_CUSSUP_INFO.CusBusinessRelation=='286','293',if(DF_CUSSUP_INFO.CusBusinessRelation=='287','297',varCusSapLevel))" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XLabel id="XLabel66" text="SAPkehudengji" ValueToDisplayText Value runat="server" XDataBind="varSAPkehudengji" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst">
                        <asp:Label id="XLabel63" text="是否红旗客户" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_CUSSUP_INFO.IsFlagCus" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td style="WIDTH: 11%" class="basiclblfirst3">
                        <asp:Label id="XLabel62" text="状态" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_CUSSUP_INFO.CusType" Express='if(DF_CUSSUP_INFO.CustomerID!="",varCusType,DF_CUSSUP_INFO.CusType)' Width="50%" CssClass="text1" DisableExpress="Global.StepName=='1.业务员发起主数据申请'||varformat=='New'" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:DF_DataSourceList;Filter:Type->varzhuangtai">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="varCusType" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XLabel id="XLabel67" text="zhuangtai" ValueToDisplayText Value runat="server" XDataBind="varzhuangtai" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel28" text="开票信息" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst">
                        <asp:Label id="XLabel30" text="税号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 39%" class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_CUSSUP_INFO.TaxNo" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image21" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.TaxNo==DF_CUSSUP_INFO.RTaxNo||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox50" runat="server" XDataBind="DF_CUSSUP_INFO.RTaxNo" Express="if(varformat=='New',DF_CUSSUP_INFO.TaxNo,DF_CUSSUP_INFO.RTaxNo)" Width="50%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 11%" class="basiclblfirst">
                    </td>
                    <td style="WIDTH: 39%" class="basictextfirst">
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst">
                        <asp:Label id="XLabel34" text="银行账号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_CUSSUP_INFO.BankAccount" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image25" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.BankAccount==DF_CUSSUP_INFO.RBankAccount||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_CUSSUP_INFO.RBankAccount" Express="if(varformat=='New',DF_CUSSUP_INFO.BankAccount,DF_CUSSUP_INFO.RBankAccount)" Width="50%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 10%" class="basiclblfirst3">
                        <asp:Label id="XLabel35" text="开票地址" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_CUSSUP_INFO.OpenBillAdd" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image23" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.OpenBillAdd==DF_CUSSUP_INFO.ROpenBillAdd||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_CUSSUP_INFO.ROpenBillAdd" Express="if(varformat=='New',DF_CUSSUP_INFO.OpenBillAdd,DF_CUSSUP_INFO.ROpenBillAdd)" Width="50%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 11%" class="basiclblfirst">
                        <asp:Label id="XLabel36" text="银行名称" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_CUSSUP_INFO.BankName" Width="50%" CssClass="text"></aspxform:XTextBox>
                        <asp:Image id="Image24" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.RBankName==DF_CUSSUP_INFO.BankName||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <aspxform:XTextBox id="XTextBox52" runat="server" XDataBind="DF_CUSSUP_INFO.RBankName" Express="if(varformat=='New',DF_CUSSUP_INFO.BankName,DF_CUSSUP_INFO.RBankName)" Width="99%" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 11%" class="basiclblfirst3">
                        <asp:Label id="XLabel37" text="开票电话" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="basictextfirst3">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox36" runat="server" XDataBind="DF_CUSSUP_INFO.OpenBillTelCode" Width="40px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel56" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_CUSSUP_INFO.OpenBillTel" Width="80px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel57" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_CUSSUP_INFO.OpenBillTelExt" Width="40px" CssClass="texOpenBillTelt"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox53" runat="server" XDataBind="DF_CUSSUP_INFO.ROpenBillTelCode" Express="if(varformat=='New',DF_CUSSUP_INFO.OpenBillTelCode,DF_CUSSUP_INFO.ROpenBillTelCode)" Width="40px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox54" runat="server" XDataBind="DF_CUSSUP_INFO.ROpenBillTel" Express="if(varformat=='New',DF_CUSSUP_INFO.OpenBillTel,DF_CUSSUP_INFO.ROpenBillTel)" Width="80px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox55" runat="server" XDataBind="DF_CUSSUP_INFO.ROpenBillTelExt" Express="if(varformat=='New',DF_CUSSUP_INFO.OpenBillTelExt,DF_CUSSUP_INFO.ROpenBillTelExt)" Width="40px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                        </div>
                        <asp:Image id="Image26" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.OpenBillTelCode==DF_CUSSUP_INFO.ROpenBillTelCode||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image27" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.OpenBillTel==DF_CUSSUP_INFO.ROpenBillTel||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                        <asp:Image id="Image28" runat="server" Width="40px" HiddenExpress="DF_CUSSUP_INFO.OpenBillTelExt==DF_CUSSUP_INFO.ROpenBillTelExt||Global.StepName=='1.业务员发起主数据申请'" ImageUrl="~/DFJC/Image/Edit.png" Height="20px"></asp:Image>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" datamap="Type->DF_CUSSUPADDRESS_DETAIL.Type;Address->DF_CUSSUPADDRESS_DETAIL.Address;ZipCode->DF_CUSSUPADDRESS_DETAIL.ZipCode" xdatasource="TableName:V_DF_NEWCustomerUers;Filter:ItemID->DF_CUSSUP_INFO.CustomerID;BufferType:RuntimeUpdate" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel39" text="常用地址" ValueToDisplayText Value runat="server"></asp:Label>
                        <div align="right">
                            <aspxform:XAddBlockButton id="XAddBlockButton2" runat="server" Text="添加新行" TableName="DF_CUSSUPADDRESS_DETAIL"></aspxform:XAddBlockButton>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td style="TEXT-ALIGN: center; WIDTH: 5%" class="tds" height="16">
                        <asp:Label id="XLabel10" text="序号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="TEXT-ALIGN: center; WIDTH: 300px" class="tds">
                        <asp:Label id="XLabel40" text="类型" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="TEXT-ALIGN: center" class="tds">
                        <asp:Label id="XLabel41" text="地址" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="TEXT-ALIGN: center; WIDTH: 200px; BORDER-RIGHT: #93a1ae 1px solid" class="tds">
                        <asp:Label id="XLabel42" text="邮编" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td style="TEXT-ALIGN: center; WIDTH: 5%" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_CUSSUPADDRESS_DETAIL.LineNumber" Width="20px" CssClass="text" BorderStyle="None" BackColor="Transparent" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList10" runat="server" XDataBind="DF_CUSSUPADDRESS_DETAIL.Type" Width="99%" ValueColumn="ItemID" DisplayColumn="Name" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varchangyongdizhi">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel68" text="changyongdizhi" ValueToDisplayText Value runat="server" XDataBind="varchangyongdizhi" HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox56" runat="server" XDataBind="DF_CUSSUPADDRESS_DETAIL.ItemID" Express='if(DF_CUSSUP_INFO.CustomerID!="",DF_CUSSUP_INFO.CustomerID,DF_CUSSUPADDRESS_DETAIL.ItemID)' Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox60" ValueToDisplayText Value runat="server" XDataBind="DF_CUSSUPADDRESS_DETAIL.ID" Width="54px" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_CUSSUPADDRESS_DETAIL.Address" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-RIGHT: #93a1ae 1px solid" class="tds1">
                        <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_CUSSUPADDRESS_DETAIL.ZipCode" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox66" runat="server" XDataBind="varaddressNull" Express="DF_CUSSUPADDRESS_DETAIL.LineNumber" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox67" runat="server" XDataBind="varcontactnull" Express="DF_CUSSUPCONTACT_DETAIL.LineNumber" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ControlToValidate="XTextBox67" ErrorMessage="申请主数据必须有一个客户联系人！" DisableExpress="Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator21" runat="server" ControlToValidate="XTextBox43" ErrorMessage="申请主数据客户联系人不能为空！" DisableExpress="Global.StepName!='1.业务员发起主数据申请'"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XTextBox66" ErrorMessage="申请主数据必须有一个客户地址！" ValidationGroup="varsend"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator23" runat="server" ControlToValidate="XDropDownList10" ErrorMessage="申请主数据客户地址类型不能为空！"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator22" runat="server" ControlToValidate="XTextBox41" ErrorMessage="申请主数据客户地址不能为空！"></aspxform:XRequiredFieldValidator>
        <br />
        <table class="table" datamap="ContactName->DF_CUSSUPCONTACT_DETAIL.Contact;TelCode->DF_CUSSUPCONTACT_DETAIL.ContactTelCode;TelPhone->DF_CUSSUPCONTACT_DETAIL.ContactTel;TelExt->DF_CUSSUPCONTACT_DETAIL.ContactTelExt;Mobile->DF_CUSSUPCONTACT_DETAIL.Mobile;Email->DF_CUSSUPCONTACT_DETAIL.Email" xdatasource="TableName:DF_CONTACT_INFO;Filter:BelongCus->DF_CUSSUP_INFO.CustomerID;BufferType:RuntimeUpdate" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td style="BORDER-BOTTOM: #b2bcc6 1px solid; BORDER-LEFT: #93a1ae 1px solid; BACKGROUND-COLOR: #c1d7ec; FONT-FAMILY: 微软雅黑; FONT-SIZE: 16px; BORDER-TOP: #93a1ae 1px solid; FONT-WEIGHT: bold" colspan="5">
                        <asp:Label id="XLabel43" text="新增联系人" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="BORDER-BOTTOM: #b2bcc6 1px solid; TEXT-ALIGN: right; BACKGROUND-COLOR: #c1d7ec; BORDER-TOP: #93a1ae 1px solid; BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XAddBlockButton id="XAddBlockButton1" runat="server" Text="添加新行" TableName="DF_CUSSUPCONTACT_DETAIL"></aspxform:XAddBlockButton>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" HiddenExpress="1" DataMap="ContactName->DF_CUSSUPCONTACT_DETAIL.Contact;TelCode->DF_CUSSUPCONTACT_DETAIL.ContactTelCode;TelPhone->DF_CUSSUPCONTACT_DETAIL.ContactTel;TelExt->DF_CUSSUPCONTACT_DETAIL.ContactTelExt;Mobile->DF_CUSSUPCONTACT_DETAIL.Mobile;Email->DF_CUSSUPCONTACT_DETAIL.Email" Text="添加联系人" XDataSource="TableName:DF_CONTACT_INFO" MultiSelect="True" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td style="TEXT-ALIGN: center; WIDTH: 5%" class="tds" height="17">
                        <asp:Label id="XLabel18" text="序号" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 150px" class="tds">
                        <asp:Label id="XLabel44" text="联系人" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="tds">
                        <asp:Label id="XLabel45" text="联系电话" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="WIDTH: 200px" class="tds">
                        <asp:Label id="XLabel46" text="手机" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td class="tds">
                        <asp:Label id="XLabel47" text="电子邮件" ValueToDisplayText Value runat="server"></asp:Label>
                    </td>
                    <td style="BORDER-RIGHT: #93a1ae 1px solid" class="tds">
                    </td>
                </tr>
                <tr>
                    <td style="TEXT-ALIGN: center; WIDTH: 5%" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.LineNumber" Width="20px" CssClass="text" BorderStyle="None" BackColor="Transparent" TextAlign="Center">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox37" ValueToDisplayText="TableName:DF_CONTACT_INFO;FilterColumn:ItemID;DisplayColumn:ItemID" Value runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.Keys" Width="21px" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Min="0" Max="0" DataMap="ContactName->DF_CUSSUPCONTACT_DETAIL.Contact;TelCode->DF_CUSSUPCONTACT_DETAIL.ContactTelCode;TelPhone->DF_CUSSUPCONTACT_DETAIL.ContactTel;TelExt->DF_CUSSUPCONTACT_DETAIL.ContactTelExt;Mobile->DF_CUSSUPCONTACT_DETAIL.Mobile;Email->DF_CUSSUPCONTACT_DETAIL.Email"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.Contact" Width="99%" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" width="25%">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.ContactTelCode" Width="40px" CssClass="text" DisableBehavior="ReadOnly" DisableExpress="1"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel58" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.ContactTel" Width="80px" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <asp:Label id="XLabel59" ValueToDisplayText Value runat="server" CssClass="lbl" Text="－"></asp:Label>
                        </div>
                        <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.ContactTelExt" Width="40px" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.Mobile" Width="99%" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-RIGHT: #93a1ae 1px solid" class="tds1">
                        <aspxform:XTextBox id="XTextBox45" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.Email" Width="99%" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-RIGHT: #93a1ae 1px solid" class="tds1">
                        <aspxform:XChildFormLink id="XChildFormLink1" runat="server" DataMap="Key->DF_CUSSUPCONTACT_DETAIL.Keys" PopupWndHeight="-1" PopupWndWidth="-1" FormApplication="ContactAdd">新增联系人</aspxform:XChildFormLink>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton6" runat="server" Width="60px" CssClass="anxiu" HiddenExpress="1" DataMap="ContactName->DF_CUSSUPCONTACT_DETAIL.Contact;TelCode->DF_CUSSUPCONTACT_DETAIL.ContactTelCode;TelPhone->DF_CUSSUPCONTACT_DETAIL.ContactTel;TelExt->DF_CUSSUPCONTACT_DETAIL.ContactTelExt;Email->DF_CUSSUPCONTACT_DETAIL.Email;Mobile->DF_CUSSUPCONTACT_DETAIL.Mobile" Text="查询" BrowserWindowType="AjaxPanel" NavigateUrl="DFJC/Dialogs/BFContactSearch.js"></aspxform:XCustomBrowserButton>
                        <aspxform:XTextBox id="XTextBox63" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.ID" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox64" runat="server" XDataBind="DF_CUSSUPCONTACT_DETAIL.ItemID" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server"></aspxform:XProcessButtonList>
    </form>
</body>
</html>
