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

    // Insert page code here
    //
     protected void Page_Load(object sender, EventArgs e)
        {
            string item = Request.QueryString["itemid"];
            this.XTextBox15.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;
        }
        agent.on('beforeSubmit', function () {

            function customerSAp() {
                var SupplierName = agent.Eles[document.getElementById("XTextBox5").getAttribute("xform_xele_index")].getValue();
                var SupplierID = agent.Eles[document.getElementById("XTextBox1").getAttribute("xform_xele_index")].getValue();

                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/MDAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'IsSupplierExist',
                        SupplierName: SupplierName,
                        SupplierID: SupplierID
                    },
                    success: function (action) {
                        var result = action.result;
                        if (action.result.Value > 0) {
                            alert('您添加的供应商已存在，请联系供应商主数据岗！');
                            window.location.reload();
                        }
                    },
                    failure: function (action) {
                    }
                });
            }

        });
</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: 70px">
                        <asp:Label id="XLabel2" runat="server" text="供应商主数据申请" valuetodisplaytext value></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" text="表单号：" valuetodisplaytext value></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" text="----自动生成----" XDataBind="DF_Partner_SAPSupplier.FormNO" BackColor="#8AB3DF" ValueToDisplayText Value></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="标记 * 的为申请人必填项" valuetodisplaytext value forecolor="Red" font-bold="True"></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>
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_Partner_SAPSupplier.CreateAccount" ValueToDisplayText Width="50px" CssClass="text" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Partner_SAPSupplier.CreateName" ValueToDisplayText Width="70%" CssClass="text" ReadOnly="True"></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_SAPSupplier.CreateDate" Width="50%" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="XLabel1" runat="server" text="基本信息" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="varCustomer" ValueToDisplayText Value Width="28px" HiddenInput="True" Max="0" Min="0" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                        <%--<aspxform:XTextBox id="XTextBox30" runat="server" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" Express="javascript('customerSAp',DF_Partner_SAPSupplier.SupplierName)" width="30px"></aspxform:XTextBox>--%>
                        <aspxform:XTextBox id="XTextBox30" runat="server" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" width="30px"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="30" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel7" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel3" runat="server" text="供应商名称" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_Partner_SAPSupplier.SupplierName" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel8" runat="server" text="代理品牌" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Partner_SAPSupplier.AgencyBrand" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="28" class="basiclblfirst3">
                        <asp:Label id="XLabel55" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<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_SAPSupplier.Country" Width="50%" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Country;OrderBy:OrderID">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="basiclblfirst3">
                        <asp:Label id="XLabel51" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel5" runat="server" text="供应商属性" valuetodisplaytext value></asp:Label></td>
                    <td width="18%" class="basictextfirst3">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_Partner_SAPSupplier.IsForeign" Width="50%" 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="XTextBox33" runat="server" XDataBind="DF_Partner_SAPSupplier.SocialCreditCode" ValueToDisplayText Width="50%" CssClass="text" HiddenInput="False" Max="0" Min="0"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3">
                    </td>
                    <td class="basictextfirst3">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请输入供应商名称！" Display="Dynamic" ForeColor="Red">请输入供应商名称！</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XDropDownList2" ErrorMessage="请选择供应商国家" Display="None" ForeColor="Red">请选择供应商国家</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ControlToValidate="XDropDownList5" ErrorMessage="请选择供应商属性" ForeColor="Red"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td height="17" 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>
                        <aspxform:XTextBox id="XTextBox31" runat="server" ValueToDisplayText="TableName:DF_Partner_ZK;FilterColumn:PartnerID;DisplayColumn:PartnerID" Width="50px" CssClass="text1" HiddenExpress="1" Express="varCustomer" DataMap="OrderCurrency->DF_Partner_SAPSupplier.OrderCurrency;PaymentMode->DF_Partner_SAPSupplier.PaymentMode;PaymentModeDes->DF_Partner_SAPSupplier.PaymentModeDes;SupplierStatus->DF_Partner_SAPSupplier.SupplierStatus;IsForeign->DF_Partner_SAPSupplier.IsForeign;AgencyBrand->DF_Partner_SAPSupplier.AgencyBrand;Country->DF_Partner_SAPSupplier.Country"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_Partner_SAPSupplier.SupplierID" ValueToDisplayText="TableName:DF_Partner;FilterColumn:PartnerID;DisplayColumn:PartnerID" Width="70%" CssClass="text1" Express="varCustomer" DataMap="Partner->DF_Partner_SAPSupplier.SupplierName;SocialCreditCode->DF_Partner_SAPSupplier.SocialCreditCode" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel16" runat="server" text="供应商SAPID" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Partner_SAPSupplier.SupplierSAPID" Width="70%" CssClass="text1" DisableExpress="Global.StepName=='采购岗发起申请'"></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_SAPSupplier.SupplierStatus" Width="50%" CssClass="text1" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_SupplierStatus" DisableExpress="1">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XDropDownList12" ErrorMessage="请选择订货币种" ForeColor="Red">请选择订货币种</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp; <%--<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ForeColor="Red" ErrorMessage="请选择付款方式" ControlToValidate="XDropDownList11">请选择付款方式</aspxform:XRequiredFieldValidator>--%>
        <br />
        <table width="1200" height="39" 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%" height="21">
                        <aspxform:XLabel id="XLabel38" runat="server" Value ValueToDisplayText text="*" ForeColor="Red"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel60" runat="server" Value ValueToDisplayText text="公司代码"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_Partner_SAPSupplier.CompanyCode" Width="50%" XDataSource="TableName:V_DF_DataSource_CompanyCode" DisplayColumn="Name" ValueColumn="Value" PromptText="--请选择--" DataMap="Name->DF_Partner_SAPSupplier.CompanyCodeDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel24" runat="server" Value ValueToDisplayText text="Label" XDataBind="DF_Partner_SAPSupplier.CompanyCodeDes" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 11%">
                        <aspxform:XLabel id="XLabel40" runat="server" Value ValueToDisplayText text="*" ForeColor="Red"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel61" runat="server" Value ValueToDisplayText text="采购组织"></aspxform:XLabel>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_Partner_SAPSupplier.PurchaseOrg" Width="50%" XDataSource="TableName:V_DF_DataSource_PurchaseOrg" DisplayColumn="Name" ValueColumn="Value" PromptText="--请选择--" DataMap="Name->DF_Partner_SAPSupplier.PurchaseOrgDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel25" runat="server" Value ValueToDisplayText text="Label" XDataBind="DF_Partner_SAPSupplier.PurchaseOrgDes" HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
                -->
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 11%">
                        <asp:Label id="XLabel49" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<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_SAPSupplier.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="XLabel50" runat="server" value valuetodisplaytext text="*" forecolor="Red"></asp:Label>&nbsp;<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_SAPSupplier.PaymentMode" Width="50%" HiddenExpress="1" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_PayItems" PromptText="--请选择--" DataMap="Name->DF_Partner_SAPSupplier.PaymentModeDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel26" runat="server" text="Label" XDataBind="DF_Partner_SAPSupplier.PaymentModeDes" ValueToDisplayText Value HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1" xdatasource="TableName:DF_Partner_SupplierBillInfo;Filter:PartnerID->varCustomer" datamap="AccountOwner->DF_Partner_SAPBillInfo.AccountOwner;BankAccount->DF_Partner_SAPBillInfo.BankAccount;BillingAddress->DF_Partner_SAPBillInfo.BillingAddress;BankName->DF_Partner_SAPBillInfo.BankName;BillingTel->DF_Partner_SAPBillInfo.BillingTel;BankCountry->DF_Partner_SAPBillInfo.BankCountry;BankCode->DF_Partner_SAPBillInfo.BankCode">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="8">
                        <asp:Label id="XLabel28" runat="server" text="国内供应商开票信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td width="58" height="16" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel10" 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="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="150" class="tds">
                        <asp:Label id="XLabel34" runat="server" text="银行账号" valuetodisplaytext value></asp:Label></td>
                    <td width="150" 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_SAPBillInfo.LineNumber" BackColor="Transparent" Width="20px" CssClass="text" BorderColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankCountry" 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_SAPBillInfo.CustomerID" Width="1px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC" Height="10px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankCode" Width="80px" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton3" runat="server" XClass="Oimec.Dialogs.BankInfoButton" Width="40px" DataMap="BankCountry->DF_Partner_SAPBillInfo.BankCountry;BankName->DF_Partner_SAPBillInfo.BankName;BankCode->DF_Partner_SAPBillInfo.BankCode" Text="查询"></aspxform:XCustomBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton4" runat="server" XClass="Oimec.Dialogs.BankInfoGYAddButton" Width="40px" Text="新建"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankName" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_Partner_SAPBillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Partner_SAPBillInfo.AccountOwner" Width="98%" CssClass="text" Express="javascript('GetAccountOwner',DF_Partner_SAPBillInfo.AccountOwner,DF_Partner_SAPSupplier.SupplierName)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_Partner_SAPBillInfo.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_SAPBillInfo.BillingTel" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ControlToValidate="XTextBox28" ErrorMessage="请输入银行账号" Display="None" ForeColor="Red" DisableExpress='DF_Partner_SAPBillInfo.BankCode==""'>请输入银行账号</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1" xdatasource="TableName:DF_Partner_VendorBillInfo;Filter:PartnerID->varCustomer" datamap="AccountOwner->DF_Partner_SAPSupplierBillInfo.AccountOwner;BankName->DF_Partner_SAPSupplierBillInfo.BankName;BankAccount->DF_Partner_SAPSupplierBillInfo.BankAccount;BankAddress->DF_Partner_SAPSupplierBillInfo.BankAddress;BankCode->DF_Partner_SAPSupplierBillInfo.BankCode;BankCountry->DF_Partner_SAPSupplierBillInfo.BankCountry;BankZIPCODE->DF_Partner_SAPSupplierBillInfo.BankZIPCODE;SWIFTCode->DF_Partner_SAPSupplierBillInfo.SWIFTCode;IBANCode->DF_Partner_SAPSupplierBillInfo.IBANCode">
            <tbody>
                <tr>
                    <td class="title1" colspan="10">
                        <asp:Label id="XLabel11" 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="XLabel17" runat="server" text="银行国家" valuetodisplaytext value></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label7" runat="server" text="银行代码" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel19" 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="Label9" runat="server" text="账户持有人" valuetodisplaytext value></asp:Label></td>
                    <td class="tds">
                        <asp:Label id="XLabel21" runat="server" text="银行地址" valuetodisplaytext value></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="XLabel22" runat="server" text="SWIFT CODE" valuetodisplaytext value></asp:Label></td>
                    <td class="tds">
                        <asp:Label id="XLabel23" runat="server" text="IBAN CODE" valuetodisplaytext value></asp:Label></td>
                    <td width="100" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel52" 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_SAPSupplierBillInfo.LineNumber" BackColor="Transparent" Width="20px" CssClass="text" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.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="XTextBox36" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.BankCode" Width="80%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" XClass="Oimec.Dialogs.BankInfoButton" Width="40px" DataMap="BankCountry->DF_Partner_SAPSupplierBillInfo.BankCountry;BankName->DF_Partner_SAPSupplierBillInfo.BankName;BankAddr->DF_Partner_SAPSupplierBillInfo.BankAddress;BankCode->DF_Partner_SAPSupplierBillInfo.BankCode;ZipCode->DF_Partner_SAPSupplierBillInfo.BankZIPCODE;SWIFT->DF_Partner_SAPSupplierBillInfo.SWIFTCode" Text="查询"></aspxform:XCustomBrowserButton>
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton5" runat="server" XClass="Oimec.Dialogs.BankInfoGYAddButton" Width="40px" Text="新建"></aspxform:XCustomBrowserButton>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.BankName" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.AccountOwner" Width="98%" CssClass="text" Express="javascript('GetAccountOwner',DF_Partner_SAPSupplierBillInfo.AccountOwner,DF_Partner_SAPSupplier.SupplierName)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.BankAddress" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.SWIFTCode" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode" Width="100%" CssClass="text" Max="34" MaxLength="34"></aspxform:XTextBox>
                        <%--                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode2" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode3" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode4" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode5" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode6" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode7" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode8" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.IBANCode9" Width="30" CssClass="text" MaxLength="2"></aspxform:XTextBox>--%></td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_Partner_SAPSupplierBillInfo.BankZIPCODE" Width="98%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ControlToValidate="XTextBox6" ErrorMessage="请输入银行账号" Display="None" ForeColor="Red" DisableExpress='DF_Partner_SAPSupplierBillInfo.BankCode==""'>请输入银行账号</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1709" align="center" class="table" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1" xdatasource='TableName:V_DF_MSupplier_Contact;Filter:CustomerID->DF_Partner_SAPSupplier.SupplierID,ContactType->"供应商"' datamap="ContactName->DF_Partner_SAPContactZK.ContactName;ContactTel->DF_Partner_SAPContactZK.ContactTel;ContactMobile->DF_Partner_SAPContactZK.ContactMobile;ContactEmail->DF_Partner_SAPContactZK.ContactEmail;ContactDept->DF_Partner_SAPContactZK.ContactDept;DepartType->DF_Partner_SAPContactZK.DepartType;Position->DF_Partner_SAPContactZK.Position;Fax->DF_Partner_SAPContactZK.Fax;ContactAddr->DF_Partner_SAPContactZK.ContactAddr">
            <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="194" 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="37" height="28" class="tds" style="TEXT-ALIGN: center">
                        <asp:Label id="XLabel32" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                    <td width="78" class="tds">
                        <asp:Label id="XLabel44" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                    <td width="115" class="tds">
                        <asp:Label id="Label3" runat="server" text="部门" valuetodisplaytext value></asp:Label></td>
                    <td width="121" class="tds">
                        <asp:Label id="Label4" runat="server" text="职位" valuetodisplaytext value></asp:Label></td>
                    <td width="163" class="tds">
                        <asp:Label id="XLabel45" runat="server" text="联系电话" valuetodisplaytext value></asp:Label></td>
                    <td width="116" class="tds">
                        <asp:Label id="XLabel46" runat="server" text="手机" valuetodisplaytext value></asp:Label></td>
                    <td width="194" class="tds">
                        <asp:Label id="XLabel47" runat="server" text="传真" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds">
                        <asp:Label id="XLabel33" runat="server" text="Email" valuetodisplaytext value></asp:Label></td>
                    <td width="200" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="Label2" runat="server" text="地址" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_Partner_SAPContactZK.LineNumber" BackColor="Transparent" Width="20px" CssClass="text" BorderColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_Partner_SAPContactZK.ContactName" Width="95%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_Partner_SAPContactZK.CustomerID" ValueToDisplayText Value Width="1px" HiddenInput="True" Max="0" Min="0" BorderWidth="1px" BorderColor="Gainsboro" BorderStyle="Dotted"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_Partner_SAPContactZK.OwnerAccount" ValueToDisplayText Value Width="21px" HiddenInput="True" Max="0" Min="0" BorderWidth="1px" BorderColor="Gainsboro" Express="DF_Partner_SAPSupplier.CreateName" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_Partner_SAPContactZK.ContactDept" Width="10px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC" Height="20px"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownListdt" runat="server" XDataBind="DF_Partner_SAPContactZK.DepartType" Width="100%" ValueColumn="Name" DisplayColumn="Name" XDataSource='TableName:DF_DataSourceList;Filter:Type->"部门";OrderBy:OrderID' PromptText="----请选择----" DataMap="Value->DF_Partner_SAPContactZK.ContactDept"></aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_Partner_SAPContactZK.Position" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="DF_Partner_SAPContactZK.ContactTel" Width="100%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_Partner_SAPContactZK.ContactMobile" Width="100%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_Partner_SAPContactZK.Fax" Width="100%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_Partner_SAPContactZK.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_SAPContactZK.ContactAddr" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ControlToValidate="XTextBox43" ErrorMessage="请输入联系人姓名" Display="None" ForeColor="Red">请输入联系人姓名</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel27" runat="server" text="备注" valuetodisplaytext value></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_SAPSupplier.Remarks" ValueToDisplayText Value Width="100%" CssClass="text" HiddenInput="False" Max="0" Min="0" BorderWidth="1px" Height="76px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22">
                    </td>
                    <td>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <p align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
        </p>
    </form>
</body>
</html>
