<%@ 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 -->
        <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="-系统自动生成-" Font-Bold="true" XDataBind="FormNo" BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="serialNo" DataMap="AppName->AppName;CompanyCode->CompanyCode;SupplierName->SupplierName;AppDepart->AppDepart;SupplierNo->SupplierNo;PaymentType->PaymentType;FormNo->FormNo;PONumber->PONumber;BusinessType->BusinessType;IsOrderGoods->IsOrderGoods;TotalAmount->TotalAmount;SupplierAddress->SupplierAddress;PONumOther->PONumOther;ContractAmount->ContractAmount;BankAccount->BankAccount;PlanDate->PlanDate;CreateDate->CreateDate;AccountNo->AccountNo;Remark->Remark;PlanDate2->PlanDate2;PaymentStyle->PaymentStyle;PayItems->PayItems;Approver->Approver" HiddenInput="True" ValueToDisplayText="TableName:V_DF_PaymentPrint;FilterColumn:FormNo;DisplayColumn:FormNo"></aspxform:XTextBox>
        <table width="1200" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" style="TEXT-ALIGN: right">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" PrintOut="False" Orientation="Horizontal"></aspxform:XPrintButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <table 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="414" class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="AppName" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text"></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="CreateDate" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="50%" BorderWidth="1" CssClass="text" 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="AppDepart" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel41" runat="server" text="业务类型"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="BusinessType" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </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" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" text="付款基本信息"></asp:Label></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:XTextBox id="XTextBox17" runat="server" XDataBind="CompanyCode" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></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%">
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="PaymentType" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True" Text="后付"></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="3">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="PONumber" BorderColor="#DCDCDC" Width="155px" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="PONumOther" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="535px" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;&nbsp;&nbsp; 
                    </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="SupplierNo" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" 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%">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="IsOrderGoods" RepeatDirection="Horizontal" DisableExpress="1">
                            <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="SupplierName" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" 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%">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="SupplierAddress" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel11" runat="server" text="开户行"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="BankAccount" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel12" runat="server" text="账号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="AccountNo" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" 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="ContractAmount" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" 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%">
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="PayItems" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" 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:XTextBox id="XTextBox7" runat="server" XDataBind="PaymentStyle" DisableBehavior="ReadOnly" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="付款金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="TotalAmount" BorderColor="#DCDCDC" Width="70%" BorderWidth="1" CssClass="text" ReadOnly="True" Format="type:currency;.2"></aspxform:XTextBox>
                    </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="PlanDate" BorderColor="#DCDCDC" Width="50%" BorderWidth="1" CssClass="text" DisplayOnly="True"></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%">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="PlanDate2" BorderColor="#DCDCDC" Width="50%" BorderWidth="1" CssClass="text" DisplayOnly="True" Express="PlanDate"></aspxform:XDateTimePicker>
                    </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="3">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="Remark" HiddenInput="False" Max="0" Min="0" BorderColor="#DCDCDC" Width="90%" BorderWidth="1" CssClass="text" ReadOnly="True" TextMode="MultiLine" Height="66px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
