<%@ 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 company = Request.QueryString["company"];
        this.XTextBox16.Text = company;
        string item = Request.QueryString["itemid"];
        this.XTextBox3.Text = item;
    
    }

</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">
        //账户持有人
        function GetAccountOwner(holder, partnerName) {
            if (holder != '')
                return holder;
            else
                return partnerName;
        }

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

            placeholder();
        })

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

        //placeholder 属性
        function placeholder() {
            //行业及形态其他
            var aDivCustomerShapeOther = document.getElementsByClassName("CustomerShapeOther");
            var aDivCustomerShapeOtherid = aDivCustomerShapeOther[0].getElementsByTagName('input')[0].id;
            var v = document.getElementById(aDivCustomerShapeOtherid).setAttribute("placeholder", "请填写具体的行业及形态");
        }


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

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

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

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


    </script>
</head>
<body>
    <form runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 20px">
                        <asp:Label id="XLabel2" runat="server" text="SAP客户主数据"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" Text="----自动生成----" XDataBind="DF_Partner_SAPCustomer.FormNo" Value ValueToDisplayText BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td align="left" colspan="3">
                        <asp:Label id="Label5" runat="server" text="标记 * 的为申请人必填项" font-bold="True" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;&nbsp; 
                    </td>
                    <td align="right">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_Partner_SAPCustomer.AppCompany" HiddenExpress="1" ReadOnly="True" CssClass="text" Width="50"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" text="创建人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_Partner_SAPCustomer.CreateUser" HiddenExpress="1" ReadOnly="True" CssClass="text" Width="50"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Partner_SAPCustomer.CreateName" ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="创建日期"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_Partner_SAPCustomer.CreateDate" CssClass="text" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel18" runat="server" text="拥有人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_Partner_SAPCustomer.SalesManID" Value ValueToDisplayText Width="43px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Partner_SAPCustomer.SalesMan" ValueToDisplayText ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="varStatus" Value ValueToDisplayText Width="5px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
        &nbsp;&nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" Display="Dynamic" DisableExpress="Global.StepName!='业务员发起申请'" ValidationGroup="first" ErrorMessage="请输入客户的中文名称！" ControlToValidate="XTextBox5">请输入客户的中文名称！</aspxform:XRequiredFieldValidator>
        <%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ControlToValidate="XRadioButtonList4" ErrorMessage="请输入此客户是否有外币销售业务" ValidationGroup="first" Display="Dynamic">请输入此客户是否有外币销售业务</aspxform:XRequiredFieldValidator>--%>&nbsp;&nbsp;<%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XTextBox1" ErrorMessage="请输入客户的英文名称！" ValidationGroup="first" DisableExpress="Global.StepName!='业务员发起申请'" Display="Dynamic">请输入客户的英文名称！</aspxform:XRequiredFieldValidator>--%> &nbsp;&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ValidationGroup="first" ErrorMessage="请选择省份" ControlToValidate="XDropDownList6"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ValidationGroup="first" ErrorMessage="请选择地区" ControlToValidate="XDropDownList3"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ValidationGroup="first" ErrorMessage="请填写城市" ControlToValidate="XTextBox4"></aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" Display="None" ValidationGroup="second" ErrorMessage="请选择地区" ControlToValidate="XDropDownList3">请选择地区</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="23" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" text="公司基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="varformat" Value ValueToDisplayText Width="28px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="varCustomer" Value ValueToDisplayText Width="28px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel38" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="XLabel3" runat="server" text="客户中文名称"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_Partner_SAPCustomer.CustomerNameCH" CssClass="text" Width="70%" DisableExpress="Global.StepName!='业务员发起申请' &amp;&amp; Global.StepName!=&quot;SAP客户主数据岗审批&quot;"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="varSAPID" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1"></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_Partner_SAPCustomer.CustomerNameEN" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <%--<tr>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="Label10" runat="server" text="*" value valuetodisplaytext forecolor="Red"></asp:Label><asp:Label id="Label8" runat="server" text="有外币销售业务"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList4" runat="server" XDataBind="DF_Partner_SAPCustomer.IsForeignBusiness" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                   
                </tr>--%> 
                <tr>
                    <td colspan="4">
                        <asp:Label id="Label10" runat="server" text="说明：" font-bold="False" forecolor="Blue" font-size="14px"></asp:Label>
                        <br />
                        &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label id="Label9" runat="server" text="1、若此客户涉及外币销售业务，请务必输入英文名称。" font-bold="False" forecolor="Blue" font-size="14px"></asp:Label> 
                        <br />
                        &nbsp;&nbsp;&nbsp;&nbsp;<asp:Label id="Label8" runat="server" text="2、若客户只有英文名称，请将英文名称同时写到客户中文名称、客户英文名称处。" font-bold="False" forecolor="Blue" font-size="14px"></asp:Label> 
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst">
                        <asp:Label id="XLabel68" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<aspxform:XLabel id="XLabel7" runat="server" Text="省份" XDataBind="varProvince" BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_Partner_SAPCustomer.Province" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varProvince;OrderBy:OrderID" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel69" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="XLabel8" runat="server" text="城市" valuetodisplaytext value></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Partner_SAPCustomer.City" ValueToDisplayText CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="Label6" runat="server" text="地区"></asp:Label> 
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="areaname" Width="20px" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_Partner_SAPCustomer.AppArea" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varArea" DisplayColumn="Name" ValueColumn="Value" DataMap="Name->areaname">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox6" runat="server" Text="地区" XDataBind="varArea" ValueToDisplayText ReadOnly="True" CssClass="text" Width="15px" HiddenInput="true"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="19" class="title1" colspan="4">
                        <asp:Label id="XLabel49" runat="server" text="客户属性"></asp:Label>
                        <aspxform:XLabel id="XLabel23" runat="server" Text="xingtai" XDataBind="varxingtai" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel22" runat="server" Text="jigou" XDataBind="varjigou" Value ValueToDisplayText HiddenExpress="1" Font-Bold="True"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel24" runat="server" Text="yewuguanxi" XDataBind="varyewuguanxi" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel51" runat="server" Text="suoyouzhi" XDataBind="varsuoyouzhi" Value ValueToDisplayText HiddenExpress="1"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="varStr1" Value ValueToDisplayText Width="17px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="varStr2" Value ValueToDisplayText Width="17px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="varStr3" Value ValueToDisplayText Width="17px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="varStr4" Value ValueToDisplayText Width="21px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Express="if(DF_Partner_SAPCustomer.CusProperty=='是','1','2')"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="varStr5" Value ValueToDisplayText Width="20px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel52" runat="server" text="集团（品牌）"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox68" runat="server" XDataBind="DF_Partner_SAPCustomer.Brand" ValueToDisplayText CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel40" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="XLabel65" runat="server" text="机构"></asp:Label></td>
                    <td class="basiclblfirst3">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_Partner_SAPCustomer.Mechanism" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjigou" DisplayColumn="Name" ValueColumn="ItemID" DataMap="Value->varStr1">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" DisableExpress="Global.StepName!='业务员发起申请'" ValidationGroup="first" ErrorMessage="请选择客户机构！" ControlToValidate="XDropDownList12"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="basiclblfirst">
                        <asp:Label id="XLabel46" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="XLabel21" runat="server" text="行业及形态"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_Partner_SAPCustomer.CustomerShape" CssClass="text" Width="50%" PromptText="-------请选择----------" XDataSource='TableName:DF_DataSourceList;Filter:Type->"行业及形态",Value1->0' DisplayColumn="Name" ValueColumn="ItemID" DataMap="Value->varStr2">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_Partner_SAPCustomer.CustomerShapeOther" HiddenExpress='varStr2!="99"' CssClass="CustomerShapeOther" Max="0" Min="0" HiddenInput="False" BorderColor="Gainsboro" BorderWidth="1px" width="206px"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel43" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="XLabel19" runat="server" text="业务关系" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_Partner_SAPCustomer.BusinessRelation" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varyewuguanxi" DisplayColumn="Name" ValueColumn="ItemID" DataMap="Value->varStr3">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" DisableExpress="Global.StepName!='业务员发起申请'" ValidationGroup="first" ErrorMessage="请选择客户业务关系！" ControlToValidate="XDropDownList5"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel45" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label><asp:Label id="XLabel25" runat="server" text="军工属性" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_Partner_SAPCustomer.CusProperty" RepeatDirection="Horizontal">
                            <asp:ListItem Value="是">是</asp:ListItem>
                            <asp:ListItem Value="否">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel44" runat="server" text="*" forecolor="Red" valuetodisplaytext value></asp:Label>&nbsp;<asp:Label id="XLabel26" runat="server" text="所有制" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_Partner_SAPCustomer.Ownership" CssClass="text" Width="50%" PromptText="------请选择------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsuoyouzhi" DisplayColumn="Name" ValueColumn="ItemID" DataMap="Value->varStr5">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" DisableExpress="Global.StepName!='业务员发起申请'" ValidationGroup="first" ErrorMessage="请选择客户所有制！" ControlToValidate="XDropDownList2"></aspxform:XRequiredFieldValidator>
                    </td>
                </tr>
                <tr hiddenexpress="Global.StepName=='业务员发起申请'">
                    <td class="basiclblfirst">
                        <asp:Label id="XLabel29" runat="server" text="客户属性字符串"></asp:Label></td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_Partner_SAPCustomer.PropertyStr" ValueToDisplayText ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst">
                    </td>
                    <td class="basictextfirst">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" DisableExpress="Global.StepName!='业务员发起申请'" ValidationGroup="first" ErrorMessage="请选择客户行业及形态！" ControlToValidate="XDropDownList7"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" DisableExpress='varStr2!="99"' ValidationGroup="first" ErrorMessage="请填写具体的行业及形态！" ControlToValidate="XTextBox32">请填写具体的行业及形态！</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="XLabel64" runat="server" text="客户信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="Label1" runat="server" text="税号/统一社会信用码" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Partner_SAPCustomer.SocialCreditCode" CssClass="text1" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                    </td>
                </tr>
                <tr>
                    <td height="21" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel60" runat="server" text="合作伙伴SAPID" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Partner_SAPCustomer.CustomerSAPID" CssClass="text1" Width="70%" DisableExpress='Global.StepName!="SAP客户主数据岗审批"'></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel48" runat="server" text="客户等级" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList9" runat="server" XDataBind="DF_Partner_SAPCustomer.CusLevel" CssClass="text1" Width="50%" DisableExpress="1" XDataSource="TableName:V_DF_DataSourceList_kehudengji;OrderBy:OrderID" DisplayColumn="Name" ValueColumn="Name" Express="if(DF_Partner_SAPCustomer.BusinessRelation=='286','C',if(DF_Partner_SAPCustomer.BusinessRelation=='287','Q',DF_Partner_SAPCustomer.CusLevel))">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel15" runat="server" text="合作伙伴ID" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Partner_SAPCustomer.PartnerID" ValueToDisplayText="TableName:V_DF_Partner_ZK;FilterColumn:PartnerID;DisplayColumn:PartnerID" CssClass="text1" Width="70%" DataMap="Partner->DF_Partner_SAPCustomer.CustomerNameCH;PartnerSAPID->varSAPID;SocialCreditCode->DF_Partner_SAPCustomer.SocialCreditCode;Province->DF_Partner_SAPCustomer.Province;City->DF_Partner_SAPCustomer.City;Brand->DF_Partner_SAPCustomer.Brand;BusinessRelation->DF_Partner_SAPCustomer.BusinessRelation;Mechanism->DF_Partner_SAPCustomer.Mechanism;Ownership->DF_Partner_SAPCustomer.Ownership;CusProperty->DF_Partner_SAPCustomer.CusProperty;CustomerStatus->DF_Partner_SAPCustomer.CustomerStatus;CustomerShape->DF_Partner_SAPCustomer.CustomerShape;CustomerLevel->DF_Partner_SAPCustomer.CusLevel;CustomerOwner->DF_Partner_SAPCustomer.SalesMan;CustomerOwnerID->DF_Partner_SAPCustomer.SalesManID;CustomerNameEN->DF_Partner_SAPCustomer.CustomerNameEN;CustomerShapeOther->DF_Partner_SAPCustomer.CustomerShapeOther" Express="varCustomer"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel62" runat="server" text="客户状态" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_Partner_SAPCustomer.CustomerStatus" ValueToDisplayText="TableName:DF_DataSourceList;FilterColumn:Value;DisplayColumn:Name" Width="70%" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" datamap="BankAccount->DF_Partner_SAPBillInfo.BankAccount;BillingAddress->DF_Partner_SAPBillInfo.BillingAddress;BankName->DF_Partner_SAPBillInfo.BankName;BillingTel->DF_Partner_SAPBillInfo.BillingTel;BankCode->DF_Partner_SAPBillInfo.BankCode;BankCountry->DF_Partner_SAPBillInfo.BankCountry" xdatasource="TableName:DF_Partner_CusBillInfo;Filter:PartnerID->DF_Partner_SAPCustomer.PartnerID" dynamicarea="2,1" menudock="Left" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="8">
                        <asp:Label id="XLabel28" runat="server" text="开票信息"></asp:Label>&nbsp;<aspxform:XAddBlockButton id="XAddBlockButton1" runat="server" Text="添加行项目" PrintOut="False" TableName="DF_Partner_SAPBillInfo"></aspxform:XAddBlockButton>
                    </td>
                </tr>
                <tr>
                    <td width="40" height="18" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel5" runat="server" text="序号"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label3" runat="server" text="银行国家"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="Label2" runat="server" text="银行代码"></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel36" runat="server" text="银行名称"></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel34" runat="server" text="银行账号"></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="Label7" runat="server" text="账户持有人"></asp:Label></td>
                    <td width="220" class="tds">
                        <asp:Label id="XLabel35" runat="server" text="开票地址"></asp:Label></td>
                    <td width="150" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel37" runat="server" text="开票电话"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_Partner_SAPBillInfo.LineNumber" BackColor="Transparent" CssClass="text" Width="20px" BorderColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankCountry" Width="100%" DisableExpress="1" PromptText="----请选择----" XDataSource='TableName:DF_DataSourceList;Filter:Type->"国家"' DisplayColumn="Name" ValueColumn="Value"></aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankCode" ReadOnly="True" CssClass="text" Width="80px"></aspxform:XTextBox>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton2" runat="server" Text="查询" XClass="Oimec.Dialogs.BankInfoButton" Width="40px" DataMap="BankCountry->DF_Partner_SAPBillInfo.BankCountry;BankName->DF_Partner_SAPBillInfo.BankName;BankCode->DF_Partner_SAPBillInfo.BankCode"></aspxform:XCustomBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton3" runat="server" Text="新建" XClass="Oimec.Dialogs.BankInfoGYAddButton" Width="40px"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankName" ReadOnly="True" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankAccount" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_Partner_SAPBillInfo.AccountOwner" CssClass="text" Width="100%" Express="javascript('GetAccountOwner',DF_Partner_SAPBillInfo.AccountOwner,DF_Partner_SAPCustomer.CustomerNameCH)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_Partner_SAPBillInfo.BillingAddress" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_Partner_SAPBillInfo.BillingTel" CssClass="text" Width="100%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" DisableExpress='DF_Partner_SAPBillInfo.BankCode==""' ValidationGroup="first" ErrorMessage="请输入银行账号" ControlToValidate="XTextBox28" ForeColor="Red">请输入银行账号</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0" hiddenexpress="1">
            <tbody>
                <tr class="title1">
                    <td height="14" class="td1">
                        <asp:Label id="XLabel118" runat="server" text="上传附件" font-bold="True" width="123px" height="10px"></asp:Label></td>
                </tr>
                <tr>
                    <td height="88" class="td1">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_Partner_SAPCustomer.AttachFiles" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.JPG" FileTypesDescription="All"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" DisableExpress="Global.StepName!='业务员发起申请'" ValidationGroup="first" ErrorMessage="请选择客户军工属性！" ControlToValidate="XRadioButtonList2"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel50" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_Partner_SAPCustomer.Remarks" Value ValueToDisplayText CssClass="text" Width="100%" Max="0" Min="0" HiddenInput="False" BorderWidth="1px" TextMode="MultiLine" Height="76px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
        </p>
    </form>
</body>
</html>
