<%@ Page Language="C#" %>

<%@ Register TagPrefix="aspxform" Namespace="XFormDesigner.Framework.Web.UI" Assembly="XFormDesigner.Framework" %>
<script runat="server">

    // Insert page code here
    //

    void XCheckBox1_CheckedChanged(object sender, EventArgs e)
    {

    }

    void XTextBox7_TextChanged(object sender, EventArgs e)
    {

    }

</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;
        }
    </style>
    <script type="text/javascript">

        /*   注**：这是一个公共的方法
       **  获取行项目table对应标签控件元素id
       **  参数说明：name(控件name)，i(行索引)，htmltag(要获取控件div中对应的标签名)
       **  示例：获取第1行行项目文本框name="txtname",参数：txtname,0,input
       */
        function getElementId(name, i, htmltag) {
            var divs = document.getElementsByName(name);
            var div = divs[i];
            var id = div.getElementsByTagName(htmltag)[0].id;
            return id;

        }

        function print() {
            var tid = agent.Eles[document.getElementById("XTextBox37").getAttribute("xform_xele_index")].getValue();
            window.open("办公费用申请单打印.aspx?tid=" + tid);
        }


        //获取会计凭证号
        Ext.onReady(function () {
            //BPM表单号
            var bpmFormNo = document.getElementById("XLabel1").innerText;
            var voucherCode = agent.Eles[document.getElementById("XTextBox28").getAttribute("xform_xele_index")].getValue();
            var PaySerialNum = agent.Eles[document.getElementById("XTextBox40").getAttribute("xform_xele_index")].getValue(); //批次序列号
            if (bpmFormNo != "" && voucherCode == "") {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/FICOAPIHandler.ashx'),
                    method: 'POST',
                    async: false,
                    disableCaching: true,
                    params: {
                        method: 'GetPaymentVoucherInfo',
                        ZBPM: bpmFormNo,
                        PaySerialNum: PaySerialNum
                    },
                    success: function (action) {
                        var data = action.result.Bean;
                        //alert(action.result.Code);
                        if (action.result.Code == 0) {
                            //alert(data[0].BELNR);
                            agent.Eles[document.getElementById("XTextBox28").getAttribute("xform_xele_index")].setValue(data[0].BELNR);
                        }
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }

        });

        //电子发票空行控制
        function invoiceType_onchange(invoiceType, InvoiceMedia) {
            var table = agent.findGridFromTableName(null, 'DF_ER_EInvoiceItems'); //获取table对象
            if (table != undefined) {
                var tableObj = document.getElementById("tablenew");
                var rows = tableObj.rows.length - 2;
                var invoiceNo;
                if (rows > 0) {
                    invoiceNo = agent.Eles[tableObj.rows[2].cells[0].children[0].getAttribute("xform_xele_index")].getValue();
                    //alert(invoiceNo);
                }
                if (invoiceType == "1" || invoiceType == "2") {
                    if (InvoiceMedia == "全部电子发票" || InvoiceMedia == "部分电子发票") {
                        if (rows == 0)
                            table.appendBlock(1);
                    }
                    else {
                        if (rows > 0 && invoiceNo.length == 0)
                            table.deleteBlocks(0, 1); //删除现有table行
                    }
                }
                else {
                    if (rows > 0 && invoiceNo.length == 0)
                        table.deleteBlocks(0, 1); //删除现有table行
                }
            }
        }

        //表单提交时修改数据
        agent.on('beforeSubmit', function (post, acname) {

            if (acname == "提交") {

                //付款对象
                var radio1_0 = document.getElementById("XRadioButtonList1_0");
                var radio1_1 = document.getElementById("XRadioButtonList1_1");
                //发票类型
                var radio2_0 = document.getElementById("XRadioButtonList2_0");
                var radio2_1 = document.getElementById("XRadioButtonList2_1");
                var checkbox1;
                var name = "checkbox1";
                var inputs = document.getElementsByTagName("input");
                for (var i = 0; i < inputs.length; i++) {
                    var a = document.getElementsByName(name);
                    if (inputs[i].name == name) {
                        checkbox1 = inputs[i].checked;
                    }
                }
                if (checkbox1) {
                    radio1_0.checked = false;
                    radio1_1.checked = false;
                    radio2_0.checked = false;
                    radio2_1.checked = false;
                }

                //判断 付款摘要字段长度超过30位，不允许提交 提示信息
                var PayAbstract = agent.Eles[document.getElementById("XTextBox43").getAttribute("xform_xele_index")].getValue();
                if (PayAbstract != "" && PayAbstract.length > 30) {
                    Ext.Msg.alert("提示", "银行付款摘要不能超过30位！");
                    return false;
                }

            }


            if (acname == "已付款") {
                //发票介质 InvoiceMedia
                var InvoiceType = checkedVaule("InvoiceMedia");
                if (InvoiceType == "全部电子发票" || InvoiceType == "部分电子发票") {
                    var formNo = agent.Eles[document.getElementById("XLabel1").getAttribute("xform_xele_index")].getValue();
                    var taskID = agent.Eles[document.getElementById("XTextBox37").getAttribute("xform_xele_index")].getValue();
                    //获取明细电子发票附件
                    var tableid = "tablenew";
                    var tableObj = document.getElementById(tableid);
                    var EInvoiceAttachment = "";
                    for (var i = 2; i < tableObj.rows.length; i++) {
                        var str = agent.Eles[tableObj.rows[i].cells[2].children[0].getAttribute("xform_xele_index")].getValue();
                        if (str != "") {
                            if (EInvoiceAttachment == "")
                                EInvoiceAttachment = str;
                            else
                                EInvoiceAttachment = EInvoiceAttachment + ";" + str;
                        }
                    }
                    if (EInvoiceAttachment != "")
                        UpEInvoiceAttachment(EInvoiceAttachment, formNo, taskID);
                }
            }


        });





        //上传电子发票附件
        function UpEInvoiceAttachment(EInvoiceAttachment, formNo, taskID) {
            if (EInvoiceAttachment != null && EInvoiceAttachment != "") {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/AliOssAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'UpAliOss',
                        formNo: formNo,
                        taskID: taskID,
                        fileid: EInvoiceAttachment,
                        type: "EInvoice"
                    },
                    success: function (action) {
                        //var result = action.result;
                        //alert(action.result.Value);

                    }
                });

            }
        }

        function EInvoice_Disable(stepname) {
            if (stepname != "" && stepname != null) {
                if (stepname == "申请人发起申请" || stepname.indexOf("费用会计岗") != -1) { return false; }
                else return true;
            }
            return true;
        }




        //单选获取选中的值
        function checkedVaule(name) {
            var obj = document.getElementsByName(name);
            for (var i = 0; i < obj.length; i++) {
                if (obj[i].checked) {
                    return obj[i].value;
                }
            }
        };

    </script>
</head>
<body>
    <form runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo"></td>
                    <td width="1000" class="biaoti">
                        <asp:Label ID="Label1" runat="server" Text="办公费用付款/报销申请单"></asp:Label></td>
                    <td width="400" class="formno">
                        <asp:Label ID="Label2" runat="server" Text="表单号："></asp:Label>
                        <aspxform:XLabel ID="XLabel1" runat="server" Text="--系统自动生成--" XDataBind="DF_FI_OfficeExpensesApp.FormNo" Value ValueToDisplayText BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td colspan="3">
                        <asp:Label ID="Label45" runat="server" Text="标记为 * 的为申请人必填项" ForeColor="Red" Font-Bold="True"></asp:Label></td>
                    <td align="right">
                        <aspxform:XButton ID="XButton1" runat="server" Text="打 印" align="right" OnClientClick="print();"></aspxform:XButton>
                    </td>
                </tr>
                <tr>
                    <td height="13" class="title1" colspan="4">
                        <asp:Label ID="Label3" runat="server" Text="基本信息"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox35" runat="server" XDataBind="DF_FI_OfficeExpensesApp.AppType" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True">费用申请</aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox37" runat="server" XDataBind="DF_FI_OfficeExpensesApp.TaskID" ValueToDisplayText Width="60px" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="True" Max="0" Min="0"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label4" runat="server" Text="申请人"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox9" runat="server" XDataBind="DF_FI_OfficeExpensesApp.AppAccount" ValueToDisplayText="TableName:V_DF_HR_BasicInfo;FilterColumn:AttendanceKakaNO;DisplayColumn:AttendanceKakaNO" HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" DataMap="Name->DF_FI_OfficeExpensesApp.AppName;Department->DF_FI_OfficeExpensesApp.AppDepartment;Region->DF_FI_OfficeExpensesApp.Area;MobilePhone->DF_FI_OfficeExpensesApp.Phone;BUName->DF_FI_OfficeExpensesApp.BU"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox1" runat="server" XDataBind="DF_FI_OfficeExpensesApp.AppName" ValueToDisplayText BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label5" runat="server" Text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDateTimePicker ID="XDateTimePicker1" runat="server" XDataBind="DF_FI_OfficeExpensesApp.CreateDate" BackColor="#E6F1F8" Width="50%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label6" runat="server" Text="事业部"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox2" runat="server" XDataBind="DF_FI_OfficeExpensesApp.BU" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label7" runat="server" Text="部门"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox3" runat="server" XDataBind="DF_FI_OfficeExpensesApp.AppDepartment" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="12" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label8" runat="server" Text="BPM账号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox4" runat="server" XDataBind="DF_FI_OfficeExpensesApp.BPMAccount" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True" Express="DF_FI_OfficeExpensesApp.AppAccount"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label9" runat="server" Text="地区"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox6" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Area" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label10" runat="server" Text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox5" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Phone" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%"></td>
                    <td class="tsbottomtext" style="width: 35%"></td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label ID="Label11" runat="server" Text="费用信息"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox18" runat="server" XDataBind="DF_FI_OfficeExpensesApp.CostSubject" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox19" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ERCodeSAPID" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0"></aspxform:XTextBox>
                        <aspxform:XDropDownList ID="XDropDownList3" runat="server" HiddenExpress="1" Width="50px" DataMap="ERCodeSAPID->DF_FI_OfficeExpensesApp.ERCodeSAPID" XDataSource="TableName:DF_FI_RightControl;Filter:Post->varvalue,CompanyCode->DF_FI_OfficeExpensesApp.Company"></aspxform:XDropDownList>
                        <aspxform:XTextBox ID="XTextBox30" runat="server" XDataBind="DF_FI_OfficeExpensesApp.OtherSubject" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox31" runat="server" XDataBind="DF_FI_OfficeExpensesApp.BankSubject" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox32" runat="server" XDataBind="DF_FI_OfficeExpensesApp.TaxSubiect" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox33" runat="server" XDataBind="DF_FI_OfficeExpensesApp.CostSubjectNum" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox29" runat="server" XDataBind="DF_FI_OfficeExpensesApp.OtherSubjectPerson" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox34" runat="server" XDataBind="DF_FI_OfficeExpensesApp.OtherSubjectSupplier" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox38" runat="server" XDataBind="DF_FI_OfficeExpensesApp.IsInvoice" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="True"></aspxform:XTextBox>
                        &nbsp;<aspxform:XTextBox ID="XTextBox20" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ReasonCode" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox40" runat="server" XDataBind="DF_FI_OfficeExpensesApp.PaySerialNum" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC">001</aspxform:XTextBox>
                    </td>
                </tr>
                <tr>

                     <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label40" runat="server" Text="公司主体"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XLabel id="XLabel9" runat="server" text="Label" BackColor="#D4E4FE" XDataBind="companyName"></aspxform:XLabel>
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Company" Width="40%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varcode"  DisplayColumn="Name" DataMap="Value->companyName;" ValueColumn="Name"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox17" runat="server" Value XDataBind="varcode" ValueToDisplayText Min="0" Max="0" HiddenInput="True" BorderWidth="1px" Width="87px" BorderColor="Gainsboro">companycode1</aspxform:XTextBox>
                    </td>
                    <td height="20" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label12" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label13" runat="server" Text="费用预算部门"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox10" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ExpensesBudgetDeptID" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList1" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ExpensesBudgetDept" Width="40%" DataMap="DepartmentID->DF_FI_OfficeExpensesApp.ExpensesBudgetDeptID" XDataSource="TableName:DF_FI_OfficeExpensesCategory;Filter:Company->DF_FI_OfficeExpensesApp.Company" ValueColumn="Department" DisplayColumn="Department" PromptText="----请选择----" DisableExpress="Global.StepName!='申请人发起申请'">
                            <asp:ListItem>人事行政部</asp:ListItem>
                            <asp:ListItem>IT部</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox ID="XTextBox22" runat="server" XDataBind="varvalue" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC">费用会计岗</aspxform:XTextBox>
                    </td>
                   
                </tr>
                <tr hiddenexpress="DF_FI_OfficeExpensesApp.ExpensesBudgetDept!='人事行政部'">
                    <td height="20" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label38" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label42" runat="server" Text="地 区"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList4" runat="server" XDataBind="DF_FI_OfficeExpensesApp.AppArea" Width="40%" XDataSource PromptText="----请选择----" DisableExpress="Global.StepName!='申请人发起申请'">
                            <asp:ListItem>北京</asp:ListItem>
                            <asp:ListItem>上海</asp:ListItem>
                            <asp:ListItem>南京</asp:ListItem>
                            <asp:ListItem>苏州</asp:ListItem>
                            <asp:ListItem>武汉</asp:ListItem>
                            <asp:ListItem>西安</asp:ListItem>
                            <asp:ListItem>深圳</asp:ListItem>
                            <asp:ListItem>成都</asp:ListItem>
                            <asp:ListItem>绵阳</asp:ListItem>
                            <asp:ListItem>天津</asp:ListItem>
                            <asp:ListItem>广州</asp:ListItem>
                            <asp:ListItem>杭州</asp:ListItem>
                            <asp:ListItem>郑州</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td height="20" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label48" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label47" runat="server" Text="费用年度"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList5" runat="server" Width="40%" XDataBind="DF_FI_OfficeExpensesApp.CostYear" XDataSource PromptText="----请选择----" DisableExpress="Global.StepName!='申请人发起申请'">
                            <asp:ListItem>2017</asp:ListItem>
                            <asp:ListItem>2018</asp:ListItem>
                            <asp:ListItem>2019</asp:ListItem>
                            <asp:ListItem>2020</asp:ListItem>
                            <asp:ListItem>2021</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                     <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label16" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label19" runat="server" Text="费用明细"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox21" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ProcessNumber" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList2" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ExpensesName" Width="40%" DataMap="ExpensesDescribe->DF_FI_OfficeExpensesApp.ExpensesDescribe;ProcessNumber->DF_FI_OfficeExpensesApp.ProcessNumber;CostCenter->DF_FI_OfficeExpensesApp.CostCenter;CostSubject->DF_FI_OfficeExpensesApp.Subject;CostSubjectNum->DF_FI_OfficeExpensesApp.CostSubjectNum;ReasonCode->DF_FI_OfficeExpensesApp.ReasonCode;erArea->DF_FI_OfficeExpensesApp.erArea;OtherSubjectPerson->DF_FI_OfficeExpensesApp.OtherSubjectPerson;OtherSubjectSupplier->DF_FI_OfficeExpensesApp.OtherSubjectSupplier;BankSubject->DF_FI_OfficeExpensesApp.BankSubject;TaxSubiect->DF_FI_OfficeExpensesApp.TaxSubiect;OtherSubject->DF_FI_OfficeExpensesApp.OtherSubject;IsInvoice->DF_FI_OfficeExpensesApp.IsInvoice;Scope->DF_FI_OfficeExpensesApp.Scope;PayBankID->DF_FI_OfficeExpensesApp.PayBankID;InternalOrder->DF_FI_OfficeExpensesApp.InternalOrder" XDataSource="TableName:DF_FI_OfficeExpensesCategory;Filter:DepartmentID->DF_FI_OfficeExpensesApp.ExpensesBudgetDeptID,Company->DF_FI_OfficeExpensesApp.Company" ValueColumn="ExpensesName" DisplayColumn="ExpensesName" PromptText="----请选择----" DisableExpress="Global.StepName!='申请人发起申请'">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td height="19" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label46" runat="server" Text="费用说明"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox36" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ExpensesDescribe" BackColor="#E6F1F8" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True" TextMode="MultiLine" Rows="2"></aspxform:XTextBox>
                    </td>

                    
                </tr>
                 <tr>
                       <td height="19" class="tsbottomlabel">
                        <asp:Label ID="Label59" runat="server" Text="费用类别"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDropDownList ID="XDropDownList8" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ExpensesName1" Width="40%" XDataSource="TableName:DF_FI_OfficeExpensesCategory;Filter:DepartmentID->DF_FI_OfficeExpensesApp.ExpensesBudgetDeptID,Company->DF_FI_OfficeExpensesApp.Company,ExpensesName->DF_FI_OfficeExpensesApp.ExpensesName" ValueColumn="ExpensesName1" DisplayColumn="ExpensesName1" PromptText="----请选择----" DisableExpress="Global.StepName!='申请人发起申请'">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList></td>
                    <td height="19" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label32" runat="server" Text="费用科目"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox23" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Subject" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label20" runat="server" Text="成本中心"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox11" runat="server" XDataBind="DF_FI_OfficeExpensesApp.CostCenter" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label35" runat="server" Text="内部订单"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox44" runat="server" XDataBind="DF_FI_OfficeExpensesApp.InternalOrder" ValueToDisplayText BackColor="#E6F1F8" Width="197px" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;<aspxform:XDataBrowserButton ID="XDataBrowserButton2" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" Width="36px" DataMap="OrderNo->DF_FI_OfficeExpensesApp.InternalOrder" XDataSource="TableName:DF_FI_InternalOrder" DisableExpress="Global.StepName!='北京费用会计岗审核' &amp;&amp; Global.StepName!='2000费用会计岗审核1' &amp;&amp; Global.StepName!='1010费用会计岗审核' &amp;&amp; Global.StepName!='1020费用会计岗审核'  &amp;&amp; Global.StepName!='2100费用会计岗审核1'" DisplayColumns="OrderNo:内部订单号;Remark:描述" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False"></aspxform:XDataBrowserButton>
                    </td>
                </tr>

                 <tr>
                 
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label51" runat="server" Text="业务范围"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox48" runat="server" XDataBind="DF_FI_OfficeExpensesApp.erArea" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                     <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label17" runat="server" Text="功能范围"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XDropDownList ID="XDropDownList6" runat="server" Width="40%" XDataBind="DF_FI_OfficeExpensesApp.Scope" XDataSource='TableName:DF_DataSourceList;Filter:Type->"功能范围"' ValueColumn="Value" DisplayColumn="Name" PromptText="----请选择----" DisableExpress="Global.StepName!='北京费用会计岗审核' &amp;&amp; Global.StepName!='2000费用会计岗审核1'&#13;&#10;&amp;&amp; Global.StepName!='1010费用会计岗审核' &amp;&amp; Global.StepName!='1020费用会计岗审核' ">
                            <asp:ListItem>2017</asp:ListItem>
                            <asp:ListItem>2018</asp:ListItem>
                            <asp:ListItem>2019</asp:ListItem>
                            <asp:ListItem>2020</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                     <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label14" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label15" runat="server" Text="付款金额"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox8" runat="server" XDataBind="DF_FI_OfficeExpensesApp.ReimbursementTotal" ValueToDisplayText Width="176px" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" DisableExpress="Global.StepName!='申请人发起申请'" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label3233" runat="server" Text="银行已托收"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XCheckBox ID="checkbox1" runat="server" XDataBind="DF_FI_OfficeExpensesApp.IsBankCollection"></aspxform:XCheckBox>
                    </td>
                    
                </tr>
                <tr hiddenexpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'">
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel2" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1' "></aspxform:XLabel>
                        <asp:Label ID="Label34" runat="server" Text="发票类型"></asp:Label>
                        <aspxform:XTextBox ID="XTextBox24" runat="server" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC">3</aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox26" runat="server" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" Express="DF_FI_OfficeExpensesApp.InvoiceType"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XRadioButtonList ID="XRadioButtonList2" runat="server" XDataBind="DF_FI_OfficeExpensesApp.InvoiceType" Express='if(DF_FI_OfficeExpensesApp.IsInvoice=="1","3","")' DisableExpress="(Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='申请人提交发票' ) || DF_FI_OfficeExpensesApp.IsInvoice==&quot;1&quot;" RepeatDirection="Horizontal" name="XRadioButtonList2">
                            <asp:ListItem Value="1">专票</asp:ListItem>
                            <asp:ListItem Value="2">普票</asp:ListItem>
                            <asp:ListItem Value="3">无票</asp:ListItem>
                        </aspxform:XRadioButtonList>
                        <aspxform:XTextBox ID="XTextBox39" runat="server" XDataBind="comp" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC">3</aspxform:XTextBox>
                        <aspxform:XTextBox ID="XTextBox46" runat="server" Express="javascript('invoiceType_onchange',DF_FI_OfficeExpensesApp.InvoiceType,DF_FI_OfficeExpensesApp.InvoiceMedia)" ValueToDisplayText HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel3" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'"></aspxform:XLabel>
                        <asp:Label ID="Label18" runat="server" Text="付款对象"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XRadioButtonList ID="XRadioButtonList1" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Payer" DisableExpress="Global.StepName!='申请人发起申请'" RepeatDirection="Horizontal">
                            <asp:ListItem Value="01">员工（垫付）</asp:ListItem>
                            <asp:ListItem Value="02">供应商</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>

                <tr hiddenexpress="DF_FI_OfficeExpensesApp.InvoiceType!='1'">
                    <td height="18" class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label37" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label36" runat="server" Text="专票税额"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox25" runat="server" XDataBind="DF_FI_OfficeExpensesApp.InvoiceTax" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='申请人提交发票'" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label39" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label28" runat="server" Text="发票号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox14" runat="server" XDataBind="DF_FI_OfficeExpensesApp.InvoiceNumber" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='申请人提交发票'"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr hiddenexpress="DF_FI_OfficeExpensesApp.InvoiceType!='1' &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceType!='2'">
                    <td height="24" class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel8" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1' "></aspxform:XLabel>
                        <asp:Label ID="Label49" runat="server" Text="发票介质"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XRadioButtonList ID="InvoiceMedia" runat="server" XDataBind="DF_FI_OfficeExpensesApp.InvoiceMedia" DisableExpress="(Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='申请人提交发票' ) || DF_FI_OfficeExpensesApp.IsInvoice==&quot;1&quot;" RepeatDirection="Horizontal">
                            <asp:ListItem>全部电子发票</asp:ListItem>
                            <asp:ListItem>部分电子发票</asp:ListItem>
                            <asp:ListItem>全部纸质发票</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%"></td>
                    <td class="tsbottomtext" style="width: 35%"></td>
                </tr>
                <tr>
                   <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label21" runat="server" Text="*" ForeColor="Red"></asp:Label>&nbsp;<asp:Label ID="Label22" runat="server" Text="事由(地区+事由+期段)"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 30%">
                        <aspxform:XTextBox ID="XTextBox7" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Reason" ValueToDisplayText Font-Bold="True" Width="100%" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='北京费用会计岗审核'" TextMode="MultiLine" Rows="3" OnTextChanged="XTextBox7_TextChanged"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label41" runat="server" Text="会计凭证号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox28" runat="server" XDataBind="DF_FI_OfficeExpensesApp.voucherCode" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
               
                <tr hiddenexpress='Global.StepName!="人民币1000出纳岗付款" &amp;&amp; Global.StepName!="2000出纳岗付款" &amp;&amp; Global.StepName!="1010出纳岗付款" &amp;&amp; Global.StepName!="1020出纳岗付款"   &amp;&amp; Global.StepName!="2100出纳岗付款" &amp;&amp; Global.StepName!="人民币1000出纳岗付款1" &amp;&amp; Global.StepName!="人民币1000出纳岗付款2"'>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label26" runat="server" Text="付款银行账号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox42" runat="server" XDataBind="DF_FI_OfficeExpensesApp.PayBankID" BackColor="#E6F1F8" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                        &nbsp;<aspxform:XDataBrowserButton ID="XDataBrowserButton1" runat="server" Width="21px" DataMap="BankAccount->DF_FI_OfficeExpensesApp.PayBankID" XDataSource="TableName:DF_FI_PaymentBankInfo;Filter:CompanyCode->DF_FI_OfficeExpensesApp.Company" DisplayColumns="BankAccount:银行账号;BankRemark:银行描述"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label24" runat="server" Text="支付密码"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">&nbsp;<aspxform:XTextBox ID="XTextBox41" runat="server" XDataBind="DF_FI_OfficeExpensesApp.PayPassword" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" TextMode="Password"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator20" runat="server" ForeColor="Blue" ControlToValidate="XTextBox42" ErrorMessage="请选择付款银行账户" Display="None" ValidationGroup="fk">请选择付款银行账户</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator16" runat="server" ForeColor="Blue" ControlToValidate="XTextBox41" ErrorMessage="请填写支付密码" Display="None" ValidationGroup="fk">请填写支付密码</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_FI_OfficeExpensesApp.Payer!='02'">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="5">
                        <asp:Label ID="Label23" runat="server" Text="付款信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel4" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label25" runat="server" Text="供应商名称"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox12" runat="server" XDataBind="DF_FI_OfficeExpensesApp.SupplierName" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel6" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label27" runat="server" Text="账号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox13" runat="server" XDataBind="DF_FI_OfficeExpensesApp.SupplierAccount" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel5" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label30" runat="server" Text="开户行"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox15" runat="server" XDataBind="DF_FI_OfficeExpensesApp.BankName" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起申请'"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%">
                        <aspxform:XLabel ID="XLabel7" runat="server" Text="*" ValueToDisplayText BackColor="#D4E4FE" ForeColor="Red" HiddenExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'"></aspxform:XLabel>
                        &nbsp;<asp:Label ID="Label31" runat="server" Text="行号"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox16" runat="server" XDataBind="DF_FI_OfficeExpensesApp.BankNumber" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!=&quot;人民币1000出纳岗付款&quot; &amp;&amp; Global.StepName!=&quot;2000出纳岗付款&quot; &amp;&amp; Global.StepName!=&quot;人民币1000出纳岗付款1&quot; &amp;&amp; Global.StepName!=&quot;人民币1000出纳岗付款2&quot;   &amp;&amp; Global.StepName!=&quot;2100出纳岗付款&quot;"></aspxform:XTextBox>
                    </td>
                </tr>
                 <tr>
                    <td class="tsbottomlabel" style="width: 10%">
                        <asp:Label ID="Label29" runat="server" Text="银行付款摘要"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 35%">
                        <aspxform:XTextBox ID="XTextBox43" runat="server" XDataBind="DF_FI_OfficeExpensesApp.PayAbstract" ValueToDisplayText Font-Bold="True" Width="100%" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" DisableExpress="Global.StepName!='申请人发起申请' &amp;&amp; Global.StepName!='北京费用会计岗审核' &amp;&amp; Global.StepName!='人民币1000出纳岗付款'  &amp;&amp; Global.StepName!='1010费用会计岗审核' &amp;&amp; Global.StepName!='人民币1000出纳岗付款1'  &amp;&amp; Global.StepName!='1020费用会计岗审核' &amp;&amp; Global.StepName!='人民币1000出纳岗付款2'" TextMode="MultiLine" Rows="3"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="width: 10%"></td>
                    <td class="tsbottomtext" style="width: 35%"></td>
                </tr>
            </tbody>
        </table>
        <br />
        <%--hiddenExpress='DF_FI_OfficeExpensesApp.InvoiceType=="无票" || (DF_FI_OfficeExpensesApp.InvoiceType!="无票" &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="全部电子发票"  &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="部分电子发票")'--%>
        <table  width="1200" align="center" id="tablenew" border="0" cellspacing="0" cellpadding="0" menudock="left" dynamicarea="2,1" emptygrid="KeepEmpty">
            <tbody>
                <tr>
                    <td class="title1" colspan="3">电子发票信息</td>
                </tr>
                <tr>
                    <td width="469" class="tds">电子发票号</td>
                    <td width="362" class="tds">电子发票金额</td>
                    <td width="363" class="tds">电子发票附件</td>
                </tr>
                <tr>
                    <td class="tds1">
                        <aspxform:XTextBox ID="EInvoiceNum" runat="server" XDataBind="DF_ER_EInvoiceItems.EInvoiceNum" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="javascript('EInvoice_Disable',Global.StepName)" Height="30px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XTextBox ID="EAmount" runat="server" XDataBind="DF_ER_EInvoiceItems.Amount" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="javascript('EInvoice_Disable',Global.StepName)" Format="type:currency;.2" TextAlign="Right" Height="30px"></aspxform:XTextBox>
                    </td>
                    <td class="tds1">
                        <aspxform:XAttachments ID="EInvoiceAttachment" runat="server" XDataBind="DF_ER_EInvoiceItems.EInvoiceAttachment" Width="100%" DisableExpress="javascript('EInvoice_Disable',Global.StepName)" Height="30px" FileTypes="*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf"></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="XLabel60" runat="server" Text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox ID="XTextBox45" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Remark" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" TextMode="MultiLine" Height="50px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="20" class="title1" colspan="2">
                        <asp:Label ID="Label43" runat="server" Text="附件信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="width: 10%">&nbsp;<asp:Label ID="Label44" runat="server" Text="上传付款合同附件"></asp:Label></td>
                    <td class="tsbottomtext" style="width: 80%">
                        <aspxform:XAttachments ID="XAttachments1" runat="server" XDataBind="DF_FI_OfficeExpensesApp.Attachment" Width="100%" DisableExpress="Global.StepName!='申请人发起申请'" FileTypes="*.pdf;*.jpg;*.png;*.doc;*.docx;*.xls;*.xlsx"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator1" runat="server" ControlToValidate="XDropDownList1" ErrorMessage="请选择费用预算部门" Display="None" ValidationGroup="yz">请选择费用预算部门</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator2" runat="server" ControlToValidate="XDropDownList2" ErrorMessage="请选择费用类别" Display="None" ValidationGroup="yz">请选择费用类别</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator9" runat="server" ControlToValidate="XDropDownList4" DisableExpress="DF_FI_OfficeExpensesApp.ExpensesBudgetDept!='人事行政部' " ErrorMessage="请选择地区" Display="None" ValidationGroup="yz">请选择地区</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator13" runat="server" ControlToValidate="XDropDownList5" DisableExpress="DF_FI_OfficeExpensesApp.ExpensesBudgetDept!='人事行政部'" ErrorMessage="请选择费用年度" Display="None" ValidationGroup="yz">请选择费用年度</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator3" runat="server" ControlToValidate="XTextBox8" ErrorMessage="请填写报销合计金额!" Display="None" ValidationGroup="yz">请填写报销合计金额!</aspxform:XRequiredFieldValidator>
        <aspxform:XCompareValidator ID="XCompareValidator3" runat="server" DisableExpress="DF_FI_OfficeExpensesApp.IsInvoice==1" ControlToValidate="XRadioButtonList2" ErrorMessage="发票类型必须选择专票或普票" Display="None" ValidationGroup="yz" Operator="NotEqual" ControlToCompare="XTextBox39">发票类型必须选择专票或普票</aspxform:XCompareValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator12" runat="server" ForeColor="Red" DisableExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1' " ControlToValidate="XRadioButtonList2" ErrorMessage="请选择发票类型" Display="None" ValidationGroup="yz">请选择发票类型</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator10" runat="server" ForeColor="Red" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType!="1"' ControlToValidate="XTextBox25" ErrorMessage="请填写专票税额" Display="None" ValidationGroup="yz">请填写专票税额</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator11" runat="server" ForeColor="Red" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType!="1"' ControlToValidate="XTextBox14" ErrorMessage="请填写发票号" Display="None" ValidationGroup="yz">请填写发票号</aspxform:XRequiredFieldValidator>
        <aspxform:XCompareValidator ID="XCompareValidator2" runat="server" Type="Currency" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType!="1"' ControlToValidate="XTextBox25" ErrorMessage="税额不能大于报销金额" Display="None" ValidationGroup="yz" Operator="LessThan" ControlToCompare="XTextBox8">税额不能大于报销金额</aspxform:XCompareValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator5" runat="server" DisableExpress="DF_FI_OfficeExpensesApp.IsBankCollection=='1'" ControlToValidate="XRadioButtonList1" ErrorMessage="请选择付款对象!" Display="None" ValidationGroup="yz">请选择付款对象!</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator4" runat="server" ControlToValidate="XTextBox7" ErrorMessage="请填写事由!" Display="None" ValidationGroup="yz">请填写事由!</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator18" runat="server" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType!="1" &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceType!="2"' ControlToValidate="InvoiceMedia" ErrorMessage="请选择发票介质!" Display="None" ValidationGroup="yz">请选择发票介质!</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator6" runat="server" DisableExpress="DF_FI_OfficeExpensesApp.Payer==&quot;01&quot; || DF_FI_OfficeExpensesApp.IsBankCollection=='1'" ControlToValidate="XTextBox12" ErrorMessage="请填写供应商名称!" Display="None" ValidationGroup="yz">请填写供应商名称!</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator7" runat="server" DisableExpress="DF_FI_OfficeExpensesApp.Payer==&quot;01&quot; ||DF_FI_OfficeExpensesApp.IsBankCollection=='1'" ControlToValidate="XTextBox13" ErrorMessage="请填写账号!" Display="None" ValidationGroup="yz">请填写账号!</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator8" runat="server" DisableExpress="DF_FI_OfficeExpensesApp.Payer==&quot;01&quot; || DF_FI_OfficeExpensesApp.IsBankCollection=='1'" ControlToValidate="XTextBox15" ErrorMessage="请填写开户行!" Display="None" ValidationGroup="yz">请填写开户行!</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator17" runat="server" DisableExpress="DF_FI_OfficeExpensesApp.Payer==&quot;01&quot; || DF_FI_OfficeExpensesApp.IsBankCollection=='1'" ControlToValidate="XTextBox16" ErrorMessage="请填写行号!" Display="None" ValidationGroup="yz">请填写行号!</aspxform:XRequiredFieldValidator>
        <aspxform:XCompareValidator ID="XCompareValidator1" runat="server" ControlToValidate="XTextBox26" ErrorMessage="发票类型必须选择“专票”或者“普票”" Display="None" ValidationGroup="yzfp" Operator="NotEqual" ControlToCompare="XTextBox24">发票类型必须选择“专票”或者“普票”</aspxform:XCompareValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator14" runat="server" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType!="1"' ControlToValidate="XTextBox25" ErrorMessage="请填写专票税额" Display="None" ValidationGroup="yzfp">请填写专票税额</aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator15" runat="server" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType!="1"' ControlToValidate="XTextBox14" ErrorMessage="请填写发票号" Display="None" ValidationGroup="yzfp">请填写发票号</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <br />
        <aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator19" runat="server" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType=="无票" || (DF_FI_OfficeExpensesApp.InvoiceType!="无票" &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="全部电子发票"  &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="部分电子发票")' ControlToValidate="EInvoiceNum" ErrorMessage="请填写电子发票号" Display="None" ValidationGroup="yz">请填写电子发票号</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator21" runat="server" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType=="无票" || (DF_FI_OfficeExpensesApp.InvoiceType!="无票" &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="全部电子发票"  &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="部分电子发票")' ControlToValidate="EAmount" ErrorMessage="请填写电子发票金额" Display="None" ValidationGroup="yz">请填写电子发票金额</aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator ID="XRequiredFieldValidator22" runat="server" DisableExpress='DF_FI_OfficeExpensesApp.InvoiceType=="无票" || (DF_FI_OfficeExpensesApp.InvoiceType!="无票" &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="全部电子发票"  &amp;&amp; DF_FI_OfficeExpensesApp.InvoiceMedia!="部分电子发票")' ControlToValidate="EInvoiceAttachment" ErrorMessage="请上传电子发票附件" Display="None" ValidationGroup="yz">请上传电子发票附件</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XSignTrace ID="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
