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

        //获取会计凭证号
        Ext.onReady(function () {
            //BPM表单号
            var bpmFormNo = document.getElementById("XLabel3").innerText;
            var voucherCode = agent.Eles[document.getElementById("XTextBox26").getAttribute("xform_xele_index")].getValue();
            var PaySerialNum = agent.Eles[document.getElementById("XTextBox29").getAttribute("xform_xele_index")].getValue(); //批次序列号
            if (bpmFormNo != "" && voucherCode == "") {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/FICOAPIHandler.ashx'),
                    method: 'POST',
                    async: false,
                    disableCaching: true,
                    params: {
                        method: 'GetPaymentVoucherInfo',
                        ZBPM: bpmFormNo,
                        PaySerialNum: PaySerialNum
                    },
                    success: function (action) {
                        var data = action.result.Bean;
                        //alert(action.result.Code);
                        if (action.result.Code == 0) {
                            //alert(data[0].BELNR);
                            agent.Eles[document.getElementById("XTextBox26").getAttribute("xform_xele_index")].setValue(data[0].BELNR);
                        }
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }

        });

        //获取PO信息
        function GetInfo() {
            //PO
            var po = agent.Eles[document.getElementById("XTextBox9").getAttribute("xform_xele_index")].getValue();
            var bt = agent.Eles[document.getElementById("XDropDownList26").getAttribute("xform_xele_index")].getValue();
            if (po != "") {

                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetPoInfoByPaylater',
                        PO: po,
                        BusinessType: bt

                    },
                    success: function (action) {
                        var result = action.result;
                        if (result.Code != 0) {
                            alert(result.Message);
                        }
                        else {
                            var count = result.Value.sRows;
                            if (count > 0) {
                                var items = result.Value.Supplier;
                                //4500045749
                                agent.Eles[document.getElementById("XTextBox4").getAttribute("xform_xele_index")].setValue(items[0].SupplierID);
                                XFormOnChange(agent.Eles[document.getElementById("XTextBox4").getAttribute("xform_xele_index")]);
                                agent.Eles[document.getElementById("XTextBox14").getAttribute("xform_xele_index")].setValue(items[0].SupplierName);
                                  agent.Eles[document.getElementById("XTextBox20").getAttribute("xform_xele_index")].setValue(items[0].SupplierName);
                                agent.Eles[document.getElementById("XTextBox15").getAttribute("xform_xele_index")].setValue(items[0].SupplierAddr);
                                agent.Eles[document.getElementById("XTextBox3").getAttribute("xform_xele_index")].setValue(items[0].ContractAmount);
                                XFormOnChange(agent.Eles[document.getElementById("XTextBox3").getAttribute("xform_xele_index")]);
                                if (items[0].PayItemsDis != '') {
                                    agent.Eles[document.getElementById("XTextBox16").getAttribute("xform_xele_index")].setValue(items[0].PayItemsDis);
                                }
                                else {
                                    agent.Eles[document.getElementById("XTextBox16").getAttribute("xform_xele_index")].setValue(items[0].PayItems);
                                }

                                agent.Eles[document.getElementById("XDropDownList1").getAttribute("xform_xele_index")].setValue(items[0].CompanyCode);
                                agent.Eles[document.getElementById("XTextBox21").getAttribute("xform_xele_index")].setValue(items[0].Currency);
                                var bank = result.Value.Bank;
                                var bRow = result.Value.bRow;
                                if (bRow > 0) {
                                    agent.Eles[document.getElementById("XTextBox19").getAttribute("xform_xele_index")].setValue(bank[0].BankAccount);
                                    agent.Eles[document.getElementById("XTextBox18").getAttribute("xform_xele_index")].setValue(bank[0].BankName);
                                    agent.Eles[document.getElementById("XTextBox22").getAttribute("xform_xele_index")].setValue(bank[0].BNKLZ);
                                }
                            }
                            else {
                                alert("没有供应商信息！请检查PO号是否输入正确！");
                            }
                        }

                    },
                    failure: function (action) {

                    }
                });
            }
        }

        //打印
        function Print() {
            var temp = document.getElementById('XLabel3').innerText;
            window.open("后付款支付表单Print.aspx?serialNum=" + temp);
        }


        /*
        //获取合同应付金额
        function payment(ContractAmount) {
            var FormNo = agent.Eles[document.getElementById("XLabel3").getAttribute("xform_xele_index")].getValue();
            var PO = agent.Eles[document.getElementById("XTextBox9").getAttribute("xform_xele_index")].getValue();
            if (PO != null && PO != '') {

                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetPaymentAmount',
                        po: PO,
                        amount: ContractAmount,
                        formNo: FormNo
                    },
                    success: function (action) {
                        var result = action.result;
                        var value = result.Value;
                        //合同应付金额
                       // agent.Eles[document.getElementById("XTextBox17").getAttribute("xform_xele_index")].setValue(value);
                      //  agent.Eles[document.getElementById("XTextBox8").getAttribute("xform_xele_index")].setValue(value);
                      //  XFormOnChange(agent.Eles[document.getElementById("XTextBox17").getAttribute("xform_xele_index")]);
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }
        }
        */

        //获取合作伙伴超期应收
        function overdueReceivables(supplierID) {

            if (supplierID != null && supplierID != '') {

                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/PurchaseAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetPartnerOverdueReceivables',
                        partnerID: supplierID
                    },
                    success: function (action) {
                        var result = action.result;
                        var value = result.Value;
                        agent.Eles[document.getElementById("XTextBox12").getAttribute("xform_xele_index")].setValue(value);

                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }
        }

    </script>
</head>
<body>
    <form runat="server">
        <!-- 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" text="-系统自动生成-" Value XDataBind="DF_Purchase_Payment.FormNo" ValueToDisplayText BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XButton id="XButton1" runat="server" XClass="YZSoft.Forms.Field.Button" Text="打印" OnClientClick="Print()" UseSubmitBehavior="False" Height="23px"></aspxform:XButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="XLabel4" runat="server" text="用户信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="54" height="19" class="ts">
                        <asp:Label id="XLabel5" runat="server" text="申请人"></asp:Label></td>
                    <td width="414" class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_Purchase_Payment.AppName" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:Name" DisableBehavior="ReadOnly" backColor="#e6f1f8" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DataMap="Department->DF_Purchase_Payment.AppDepart"></aspxform:XTextBox>
                    </td>
                    <td width="113" class="ts">
                        <asp:Label id="XLabel20" runat="server" text="创建时间"></asp:Label></td>
                    <td width="357" class="ts1">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_Purchase_Payment.CreateDate" DisableBehavior="ReadOnly" backColor="#e6f1f8" CssClass="text" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="XLabel21" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Purchase_Payment.AppDepart" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel41" runat="server" text="业务类型"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDropDownList id="XDropDownList26" runat="server" XDataBind="DF_Purchase_Payment.BusinessType" DisableExpress='Global.StepName!="采购岗填写付款申请"'>
                            <asp:ListItem Selected="True" Value="销售业务">销售业务</asp:ListItem>
                            <asp:ListItem Value="租赁业务">租赁业务</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="5">
                        <asp:Label id="XLabel6" runat="server" text="付款基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_Purchase_Payment.POCurrency" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="true"></aspxform:XTextBox>
                        &nbsp;<aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_Purchase_Payment.PaySerialNum" Width="20px" BorderColor="#DCDCDC" HiddenInput="true">001</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="24" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" text="公司代码"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_Purchase_Payment.CompanyCode" Width="35%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varcode" DisplayColumn="Name" ValueColumn="Name"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox7" runat="server" Value XDataBind="varcode" ValueToDisplayText Width="87px" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="True">companycode1</aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel19" runat="server" text="付款类型"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%" colspan="2">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_Purchase_Payment.PaymentType" BackColor="#E6F1F8" Text="后付" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="23" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel15" runat="server" text="PO"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="4">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Purchase_Payment.PONumber" CssClass="text" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        &nbsp; 
                        <aspxform:XTextBox id="XTextBox12_1" runat="server" XDataBind="DF_Purchase_Payment.PONumOther" CssClass="text" Width="535px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <input style="CURSOR: pointer; HEIGHT: 25px" onclick="GetInfo()" type="button" value="获取供应商信息" />
                        <%--&nbsp; <asp:Label id="Label8" runat="server" text="（可以输入多个PO，以“/”分隔）" forecolor="blue"></asp:Label></td>--%></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel10" runat="server" text="供应商号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Purchase_Payment.SupplierNo" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel9" runat="server" text="是否为订货" value valuetodisplaytext></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="2">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_Purchase_Payment.IsOrderGoods" RepeatDirection="Horizontal" PrintOut="False">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel22" runat="server" text="供应商名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_Purchase_Payment.SupplierName" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel23" runat="server" text="供应商地址"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="2">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_Purchase_Payment.SupplierAddress" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel25" runat="server" text="合同金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Purchase_Payment.ContractAmount" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="220px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel26" runat="server" text="付款条件"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="2">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_Purchase_Payment.PayItems" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel7" runat="server" text="支付方式"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_Purchase_Payment.PaymentStyle" Width="35%" ForeColor="Black" Font-Bold="True">
                            <asp:ListItem>电汇</asp:ListItem>
                            <asp:ListItem>支票</asp:ListItem>
                            <asp:ListItem>线上付款</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="付款金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="2">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Purchase_Payment.TotalAmount" CssClass="text" Width="220px" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;.2"></aspxform:XTextBox>
                        <%--<aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="varPay" BorderColor="#DCDCDC" BorderWidth="1" Width="50px" CssClass="text" HiddenInput="true" Format="type:currency;.2" Express="javascript('payment',DF_Purchase_Payment.ContractAmount)"></aspxform:XTextBox>--%></td>
                </tr>
                <tr hiddenexpress='DF_Purchase_Payment.CompanyCode!="1000" &amp;&amp; DF_Purchase_Payment.CompanyCode!="1010" &amp;&amp; DF_Purchase_Payment.CompanyCode!="1020" || DF_Purchase_Payment.PaymentStyle!="电汇"'>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <aspxform:XLabel id="XLabel11" runat="server" text="是否银企直连支付" BackColor="#D4E4FE"></aspxform:XLabel>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_Purchase_Payment.Isyqzl" Width="200px" DisableExpress='Global.StepName!="1000人民币出纳岗支付" ' RepeatDirection="Horizontal" Font-Names="Verdana">
                            <asp:ListItem Selected="True" Value="是">是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label17" runat="server" text="是否员工垫付"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 10%">
                        <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_Purchase_Payment.IsStaffAdvance" Width="114px" DisableExpress='Global.StepName!="采购岗填写付款申请"' RepeatDirection="Horizontal" Font-Names="Verdana">
                            <asp:ListItem Value="是">是</asp:ListItem>
                            <asp:ListItem Selected="True">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 25%">
                        <div hiddenexpress='DF_Purchase_Payment.IsStaffAdvance!="是"'>员工： 
                            <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_Purchase_Payment.StaffName" ValueToDisplayText BackColor="#E6F1F8" CssClass="text" Width="100px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                            &nbsp;<aspxform:XDataBrowserButton id="XDataBrowserButton3" runat="server" Width="21px" DataMap="AttendanceKakaNO->DF_Purchase_Payment.StaffAccount;Name->DF_Purchase_Payment.StaffName" DisableExpress='Global.StepName!="采购岗填写付款申请"' XDataSource="TableName:V_DF_HR_BasicInfo;Filter:State->'在职'" DisplayColumns="AttendanceKakaNO:员工账号;Name:姓名;Department:部门"></aspxform:XDataBrowserButton>
                            <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Purchase_Payment.StaffAccount" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" HiddenInput="true"></aspxform:XTextBox>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel16" runat="server" text="计划付款日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_Purchase_Payment.PlanDate" CssClass="text" Width="50%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel8" runat="server" text="出纳实际付款日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="2">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_Purchase_Payment.PlanDate2" BackColor="#E6F1F8" CssClass="text" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label20" runat="server" text="财务推迟付款原因"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_Purchase_Payment.DelayedPaymentReason" Width="35%" DisableExpress='Global.StepName=="采购岗填写付款申请"  || Global.StepName=="采购管理部经理审批3"  || Global.StepName=="采购管理部经理审批1"  || Global.StepName=="采购管理部经理审批2"  || Global.StepName=="人民币付款审核岗审批" ' XDataSource='TableName:DF_DataSourceList;Filter:Type->"付款延迟原因",Value1->"人民币"' DisplayColumn="Name" ValueColumn="Name" PromptText="--请选择--"></aspxform:XDropDownList>
                        &nbsp;<aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_Purchase_Payment.Reason" ValueToDisplayText BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False" HiddenExpress='DF_Purchase_Payment.DelayedPaymentReason!="其他原因"' width="60%"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                    </td>
                    <td>
                    </td>
                    <td>
                    </td>
                </tr>
                <tr>
                    <td height="25" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label1" runat="server" text="超期应收状态"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_Purchase_Payment.OverdueStatus" Width="35%" DisableExpress="Global.StepName=='采购岗填写付款申请'||Global.StepName=='人民币付款审核岗审批'" ForeColor="Black" Express="if(DF_Purchase_Payment.OverdueReceivables>0,'有超期未清',if(DF_Purchase_Payment.OverdueReceivables>0,'无超期',DF_Purchase_Payment.OverdueStatus))">
                            <asp:ListItem Selected="True">无超期</asp:ListItem>
                            <asp:ListItem>有超期未清</asp:ListItem>
                            <asp:ListItem>超期已清</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label2" runat="server" text="超期应收金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="2">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_Purchase_Payment.OverdueReceivables" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="220px" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Format="type:currency;.2" Express="javascript('overdueReceivables',DF_Purchase_Payment.SupplierNo)"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel17" runat="server" text="情况备注"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" colspan="4">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_Purchase_Payment.Remark" Height="66px" CssClass="text" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" Max="0" Min="0" HiddenInput="False" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label8" runat="server" text="银行付款摘要"></asp:Label></td>
                    <td class="tsbottomtext" colspan="4">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_Purchase_Payment.PayAbstract" ValueToDisplayText Height="33px" CssClass="text" Width="100%" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" DisableExpress='Global.StepName!="采购岗填写付款申请" &amp;&amp; Global.StepName!="人民币1000付款岗复核"   &amp;&amp; Global.StepName!="人民币1001付款岗复核"   &amp;&amp; Global.StepName!="人民币1002付款岗复核"   &amp;&amp; Global.StepName!="1000人民币出纳岗支付"' HiddenInput="False" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        电子发票</td>
                    <td class="tsbottomtext">
                        <aspxform:XRadioButtonList id="XRadioButtonList4" runat="server" XDataBind="DF_Purchase_Payment.IsEInvoice" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem Selected="True">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomlabel">
                    </td>
                    <td class="tsbottomtext" colspan="2">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" DisableExpress='DF_Purchase_Payment.PaymentStyle!="电汇"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XRadioButtonList3" ErrorMessage="请选择是否员工垫付" Display="None">请选择是否员工垫付</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" DisableExpress='DF_Purchase_Payment.IsStaffAdvance!="是"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox5" ErrorMessage="请选择员工" Display="None">请选择员工</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" DisableExpress='DF_Purchase_Payment.DelayedPaymentReason!="其他原因"' ControlToValidate="XTextBox28" ErrorMessage="请填写原因">请填写原因</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" DisableExpress='DF_Purchase_Payment.IsStaffAdvance!="是"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox5" ErrorMessage="请选择是否电子发票" Display="None">请选择是否电子发票</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress='DF_Purchase_Payment.IsStaffAdvance=="是"'>
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="Label10" runat="server" text="供应商银行信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label6" runat="server" text="开户行"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_Purchase_Payment.BankAccount" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" XClass="YZSoft.Forms.Field.DataBrowserButton" Text="选择" UseSubmitBehavior="False" Width="42px" DataMap="BankAccount->DF_Purchase_Payment.AccountNo;BankName->DF_Purchase_Payment.BankAccount;BankNum->DF_Purchase_Payment.BankNum;AccountOwner->DF_Purchase_Payment.AccountOwner" DisableExpress='Global.StepName!="采购岗填写付款申请"' XDataSource="TableName:V_DF_Partner_SupplierBillInfo;Filter:PartnerSAPID->DF_Purchase_Payment.SupplierNo" DisplayColumns="BankAccount:银行账号;BankName:开户行;BankNum:银行行号;AccountOwner:账户持有人" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label3" runat="server" text="银行账号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_Purchase_Payment.AccountNo" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label7" runat="server" text="账户持有人"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_Purchase_Payment.AccountOwner" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express="DF_Purchase_Payment.SupplierName"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label9" runat="server" text="银行行号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_Purchase_Payment.BankNum" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" DisableExpress='DF_Purchase_Payment.IsStaffAdvance=="是"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox18" ErrorMessage="开户行不能为空">开户行不能为空</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" DisableExpress='DF_Purchase_Payment.IsStaffAdvance=="是"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox19" ErrorMessage="银行账号不能为空">银行账号不能为空</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" DisableExpress='DF_Purchase_Payment.IsStaffAdvance=="是"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox20" ErrorMessage="账户持有人不能为空">账户持有人不能为空</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" DisableExpress='DF_Purchase_Payment.IsStaffAdvance=="是"' ForeColor="Red" ValidationGroup="submit" ControlToValidate="XTextBox22" ErrorMessage="银行行号不能为空">银行行号不能为空</aspxform:XRequiredFieldValidator>
        &nbsp;&nbsp;&nbsp;<br />
        <table width="1200" align="center" class="table" style="BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none" border="0" cellspacing="0" cellpadding="0" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td width="400" 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="5">
                        <asp:Label id="Label4" runat="server" text="凭证列表"></asp:Label></td>
                </tr>
                <tr>
                    <td height="17" align="center" class="tds">
                        <asp:Label id="Label19" runat="server" text="序号"></asp:Label></td>
                    <td width="50" align="center" class="tds">
                        <asp:Label id="Label21" runat="server" text="年度"></asp:Label></td>
                    <td align="center" class="tds">
                        <asp:Label id="Label5" runat="server" text="凭证列号"></asp:Label></td>
                    <td align="center" class="tds">
                        <asp:Label id="Label11" runat="server" text="凭证行号"></asp:Label></td>
                    <td align="center" class="tds">
                        <asp:Label id="Label12" runat="server" text="清账类型"></asp:Label></td>
                </tr>
                <tr>
                    <td align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo2" runat="server" XDataBind="DF_Purchase_PayVoucher.LineNumber" BackColor="Transparent" Width="100%" BorderWidth="1" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td class="tds1">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_Purchase_PayVoucher.Year" DisableExpress='Global.StepName!="1000人民币租赁付款岗复核" &amp;&amp;  Global.StepName!="1000人民币付款岗复核" &amp;&amp;  Global.StepName!="1001人民币付款岗复核" &amp;&amp;  Global.StepName!="1002人民币付款岗复核" &amp;&amp; Global.StepName!="1000人民币出纳岗支付"' PromptText="--请选择--">
                            <asp:ListItem>2019</asp:ListItem>
                            <asp:ListItem>2020</asp:ListItem>
                            <asp:ListItem>2021</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_Purchase_PayVoucher.VoucherNo" ValueToDisplayText BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" DisableExpress='Global.StepName!="1000人民币租赁付款岗复核" &amp;&amp;  Global.StepName!="1000人民币付款岗复核" &amp;&amp;  Global.StepName!="1001人民币付款岗复核" &amp;&amp;  Global.StepName!="1002人民币付款岗复核" &amp;&amp; Global.StepName!="1000人民币出纳岗支付"' HiddenInput="False" width="100%"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_Purchase_PayVoucher.VoucherLineNo" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='Global.StepName!="1000人民币租赁付款岗复核" &amp;&amp;  Global.StepName!="1000人民币付款岗复核" &amp;&amp;  Global.StepName!="1001人民币付款岗复核" &amp;&amp;  Global.StepName!="1002人民币付款岗复核" ' width="100%">1</aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_Purchase_PayVoucher.ClearType" Width="100%" DisableExpress='Global.StepName!="1000人民币租赁付款岗复核" &amp;&amp;  Global.StepName!="1000人民币付款岗复核" &amp;&amp;  Global.StepName!="1001人民币付款岗复核" &amp;&amp;  Global.StepName!="1002人民币付款岗复核" '>
                            <asp:ListItem Selected="True">完全清账</asp:ListItem>
                            <asp:ListItem>部分清账</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--<table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" >--%> 
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress='Global.StepName!="1000人民币出纳岗支付"'>
            <tbody>
                <tr>
                    <td width="10%" class="tsbottomlabel">
                        <asp:Label id="Label16" runat="server" text="支付银行卡号"></asp:Label></td>
                    <td width="35%" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_Purchase_Payment.PayBankAccount" BorderWidth="1" BorderColor="#DCDCDC" width="70%"></aspxform:XTextBox>
                        &nbsp;<aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" XClass="YZSoft.Forms.Field.DataBrowserButton" Text="选择" UseSubmitBehavior="False" Width="42px" DataMap="BankAccount->DF_Purchase_Payment.PayBankAccount" XDataSource="TableName:DF_FI_PaymentBankInfo;Filter:CompanyCode->DF_Purchase_Payment.CompanyCode" DisplayColumns="BankAccount:银行账号;BankRemark:银行描述" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                        <aspxform:XTextBox id="xtxt1" style="BORDER-TOP: 0px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px" runat="server" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" HiddenInput="False" width="0px"></aspxform:XTextBox>
                        <aspxform:XTextBox id="xtxt2" style="BORDER-TOP: 0px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px" runat="server" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" HiddenInput="False" width="0px" TextMode="Password"></aspxform:XTextBox>
                    </td>
                    <td width="10%" class="tsbottomlabel">
                        <asp:Label id="Label18" runat="server" text="支付密码"></asp:Label></td>
                    <td width="35%" class="tsbottomtext">
                        <aspxform:XTextBox id="xtxt_password" runat="server" XDataBind="DF_Purchase_Payment.PayPassword" BorderWidth="1" BorderColor="#DCDCDC" width="70%" TextMode="Password"></aspxform:XTextBox>
                        <%--<aspxform:XTextBox id="xtxt_password" runat="server" XDataBind="DF_Purchase_Payment.PayPassword" BorderColor="#DCDCDC" BorderWidth="1"  width="70%"></aspxform:XTextBox>--%></td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" DisableExpress='DF_Purchase_Payment.Isyqzl== "否"' ForeColor="Red" Font-Names="Verdana" ValidationGroup="chuna" ControlToValidate="XTextBox27" ErrorMessage="请选择付款银行卡号">请选择付款银行卡号</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" DisableExpress='DF_Purchase_Payment.Isyqzl== "否"' ForeColor="Red" ValidationGroup="chuna" ControlToValidate="xtxt_password" ErrorMessage="支付密码不能为空">支付密码不能为空</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="15" class="title1" colspan="4">
                        <asp:Label id="Label13" runat="server" text="凭证信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="152" height="26" class="tsbottomlabel">
                        <asp:Label id="Label14" runat="server" text="业务范围"></asp:Label></td>
                    <td width="496" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_Purchase_Payment.Business" BackColor="#E6F1F8" DisableBehavior="ReadOnly" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True" Express='if(DF_Purchase_Payment.BusinessType=="销售业务","1100","1200")'></aspxform:XTextBox>
                    </td>
                    <td width="152" class="tsbottomlabel">
                        <asp:Label id="Label15" runat="server" text="清账凭证号"></asp:Label></td>
                    <td width="392" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_Purchase_Payment.ClearVoucher" BackColor="#E6F1F8" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" style="BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none" border="0" cellspacing="0" cellpadding="0" menudock="Left" dynamicarea="2,1" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td 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="4">
                        <asp:Label id="XLabel24" runat="server" text="发票信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="49" height="34" align="center" class="tds">
                        <asp:Label id="XLabel43" runat="server" text="序号"></asp:Label></td>
                    <td width="526" align="center" class="tds">
                        <asp:Label id="XLabel79" runat="server" text="发票号"></asp:Label></td>
                    <td width="619" align="center" class="tds">
                        <asp:Label id="XLabel48" runat="server" text="金额"></asp:Label></td>
                    <td width="621" class="tds" style="BORDER-RIGHT: #93a1ae 2px solid; TEXT-ALIGN: center">
                        <asp:Label id="Label22" runat="server" text="电子发票附件"></asp:Label></td>
                </tr>
                <tr>
                    <td height="34" align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_Purchase_PayInvoice.LineNumber" BackColor="Transparent" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox319" runat="server" XDataBind="DF_Purchase_PayInvoice.InvoiceNo" Height="25px" Width="100%" BorderWidth="1px" BorderColor="Gainsboro" Max="0" Min="0" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1" style="BORDER-TOP: medium none; BORDER-RIGHT: #93a1ae 1px solid; BORDER-BOTTOM: #b2bcc6 1px solid; BORDER-LEFT: #93a1ae 1px solid">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_Purchase_PayInvoice.InvoiceAmonut" Height="25px" Width="100%" BorderWidth="1px" BorderColor="Gainsboro" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td width="621" class="tds1">
                        <aspxform:XAttachments id="EInvoiceAttachment" runat="server" XDataBind="DF_Purchase_PayInvoice.EInvoiceAttachment" DisableExpress="DF_Purchase_Payment.IsEInvoice!='是'" width="100%" FileTypes="*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" DisableExpress='DF_Purchase_Payment.IsEInvoice!="是"' ForeColor="Red" Font-Names="Verdana" ValidationGroup="submit" ControlToValidate="EInvoiceAttachment" ErrorMessage="请上传电子发票附件">请上传电子发票附件</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td height="14" class="td1">
                        <asp:Label id="XLabel27" runat="server" text="上传合同" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td class="td1" style="HEIGHT: 20px">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_Purchase_Payment.ContractAttach" width="100%" FileTypes="*.gif;*.jpeg;*.jpg;*.png;*.doc;*.pdf;*.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 height="14" class="td1">
                        <asp:Label id="XLabel18" runat="server" text="订单明细" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td class="td1" style="HEIGHT: 20px">
                        <aspxform:XAttachments id="XAttachments3" runat="server" XDataBind="DF_Purchase_Payment.OrderList" width="100%" FileTypes="*.gif;*.jpeg;*.jpg;*.png;*.doc;*.pdf;*.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 height="14" class="td1">
                        <asp:Label id="XLabel28" runat="server" text="上传付款明细"></asp:Label></td>
                </tr>
                <tr>
                    <td class="td1" style="HEIGHT: 20px">
                        <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_Purchase_Payment.PaymentDetailsAtta" BackColor="#d4e4fe" width="100%" FileTypes="*.gif;*.jpeg;*.jpg;*.png;*.doc;*.pdf;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <p>
            <%--&nbsp;<aspxform:XCompareValidator id="XCompareValidator2" runat="server" Type="Currency" Display="None" ErrorMessage="付款金额不能超过应付金额" ControlToValidate="XTextBox8" ValidationGroup="submit" Operator="LessThanEqual" ControlToCompare="XTextBox17">付款金额验证</aspxform:XCompareValidator>--%>&nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ValidationGroup="submit" ControlToValidate="XTextBox9" ErrorMessage="请填写PO号" Display="None">请填写PO号</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ValidationGroup="submit" ControlToValidate="XTextBox8" ErrorMessage="请填写付款总金额" Display="None">请填写付款总金额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ValidationGroup="submit" ControlToValidate="XDateTimePicker2" ErrorMessage="请选择计划付款日期"></aspxform:XRequiredFieldValidator>
            <%--&nbsp;<aspxform:XCompareValidator id="XCompareValidator1" runat="server" Type="Currency" Display="None" ErrorMessage="付款金额不能超过应付金额" ControlToValidate="XTextBox8" ValidationGroup="submit" Operator="LessThanEqual" ControlToCompare="XTextBox17">付款金额验证</aspxform:XCompareValidator>--%>&nbsp;&nbsp;&nbsp; 
        </p>
        <!--bottom-->
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
        </div>
    </form>
</body>
</html>
