<%@ 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">

        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_SAPSupplier.FormNO" BackColor="#8AB3DF" ValueToDisplayText Value></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <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_SAPSupplier.CreateName" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" Width="70%" CssClass="text"></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_SAPSupplier.CreateDate" Width="50%" CssClass="text"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请输入供应商名称！" Display="Dynamic">请输入供应商名称！</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ControlToValidate="XDropDownList5" ErrorMessage="请选择供应商属性"></aspxform:XRequiredFieldValidator>
        <br />
        <table 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" Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                        <%--<aspxform:XTextBox id="XTextBox30" runat="server" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="1" Express="javascript('customerSAp',DF_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_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_SAPSupplier.AgencyBrand" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="26" 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_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_SAPSupplier.IsForeign" Width="50%" PromptText="--请选择--">
                            <asp:ListItem Value="0">国内</asp:ListItem>
                            <asp:ListItem Value="1">国外</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table 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></td>
                    <td class="basictextfirst" style="WIDTH: 39%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_SAPSupplier.SupplierID" ValueToDisplayText="TableName:DF_MasterData_Supplier;FilterColumn:SupplierID;DisplayColumn:SupplierID" Width="70%" CssClass="text1" Express="varCustomer" DisableExpress="1" DataMap="SupplierName->DF_SAPSupplier.SupplierName;OrderCurrency->DF_SAPSupplier.OrderCurrency;PaymentMode->DF_SAPSupplier.PaymentMode;PaymentModeDes->DF_SAPSupplier.PaymentModeDes;SupplierStatus->DF_SAPSupplier.SupplierStatus;AgencyBrand->DF_SAPSupplier.AgencyBrand;IsForeign->DF_SAPSupplier.IsForeign;Country->DF_SAPSupplier.Country"></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_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_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="请选择订货币种"></aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ControlToValidate="XDropDownList11" ErrorMessage="请选择付款方式"></aspxform:XRequiredFieldValidator>
        <br />
        <table 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_SAPSupplier.CompanyCode" Width="50%" XDataSource="TableName:V_DF_DataSource_CompanyCode" DisplayColumn="Name" ValueColumn="Value" PromptText="--请选择--" DataMap="Name->DF_SAPSupplier.CompanyCodeDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel24" runat="server" Value ValueToDisplayText text="Label" XDataBind="DF_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_SAPSupplier.PurchaseOrg" Width="50%" XDataSource="TableName:V_DF_DataSource_PurchaseOrg" DisplayColumn="Name" ValueColumn="Value" PromptText="--请选择--" DataMap="Name->DF_SAPSupplier.PurchaseOrgDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel25" runat="server" Value ValueToDisplayText text="Label" XDataBind="DF_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_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" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel62" runat="server" text="付款方式" valuetodisplaytext value></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 39%">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_SAPSupplier.PaymentMode" Width="50%" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_PayItems" PromptText="--请选择--" DataMap="Name->DF_SAPSupplier.PaymentModeDes">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XLabel id="XLabel26" runat="server" text="Label" XDataBind="DF_SAPSupplier.PaymentModeDes" ValueToDisplayText Value HiddenExpress="1"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" menudock="Left" dynamicarea="2,1" xdatasource="TableName:V_DF_MDataBill;Filter:CustomerID->varCustomer;BufferType:RuntimeUpdate" datamap="CustomerID->DF_MCustomer_BillInfo.CustomerID;Tariff->DF_MCustomer_BillInfo.Tariff;BankAccount->DF_MCustomer_BillInfo.BankAccount;BillingAddress->DF_MCustomer_BillInfo.BillingAddress;BankName->DF_MCustomer_BillInfo.BankName;BillingTel->DF_MCustomer_BillInfo.BillingTel;LineNumber->DF_MCustomer_BillInfo.LineNumber;BankCountry->DF_MCustomer_BillInfo.BankCountry">
            <tbody>
                <tr>
                    <td class="title1" colspan="7">
                        <asp:Label id="XLabel28" runat="server" text="国内供应商开票信息" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="16" class="tds" style="WIDTH: 5%; 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 class="tds" style="WIDTH: 130px">
                        <asp:Label id="XLabel30" runat="server" text="税号" valuetodisplaytext value></asp:Label></td>
                    <td width="180" class="tds">
                        <asp:Label id="XLabel34" runat="server" text="银行账号" valuetodisplaytext value></asp:Label></td>
                    <td class="tds" style="WIDTH: 250px">
                        <asp:Label id="XLabel35" runat="server" text="开票地址" valuetodisplaytext value></asp:Label></td>
                    <td class="tds" style="WIDTH: 250px">
                        <asp:Label id="XLabel36" 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 class="tds1" style="WIDTH: 5%; TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" XDataBind="DF_MCustomer_BillInfo.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_MCustomer_BillInfo.BankCountry" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Country" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_MCustomer_BillInfo.Tariff" Width="90%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_MCustomer_BillInfo.CustomerID" Width="1px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC" Height="1px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_MCustomer_BillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingAddress" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_MCustomer_BillInfo.BankName" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_MCustomer_BillInfo.BillingTel" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" menudock="Left" dynamicarea="2,1" xdatasource="TableName:V_DF_MSupplier_BankInfo;Filter:SupplierID->varCustomer" datamap="IBANCode3->DF_MSupplier_BillInfo.IBANCode3;IBANCode2->DF_MSupplier_BillInfo.IBANCode2;BankName->DF_MSupplier_BillInfo.BankName;IBANCode7->DF_MSupplier_BillInfo.IBANCode7;IBANCode6->DF_MSupplier_BillInfo.IBANCode6;IBANCode5->DF_MSupplier_BillInfo.IBANCode5;IBANCode->DF_MSupplier_BillInfo.IBANCode;IBANCode4->DF_MSupplier_BillInfo.IBANCode4;IBANCode8->DF_MSupplier_BillInfo.IBANCode8;BankAddress->DF_MSupplier_BillInfo.BankAddress;IBANCode9->DF_MSupplier_BillInfo.IBANCode9;SWIFTCode->DF_MSupplier_BillInfo.SWIFTCode;BankAccount->DF_MSupplier_BillInfo.BankAccount;BankZIPCODE->DF_MSupplier_BillInfo.BankZIPCODE;BankCountry->DF_MSupplier_BillInfo.BankCountry">
            <tbody>
                <tr>
                    <td class="title1" colspan="8">
                        <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="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 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_MSupplier_BillInfo.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_MSupplier_BillInfo.BankCountry" ValueColumn="Value" DisplayColumn="Name" XDataSource="TableName:V_DF_DataSource_Country" PromptText="--请选择--">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_MSupplier_BillInfo.BankName" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_MSupplier_BillInfo.BankAccount" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_MSupplier_BillInfo.BankAddress" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_MSupplier_BillInfo.SWIFTCode" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode2" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode3" Width="30" CssClass="text" Max="4" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode4" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode5" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode6" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode7" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_MSupplier_BillInfo.IBANCode8" Width="30" CssClass="text" MaxLength="4"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_MSupplier_BillInfo.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_MSupplier_BillInfo.BankZIPCODE" Width="98%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" menudock="Left" dynamicarea="2,1" xdatasource="TableName:V_DF_MDataAddr;Filter:CustomerID->varCustomer;BufferType:RuntimeUpdate" datamap="LineNumber->DF_MCustomer_Address.LineNumber;Address->DF_MCustomer_Address.Address;ZipCode->DF_MCustomer_Address.ZipCode;CustomerID->DF_MCustomer_Address.CustomerID;AddrType->DF_MCustomer_Address.AddrType">
            <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="XLabel29" runat="server" text="序号"></asp:Label></td>
                    <td class="tds" style="WIDTH: 150px; TEXT-ALIGN: center">
                        <asp:Label id="XLabel31" 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" XDataBind="DF_MCustomer_Address.LineNumber" BackColor="Transparent" Width="20px" CssClass="text" BorderColor="Transparent" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_MCustomer_Address.CustomerID" Width="1px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList8" runat="server" XDataBind="DF_MCustomer_Address.AddrType" Width="99%">
                            <asp:ListItem>中文地址</asp:ListItem>
                            <asp:ListItem>英文地址</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_MCustomer_Address.Address" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_MCustomer_Address.ZipCode" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="796" align="center" class="table" menudock="Left" dynamicarea="2,1" xdatasource="TableName:V_DF_MSupplier_Contact;Filter:CustomerID->DF_SAPSupplier.SupplierID" datamap="ContactName->DF_MCustomer_Contact.ContactName;ContactTelCode->DF_MCustomer_Contact.ContactTelCode;ContactTel->DF_MCustomer_Contact.ContactTel;ContactTelExt->DF_MCustomer_Contact.ContactTelExt;ContactMobile->DF_MCustomer_Contact.ContactMobile;ContactEmail->DF_MCustomer_Contact.ContactEmail;Fax->DF_MCustomer_Contact.Fax">
            <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" 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="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 class="tds" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <asp:Label id="XLabel33" runat="server" text="Email" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="TEXT-ALIGN: center">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_MCustomer_Contact.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_MCustomer_Contact.ContactName" Width="95%" CssClass="text"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_MCustomer_Contact.CustomerID" ValueToDisplayText Value Width="1px" Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" BorderStyle="Dotted"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_MCustomer_Contact.OwnerAccount" ValueToDisplayText Value Width="21px" Max="0" Min="0" HiddenInput="True" BorderWidth="1px" BorderColor="Gainsboro" Express="DF_SAPSupplier.CreateName" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_MCustomer_Contact.ContactTelCode" Width="40px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XLabel id="XLabel58" runat="server" ValueToDisplayText Value CssClass="lbl" Text="－"></aspxform:XLabel>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="DF_MCustomer_Contact.ContactTel" Width="160px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XLabel id="XLabel59" runat="server" ValueToDisplayText Value CssClass="lbl" Text="－"></aspxform:XLabel>
                        </div>
                        <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="DF_MCustomer_Contact.ContactTelExt" Width="40px" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_MCustomer_Contact.ContactMobile" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_MCustomer_Contact.FaxCode" Width="40px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XLabel id="XLabel53" runat="server" ValueToDisplayText Value CssClass="lbl" Text="－"></aspxform:XLabel>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_MCustomer_Contact.Fax" Width="160px" CssClass="text"></aspxform:XTextBox>
                        </div>
                        <div style="FLOAT: left">
                            <aspxform:XLabel id="XLabel54" runat="server" ValueToDisplayText Value CssClass="lbl" Text="－"></aspxform:XLabel>
                        </div>
                        <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_MCustomer_Contact.FaxExt" Width="40px" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_MCustomer_Contact.ContactEmail" Width="99%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table 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_SAPSupplier.Remarks" ValueToDisplayText Value Width="100%" CssClass="text" Max="0" Min="0" HiddenInput="False" 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">
                        <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" SaveAsTemplateButtonVisible="False" PositionSelectVisible="False"></aspxform:XProcessButtonList>
                    </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>
