<%@ 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>
</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" Value ValueToDisplayText XDataBind="DF_Purchase_InvoiceReceipt_Info.FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <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="XLabel4" runat="server" text="用户信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" text="申请人"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" backColor="#e6f1f8" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:Name" XDataBind="DF_Purchase_InvoiceReceipt_Info.AppName" DisableBehavior="ReadOnly" CssClass="text" Width="60%" BorderWidth="1" DataMap="Department->DF_Purchase_InvoiceReceipt_Info.AppDepart" BorderColor="Gainsboro"></aspxform:XTextBox>
                    </td>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel20" runat="server" text="创建时间"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" backColor="#e6f1f8" XDataBind="DF_Purchase_InvoiceReceipt_Info.CreateDate" DisableBehavior="ReadOnly" CssClass="text" Width="60%" BorderWidth="1" DisplayOnly="True" BorderColor="Gainsboro"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="17" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel21" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Info.AppDepart" DisableBehavior="ReadOnly" CssClass="text" Width="60%" BorderWidth="1" BackColor="#E6F1F8" ReadOnly="True" BorderColor="Gainsboro"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel6" runat="server" text="公司代码" value valuetodisplaytext></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Info.CompanyCode" Width="60%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel41" runat="server" text="业务类型"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList26" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Info.BusinessType">
                            <asp:ListItem Selected="True" Value="销售业务">销售业务</asp:ListItem>
                            <asp:ListItem Value="租赁业务">租赁业务</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%">
                        <aspxform:XRadioButtonList id="IsEInvoice" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Info.IsEInvoice" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem Selected="True">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ControlToValidate="XTextBox3" ErrorMessage="请填写公司代码" Display="None">请填写公司代码</aspxform:XRequiredFieldValidator>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ControlToValidate="IsEInvoice" ErrorMessage="请选择是否电子发票" Display="None">请填写公司代码</aspxform:XRequiredFieldValidator>
        <table width="1331" align="center" class="table" style="BORDER-RIGHT: medium none" border="0" cellspacing="0" cellpadding="0" runat="server" menudock="Right" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td height="27" 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="11">
                        发票信息 
                    </td>
                </tr>
                <tr>
                    <td width="50" height="30" align="center" class="tds">
                        <asp:Label id="XLabel7" runat="server" text="序号" value valuetodisplaytext></asp:Label>&nbsp;</td>
                    <td width="150" align="center" class="tds">
                        <asp:Label id="XLabel8" runat="server" text="供应商名称" value valuetodisplaytext></asp:Label>&nbsp;</td>
                    <td width="80" align="center" class="tds">
                        <asp:Label id="XLabel9" runat="server" text="发票金额" value valuetodisplaytext></asp:Label>&nbsp;</td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="XLabel10" runat="server" text="发票号" value valuetodisplaytext></asp:Label>&nbsp;</td>
                    <td width="50" align="center" class="tds">
                        <asp:Label id="XLabel11" runat="server" text="张数" value valuetodisplaytext></asp:Label>&nbsp;</td>
                    <td width="400" align="center" class="tds">
                        <asp:Label id="XLabel12" runat="server" text="PO号" value valuetodisplaytext></asp:Label>&nbsp;</td>
                    <td width="100" align="center" class="tds">
                        <asp:Label id="XLabel13" runat="server" text="是否需要付款" value valuetodisplaytext></asp:Label></td>
                    <td width="131" align="center" class="tds" style="BORDER-RIGHT: #93a1ae 2px solid; BORDER-BOTTOM: medium none; TEXT-ALIGN: center">
                        <asp:Label id="Label1" runat="server" text="电子发票附件" value valuetodisplaytext></asp:Label></td>
                </tr>
                <tr>
                    <td height="25" align="center" class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.LineNumber" Width="100%" BorderWidth="1" BackColor="Transparent" BorderColor="#DCDCDC" BorderStyle="None" TextAlign="Center">1</aspxform:XGridLineNo>
                    </td>
                    <td height="25" align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.SupplierName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.InvoiceAmount" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.InvioceNumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1" style="BORDER-RIGHT: medium none">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.InvoiceCount" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='DF_Purchase_InvoiceReceipt_Info.IsEInvoice=="是"' Express='if(DF_Purchase_InvoiceReceipt_Info.IsEInvoice=="是","1",DF_Purchase_InvoiceReceipt_Detail.InvoiceCount)'></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.PONumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td align="center" class="tds1">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.IsPay" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Selected="True" Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td width="131" class="tds1" style="BORDER-TOP: #b2bcc6 1px solid; BORDER-RIGHT: #b2bcc6 2px solid">
                        <aspxform:XAttachments id="EInvoiceAttachment" runat="server" XDataBind="DF_Purchase_InvoiceReceipt_Detail.EInvoiceAttachment" DisableExpress="DF_Purchase_InvoiceReceipt_Info.IsEInvoice!='是'" FileTypes="*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf" width="100%"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
        </div>
        <div style="TEXT-ALIGN: center">&nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ControlToValidate="XTextBox4" ErrorMessage="请填写供应商名称" Display="None">请填写供应商名称</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ControlToValidate="XTextBox5" ErrorMessage="请填写发票金额" Display="None">请填写发票金额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ControlToValidate="XTextBox6" ErrorMessage="请填写发票号" Display="None">请填写发票号</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ControlToValidate="XTextBox7" ErrorMessage="请填写发票数量" Display="None">请填写发票数量</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ControlToValidate="XTextBox8" ErrorMessage="请填写PO号" Display="None">请填写PO号</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ControlToValidate="EInvoiceAttachment" ErrorMessage="请上传电子发票附件" Display="None" DisableExpress='DF_Purchase_InvoiceReceipt_Info.IsEInvoice!="是"'>请上传电子发票附件</aspxform:XRequiredFieldValidator>
        </div>
    </form>
</body>
</html>
