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

    // Insert page code here
    //

</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;
        }

        .yz-inp-cnt {
            display: inline;
        }
    </style>
    <script type="text/javascript">

        agent.on('beforeSubmit', function () {
            var flag = 0;
            var input = document.getElementsByTagName("input");
            if (input.length > 0) {
                for (var i = 0; i < input.length; i++) {
                    if (input[i].type == "checkbox") {
                        if (input[i].checked == true || input[i].checked == "checked") {
                            flag = 1;
                        }
                    }
                }
            }
            if (flag == 0) {
                alert("请选择付款银行！");
                return false;
            }

        });

        function PaymentAmountDes(payment,currency)
        {
            if (payment != '')
                return payment + " " + currency;
            else
                return "0" + " " + currency;
        }

        Ext.onReady(function () {
            //颐合/HSOIC 公司，超过10W美金
            var stepName = agent.Eles[document.getElementById('XTextBox42').getAttribute("xform_xele_index")].getValue();
            if (stepName == "业务员向客户索要报关单") {
                var companyCode = agent.Eles[document.getElementById('XTextBox21').getAttribute("xform_xele_index")].getValue();
                var amount = agent.Eles[document.getElementById('XTextBox41').getAttribute("xform_xele_index")].getValue();
                if ((companyCode == "2000" || companyCode == "A300") && amount > 100000) {
                    Ext.MessageBox.alert("系统提示：", "此单外币付款超过等值10万美金，需提交“报关申报单位盖章的报关单付汇联”，否则无法核销应收款。");
                }
            }
        });

        function Print() {
            var temp = document.getElementById('XLabel3').innerText;

            window.open("外币付款表单Print.aspx?serialNum=" + temp);
        }

    </script>
</head>
<body>
    <form runat="server">
        <div style="TEXT-ALIGN: center">
            <!-- Insert content here -->
            <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: 10px">
                            <asp:Label id="XLabel1" runat="server" text="外币采购支付申请表"></asp:Label></td>
                        <td class="formno">
                            <asp:Label id="XLabel2" runat="server" text="表单号："></asp:Label>
                            <aspxform:XLabel id="XLabel3" runat="server" ForeColor="White" Font-Bold="true" BackColor="#8AB3DF" ValueToDisplayText XDataBind="DF_Purchase_ForeignPayment.FormNo" Value Text="-系统自动生成-"></aspxform:XLabel>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
            <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td width="800" align="left">
                            <asp:Label id="Label10" runat="server" text="标记 * 的为申请人必填项" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label20" runat="server" text="标记 * 的为业务员必填项" forecolor="Blue"></asp:Label></td>
                        <td width="1000" align="right">
                            <aspxform:XButton id="XButton21" runat="server" Text="打印" XClass="YZSoft.Forms.Field.Button" OnClientClick="Print()" UseSubmitBehavior="False" Height="23px"></aspxform:XButton>
                        </td>
                    </tr>
                </tbody>
            </table>
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="XLabel4" runat="server" text="用户信息"></asp:Label>
                            <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="Global.StepName" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="19" class="ts" style="WIDTH: 10%">
                            <asp:Label id="XLabel5" runat="server" text="申请人"></asp:Label>
                            <aspxform:XTextBox id="XTextBox31" runat="server" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" XDataBind="DF_Purchase_ForeignPayment.AppAccount" BorderColor="#DCDCDC" BorderWidth="1" DataMap="Department->DF_Purchase_ForeignPayment.AppDepart" Width="20px" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox1" runat="server" BackColor="#e6f1f8" ValueToDisplayText XDataBind="DF_Purchase_ForeignPayment.AppName" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" Width="70%" CssClass="text"></aspxform:XTextBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="XLabel20" runat="server" text="创建日期"></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" BackColor="#E6F1F8" XDataBind="DF_Purchase_ForeignPayment.CreateDate" BorderColor="#DCDCDC" BorderWidth="1" Width="50%" DisableExpress="1" DisplayOnly="True"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="XLabel21" runat="server" text="部门"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox2" runat="server" BackColor="#E6F1F8" XDataBind="DF_Purchase_ForeignPayment.AppDepart" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" Width="70%" CssClass="text"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label19" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel41" runat="server" text="业务类型"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList26" runat="server" XDataBind="DF_Purchase_ForeignPayment.BusinessType" DisableExpress="Global.StepName!='外币采购岗申请'">
                                <asp:ListItem Selected="True" Value="销售业务">销售业务</asp:ListItem>
                                <asp:ListItem Value="租赁业务">租赁业务</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择业务类型" ControlToValidate="XDropDownList26" ValidationGroup="submit">请选择业务类型</aspxform:XRequiredFieldValidator>
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td height="23" class="title1" colspan="4">
                            <asp:Label id="XLabel6" runat="server" text="付款申请信息"></asp:Label>
                            <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="varsapNumber" BorderColor="#DCDCDC" BorderWidth="1" Width="50px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox39" runat="server" ValueToDisplayText="TableName:DF_SA_SS_ExchangeRate;FilterColumn:ForeignCurrency;DisplayColumn:ForeignCurrency" XDataBind="varRate" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" DataMap="ComputeRate->varRate1" Width="54px">USD</aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox40" runat="server" ValueToDisplayText XDataBind="varRate1" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" Width="54px"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText XDataBind="varRate2" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" Width="49px"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="130" height="24" class="tsbottomlabel">
                            <%--<aspxform:XButton id="XButton1" runat="server" Text="Button" DataMap="Col1->DF_Purchase_BankInfo.BankAccount;Col2->DF_Purchase_BankInfo.BankAddress;Col3->DF_Purchase_BankInfo.BankCountry;Col4->DF_Purchase_BankInfo.Account;Col5->DF_Purchase_BankInfo.AccountOwner;Col6->DF_Purchase_BankInfo.SWIFCode;Col7->DF_Purchase_BankInfo.IBANCode" HiddenExpress="1" AppendMode="ClearAndAppend" MultiSelect="True"></aspxform:XButton>--%><%--<aspxform:XButton ID="XButton1" runat="server" Text="Button" DataMap="Col1->DF_Purchase_BankInfo.BankAccount;Col2->DF_Purchase_BankInfo.BankAddress;Col3->DF_Purchase_BankInfo.BankCountry;Col4->DF_Purchase_BankInfo.Account;Col5->DF_Purchase_BankInfo.AccountOwner;Col6->DF_Purchase_BankInfo.SWIFCode;Col7->DF_Purchase_BankInfo.IBANCode" AppendMode="ClearAndAppend"  MultiSelect="True"></aspxform:XButton>--%><asp:Label id="Label11" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel8" runat="server" text="SAP-PO号" valuetodisplaytext value></asp:Label></td>
                        <td width="466" class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Purchase_ForeignPayment.PONumber" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox45" runat="server" BackColor="#E6F1F8" ValueToDisplayText="TableName:V_DF_PurchaseHandlerTask;FilterColumn:PO;DisplayColumn:PO" XDataBind="po" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" DataMap="TaskID->DF_Purchase_ForeignPayment.PurchaseHandlerTaskID;FormNo->DF_Purchase_ForeignPayment.PurchaseHandlerFormNo" Width="30" CssClass="text" Express="DF_Purchase_ForeignPayment.PONumber" ReadOnly="True"></aspxform:XTextBox>
                            &nbsp;&nbsp;&nbsp;&nbsp; 
                        </td>
                        <td width="83" class="tsbottomlabel">
                            <asp:Label id="Label22" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="Label13" runat="server" text="采购币种" valuetodisplaytext value></asp:Label></td>
                        <td width="466" class="tsbottomtext">
                            <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_Purchase_ForeignPayment.Currency" DataMap="ComputeRate->varRate2" DisableExpress="Global.StepName!='外币采购岗申请'" DisplayColumn="ForeignCurrency" PromptText="--请选择--" ValueColumn="ForeignCurrency" XDataSource="TableName:DF_SA_SS_ExchangeRate"></aspxform:XDropDownList>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td width="83" class="tsbottomlabel">
                            <asp:Label id="Label23" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel34" runat="server" text="采购合同号" valuetodisplaytext value></asp:Label></td>
                        <td width="466" class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_Purchase_ForeignPayment.ContractNo" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                        <td height="24" class="tsbottomlabel">
                            <asp:Label id="Label21" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel32" runat="server" text="公司代码" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_Purchase_ForeignPayment.CompanyCode" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="tsbottomlabel">
                            <asp:Label id="Label24" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel9" runat="server" text="付款金额"></asp:Label>
                            <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_Purchase_ForeignPayment.PaymentAmountDis" Value HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" Width="67px" Express="javascript('PaymentAmountDes',DF_Purchase_ForeignPayment.PaymentAmount,DF_Purchase_ForeignPayment.Currency)"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_Purchase_ForeignPayment.PaymentAmount" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'" Format="type:currency;.2"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_Purchase_ForeignPayment.PaymentAmountCNY" Value HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" Width="67px" Express="DF_Purchase_ForeignPayment.PaymentAmount*varRate2"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label12" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel10" runat="server" text="付款方式" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Purchase_ForeignPayment.PaymentType" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="25" class="tsbottomlabel">
                            <asp:Label id="XLabel11" runat="server" text="合同金额" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_Purchase_ForeignPayment.ContractAmount" Value HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" Width="30px"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_Purchase_ForeignPayment.ContractAmountDis" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox23" runat="server" ValueToDisplayText XDataBind="DF_Purchase_ForeignPayment.ContractAmountCNY" Value HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" Width="67px"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_Purchase_ForeignPayment.ContractAmountUSD" HiddenInput="True" BorderColor="#DCDCDC" BorderWidth="1" Width="20px" Express="DF_Purchase_ForeignPayment.PaymentAmountCNY/varRate1" Format="type:number;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label27" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel12" runat="server" text="计划付款日期" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_Purchase_ForeignPayment.PlanDate" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr>
                        <td height="24" class="tsbottomlabel">
                            <asp:Label id="XLabel15" runat="server" text="供应商地址" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_Purchase_ForeignPayment.SupplierAddr" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel16" runat="server" text="发货日期" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox34" runat="server" ValueToDisplayText XDataBind="DF_Purchase_ForeignPayment.SendPrdDate" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'" width="70%"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="24" class="tsbottomlabel">
                            <asp:Label id="Label26" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel13" runat="server" text="受益人" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Purchase_ForeignPayment.Beneficiary" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" CssClass="text"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel14" runat="server" text="受益人SAP系统号" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Purchase_ForeignPayment.SAPCode" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="24" class="tsbottomlabel">
                            <asp:Label id="XLabel18" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Purchase_ForeignPayment.Contact" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel17" runat="server" text="电话" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_Purchase_ForeignPayment.Telphone" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel33" runat="server" text="财务安排付款日期" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XDateTimePicker id="XDateTimePicker4" runat="server" XDataBind="DF_Purchase_ForeignPayment.PlanDate2" BorderColor="#DCDCDC" BorderWidth="1" Width="50%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'" Express="DF_Purchase_ForeignPayment.PlanDate"></aspxform:XDateTimePicker>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label1" runat="server" text="租赁本期金额"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_Purchase_ForeignPayment.RentAmount" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label2" runat="server" text="返点使用金额"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_Purchase_ForeignPayment.Rebate" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            &nbsp;<asp:Label id="Label3" runat="server" text="返点币种"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_Purchase_ForeignPayment.RebateCurrency" Width="100px" DisableExpress="Global.StepName!='外币采购岗申请'" DisplayColumn="Name" PromptText="----请选择----" ValueColumn="Name" XDataSource="TableName:V_DF_SA_SS_SalesCurrency"></aspxform:XDropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label5" runat="server" text="SAP-SO号"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox36" runat="server" XDataBind="DF_Purchase_ForeignPayment.SO" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label6" runat="server" text="SAP-SO业务员"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="DF_Purchase_ForeignPayment.SalesMan" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="1" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_Purchase_ForeignPayment.SalesManAccount" HiddenInput="true" BorderColor="#DCDCDC" BorderWidth="1" Width="20" CssClass="text"></aspxform:XTextBox>
                            <aspxform:XSelectUserButton id="XSelectUserButton1" runat="server" DataMap="Account->DF_Purchase_ForeignPayment.SalesManAccount;DisplayName->DF_Purchase_ForeignPayment.SalesMan" Width="21px"></aspxform:XSelectUserButton>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label8" runat="server" text="客户名称"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_Purchase_ForeignPayment.CustomerName" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'" Rows="2"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label9" runat="server" text="客户合同号"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="DF_Purchase_ForeignPayment.CustomerContractNo" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableExpress="Global.StepName!='外币采购岗申请'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label7" runat="server" text="采购处理单号"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox44" runat="server" BackColor="#E6F1F8" XDataBind="DF_Purchase_ForeignPayment.PurchaseHandlerFormNo" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                            <aspxform:XHistoryFormLink id="XHistoryFormLink1" runat="server" BackColor="#d4e4fe" XDataBind="DF_Purchase_ForeignPayment.PurchaseHandlerTaskID" EmptyText="尚未关联" PopupWndHeight="-1" PopupWndWidth="-1">查看详情</aspxform:XHistoryFormLink>
                        </td>
                        <td class="tsbottomlabel">
                        </td>
                        <td class="tsbottomtext">
                        </td>
                    </tr>
                    <tr>
                        <td height="24" class="tsbottomlabel">
                            <asp:Label id="XLabel19" runat="server" text="情况备注"></asp:Label></td>
                        <td class="tsbottomtext" colspan="3">
                            <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_Purchase_ForeignPayment.Remark" Height="66px" HiddenInput="False" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" Width="90%" CssClass="text" TextMode="MultiLine"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入SAP-PO号" ControlToValidate="XTextBox4" ValidationGroup="submit">请输入SAP-PO号</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入公司代码" ControlToValidate="XTextBox21" ValidationGroup="submit">请输入公司代码</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入付款方式" ControlToValidate="XTextBox6" ValidationGroup="submit">请输入付款方式</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入采购合同号" ControlToValidate="XTextBox27" ValidationGroup="submit">请输入采购合同号</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入付款金额" ControlToValidate="XTextBox5" ValidationGroup="submit">请输入付款金额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ForeColor="Red" Display="None" ErrorMessage="请选择采购币种" ControlToValidate="XDropDownList1" ValidationGroup="submit">请选择采购币种</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入计划付款日期" ControlToValidate="XDateTimePicker1" ValidationGroup="submit">请输入计划付款日期</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ForeColor="Red" ErrorMessage="请输入受益人" ControlToValidate="XTextBox8" ValidationGroup="submit">请输入受益人</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" ForeColor="Red" ErrorMessage="请选择SAP-SO业务员" ControlToValidate="XTextBox37" ValidationGroup="submit">请选择SAP-SO业务员</aspxform:XRequiredFieldValidator>
            <br />
            <table width="1200" align="center" class="table" dynamicarea="2,1">
                <tbody>
                    <tr>
                        <td height="27" style="FONT-SIZE: 16px; BORDER-TOP: #93a1ae 1px solid; FONT-FAMILY: 微软雅黑; BORDER-RIGHT: #93a1ae 1px solid; BORDER-BOTTOM: #b2bcc6 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #93a1ae 1px solid; BACKGROUND-COLOR: #c1d7ec" colspan="9">
                            受益人银行信息 
                        </td>
                    </tr>
                    <tr>
                        <td width="109" height="18" align="center" class="tds">
                            <asp:Label id="Label14" runat="server" text="选择" valuetodisplaytext value></asp:Label></td>
                        <td width="38" height="18" align="center" class="tds">
                            <asp:Label id="XLabel24" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                        <td width="128" align="center" class="tds">
                            <asp:Label id="XLabel25" runat="server" text="开户行 " valuetodisplaytext value></asp:Label></td>
                        <td width="144" align="center" class="tds">
                            <asp:Label id="XLabel26" runat="server" text="银行地址" valuetodisplaytext value></asp:Label></td>
                        <td width="73" align="center" class="tds">
                            <asp:Label id="XLabel27" runat="server" text="银行国家" valuetodisplaytext value></asp:Label></td>
                        <td width="108" align="center" class="tds">
                            <asp:Label id="Label25" runat="server" text="*" forecolor="Red"></asp:Label><asp:Label id="XLabel28" runat="server" text="开户账号" valuetodisplaytext value></asp:Label></td>
                        <td width="73" align="center" class="tds">
                            <asp:Label id="XLabel29" runat="server" text="账户持有人" valuetodisplaytext value></asp:Label></td>
                        <td width="117" align="center" class="tds">
                            <asp:Label id="XLabel30" runat="server" text="SWIFT CODE" valuetodisplaytext value></asp:Label></td>
                        <td width="115" align="center" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                            <asp:Label id="XLabel31" runat="server" text="IBAN CODE" valuetodisplaytext value></asp:Label></td>
                    </tr>
                    <tr>
                        <td height="25" align="center" class="tds1">
                            <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_Purchase_BankInfo.IsChecked" CssClass="check"></aspxform:XCheckBox>
                        </td>
                        <td height="25" align="center" class="tds1">
                            <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_Purchase_BankInfo.LineNumber" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Purchase_BankInfo.BankAccount" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_Purchase_BankInfo.BankAddress" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_Purchase_BankInfo.BankCountry" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_Purchase_BankInfo.Account" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Purchase_BankInfo.AccountOwner" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_Purchase_BankInfo.SWIFCode" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                            <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_Purchase_BankInfo.IBANCode" Width="99.9%" CssClass="text1"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" ForeColor="Red" Display="None" ErrorMessage="请输入开户账号" ControlToValidate="XTextBox17" ValidationGroup="submit">请输入开户账号</aspxform:XRequiredFieldValidator>
            <br />
            <table width="1200" align="center" class="table" dynamicarea="2,1" menudock="Left">
                <tbody>
                    <tr>
                        <td height="27" style="FONT-SIZE: 16px; BORDER-TOP: #93a1ae 1px solid; FONT-FAMILY: 微软雅黑; BORDER-RIGHT: #93a1ae 1px solid; BORDER-BOTTOM: #b2bcc6 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #93a1ae 1px solid; BACKGROUND-COLOR: #c1d7ec" colspan="3">
                            <asp:Label id="XLabel35" runat="server" text="采购订单明细"></asp:Label></td>
                    </tr>
                    <tr>
                        <td width="50" height="18" align="center" class="tds">
                            <asp:Label id="XLabel36" runat="server" text="序号" valuetodisplaytext value></asp:Label></td>
                        <%--<td class="tds" width="200" align="center">
                        <aspxform:XLabel id="XLabel37" runat="server" text="PO号 " ValueToDisplayText Value></aspxform:XLabel>
                    </td>--%> 
                        <td width="200" align="center" class="tds">
                            <asp:Label id="Label15" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel38" runat="server" text="PO行号" valuetodisplaytext value></asp:Label></td>
                        <td align="center" class="tds" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                            <asp:Label id="XLabel39" runat="server" text="备注" valuetodisplaytext value></asp:Label></td>
                    </tr>
                    <tr>
                        <td width="50" height="25" align="center" class="tds1">
                            <aspxform:XGridLineNo id="XGridLineNo2" runat="server" BackColor="Transparent" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                        </td>
                        <%-- <td class="tds1" width="200">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.PONumber" CssClass="text1" backColor="#e6f1f8" ReadOnly="True" width="99.9%"></aspxform:XTextBox>
                    </td>--%> 
                        <td width="200" class="tds1">
                            <aspxform:XTextBox id="XTextBox29" runat="server" BackColor="White" XDataBind="DF_Purchase_ForeignPaymentDetail.PORowNumber" BorderColor="Gainsboro" Width="99.9%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                            <aspxform:XTextBox id="XTextBox30" runat="server" BackColor="White" XDataBind="DF_Purchase_ForeignPaymentDetail.Remark" BorderColor="Gainsboro" Width="99.9%"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
            <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr class="title1">
                        <td class="td1" style="HEIGHT: 14px">
                            <asp:Label id="Label16" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel22" runat="server" text="上传合同"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="td1" style="HEIGHT: 20px">
                            <aspxform:XAttachments id="XAttachments1" runat="server" BackColor="#d4e4fe" XDataBind="DF_Purchase_ForeignPayment.ContractAttach" Width="100%" FileTypes="*.pdf;*.jpg;*.png;*.doc;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
            <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr class="title1">
                        <td class="td1" style="HEIGHT: 14px">
                            <asp:Label id="Label17" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel23" runat="server" text="上传发票"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="td1" style="HEIGHT: 20px">
                            <aspxform:XAttachments id="XAttachments2" runat="server" BackColor="#d4e4fe" XDataBind="DF_Purchase_ForeignPayment.InvoiceAttach" Width="100%" FileTypes="*.pdf;*.jpg;*.png;*.doc;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br />
            <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr class="title1">
                        <td class="td1" style="HEIGHT: 14px">
                            <asp:Label id="Label18" runat="server" text="*" forecolor="Blue"></asp:Label>&nbsp;<asp:Label id="Label4" runat="server" text="上传报关单"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="td1" style="HEIGHT: 20px">
                            <aspxform:XAttachments id="XAttachments3" runat="server" BackColor="#d4e4fe" XDataBind="DF_Purchase_ForeignPayment.CustomsAttach" Width="100%" FileTypes="*.pdf;*.jpg;*.png;*.doc;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ForeColor="Red" Display="None" ErrorMessage="请上传合同" ControlToValidate="XAttachments1" ValidationGroup="submit">请上传合同</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ForeColor="Red" Display="None" ErrorMessage="请上传发票" ControlToValidate="XAttachments2" ValidationGroup="submit">请上传发票</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Blue" ErrorMessage="请上传报关单" ControlToValidate="XAttachments3" ValidationGroup="baoguan"></aspxform:XRequiredFieldValidator>
            <br />
            <div style="TEXT-ALIGN: center">
                <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderColor="#dcdcdc" BorderWidth="1" Width="1200px"></aspxform:XSignTrace>
            </div>
        </div>
    </form>
</body>
</html>
