<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<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 customerSAp() {

            var state = request("formstate");
            //供应商BPMID
            var supplierID = agent.Eles[document.getElementById("XTextBox1").getAttribute("xform_xele_index")].getValue();
            //if (agent.Eles[document.getElementById("XTextBox13").getAttribute("xform_xele_index")].getValue() == '' && state=="New") {
            if (agent.Eles[document.getElementById("XTextBox13").getAttribute("xform_xele_index")].getValue() == '') {

                //供应商名称
                var SupplierName = agent.Eles[document.getElementById("XTextBox5").getAttribute("xform_xele_index")].getValue()
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/MDAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'IsSupplierExist1',
                        SupplierName: SupplierName,
                        SupplierID: supplierID
                    },
                    success: function (action) {
                        //alert(action.result.Value);
                        agent.Eles[document.getElementById("XTextBox34").getAttribute("xform_xele_index")].setValue(action.result.Value);
                      
                    },
                    failure: function (action) {
                    }
                });
            }
        }

        function request(paras) {
            var url = location.href;
            var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&");
            var paraObj = {};
            for (i = 0; j = paraString[i]; i++) {
                paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length);
            }
            var returnValue = paraObj[paras.toLowerCase()];
            if (typeof (returnValue) == "undefined")
            { return ""; }
            else
            { return returnValue; }
        }

</script>
</head>
<body>
    <form runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 90px">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="供应商"></asp:Label></td>
                    <td class="formno">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" value valuetodisplaytext text="申请人"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" CssClass="text" Width="70%" XDataBind="DF_MasterData_Supplier.CreateName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" Width="34px" XDataBind="varuser" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" value valuetodisplaytext text="创建日期"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" CssClass="text" Width="50%" XDataBind="DF_MasterData_Supplier.CreateDate" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" Display="Dynamic" ErrorMessage="请输入供应商名称！" ControlToValidate="XTextBox5">请输入供应商名称！</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<aspxform:XCompareValidator id="XCompareValidator1" runat="server" Display="None" ErrorMessage="您添加的供应商已存在，请联系供应商主数据岗！" ControlToValidate="XTextBox34" ControlToCompare="XTextBox36">您添加的供应商已存在，请联系供应商主数据岗！</aspxform:XCompareValidator>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="20" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" value valuetodisplaytext text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" ValueToDisplayText Width="28px" XDataBind="varSupplierType" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox15" runat="server" ValueToDisplayText Width="28px" XDataBind="varCustomer" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox34" runat="server" BorderColor="#DCDCDC" BorderWidth="1" width="30px" Express="javascript('customerSAp',DF_MasterData_Supplier.SupplierName)" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox36" runat="server" BorderColor="#DCDCDC" BorderWidth="1" width="20px" HiddenExpress="1">0</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="30" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel3" runat="server" value valuetodisplaytext text="供应商名称"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" onblur="customerSAp();" runat="server" CssClass="text" Width="70%" XDataBind="DF_MasterData_Supplier.SupplierName"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel7" runat="server" value valuetodisplaytext text="代理品牌"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox16" onblur="customerSAp();" runat="server" CssClass="text" Width="70%" XDataBind="DF_MasterData_Supplier.AgencyBrand"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="26" class="basiclblfirst3">
                        <asp:Label id="XLabel4" runat="server" value valuetodisplaytext text="国家"></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_MasterData_Supplier.Country" width="50%" PromptText="--请选择--" XDataSource="TableName:V_DF_DataSource_Country;OrderBy:OrderID" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel31" runat="server" value valuetodisplaytext text="供应商属性"></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_MasterData_Supplier.IsForeign" width="50%" PromptText="--请选择--" XDataSource>
                            <asp:ListItem Value="0">国内</asp:ListItem>
                            <asp:ListItem Value="1">国外</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <%--<tr>
                    <td class="basiclblfirst" height="28">
                        <aspxform:XLabel id="XLabel7" text="地址" ValueToDisplayText Value runat="server"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_MasterData_Supplier.Address" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                        <aspxform:XLabel id="XLabel8" text="邮编" ValueToDisplayText Value runat="server"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst3" width="18%">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_MasterData_Supplier.ZipCode" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>--%>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="19" class="title1" colspan="4">
                        <asp:Label id="XLabel15" runat="server" value valuetodisplaytext text="供应商状态"></asp:Label></td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel9" runat="server" value valuetodisplaytext text="供应商BPMID"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" CssClass="text1" Width="70%" XDataBind="DF_MasterData_Supplier.SupplierID" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel16" runat="server" value valuetodisplaytext text="供应商SAPID"></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" CssClass="text1" Width="70%" XDataBind="DF_MasterData_Supplier.SupplierSAPID"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                    </td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel48" runat="server" value valuetodisplaytext text="供应商状态"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" CssClass="text1" Width="50%" XDataBind="DF_MasterData_Supplier.SupplierStatus" XDataSource="TableName:V_DF_DataSource_SupplierStatus" DisplayColumn="Name" ValueColumn="Value" DisableExpress="1">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="XLabel64" runat="server" value valuetodisplaytext text="采购信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel63" runat="server" value valuetodisplaytext text="订货币种"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" Width="50%" XDataBind="DF_MasterData_Supplier.OrderCurrency" PromptText="--请选择--" XDataSource="TableName:V_DF_DataSource_OrderCurrency" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <asp:Label id="XLabel62" runat="server" value valuetodisplaytext text="付款方式"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" Width="50%" XDataBind="DF_MasterData_Supplier.PaymentMode" PromptText="--请选择--" XDataSource="TableName:V_DF_DataSource_PayItems" DisplayColumn="Name" ValueColumn="Value" DataMap="Name->DF_MasterData_Supplier.PaymentModeDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel26" runat="server" text="Label" ValueToDisplayText XDataBind="DF_MasterData_Supplier.PaymentModeDes" Value HiddenExpress="1" BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" dynamicarea="2,1" menudock="Left" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td class="title1" colspan="7">
                        <asp:Label id="XLabel28" runat="server" value valuetodisplaytext text="国内供应商开票信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="45" height="16" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel5" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                    <td width="95" class="tds">
                        <asp:Label id="XLabel11" runat="server" value valuetodisplaytext text="银行国家"></asp:Label></td>
                    <td width="97" class="tds">
                        <asp:Label id="XLabel30" runat="server" value valuetodisplaytext text="税号"></asp:Label></td>
                    <td width="146" class="tds">
                        <asp:Label id="XLabel34" runat="server" value valuetodisplaytext text="银行账号"></asp:Label></td>
                    <td width="182" class="tds">
                        <asp:Label id="XLabel35" runat="server" value valuetodisplaytext text="开票地址"></asp:Label></td>
                    <td width="182" class="tds">
                        <asp:Label id="XLabel36" runat="server" value valuetodisplaytext text="银行名称"></asp:Label></td>
                    <td width="169" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel37" runat="server" value valuetodisplaytext text="开票电话"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" CssClass="text" Width="20px" XDataBind="DF_MCustomer_BillInfo.LineNumber" BorderColor="Transparent" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_MCustomer_BillInfo.BankCountry" PromptText="--请选择--" XDataSource="TableName:V_DF_DataSource_Country" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" CssClass="text" Width="98%" XDataBind="DF_MCustomer_BillInfo.Tariff"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox14" runat="server" Width="1px" XDataBind="DF_MCustomer_BillInfo.CustomerID" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="1px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" CssClass="text" Width="98%" XDataBind="DF_MCustomer_BillInfo.BankAccount"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" CssClass="text" Width="98%" XDataBind="DF_MCustomer_BillInfo.BillingAddress"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" CssClass="text" Width="98%" XDataBind="DF_MCustomer_BillInfo.BankName"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox38" runat="server" CssClass="text" Width="98%" XDataBind="DF_MCustomer_BillInfo.BillingTel"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <!--境外供应商银行信息Grid-->
        <table align="center" class="table" dynamicarea="2,1" menudock="Left" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td class="title1" colspan="8">
                        <asp:Label id="XLabel10" runat="server" value valuetodisplaytext text="境外供应商银行信息"></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <asp:Label id="XLabel12" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="XLabel6" runat="server" value valuetodisplaytext text="银行国家"></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel17" runat="server" value valuetodisplaytext text="银行名称"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel19" runat="server" value valuetodisplaytext text="银行账号"></asp:Label></td>
                    <td class="tds">
                        <asp:Label id="XLabel20" runat="server" value valuetodisplaytext text="银行地址"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel21" runat="server" value valuetodisplaytext text="SWIFT CODE"></asp:Label></td>
                    <td class="tds">
                        <asp:Label id="XLabel22" runat="server" value valuetodisplaytext text="IBAN CODE"></asp:Label></td>
                    <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel8" runat="server" value valuetodisplaytext text="银行邮编"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" CssClass="text" Width="20px" XDataBind="DF_MSupplier_BillInfo.LineNumber" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_MSupplier_BillInfo.BankCountry" PromptText="--请选择--" XDataSource="TableName:V_DF_DataSource_Country" DisplayColumn="Name" ValueColumn="Value">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox30" runat="server" CssClass="text" Width="98%" XDataBind="DF_MSupplier_BillInfo.BankName"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" CssClass="text" Width="98%" XDataBind="DF_MSupplier_BillInfo.BankAccount"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" CssClass="text" Width="98%" XDataBind="DF_MSupplier_BillInfo.BankAddress"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" CssClass="text" Width="98%" XDataBind="DF_MSupplier_BillInfo.SWIFTCode"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox2" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode2" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode3" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox17" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode5" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode6" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox25" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode7" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox26" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode8" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" CssClass="text" Width="30" XDataBind="DF_MSupplier_BillInfo.IBANCode9" MaxLength="2"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox4" runat="server" CssClass="text" Width="98%" XDataBind="DF_MSupplier_BillInfo.BankZIPCODE"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" dynamicarea="2,1" menudock="Left" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel39" runat="server" text="常用地址"></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <asp:Label id="XLabel24" runat="server" text="序号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 150px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel25" runat="server" text="地址类型"></asp:Label></td>
                    <td class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel41" runat="server" text="地址"></asp:Label></td>
                    <td class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; WIDTH: 200px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel42" runat="server" text="邮编"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo4" runat="server" CssClass="text" Width="20px" XDataBind="DF_MCustomer_Address.LineNumber" BorderColor="Transparent" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox20" runat="server" Width="1px" XDataBind="DF_MCustomer_Address.CustomerID" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList8" runat="server" Width="99%" XDataBind="DF_MCustomer_Address.AddrType">
                            <asp:ListItem>中文地址</asp:ListItem>
                            <asp:ListItem>英文地址</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox41" runat="server" CssClass="text" Width="99%" XDataBind="DF_MCustomer_Address.Address"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox42" runat="server" CssClass="text" Width="99%" XDataBind="DF_MCustomer_Address.ZipCode"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <!--联系人Grid-->
        <table width="796" align="center" class="table" dynamicarea="2,1" menudock="Left" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td height="17" style="FONT-SIZE: 16px; BORDER-TOP: #93a1ae 1px solid; FONT-FAMILY: 微软雅黑; BORDER-BOTTOM: #b2bcc6 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #93a1ae 1px solid; BACKGROUND-COLOR: #c1d7ec" colspan="5">
                        <asp:Label id="XLabel43" runat="server" value valuetodisplaytext text="联系人"></asp:Label></td>
                    <td width="70" style="BORDER-TOP: #93a1ae 1px solid; BORDER-RIGHT: #93a1ae 1px solid; BORDER-BOTTOM: #b2bcc6 1px solid; TEXT-ALIGN: right; BACKGROUND-COLOR: #c1d7ec">
                    </td>
                </tr>
                <tr>
                    <td width="38" height="28" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel18" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                    <td width="80" class="tds">
                        <asp:Label id="XLabel44" runat="server" value valuetodisplaytext text="联系人"></asp:Label></td>
                    <td width="250" class="tds">
                        <asp:Label id="XLabel45" runat="server" value valuetodisplaytext text="联系电话"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="XLabel46" runat="server" value valuetodisplaytext text="手机"></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel47" runat="server" value valuetodisplaytext text="传真"></asp:Label></td>
                    <td class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; WIDTH: 200px">
                        <asp:Label id="XLabel29" runat="server" value valuetodisplaytext text="Email"></asp:Label></td>
                </tr>
                <tr>
                    <td height="25" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" CssClass="text" Width="20px" XDataBind="DF_MCustomer_Contact.LineNumber" BorderColor="Transparent" BackColor="Transparent" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox43" runat="server" CssClass="text" Width="95%" XDataBind="DF_MCustomer_Contact.ContactName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox18" runat="server" ValueToDisplayText Width="1px" XDataBind="DF_MCustomer_Contact.CustomerID" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" BorderStyle="Dotted"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox19" runat="server" ValueToDisplayText Width="21px" XDataBind="DF_MCustomer_Contact.OwnerAccount" Max="0" Min="0" Value BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_MasterData_Supplier.CreateName" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox44" runat="server" CssClass="text" Width="40px" XDataBind="DF_MCustomer_Contact.ContactTelCode"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left"><asp:Label id="XLabel58" runat="server" value valuetodisplaytext text="－" cssclass="lbl"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox47" runat="server" CssClass="text" Width="160px" XDataBind="DF_MCustomer_Contact.ContactTel"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left"><asp:Label id="XLabel59" runat="server" value valuetodisplaytext text="－" cssclass="lbl"></asp:Label>
                        </div>
                        <aspxform:XTextBox id="XTextBox48" runat="server" CssClass="text" Width="40px" XDataBind="DF_MCustomer_Contact.ContactTelExt"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox46" runat="server" CssClass="text" Width="99%" XDataBind="DF_MCustomer_Contact.ContactMobile"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox31" runat="server" CssClass="text" Width="40px" XDataBind="DF_MCustomer_Contact.FaxCode"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left"><asp:Label id="XLabel23" runat="server" value valuetodisplaytext text="－" cssclass="lbl"></asp:Label>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox32" runat="server" CssClass="text" Width="160px" XDataBind="DF_MCustomer_Contact.Fax"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left"><asp:Label id="XLabel27" runat="server" value valuetodisplaytext text="－" cssclass="lbl"></asp:Label>
                        </div>
                        <aspxform:XTextBox id="XTextBox33" runat="server" CssClass="text" Width="40px" XDataBind="DF_MCustomer_Contact.FaxExt"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox24" runat="server" CssClass="text" Width="99%" XDataBind="DF_MCustomer_Contact.ContactEmail"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td height="22">
                        <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server"></aspxform:XProcessButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ErrorMessage="请输入供应商SAPID" ControlToValidate="XTextBox8" ValidationGroup="MSAP"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ErrorMessage="请选择订货币种" ControlToValidate="XDropDownList12" ValidationGroup="MSAP"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ErrorMessage="请选择付款方式" ControlToValidate="XDropDownList11" ValidationGroup="MSAP"></aspxform:XRequiredFieldValidator>
    </form>
</body>
</html>
