<%@ Page Language="C#" %>
<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
        //供应商状态类型 3，个人；4，主数据岗
        string state = Request.QueryString["state"];
        if (!string.IsNullOrEmpty(state))
        {
            this.XLabel50.Text = state;
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <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: 1px;
        }

            TD.NoPadding {
                PADDING-RIGHT: 0px;
                PADDING-LEFT: 0px;
                PADDING-BOTTOM: 0px;
                PADDING-TOP: 0px;
            }
        /*INPUT {height: 15px}*/
        INPUT.UL {
            BORDER-RIGHT: medium none;
            BORDER-TOP: medium none;
            BORDER-LEFT: medium none;
            BORDER-BOTTOM: #33ff33 1px solid;
        }

        TEXTAREA {
            FONT-SIZE: 12px;
        }

        input {
            vertical-align: middle; /*margin-right:-3px*/
        }
    </style>
    <script type="text/javascript">
        //账户持有人
        function GetAccountOwner(holder, partnerName) {
            if (holder != '')
                return holder;
            else
                return partnerName;
        }
        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" text="供应商" valuetodisplaytext value></asp:Label></td>
                    <td class="formno">
                    </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="标记 * 的为申请人必填项" valuetodisplaytext value font-bold="True" forecolor="Red"></asp:Label>&nbsp;&nbsp;</td>
                    <td align="right">
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" text="申请人" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Partner.CreateName" Width="70%" CssClass="text" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="varuser" Width="34px" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Value></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="创建日期" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_Partner.CreateDate" Width="50%" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                        &nbsp; 
                        <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_Partner.LastTouch" Width="50px" CssClass="text" ValueToDisplayText HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_Partner.LastTouchTime" Width="50px" CssClass="text" DisplayOnly="True" HiddenExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请输入供应商名称！" Display="Dynamic">请输入供应商名称！</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<aspxform:XCompareValidator id="XCompareValidator1" runat="server" ControlToValidate="XTextBox34" ErrorMessage="您添加的供应商已存在，请联系供应商主数据岗！" Display="None" ControlToCompare="XTextBox36">您添加的供应商已存在，请联系供应商主数据岗！</aspxform:XCompareValidator>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="20" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" text="基本信息" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="varSupplierType" Width="28px" ValueToDisplayText Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Value></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="varCustomer" Width="28px" ValueToDisplayText Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Value></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox34" runat="server" Width="30px" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" Express="javascript('customerSAp',DF_Partner.Partner)"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox36" runat="server" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1">0</aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Partner.ID" Width="28px" ValueToDisplayText Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Value></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="30" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="Label11" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel3" runat="server" text="供应商名称" valuetodisplaytext value></asp:Label> 
                        <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_Partner_ZK.IsSupplier" Width="10px" CssClass="text" ValueToDisplayText Max="0" Min="0" HiddenInput="True">是</aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" onblur="customerSAp();" runat="server" XDataBind="DF_Partner.Partner" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel7" runat="server" text="代理品牌" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox16" onblur="customerSAp();" runat="server" XDataBind="DF_Partner_ZK.AgencyBrand" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="26" class="basiclblfirst3">
                        <asp:Label id="XLabel4" runat="server" text="国家" valuetodisplaytext value></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_Partner_ZK.Country" Width="50%" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Country;OrderBy:OrderID" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel31" runat="server" text="供应商属性" valuetodisplaytext value></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_Partner_ZK.IsForeign" Width="50%" XDataSource PromptText="--请选择--">
                            <asp:ListItem Value="0">国内</asp:ListItem>
                            <asp:ListItem Value="1">国外</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst3">
                        <asp:Label id="Label1" runat="server" text="税号/统一社会信用码" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_Partner.SocialCreditCode" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                    </td>
                    <td class="basictextfirst3">
                    </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_Partner_ZK.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_Partner_ZK.ZipCode" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>--%>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="19" class="title1" colspan="4">
                        <asp:Label id="XLabel15" runat="server" text="供应商状态" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel9" runat="server" text="供应商BPMID" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_Partner.PartnerID" Width="70%" CssClass="text1" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel16" runat="server" text="供应商SAPID" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Partner.SupplierSAPID" Width="50px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="DF_Partner.PartnerSAPID" Width="70%" HiddenInput="False" BorderWidth="1" BorderColor="#DCDCDC"></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" text="供应商状态" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_Partner_ZK.SupplierStatus" Width="50%" CssClass="text1" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_SupplierStatus;Filter:LdValue->vars">
                            <asp:ListItem Selected="True">未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel50" runat="server" XDataBind="vars" HiddenExpress="1" Text="3"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="XLabel64" runat="server" text="采购信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel63" runat="server" text="订货币种" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_Partner_ZK.OrderCurrency" Width="50%" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_OrderCurrency" PromptText="--请选择--">
                            <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>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_Partner_ZK.PaymentMode" Width="50%" HiddenExpress="1" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_PayItems" PromptText="--请选择--" DataMap="Name->DF_Partner_ZK.PaymentModeDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel26" runat="server" XDataBind="DF_Partner_ZK.PaymentModeDes" ValueToDisplayText Value HiddenExpress="1" Text="Label" BackColor="#d4e4fe"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="8">
                        <asp:Label id="XLabel28" runat="server" text="国内供应商开票信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td width="50" height="16" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel5" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="XLabel11" runat="server" text="银行国家" valuetodisplaytext value></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="Label6" runat="server" text="银行代码" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel36" runat="server" text="银行名称" valuetodisplaytext value></asp:Label></td>
                    <td width="170" class="tds">
                        <asp:Label id="XLabel34" runat="server" text="银行账号" valuetodisplaytext value></asp:Label></td>
                    <td width="170" class="tds">
                        <asp:Label id="Label8" runat="server" text="账户持有人" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel35" runat="server" text="开票地址" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel37" runat="server" text="开票电话" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="20" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_Partner_SupplierBillInfo.LineNumber" Width="20px" CssClass="text" BorderColor="Transparent" BackColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_Partner_SupplierBillInfo.BankCountry" Width="100%" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Country" PromptText="--请选择--" DisableExpress="1">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <%--<aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Partner.SupplierSAPID" Width="1px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC" Height="1px"></aspxform:XTextBox>--%></td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_Partner_SupplierBillInfo.BankCode" Width="80" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" Width="40px" XClass="Oimec.Dialogs.BankInfoButton" Text="查询" DataMap="BankCountry->DF_Partner_SupplierBillInfo.BankCountry;BankName->DF_Partner_SupplierBillInfo.BankName;BankCode->DF_Partner_SupplierBillInfo.BankCode"></aspxform:XCustomBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton3" runat="server" Width="40px" XClass="Oimec.Dialogs.BankInfoGYAddButton" Text="新建"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_Partner_SupplierBillInfo.BankName" Width="98%" CssClass="text" DisableExpress="1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_Partner_SupplierBillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Partner_SupplierBillInfo.AccountOwner" Width="98%" CssClass="text" Express="javascript('GetAccountOwner',DF_Partner_SupplierBillInfo.AccountOwner,DF_Partner.Partner)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_Partner_SupplierBillInfo.BillingAddress" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_Partner_SupplierBillInfo.BillingTel" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <!--境外供应商银行信息Grid-->
        <table width="1200" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td class="title1" colspan="10">
                        <asp:Label id="XLabel10" runat="server" text="境外供应商银行信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <asp:Label id="XLabel12" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="XLabel6" runat="server" text="银行国家" valuetodisplaytext value></asp:Label></td>
                    <td width="102" class="tds">
                        <asp:Label id="Label7" runat="server" text="银行代码" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel17" runat="server" text="银行名称" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel19" runat="server" text="银行账号" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="Label9" runat="server" text="账户持有人" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel20" runat="server" text="银行地址" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel21" runat="server" text="SWIFT CODE" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel22" runat="server" text="IBAN CODE" valuetodisplaytext value></asp:Label></td>
                    <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel8" runat="server" text="银行邮编" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_Partner_VendorBillInfo.LineNumber" Width="20px" CssClass="text" BackColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_Partner_VendorBillInfo.BankCountry" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Country" PromptText="--请选择--" DisableExpress="1">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_Partner_VendorBillInfo.BankCode" Width="80px" CssClass="text" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton2" runat="server" Width="40px" XClass="Oimec.Dialogs.BankInfoButton" Text="查询" DataMap="BankCountry->DF_Partner_VendorBillInfo.BankCountry;BankName->DF_Partner_VendorBillInfo.BankName;BankAddr->DF_Partner_VendorBillInfo.BankAddress;BankCode->DF_Partner_VendorBillInfo.BankCode;ZipCode->DF_Partner_VendorBillInfo.BankZIPCODE;SWIFT->DF_Partner_VendorBillInfo.SWIFTCode"></aspxform:XCustomBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton4" runat="server" Width="40px" XClass="Oimec.Dialogs.BankInfoGYAddButton" Text="新建"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_Partner_VendorBillInfo.BankName" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Partner_VendorBillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Partner_VendorBillInfo.AccountOwner" Width="98%" CssClass="text" Express="javascript('GetAccountOwner',DF_Partner_VendorBillInfo.AccountOwner,DF_Partner.Partner)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_Partner_VendorBillInfo.BankAddress" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Partner_VendorBillInfo.SWIFTCode" Width="98%" CssClass="text" Max="34" MaxLength="34" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode" Width="100%" CssClass="text" Max="34" MaxLength="34"></aspxform:XTextBox>
                        <%--   <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode2" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode3" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode4" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode5" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode6" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode7" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode8" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_Partner_VendorBillInfo.IBANCode9" Width="30" CssClass="text" MaxLength="2"></aspxform:XTextBox>
                        --%></td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Partner_VendorBillInfo.BankZIPCODE" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <!--联系人Grid-->
        <table width="1426" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
            <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="8">
                        <asp:Label id="XLabel43" runat="server" text="联系人" valuetodisplaytext value></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" text="序号" valuetodisplaytext value></asp:Label></td>
                    <td width="80" class="tds">
                        <asp:Label id="XLabel44" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                    <td width="101" class="tds">
                        <asp:Label id="Label3" runat="server" text="部门" valuetodisplaytext value></asp:Label></td>
                    <td width="125" class="tds">
                        <asp:Label id="Label4" runat="server" text="职位" valuetodisplaytext value></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="XLabel45" runat="server" text="联系电话" valuetodisplaytext value></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="XLabel46" runat="server" text="手机" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel47" runat="server" text="传真" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel29" runat="server" text="Email" valuetodisplaytext value></asp:Label></td>
                    <td width="270" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; WIDTH: 200px">
                        <asp:Label id="Label2" runat="server" text="联系人地址" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="25" class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_Partner_ContactZK.LineNumber" Width="20px" CssClass="text" BorderColor="Transparent" BackColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_Partner_ContactZK.ContactName" Width="95%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Partner_ContactZK.PartnerID" Width="1px" ValueToDisplayText Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Value BorderStyle="Dotted"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_Partner_ContactZK.OwnerAccount" Width="21px" ValueToDisplayText Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Value Express="DF_Partner.CreateName" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                    <td width="101">
                        <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_Partner_ContactZK.ContactDept" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC" Height="20px"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_Partner_ContactZK.DepartType" Width="100%" ValueColumn="Name" DisplayColumn="Name" XDataSource='TableName:DF_DataSourceList;Filter:Type->"部门";OrderBy:OrderID' PromptText="--请选择--" DataMap="Value->DF_Partner_ContactZK.ContactDept" Height="23px">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td width="125">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_Partner_ContactZK.Position" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_Partner_ContactZK.ContactTel" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_Partner_ContactZK.ContactMobile" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_Partner_ContactZK.Fax" Width="100%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_Partner_ContactZK.ContactEmail" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_Partner_ContactZK.ContactAddr" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td height="22">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ControlToValidate="XTextBox8" ErrorMessage="请输入供应商SAPID" ValidationGroup="MSAP"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XDropDownList12" ErrorMessage="请选择订货币种" ValidationGroup="MSAP"></aspxform:XRequiredFieldValidator>
        &nbsp; <%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ErrorMessage="请选择付款方式" ControlToValidate="XDropDownList11" ValidationGroup="MSAP"></aspxform:XRequiredFieldValidator>--%>
    </form>
</body>
</html>
