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

</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <!--head-->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" text="人民币预付款支付申请"></asp:Label></td>
                    <td>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="serialNo" ValueToDisplayText="TableName:V_DF_PaymentPrint;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;Approver->Approver" HiddenInput="True"></aspxform:XTextBox>
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" style="TEXT-ALIGN: right">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" Orientation="Horizontal" PrintOut="False"></aspxform:XPrintButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="54" height="19" class="ts">
                        <asp:Label id="XLabel5" runat="server" text="申请人"></asp:Label></td>
                    <td width="372" class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="AppName" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td width="80" class="ts">
                        <asp:Label id="XLabel2" runat="server" text="表单号"></asp:Label></td>
                    <td width="398" class="ts1">
                        <aspxform:XLabel id="XLabel3" runat="server" text="-系统自动生成-" BackColor="#8AB3DF" XDataBind="FormNo" Font-Bold="true" ValueToDisplayText Value></aspxform:XLabel>
                    </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="AppDepart" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel20" runat="server" text="创建时间"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="CreateDate" DisableBehavior="ReadOnly" CssClass="text" Width="50%" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="审批人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="Approver" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel41" runat="server" text="业务类型"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <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" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="20" class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" text="付款基本信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="80" height="23" class="tsbottomlabel">
                        <asp:Label id="XLabel13" runat="server" text="公司代码"></asp:Label></td>
                    <td width="341" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="CompanyCode" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td width="80" class="tsbottomlabel">
                        <asp:Label id="XLabel8" runat="server" text="付款类型"></asp:Label></td>
                    <td width="393" class="tsbottomtext">
                        <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" class="tsbottomlabel">
                        <asp:Label id="XLabel15" runat="server" text="PO"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="PONumber" ReadOnly="True" CssClass="text" Width="225" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="XLabel10" runat="server" text="供应商号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="SupplierNo" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel30" runat="server" text="PO行号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="POLineNum" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC">10</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel">
                        <asp:Label id="XLabel9" runat="server" text="供应商名称"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="SupplierName" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel22" runat="server" text="付款公司" value valuetodisplaytext></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="SupplierName" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="XLabel11" runat="server" text="开户行"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="BankAccount" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel12" runat="server" text="账号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="AccountNo" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="XLabel25" runat="server" text="合同金额"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="ContractAmount" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel26" runat="server" text="付款条件"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="PayItems" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="26" class="tsbottomlabel">
                        <asp:Label id="XLabel23" runat="server" text="供应商地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="SupplierAddress" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel7" runat="server" text="支付方式"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="PaymentStyle" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="XLabel14" runat="server" text="付款金额"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="TotalAmount" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel16" runat="server" text="计划付款日期"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="PlanDate" CssClass="text" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="Label1" runat="server" text="预付款凭证号"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="VoncherNumber" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td height="19" class="tsbottomlabel">
                        <asp:Label id="Label2" runat="server" text="会计科目"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="Subject" DisableBehavior="ReadOnly" ReadOnly="True" CssClass="text" Width="70%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="63" class="tsbottomlabel">
                        <asp:Label id="XLabel17" runat="server" text="情况备注"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="Remark" HiddenInput="False" Max="0" Min="0" ReadOnly="True" CssClass="text" Width="90%" BorderWidth="1" BorderColor="#DCDCDC" Height="66px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
