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

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            if (Request.QueryString["serialNum"] != null)
            {
                this.XTextBox22.Text = Request.QueryString["serialNum"].ToString();
            }
        }
    }

</script>
<html xmlns:XForm="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <title>BPM Form</title>
    <style>
    BODY {FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TABLE {border-collapse: collapse; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    P {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px; FONT-SIZE: 12px; FONT-FAMILY: verdana}
    TD {padding:1px}
    TD.NoPadding {PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; PADDING-TOP: 0px}
    /*INPUT {height: 15px}*/
    INPUT.UL {BORDER-RIGHT: medium none; BORDER-TOP: medium none; BORDER-LEFT: medium none; BORDER-BOTTOM: #33ff33 1px solid}
    TEXTAREA {FONT-SIZE:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" align="right">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" PrintOut="False"></aspxform:XPrintButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="970" align="center" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: medium none; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel3" runat="server" text="预付款表单Print" Font-Bold="True" Font-Size="20pt"></aspxform:XLabel>
                    </td>
                    <td width="226" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel1" runat="server" text="表单号:" Font-Bold="True"></aspxform:XLabel>
                        <aspxform:XLabel id="XLabel2" runat="server" text="Label" Font-Bold="True" XDataBind="FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="25" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="4">
                        <aspxform:XLabel id="XLabel25" runat="server" text="申请信息" Font-Bold="True" Font-Size="14pt"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="serialNo" ValueToDisplayText="TableName:DF_Purchase_Payment;FilterColumn:FormNo;DisplayColumn:FormNo" DataMap="AppName->AppName;SupplierName->SupplierName;AppDepart->AppDepart;SupplierNo->SupplierNo;PaymentType->PaymentType;FormNo->FormNo;PONumber->PONumber;BusinessType->BusinessType;CreateDate->CreateDate;VoncherNumber->VoncherNumber;AccountNo->AccountNo;TotalAmount->TotalAmount;PayItems->PayItems;ContractAmount->ContractAmount;BankAccount->BankAccount;POLineNum->POLineNum;PlanDate->PlanDate;CompanyCode->CompanyCode;Remark->Remark;SupplierAddress->SupplierAddress;PaymentStyle->PaymentStyle;Subject->Subject" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="155" height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel34" runat="server" text="申请人" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td width="439" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="AppName" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td width="196" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel35" runat="server" text="创建时间" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td width="397" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="CreateDate" DisableBehavior="ReadOnly" CssClass="text" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel40" runat="server" text="部门" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="AppDepart" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel41" runat="server" text="业务类型" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="BusinessType" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" style="BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="14" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="4">
                        <aspxform:XLabel id="XLabel4" runat="server" text="付款基本信息" Font-Bold="True" Font-Size="14pt"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td width="155" height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel5" runat="server" text="公司代码" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td width="441" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="CompanyCode" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td width="199" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel7" runat="server" text="付款类型" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td width="397" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="PaymentType" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" Text="预付"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel8" runat="server" text="PO" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="PONumber" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" BorderWidth="0px" Width="225"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                    </td>
                </tr>
                <tr>
                    <td height="23" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel10" runat="server" text="供应商号" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="SupplierNo" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" BorderWidth="0px" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel18" runat="server" text="PO行号" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="POLineNum" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%">10</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel9" runat="server" text="供应商名称" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="SupplierName" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" BorderWidth="0px" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel6" runat="server" text="付款公司" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="SupplierName" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel11" runat="server" text="开户行" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="BankAccount" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" BorderWidth="0px" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel17" runat="server" text="账号" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="AccountNo" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="23" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel12" runat="server" text="合同金额" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="ContractAmount" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" BorderWidth="0px" Width="70%" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel19" runat="server" text="付款条件" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="PayItems" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="21" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel13" runat="server" text="供应商地址" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="SupplierAddress" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel20" runat="server" text="支付方式" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="PaymentStyle" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="23" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel14" runat="server" text="付款金额" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="TotalAmount" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel21" runat="server" Font-Bold="True">计划付款日期</aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="PlanDate" CssClass="text" BorderColor="#DCDCDC" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel15" runat="server" text="预付款凭证号" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="VoncherNumber" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XLabel id="XLabel22" runat="server" text="会计科目" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="Subject" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="22" style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XLabel id="XLabel16" runat="server" text="情况备注" Font-Bold="True"></aspxform:XLabel>
                    </td>
                    <td style="BORDER-TOP: medium none; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: medium none" colspan="3">
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="Remark" HiddenInput="False" Max="0" Min="0" ReadOnly="True" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="66px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
