<%@ 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">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <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: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:12px}
    input {vertical-align:middle;/*margin-right:-3px*/}
    </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 width="10" class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <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" ForeColor="White" BackColor="#8AB3DF" XDataBind="DF_SD_TaxBillSign_Info.FormNo" Text="--系统自动生成--"></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 width="130" height="24" class="ts">
                        <asp:Label id="XLabel5" runat="server" text="申请人"></asp:Label><%--隐藏字段--%>
                        <aspxform:XTextBox id="XTextBox49" runat="server" XDataBind="DF_SD_TaxBillSign_Info.AppAccount" ReadOnly="true" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" Width="66px" HiddenExpress="1" DataMap="Name->DF_SD_TaxBillSign_Info.AppName;Department->DF_SD_TaxBillSign_Info.AppDepart" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO"></aspxform:XTextBox>
                    </td>
                    <td width="466" class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_TaxBillSign_Info.AppName" ReadOnly="true" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td width="130" class="ts">
                        <asp:Label id="XLabel11" runat="server" text="创建日期"></asp:Label></td>
                    <td width="466" class="ts1">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_TaxBillSign_Info.CreateDate" BorderColor="#DCDCDC" BorderWidth="1" Width="49%" CssClass="text" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label1" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox3" runat="server" BackColor="#E6F1F8" XDataBind="DF_SD_TaxBillSign_Info.AppDepart" ReadOnly="true" BorderColor="#DCDCDC" BorderWidth="1" Width="70%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label2" runat="server" text="公司代码"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_SD_TaxBillSign_Info.CompanyCode" BorderColor="Gainsboro" BorderWidth="1" Width="220" CssClass="text" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label13" runat="server" text="合同性质"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_SD_TaxBillSign_Info.ContractualNature" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'" PromptText="--请选择--">
                            <asp:ListItem>销售</asp:ListItem>
                            <asp:ListItem>租赁</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <!--海关税票信息-->
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" menudock="Left" dynamicarea="2,1">
            <tbody>
                <tr>
                    <td height="14" class="title1" style="TEXT-ALIGN: left" colspan="10">
                        <asp:Label id="XLabel9" runat="server" text="海关税票信息"></asp:Label>&nbsp; 
                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Text="导入税票信息" Width="95px" HiddenExpress="Global.StepName!='报关员发起海关税票签收申请'" DataMap="TaxBillDate->DF_SD_TaxBillSign_Detail.TaxBillDate;TaskID->DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID;ContractNo->DF_SD_TaxBillSign_Detail.ContractNo;PaymentDate->DF_SD_TaxBillSign_Detail.PaymentDate;Tax->DF_SD_TaxBillSign_Detail.Tax;DeclarePlace->DF_SD_TaxBillSign_Detail.DeclarePlace;DeclarationForm->DF_SD_TaxBillSign_Detail.DeclarationForm;SAPPO->DF_SD_TaxBillSign_Detail.SAPPO;SAPSO->DF_SD_TaxBillSign_Detail.SAPSO;Tariff->DF_SD_TaxBillSign_Detail.Tariff" Height="25px" XDataSource="TableName:V_DF_SD_PayTaxesQuery" DisplayColumns="FormNo:缴税申请单号,180;ContractNo:合同号;DeclarationForm:报关单号" MultiSelect="True"></aspxform:XDataBrowserButton>
                    </td>
                </tr>
                <tr>
                    <td width="40" height="24" class="tds">
                        <asp:Label id="XLabel10" runat="server" text="序号"></asp:Label></td>
                    <td width="180" class="tds">
                        <asp:Label id="Label8" runat="server" text="报关单号"></asp:Label></td>
                    <%--<td width="120" class="tds">
                        <asp:Label id="Label3" runat="server" text="合同性质"></asp:Label></td>--%> 
                    <td width="150" class="tds">
                        <asp:Label id="Label4" runat="server" text="报关口岸"></asp:Label></td>
                    <td width="130" class="tds">
                        <asp:Label id="Label5" runat="server" text="合同号"></asp:Label></td>
                    <td width="150" class="tds">
                        <asp:Label id="Label6" runat="server" text="PO号"></asp:Label></td>
                    <td width="70" class="tds">
                        <asp:Label id="Label7" runat="server" text="SO号"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label9" runat="server" text="关税"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label10" runat="server" text="增值税"></asp:Label></td>
                    <td width="120" class="tds">
                        <asp:Label id="Label11" runat="server" text="税票填发日期"></asp:Label></td>
                    <td width="100" class="tds">
                        <asp:Label id="Label12" runat="server" text="缴款期限"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1">
                        <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_SD_TaxBillSign_Detail.LineNumber" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                        <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true" Width="5"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.DeclarationForm" BorderColor="#DCDCDC" BorderWidth="1" Width="149px" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="21px" HiddenExpress="Global.StepName!='报关员发起海关税票签收申请'" DataMap="TaxBillDate->DF_SD_TaxBillSign_Detail.TaxBillDate;TaskID->DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID;ContractNo->DF_SD_TaxBillSign_Detail.ContractNo;PaymentDate->DF_SD_TaxBillSign_Detail.PaymentDate;SAPPO->DF_SD_TaxBillSign_Detail.SAPPO;DeclarePlace->DF_SD_TaxBillSign_Detail.DeclarePlace;DeclarationForm->DF_SD_TaxBillSign_Detail.DeclarationForm;Tax->DF_SD_TaxBillSign_Detail.Tax;SAPSO->DF_SD_TaxBillSign_Detail.SAPSO;Tariff->DF_SD_TaxBillSign_Detail.Tariff" Height="20px" XDataSource="TableName:V_DF_SD_PayTaxesQuery" DisplayColumns="FormNo:缴税申请单号,180;ContractNo:合同号;DeclarationForm:报关单号"></aspxform:XDataBrowserButton>
                    </td>
                    <%--<td class="tds1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.ContractualNature" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>--%> 
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.DeclarePlace" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.ContractNo" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.SAPPO" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.SAPSO" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.Tariff" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.Tax" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.TaxBillDate" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tds1" style="BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-COLOR: #b2bcc6; BORDER-BOTTOM-WIDTH: 1px; BORDER-LEFT-COLOR: #b2bcc6; BORDER-BOTTOM-COLOR: #b2bcc6; BORDER-RIGHT-COLOR: #b2bcc6; BORDER-TOP-WIDTH: 1px">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_SD_TaxBillSign_Detail.PaymentDate" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="Global.StepName!='报关员发起海关税票签收申请'||DF_SD_TaxBillSign_Detail.PayTaxesAppTaskID!=''"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <%-- <td class="tds1">
                    </td>--%> 
                    <td class="tds1">
                    </td>
                    <td class="tds1">
                    </td>
                    <td class="tds1">
                    </td>
                    <td class="tds1">
                    </td>
                    <td class="tds1">
                    </td>
                    <td class="tds1" style="TEXT-ALIGN: right">
                        <asp:Label id="XLabel55" runat="server" text="合计："></asp:Label></td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="varSumTariff" ReadOnly="True" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="1" TextAlign="Right" Format="type:currency;.2" Express="sum(DF_SD_TaxBillSign_Detail.Tariff)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="varSumTax" ReadOnly="True" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" DisableExpress="1" TextAlign="Right" Format="type:currency;.2" Express="sum(DF_SD_TaxBillSign_Detail.Tax)"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                    </td>
                    <td class="tds1" style="BORDER-LEFT-WIDTH: 1px; BORDER-RIGHT-WIDTH: 1px; BORDER-TOP-COLOR: #b2bcc6; BORDER-BOTTOM-WIDTH: 1px; BORDER-LEFT-COLOR: #b2bcc6; BORDER-BOTTOM-COLOR: #b2bcc6; BORDER-RIGHT-COLOR: #b2bcc6; BORDER-TOP-WIDTH: 1px">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ForeColor="Red" ErrorMessage="请输入合同性质" ControlToValidate="XDropDownList1" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ForeColor="Red" ErrorMessage="请输入公司代码" ControlToValidate="XTextBox4" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ForeColor="Red" ErrorMessage="请输入海关口岸" ControlToValidate="XTextBox2" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ForeColor="Red" DisableExpress="DF_SD_TaxBillSign_Detail.SAPSO!=''" ErrorMessage="请输入PO号或SO号" ControlToValidate="XTextBox6" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ForeColor="Red" DisableExpress="DF_SD_TaxBillSign_Detail.SAPPO!=''" ErrorMessage="请输入PO号或SO号" ControlToValidate="XTextBox7" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ForeColor="Red" ErrorMessage="请输入报关单号" ControlToValidate="XTextBox8" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ForeColor="Red" ErrorMessage="请输入关税" ControlToValidate="XTextBox9" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ForeColor="Red" ErrorMessage="请输入增值税" ControlToValidate="XTextBox10" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ForeColor="Red" ErrorMessage="请输入税票填发日期" ControlToValidate="XDateTimePicker2" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ForeColor="Red" ErrorMessage="请输入缴款期限" ControlToValidate="XDateTimePicker3" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <br />
        <!--底部-->
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td width="1200" height="12" class="td1">
                        <asp:Label id="XLabel65" runat="server" text="附件"></asp:Label></td>
                </tr>
                <tr>
                    <td height="14">
                        <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_SD_TaxBillSign_Info.Attachment" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200" class="title1">
                        <asp:Label id="XLabel67" runat="server" text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox55" runat="server" XDataBind="DF_SD_TaxBillSign_Info.Remark" BorderColor="#DCDCDC" BorderWidth="1" Width="100%" Height="60px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td>
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" BorderColor="#dcdcdc" BorderWidth="1" Width="1200px"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
