<%@ 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.XTextBox20.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: 14px; 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: 14px; 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:14px}
    input {vertical-align:middle;/*margin-right:-3px*/}
        .auto-style1 {
            width: 137px;
        }
        .auto-style2 {
            width: 256px;
        }
    </style>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="20" align="right" colspan="2">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" PrintOut="False" Orientation="Horizontal"></aspxform:XPrintButton>
                    </td>
                </tr>
                <tr>
                    <td height="37" align="center" style="BORDER-TOP: black 0px solid; BORDER-RIGHT: black 0px solid; BORDER-BOTTOM: black 0px solid; BORDER-LEFT: black 0px solid">
                        <asp:Label id="XLabel1" runat="server" font-bold="True" align="center" font-size="20pt" text="1000北京东方中科集成科技股份有限公司 海关税票缴税申请单"></asp:Label></td>
                </tr>
            </tbody>
        </table>
        <br />
        <!--基本信息-->
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="98" height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: center; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel41" runat="server" font-bold="True" text="申请单号"></asp:Label></td>
                    <td class="auto-style2" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox3" runat="server" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="formNo"></aspxform:XTextBox>
                    </td>
                    <td class="auto-style1" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: center; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel3" runat="server" font-bold="True" text="创建日期"></asp:Label></td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="3">
                        <aspxform:XLabel id="XLabel15" runat="server" XDataBind="appDate"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: center; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel2" runat="server" font-bold="True" text="申请人"></asp:Label></td>
                    <td class="auto-style2" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox45" runat="server" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="appname"></aspxform:XTextBox>
                    </td>
                    <td class="auto-style1" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: center; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel7" runat="server" font-bold="True" text="部门"></asp:Label></td>
                    <td width="131" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox1" runat="server" DisableBehavior="ReadOnly" Width="68%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="bumen"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="27" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: center; BORDER-LEFT: black 1px solid">
                        <asp:Label id="Label1" runat="server" font-bold="True" text="审批人"></asp:Label></td>
                    <td class="auto-style2" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid" colspan="3">
                        <aspxform:XTextBox id="XTextBox5" runat="server" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="approver"></aspxform:XTextBox>
                    </td>
                   
                </tr>
            </tbody>
        </table>
        <br />
        <!--海关税票信息-->
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0" xdatasource="TableName:V_DF_SD_PayTaxesQuery;Filter:TaskID->taskID" deletelastrow="Denied" datamap="TaxBillDate->TaxBillDate;ContractNo->ContractNo;ContractualNature->ContractualNature;PaymentDate->PaymentDate;SAPPO->SAPPO;DeclarationForm->DeclarationForm;Tax->Tax;SAPSO->SAPSO;Tariff->Tariff" dynamicarea="1,1">
            <tbody>
                <tr>
                    <td  align="center" style="width:30px;height:30px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel62" runat="server" font-bold="True" text="序号"></asp:Label></td>
                    <td align="center" style="width:50px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel37" runat="server" font-bold="True" text="合同性质"></asp:Label></td>
                    <td align="center" style="width:170px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel38" runat="server" font-bold="True" text="合同号"></asp:Label></td>
                    <td align="center" style="width:150px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel39" runat="server" font-bold="True" text="PO号"></asp:Label></td>
                    <td align="center" style="width:100px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel40" runat="server" font-bold="True" text="SO号"></asp:Label></td>
                    <td align="center" style="width:180px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel63" runat="server" font-bold="True" text="报关单号"></asp:Label></td>
                    <td align="center" style="width:120px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel22" runat="server" font-bold="True" text="关税"></asp:Label></td>
                    <td align="center" style="width:120px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel24" runat="server" font-bold="True" text="增值税"></asp:Label></td>
                    <td align="center" style="width:110px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel19" runat="server" font-bold="True" text="税票填发日期"></asp:Label></td>
                    <td align="center" style="width:110px;BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel4" runat="server" font-bold="True" text="缴款期限"></asp:Label></td>
                </tr>
                <tr>
                    <td height="24" style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XGridLineNo id="XGridLineNo3" runat="server" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" TextAlign="Center" BorderStyle="None" BackColor="Transparent">1</aspxform:XGridLineNo>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox36" runat="server" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="ContractualNature" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox37" runat="server" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="ContractNo" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox38" runat="server" DisableBehavior="ReadOnly" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="SAPPO" TextAlign="Center"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox39" runat="server" Width="100%" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="SAPSO" TextAlign="Center" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox58" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="DeclarationForm" TextAlign="Center" width="100%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: right; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox22" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="Tariff" TextAlign="Right" width="100%" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: right; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox23" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="Tax" TextAlign="Right" width="100%" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox16" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="TaxBillDate" TextAlign="Center" width="100%"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox2" runat="server" BorderWidth="0px" BorderColor="#DCDCDC" XDataBind="PaymentDate" TextAlign="Center" width="100%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: right; BORDER-LEFT: black 1px solid" colspan="5">
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; TEXT-ALIGN: right; BORDER-LEFT: black 1px solid">
                        <asp:Label id="XLabel55" runat="server" text="合计："></asp:Label></td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox4" runat="server" Width="100%" XDataBind="varSumTariff" TextAlign="Right" Format="type:currency;.2" ReadOnly="True" Express="sum(Tariff)"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                        <aspxform:XTextBox id="XTextBox12" runat="server" Width="100%" XDataBind="varSumTax" TextAlign="Right" Format="type:currency;.2" ReadOnly="True" Express="sum(Tax)"></aspxform:XTextBox>
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                    </td>
                    <td style="BORDER-TOP: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid">
                    </td>
                </tr>
            </tbody>
        </table>
        <p style="HEIGHT: 10px">
            <aspxform:XTextBox id="XTextBox20" runat="server" Width="34px" BorderWidth="1px" BorderColor="Gainsboro" XDataBind="serialNum" Max="0" Min="0" HiddenInput="True"></aspxform:XTextBox>
            <aspxform:XDropDownList id="XDropDownList1" runat="server" ValueColumn="TaskID" DisplayColumn="SerialNum" XDataSource="TableName:V_DF_SD_PayTaxsAppPrint;Filter:FormNo->serialNum" DataMap="TaskID->taskid;FormNo->formNo;AppName->appname;AppDepart->bumen;CreateDate->appDate;HandlerName->approver" Height="10" HiddenExpress="1">
                <asp:ListItem Selected="True">未绑定</asp:ListItem>
            </aspxform:XDropDownList>
            <aspxform:XTextBox id="XTextBox21" runat="server" BorderWidth="1" BorderColor="#DCDCDC" XDataBind="taskid" HiddenInput="True"></aspxform:XTextBox>
        </p>
    </form>
</body>
</html>
