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

        function Print() {
            var temp = document.getElementById('XLabel3').innerText;
            window.open("后付款支付表单Print.aspx?serialNum=" + temp);
        }
    </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="-系统自动生成-" BackColor="#8AB3DF" ValueToDisplayText XDataBind="DF_Purchase_Payment.FormNo" Value></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XButton id="XButton1" runat="server" XClass="YZSoft.Forms.Field.Button" Height="23px" UseSubmitBehavior="False" OnClientClick="Print()" Text="打印"></aspxform:XButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <table 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" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:Name" XDataBind="DF_Purchase_Payment.AppName" DataMap="Department->DF_Purchase_Payment.AppDepart" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" backColor="#e6f1f8" DisableBehavior="ReadOnly"></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" BorderColor="#DCDCDC" BorderWidth="1" Width="50%" CssClass="text" backColor="#e6f1f8" DisableBehavior="ReadOnly" 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" BackColor="#E6F1F8" XDataBind="DF_Purchase_Payment.AppDepart" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" 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 align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" text="付款基本信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_Purchase_Payment.POCurrency" Text="CNY" BorderColor="#DCDCDC" BorderWidth="1" Width="20px" HiddenInput="true"></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%" ValueColumn="Name" DisplayColumn="Name" XDataSource="TableName:DF_DataSourceList;Filter:Type->varcode" DisableExpress="Global.StepName!='采购岗填写付款申请'"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox7" runat="server" ValueToDisplayText XDataBind="varcode" Value BorderColor="Gainsboro" BorderWidth="1px" Width="87px" 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%">
                        <aspxform:XTextBox id="XTextBox13" runat="server" BackColor="#E6F1F8" XDataBind="DF_Purchase_Payment.PaymentType" Text="后付" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" 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="3">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_Purchase_Payment.PONumber" BorderColor="#DCDCDC" BorderWidth="1" Width="155px" CssClass="text" DisableExpress="Global.StepName!='采购岗填写付款申请'"></aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_Purchase_Payment.PONumOther" BorderColor="#DCDCDC" BorderWidth="1" Width="535px" CssClass="text"></aspxform:XTextBox>
                    </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" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" DisableExpress="Global.StepName!='采购岗填写付款申请'"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel9" runat="server" text="是否为订货" valuetodisplaytext value></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_Purchase_Payment.IsOrderGoods" PrintOut="False" RepeatDirection="Horizontal" DisableExpress="Global.StepName!='采购岗填写付款申请'">
                            <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" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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="DF_Purchase_Payment.SupplierAddress" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" DisableExpress="Global.StepName!='采购岗填写付款申请'"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td 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="DF_Purchase_Payment.BankAccount" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" ReadOnly="True" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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="DF_Purchase_Payment.AccountNo" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" Format="type:currency;.2" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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="DF_Purchase_Payment.PayItems" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" DisableBehavior="ReadOnly" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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" DisableExpress="Global.StepName!='采购岗填写付款申请'">
                            <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="XLabel14" runat="server" text="付款金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Purchase_Payment.TotalAmount" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text" Format="type:currency;.2" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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="DF_Purchase_Payment.PlanDate" BorderColor="#DCDCDC" BorderWidth="1" Width="50%" CssClass="text" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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="DF_Purchase_Payment.PlanDate2" BorderColor="#DCDCDC" BorderWidth="1" Width="50%" CssClass="text" Express="DF_Purchase_Payment.PlanDate" DisableExpress="Global.StepName!='采购岗填写付款申请'"></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="DF_Purchase_Payment.Remark" Height="66px" BorderColor="#DCDCDC" BorderWidth="1" Width="90%" CssClass="text" Max="0" Min="0" HiddenInput="False" TextMode="MultiLine"></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" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td height="38" style="FONT-SIZE: 16px; BORDER-TOP: #93a1ae 1px solid; FONT-FAMILY: 微软雅黑; BORDER-RIGHT: #93a1ae 1px solid; BORDER-BOTTOM: #b2bcc6 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #93a1ae 1px solid; BACKGROUND-COLOR: #c1d7ec" colspan="3">
                        <asp:Label id="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" class="tds" style="BORDER-RIGHT: #93a1ae 2px solid; TEXT-ALIGN: center">
                        <asp:Label id="XLabel48" runat="server" text="金额"></asp:Label></td>
                </tr>
                <tr>
                    <td height="34" align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_Purchase_PayInvoice.LineNumber" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox319" runat="server" XDataBind="DF_Purchase_PayInvoice.InvoiceNo" BorderColor="Gainsboro" BorderWidth="1px" Width="200px" 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" BorderColor="Gainsboro" BorderWidth="1px" Width="200px" Format="type:currency;.2"></aspxform:XTextBox>
                    </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="XLabel27" runat="server" text="上传合同" valuetodisplaytext value></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="订单明细" valuetodisplaytext value></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" BackColor="#d4e4fe" XDataBind="DF_Purchase_Payment.PaymentDetailsAtta" width="100%" FileTypes="*.gif;*.jpeg;*.jpg;*.png;*.doc;*.pdf;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <p>
            &nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" Display="None" ErrorMessage="请填写PO号" ControlToValidate="XTextBox9">请填写PO号</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" Display="None" ErrorMessage="请填写供应商名称" ControlToValidate="XTextBox14">请填写供应商名称</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" Display="None" ErrorMessage="请填写账号" ControlToValidate="XTextBox6">请填写账号</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" Display="None" ErrorMessage="请填写付款总金额" ControlToValidate="XTextBox8">请填写付款总金额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ErrorMessage="请选择计划付款日期" ControlToValidate="XDateTimePicker2"></aspxform:XRequiredFieldValidator>
        </p>
        <!--bottom-->
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderColor="#dcdcdc" BorderWidth="1" Width="1200px"></aspxform:XSignTrace>
        </div>
    </form>
</body>
</html>
