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

    // Insert page code here
    //
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack) //首次加载
        {
            if (Request.QueryString["bid"] != null)
            {
                this.BidProjectID.Text = Request.QueryString["bid"].ToString();
                this.XDropDownList4.DataMap = "";
    
            }
            if (Request.QueryString["ItemID"]!=null)
            {
                this.SalesOpportID.Text = Request.QueryString["ItemID"].ToString();
                this.XDropDownList2.DataMap = "";
                this.XLabel9.Text = "1100";
            }
            if (Request.QueryString["DropType"] != null)
            {
                this.SalesOpportID.Text = Request.QueryString["SalesOpportID"].ToString();
                this.XDropDownList2.DataMap = "";
                this.XLabel9.Text = "1100";
                
                
            }
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge" />
    <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: 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>

    <script>
        Ext.onReady(function () {
           
            onchange_Type();
            ////隐藏DIV的id为"detail"内容
            //this.hidden("detail");
           // getVoucherInfo();//获取会计凭证

            getStepName();//流程结束显示发票/清账信息  有的显示

            onchange_Payer(); //付款对象变化事件

            MarginTypeOnchange();//保证金类别发生变化
        });

        //获取会计凭证号
        function getVoucherInfo() {
             
            //BPM表单号
            var bpmFormNo = document.getElementById("XLabel15").innerText;
            var voucherCode= agent.Eles[document.getElementById("XLabel14").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("XLabel14").getAttribute("xform_xele_index")].setValue(data[0].BELNR);
                        }
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }

        }


        //付款对象变化事件
        function onchange_Payer() {
            var Payer = getXValue("Payer");
            var type = getXValue("DropType");
            if (type == "标书费" || type == "中标服务费") {
                document.getElementById("trBidDeadline").style.display = "";//个人报销隐藏截至日期和付款日期
                if (Payer == "个人报销") {
                    document.getElementById("labPayAmount").innerText = "报销金额";
                    if (type=="标书费") {
                        document.getElementById("trBidDeadline").style.display = "none";//个人报销隐藏截至日期和付款日期
                    }
                   
                } else if (Payer == "个人借款") {
                     
                    document.getElementById("labPayAmount").innerText = "借款金额";
                    //document.getElementById("InvoiceType_0").checked = false;
                   // document.getElementById("InvoiceType_1").checked = false;
                } else {
                    document.getElementById("labPayAmount").innerText = "付款金额";
                   // document.getElementById("InvoiceType_0").checked = false;
                  // document.getElementById("InvoiceType_1").checked = false;
                }
            }

            if (type == "保证金") {
                document.getElementById("trBidDeadline").style.display = "";//个人报销隐藏截至日期和付款日期
                if (Payer == "个人报销") {
                    document.getElementById("labPayAmount").innerText = "报销金额";
                    document.getElementById("trBidDeadline").style.display = "none";//个人报销隐藏截至日期和付款日期
                    
                }
            }
           
        }


        //费用类型 选择事件
        function onchange_Type() {

            var type = getXValue("DropType");

            showOrhidden(type);

        };


        //费用信息显示隐藏控制
        function showOrhidden(type) {
            if (type == "") {
                this.hidden("detail");
                return;
            }
            this.show("detail");
            this.show("fydiv_title");
            this.show("BidDeadline");
            this.show("labBidDeadline");
            if (type == "标书费") {

                //费用信息
                this.show("fydiv_1");
                this.show("fydiv_2");

                //隐藏
                this.hidden("fydiv_3");

                document.getElementById("labPayAmount").innerText = "付款金额";
                document.getElementById("labBidDeadline").innerText = "支付截止日期";//购买标书截止日期
                document.getElementById("labAttachment").innerText = "上传招标公告";//
                this.show('TabAttachment');//显示上传文档 保函/资信证明 隐藏
                document.getElementById("labEexpectPayDate").innerText = "期望付款日期";//要求付款日期
                
                document.getElementById("trBidDeadline").style.display = "";
                document.getElementById("trPaymentReason").style.display = "none";

                document.getElementById("LabelInvoiceAmount").innerText = "发票金额";


                var Payer = getXValue("Payer");
                if (Payer == "个人报销") {
                    
                    document.getElementById("trBidDeadline").style.display = "none";
                    document.getElementById("labPayAmount").innerText = "报销金额";
                } else if (Payer == "个人借款") {
                    document.getElementById("labPayAmount").innerText = "借款金额";
                } else {
                    document.getElementById("labPayAmount").innerText = "付款金额";
                }

                document.getElementById("LabelQZ").innerText = "清账信息";
            }
            else if (type == "保证金") {
                //费用信息 显示
                this.show("fydiv_1");
                this.show("fydiv_2");
                this.show("fydiv_3");

                document.getElementById("labPayAmount").innerText = "保证金金额";
                document.getElementById("labBidDeadline").innerText = "支付截止日期";
                document.getElementById("labAttachment").innerText = "上传标书/合同";
                this.show('TabAttachment');//显示上传文档 保函/资信证明 隐藏
                document.getElementById("labEexpectPayDate").innerText = "期望付款日期";
                document.getElementById("trBidDeadline").style.display = "";
                document.getElementById("trPaymentReason").style.display = "none";
               

                var Payer = getXValue("Payer");
                if (Payer == "个人报销") {
                    document.getElementById("trBidDeadline").style.display = "none";
                }

                //是否投标
                var IsTendering = agent.Eles[document.getElementById("IsTendering").getAttribute("xform_xele_index")].getValue();
                if (IsTendering=="否") {
                    document.getElementById("xmmc").style.display = "none";
                    document.getElementById("tbTitle").innerText = "保证金申请单";
                }
                
            }
            else if (type == "中标服务费") {
                //费用信息
                this.show("fydiv_1");
                this.show("fydiv_2");

                //隐藏
                this.hidden("fydiv_3");
                document.getElementById("labPayAmount").innerText = "付款金额";
                document.getElementById("labBidDeadline").innerText = "购买标书截止日期";
                document.getElementById("labAttachment").innerText = "上传中标通知书";
                //隐藏"购买标书截止日期"
                this.hidden("BidDeadline");
                this.hidden("labBidDeadline");
                this.show('TabAttachment');//显示上传文档 保函/资信证明 隐藏
                this.hidden("labBidDeadlineRed");
                document.getElementById("trBidDeadline").style.display = "";
                document.getElementById("trPaymentReason").style.display = "none";
                document.getElementById("LabelInvoiceAmount").innerText = "发票金额";

                var Payer = getXValue("Payer");
                if (Payer == "个人报销") {
                    document.getElementById("labPayAmount").innerText = "报销金额";
                } else if (Payer == "个人借款") {
                    document.getElementById("labPayAmount").innerText = "借款金额";
                } else {
                    document.getElementById("labPayAmount").innerText = "付款金额";
                }
                document.getElementById("LabelQZ").innerText = "清账信息";
            }
            else if (type == "保函") {
                //费用信息 隐藏
                this.hidden("fydiv_1");
                this.hidden("fydiv_2");
                this.hidden("fydiv_3");
                this.hidden("fydiv_title");
                this.hidden('TabAttachment');
                //保函信息 显示
                document.getElementById("xmmc").style.display = "none";
            }
            else if (type == "资信证明") {
                //费用信息 隐藏
                this.hidden("fydiv_1");
                this.hidden("fydiv_2");
                this.hidden("fydiv_3");
                this.hidden("fydiv_title");
                this.hidden('TabAttachment');
                document.getElementById("xmmc").style.display = "none";
            } else {
                //费用信息 显示
                //费用信息
                this.show("fydiv_1");
                this.show("fydiv_2");
                //隐藏
                this.hidden("fydiv_3");

                document.getElementById("labPayAmount").innerText = "付款金额";
                
                document.getElementById("labAttachment").innerText = "上传附件";
                this.show('TabAttachment');//显示上传文档 保函/资信证明 隐藏
                document.getElementById("trBidDeadline").style.display = "none";
                document.getElementById("trPaymentReason").style.display = "";
                
                document.getElementById("LabelInvoiceAmount").innerText = "发票金额";

                //如果是招标杂费 付款信息就不用关联项目表  把值清空
                var bid = getQueryString("bid");
                 
                if (bid!="" && bid!=null) {
                    agent.Eles[document.getElementById("PayeeName").getAttribute("xform_xele_index")].setValue();//
                    agent.Eles[document.getElementById("PayeeAccount").getAttribute("xform_xele_index")].setValue();//
                    agent.Eles[document.getElementById("PayeeBankAccount").getAttribute("xform_xele_index")].setValue();//
                    agent.Eles[document.getElementById("PayeebankNumber").getAttribute("xform_xele_index")].setValue();//
                }
                document.getElementById("LabelQZ").innerText = "清账信息";
            }
           
        }


        agent.on('beforeSubmit', function (actname1, actname) {

          
            if (actname == "退回到申请人提交发票重填" || actname == "退回上一步重填") {
                var flag = false;
               var msg= window.prompt("请输入退回理由：", "");

             
               if (msg == null) {
                   flag = false;
                   return flag;
               }
              else if (msg == "" || msg == undefined) {
                   alert("请输入退回理由");
                   flag = false;
                   return flag;
               } else {
                   agent.Eles[document.getElementById("ReasonReturn").getAttribute("xform_xele_index")].setValue(msg);//流程节点
                   flag = true;
                   return flag;
               }
 
                if (flag==false) {
                
                    return false;
                }


            }

            if (actname == "申请清账") {
                var bid = getQueryString("bid");
                var pid = getQueryString("pid");
                var StepName= agent.Eles[document.getElementById("StepName").getAttribute("xform_xele_index")].getValue();//流程节点
                
                if(bid!=""&&bid!=null){
                
                    var Payer = getXValue("Payer");
                    var type = getXValue("DropType");
                    if (type == "标书费" || type == "中标服务费" || type == "招标杂费") {
                         if (Payer == "个人借款") {
                            document.getElementById("InvoiceType_0").checked = false;
                            document.getElementById("InvoiceType_1").checked = false;
                         } else if (Payer == "对公支付") {
                          
                            document.getElementById("InvoiceType_0").checked = false;
                            document.getElementById("InvoiceType_1").checked = false;
                        }
                    }


                }
                if (pid!=""&& pid!=null) {
                    if (StepName=="投标费用申请") {
                        var Payer = getXValue("Payer");
                        var type = getXValue("DropType");
                        if (type == "标书费" || type == "中标服务费" || type == "招标杂费") {
                            if (Payer == "个人借款") {
                                document.getElementById("InvoiceType_0").checked = false;
                                document.getElementById("InvoiceType_1").checked = false;
                            } else if (Payer == "对公支付") {

                                document.getElementById("InvoiceType_0").checked = false;
                                document.getElementById("InvoiceType_1").checked = false;
                            }
                        }
                    }
                }


                
            }
          

        });
         
        
       

        //SO验证控制
        function checkSO(so, type, Payer) {
            if ((type == "标书费" || type == "中标服务费") && Payer=="个人报销") {
               
                if (so == '' || so == null || so == undefined) {
                    return false;
                }
            }
            return true;
        }

        //Type 费用类型，Payer 付款对象 StepName 流程节点 验证发票信息, MarginBalance 保证金差额
        function checkInvoice(Type, Payer, StepName,MarginBalance) {
            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
             
            if ((Type != "标书费" && Type != "中标服务费" && Type != "投标杂费")) {//不验证发票信息
                if (Type == "保证金") {

                    if (MarginBalance == "转中标服务费") {//保证金差额
                        document.getElementById("LabelQZ").innerText = "发票信息";
                        document.getElementById("trqz").style.display = "none";
                        return false;
                    }
                    else {
                        return true;
                    }
                } else {
                    return true;
                }
               
               
            } else {// 是标书费或者中标服务费
                if (Payer == "个人报销") { //验证发票信息
                    return false;
                } else {
                    var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                   
                    if (NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" || StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {
                          
                        return false;
                       
                    }  else {
                        return true;
                    }

                }

            }

            
        }
      
        function checkInvoiceEqual(Type, Payer, StepName) {

            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点

            if ((Type != "标书费" && Type != "中标服务费" )) {//不验证发票信息
                return true;
            } else {// 是标书费或者中标服务费
                if (Payer == "个人报销") { //验证发票信息
                    return false;
                } else {
                    var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                    

                    if (NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" ||StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {

                        return false;
                    } else {
                        return true;
                    }

                }

            }
        }

        //Type 费用类型，Payer 付款对象 StepName 流程节点  验证发票介质
        function checkElectronicInvoice(Type, Payer, StepName, InvoiceType,InvoiceMedia) {
           
            
            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
           
            if ((Type != "标书费" && Type != "中标服务费" && Type != "投标杂费")) {//不验证发票信息
                return true;
            } else {// 是标书费或者中标服务费
                if (Payer == "个人报销") { //验证发票信息
                    if (InvoiceType == "增值税普通发票") {
                        //var table = agent.findGridFromTableName(null, 'DF_FI_EInvoiceItems'); //获取table对象
                        //table.deleteBlocks(0, 0);
                        //table.appendBlock(1);//20200427  业务修改成 如果sap 中没有销售机会行号的就不添加，只提示。把有的添加过来
                        
                        return false;
                       
                    } else {
                         
                        return true;
                    }
                   
                } else {
                    var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                  
                   
                    if (NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" ||StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {
                         
                        if (InvoiceType == "增值税普通发票") {
                            return false;
                        } else {
                            
                            return true;
                           
                        }
                         
                    } else {
                        return true;
                    }

                }

            }


        }

        //Type 费用类型，Payer 付款对象 StepName 流程节点  验证电子发票信息
        function checkElectronicInvoiceMedia(Type, Payer, StepName, InvoiceType, InvoiceMedia) {

            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点

            if ((Type != "标书费" && Type != "中标服务费" && Type != "投标杂费")) {//不验证发票信息
                if (Type == "保证金") {

                    if (InvoiceMedia == "全部电子发票" || InvoiceMedia == "部分电子发票") {//保证金差额
                       
                        return false;
                    } else if (InvoiceMedia == "全部纸质发票") {
                        
                        return true;
                    }
                    else {
                        return true;
                    }
                } else {
                    return true;
                }
                 
            } else {// 是标书费或者中标服务费
                if (Payer == "个人报销") { //验证发票信息
                    if (InvoiceMedia == "全部电子发票" || InvoiceMedia == "部分电子发票") {
                       
                        //var table = agent.findGridFromTableName(null, 'DF_FI_EInvoiceItems'); //获取table对象
                        //table.deleteBlocks(0, 0);
                        //table.appendBlock(1);//emptygrid="KeepEmpty"
                        
                        //var ids = document.getElementById("EInvoiceAttachment").querySelectorAll("div[role='presentation']")[0].id;
                        // document.getElementById(ids).style.width = "91px";
                        //document.getElementById(ids).style.height = "23px";
                       
                        return false;

                    } else if (InvoiceMedia == "全部纸质发票") {
                        //var table = agent.findGridFromTableName(null, 'DF_FI_EInvoiceItems'); //获取table对象
                        
                        //table.deleteBlocks(0, 0);
                        return true;
                    } else {
                            
                        return true;
                    }

                } else {
                    var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                    
                    if (NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" || StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {

                        if (InvoiceMedia == "全部电子发票" || InvoiceMedia == "部分电子发票") {
                          
                            return false;
                        } else if (InvoiceMedia == "全部纸质发票") {
                            
                            return true;
                        } else {

                            return true;

                        }

                    } else {
                        return true;
                    }

                }

            }
        }
        //验证发票金额
        function checkInvoiceAmount(Type, Payer, StepName, InvoiceType) {
        
            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点

            if ((Type != "标书费" && Type != "中标服务费" && Type != "投标杂费")) {//不验证发票信息
                return true;
            } else {// 是标书费或者中标服务费

               if (Payer == "个人报销") { //验证发票信息
                    return true;
                } else {
                   var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                   
                    if ( NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" ||StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {

                        return false;
                    } else {
                        return true;
                    }

                }

            }

        }
        
        //MarginFullReturn  保证金是否全额退回
        function getMarginReturnAmount(MarginFullReturn) {
            if (MarginFullReturn=="是") {
                return 0;
            }
        }

        //Type 费用类型，amout 发票金额  验证发票类型
        function checkInvoiceType(Type, Payer, amout, StepName, MarginBalance) {
            var PayAmount = agent.Eles[document.getElementById("PayAmount").getAttribute("xform_xele_index")].getValue();
            if (amout > PayAmount) {
                document.getElementById("LabelRefundAmount").innerText = "报销金额";
            } else {
                document.getElementById("LabelRefundAmount").innerText = "退款金额";
            }
            
            if ((Type == "投标杂费" || Type == "标书费" || Type == "中标服务费") && (amout == "0" || amout == "0.00") && (Payer == "个人借款" || Payer == "对公支付")) {
                return true;
            }
            else {
                if ((Type != "标书费" && Type != "中标服务费" && Type != "投标杂费")) {//不验证发票信息
                    if (Type == "保证金") {

                        if (MarginBalance == "转中标服务费") {//保证金差额
                            return false;
                        }
                        else {
                            return true;
                        }
                    } else {
                        return true;
                    }


                } else {// 是标书费或者中标服务费
                    if (Payer == "个人报销") { //验证发票信息
                        return false;
                    } else {
                        var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                        
                        if (StepName=="投标费用申请"|| NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" || StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {
                              
                            return false;

                        } else {
                             
                            return true;
                        }

                    }

                }
            }

       
        }

        //流程结束显示发票/清账信息
        function getStepName() {
            //流程节点
            var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
            var DropType = agent.Eles[document.getElementById("DropType").getAttribute("xform_xele_index")].getValue();//费用类型
            //var InvoiceType = agent.Eles[document.getElementById("InvoiceType").getAttribute("xform_xele_index")].getValue();//费用类型
            var InvoiceTypeValue = checkedVaule("InvoiceType");
            var InvoiceMediaValue = checkedVaule("InvoiceMedia");
           
            if (NodeName == "结束" || NodeName == "申请人提交发票" || NodeName == "申请人申请清账并填写发票信息" || NodeName == "费用会计岗审核1" || NodeName == "费用会计岗审核11" || NodeName == "费用会计岗审核12" || NodeName == "费用会计岗审核13" || NodeName == "费用会计岗审核14" || NodeName == "费用会计岗审核22" || NodeName == "费用会计岗审核21" || NodeName == "费用会计岗审核20" || NodeName == "费用会计岗审核19" || NodeName == "费用会计岗审核6" && (DropType == "标书费" || DropType == "中标服务费")) {

                if (InvoiceMediaValue != "全部电子发票" && InvoiceMediaValue != "部分电子发票") {
                    document.getElementById("tablenew").style.display = "none";
                    
                } else {
                    document.getElementById("tablenew").style.display = "";
                    document.getElementById("brInvoice").style.display = "";
                }
                document.getElementById("tableInvoice").style.display = "";
               
               
               
            }
            if (NodeName == "结束1"||NodeName == "结束2" || NodeName == "结束5" || NodeName == "申请人申请清账" || NodeName == "申请人申请清账1"  || NodeName == "费用会计岗审核27" || NodeName == "费用会计岗审核26" || NodeName == "费用会计岗审核25" || NodeName == "费用会计岗审核24" || NodeName == "费用会计岗审核23" || NodeName == "费用会计岗审核31" || NodeName == "费用会计岗审核30" || NodeName == "费用会计岗审核29" || NodeName == "费用会计岗审核28" || NodeName == "费用会计岗审核3" || NodeName == "费用会计岗审核2" || NodeName == "费用会计岗审核15" || NodeName == "费用会计岗审核16" || NodeName == "费用会计岗审核17" || NodeName == "费用会计岗审核18" ) {
                document.getElementById("tableClearingAccounts").style.display = "";
                
            }

        }

        //根据发票类型清空发票介质
        function GetInvoiceType(Type) {

            if (Type == "增值税专用发票") {
                return "";
            }

        }

        //招标杂费 --退还金额 借款金额-报销金额
        function getRefundAmount(PayAmount, InvoiceAmount) {

            return Math.abs(PayAmount - InvoiceAmount);
        }

        //保证金类别发生变化时
        function MarginTypeOnchange() {
            var MarginType = getXValue("MarginType");
            if (MarginType == "投标保证金") {
                document.getElementById("htmc").style.display = "none";
                document.getElementById("Label3").innerText = "项目总金额";
                document.getElementById("Label25").innerText = "保证金退回条件";
            } else if (MarginType == "履约保证金" || MarginType == "质量保证金" || MarginType == "其他保证金") {
                document.getElementById("Label25").innerText = "保证金期限";
                document.getElementById("htmc").style.display = "";
                document.getElementById("Label3").innerText = "合同总金额";
                //是否投标
                var IsTendering = agent.Eles[document.getElementById("IsTendering").getAttribute("xform_xele_index")].getValue();
                if (IsTendering == "否") {
                    document.getElementById("tbzt").innerText = "合同主体";
                   document.getElementById("MarginType").getElementsByTagName("select")[0].options[1].disabled = true;
                }
            }
            
            
        }

        //发票介质发生变化时
        function InvoiceMediaChange() {

            var InvoiceMedia = checkedVaule("InvoiceMedia");
            if (InvoiceMedia == "全部电子发票" || InvoiceMedia == "部分电子发票") {

                var table = agent.findGridFromTableName(null, 'DF_FI_EInvoiceItems'); //获取table对象
                table.deleteBlocks(0, 0);
                table.appendBlock(1);//emptygrid="KeepEmpty"

                var ids = document.getElementById("EInvoiceAttachment").querySelectorAll("div[role='presentation']")[0].id;
                 document.getElementById(ids).style.width = "91px";
                document.getElementById(ids).style.height = "23px";

               

            } else if (InvoiceMedia == "全部纸质发票") {
                var table = agent.findGridFromTableName(null, 'DF_FI_EInvoiceItems'); //获取table对象

                table.deleteBlocks(0, 0);
                
            }

        }

        //退款日期

        function CheckDatePayment(type, Payer, StepName, PayAmount, InvoiceAmount) {
           
            if (type == "标书费" || type == "中标服务费" || type == "投标杂费") {
                
                if (Payer == "个人借款" || Payer == "对公支付") {
                    var NodeName = agent.Eles[document.getElementById("NodeName").getAttribute("xform_xele_index")].getValue();//流程节点
                    
                    if (StepName==""||NodeName == "结束" || NodeName == "结束1" || NodeName == "结束2" || NodeName == "结束5" || StepName == "投标费用申请" || StepName == "申请人提交发票" || StepName == "申请人申请清账并填写发票信息" || StepName == "费用会计岗审核1" || StepName == "费用会计岗审核11" || StepName == "费用会计岗审核12" || StepName == "费用会计岗审核13" || StepName == "费用会计岗审核14" || StepName == "费用会计岗审核22" || StepName == "费用会计岗审核21" || StepName == "费用会计岗审核20" || StepName == "费用会计岗审核19" || StepName == "费用会计岗审核6") {
                        //LabelRefundAmount
                        
                        if (PayAmount > InvoiceAmount) {
                            var bid = getQueryString("bid");
                            var pid = getQueryString("pid");
                            if (bid != "" && bid != null) {
                                return true;
                            } else if (pid != "" && pid != null) {
                                if (StepName == "投标费用申请") {
                                    return true;
                                } else {
                                    return false;
                                }
                                
                            } else {
                                return false;
                            }
                           // document.getElementById("LabelRefundAmount").innerText = "退款金额";
                         
                        } else {

                            return true;
                        }
                      
                    }
                    else {
                        return true;
                    }
                  
                } else {
                    return true;
                }

            } else {

                return true;
            }

        }

        //验证上传招标公告

        function GetAttachment1(type, Attachment, BiddingWebsite) {

            if (type == "保函" || type == "资信证明" || type == "投标杂费") {

                return true;
            } else {
                if (type == "标书费") {
                    if (BiddingWebsite == "") {
                        if (Attachment == "") {
                            return false;
                        } else {
                            return true;
                        }

                    } else {

                        return true;
                    }

                } else {
                   return  true;
                }
                
            }

        }

        //是保证金,中标服务费的时候的时候
        function GetAttachment2(type, Attachment, BiddingWebsite) {

            if (type == "保函" || type == "资信证明" || type == "投标杂费") {

                return true;
            } else {
                if (type == "保证金" || type == "中标服务费") {
                    return false;

                } else {
                    return true;
                }

            }

        }

        //招标网址
        function GetAttachment(type, Attachment, BiddingWebsite) {

            if (type == "保函" || type == "资信证明" || type == "投标杂费") {

                return true;
            } else {
                if (type == "标书费") {
                    if (BiddingWebsite == "") {
                        if (Attachment == "") {
                            return false;
                        } else {
                            return true;
                        }

                    } else {

                        return true;
                    }

                } else {
                    return true;
                }

            }

        }

        function getMarginBalance(returnValue) {
            if (returnValue=="是") {
                return "";
            }
        }

        function getXValue(id) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
        }

        function show(id) {
            document.getElementById(id).style.display = "";
        }

        function hidden(id) {
            document.getElementById(id).style.display = "none";
        }
        ///根据name 是否选中
        function  checkedVaule (name) {
            var obj = document.getElementsByName(name);
            for (var i = 0; i < obj.length; i++) {
                if (obj[i].checked) {
                    return obj[i].value;
                }
            }

        }

        //获取网址参数
        function getQueryString (name){
            var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)");
            var r = window.location.search.substr(1).match(reg);
            if (r != null) return unescape(r[2]); return null;

        }

    </script>
        <script>
            Ext.onReady(function () {
                var itemid = getQueryString("ItemID");
                var bid = getQueryString("bid");
                var DropType = getQueryString("DropType");
                if (itemid != "" && itemid != undefined) {
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[1].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[1].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[2].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[3].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[6].style.display = "none";
                    document.getElementById("xmmc").style.display = "none";
                }

                if (bid != "" && bid != undefined) {
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[4].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[5].style.display = "none";
                }
                if (DropType == "bzj") {
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[1].style.display = "none";

                    document.getElementById("DropType").getElementsByTagName("select")[0].options[3].style.display = "none";

                    document.getElementById("DropType").getElementsByTagName("select")[0].options[6].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[4].style.display = "none";
                    document.getElementById("DropType").getElementsByTagName("select")[0].options[5].style.display = "none";

                    document.getElementById("xmmc").style.display = "none";

                    document.getElementById("XDropDownTenderSubject").getElementsByTagName("select")[0].removeAttribute("disabled");
                    document.getElementById("XDropDownTenderSubject").getElementsByTagName("select")[0].style.opacity = "1.5";
                    document.getElementById("MarginType").getElementsByTagName("select")[0].options[1].style.display = "none";
                    document.getElementById("tbTitle").innerText = "保证金申请单";

                    agent.Eles[document.getElementById("DropType").getAttribute("xform_xele_index")].setValue("保证金");
                   
                    document.getElementById("DropType").getElementsByTagName("select")[0].setAttribute("disabled",true);
                    document.getElementById("brInvoice").style.display = "none";
                    document.getElementById("br0").style.display = "none";
                    document.getElementById("br1").style.display = "none";
                    document.getElementById("br2").style.display = "none";
                    document.getElementById("br3").style.display = "none";
                    document.getElementById("br4").style.display = "none";
                    document.getElementById("br5").style.display = "none";
                    document.getElementById("br6").style.display = "none";
                    document.getElementById("br7").style.display = "none";
                    onchange_Type();
                    
                }

                var aDivInvoiceAmount = document.getElementsByClassName("InvoiceAmount");
                var aDivInvoiceAmountId = aDivInvoiceAmount[0].getElementsByTagName('input')[0].id;
                var v = document.getElementById(aDivInvoiceAmountId).setAttribute("placeholder", "价税合计金额");


                //
                var aDivBackletterSO = document.getElementsByName("BackletterSO");
                var aDivBackletterSOId = aDivBackletterSO[0].getElementsByTagName('input')[0].id;
                document.getElementById(aDivBackletterSOId).setAttribute("placeholder", "手续费挂成本");

                var FormNo = agent.Eles[document.getElementById("XLabel15").getAttribute("xform_xele_index")].getValue();
                if (FormNo!="") {
                    var fn = FormNo.slice(4);
                    agent.Eles[document.getElementById("ZFFormNo").getAttribute("xform_xele_index")].setValue(fn);
                }
                

            })

            function getCode() {
                var d = agent.Eles[document.getElementById("BackletterCompanyName").getAttribute("xform_xele_index")].getValue();
                agent.Eles[document.getElementById("CompanyCode").getAttribute("xform_xele_index")].setValue(d);

            }

            function getCreditCompanyCode() {
                var d = agent.Eles[document.getElementById("CreditCompanyName").getAttribute("xform_xele_index")].getValue();
                agent.Eles[document.getElementById("CompanyCode").getAttribute("xform_xele_index")].setValue(d);
            }


            //获取网址参数
            function getQueryString(name) {
                var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
                var r = window.location.search.substr(1).match(reg);
                if (r != null) return unescape(r[2]); return null;

            }
    </script>
</head>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td width="1000" class="biaoti" style="PADDING-LEFT: 135px">
                        <asp:Label id="tbTitle" runat="server" text="业务款项申请单"></asp:Label></td>
                    <td width="400" class="formno">
                        <asp:Label id="Label66" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel15" runat="server" BackColor="#8AB3DF" PrintOut="true" XDataBind="DF_FI_TenderFeeAppInfo.FormNo" HiddenExpress="1">--系统自动生成--</aspxform:XLabel>
                         <aspxform:XLabel id="ZFFormNo" runat="server" BackColor="#8AB3DF" PrintOut="true" XDataBind="ZFFormNo"></aspxform:XLabel>
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" HiddenExpress="1" DataMap="NodeName->NodeName" XDataSource="TableName:BPMInstProcSteps;Filter:TaskID->DF_FI_TenderFeeAppInfo.TaskID;orderby:StepID desc"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="NodeName" runat="server" XDataBind="NodeName" Width="30px" HiddenInput="true"></aspxform:XTextBox>
                        <aspxform:XTextBox id="TaskID" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.TaskID" Width="30px" HiddenInput="true"></aspxform:XTextBox>
                        <aspxform:XTextBox id="ReasonReturn" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.ReasonReturn" HiddenInput="true"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1192" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                 <tr>
                    <td height="24" align="right" colspan="4">
                        <aspxform:XPrintButton id="XPrintButton1" runat="server" Text="打 印" XClass="YZSoft.Forms.Field.PrintButton" Height="22px" UseSubmitBehavior="False" PrintOut="False"></aspxform:XPrintButton>
                    </td>
                </tr>
                <tr  >
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="Label8" runat="server" text="基本信息"></asp:Label>
                        <aspxform:XTextBox id="BidProjectID" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BID" Width="100px" HiddenInput="True" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" HiddenExpress="1" DataMap="AppName->DF_FI_TenderFeeAppInfo.AppName;AppAccount->DF_FI_TenderFeeAppInfo.AppAccount;Department->DF_FI_TenderFeeAppInfo.Department;BU->DF_FI_TenderFeeAppInfo.BU;Phone->DF_FI_TenderFeeAppInfo.Phone;ProjectName->DF_FI_TenderFeeAppInfo.ProjectName;TenderSubject->DF_FI_TenderFeeAppInfo.TenderSubject;ProjectNumber->DF_FI_TenderFeeAppInfo.ProjectNumber;BusinessArea->DF_FI_TenderFeeAppInfo.BusinessArea;PayeeName->DF_FI_TenderFeeAppInfo.PayeeName;PayeeBankAccount->DF_FI_TenderFeeAppInfo.PayeeBankAccount;PayeebankNumber->DF_FI_TenderFeeAppInfo.PayeebankNumber;PayeeAccount->DF_FI_TenderFeeAppInfo.PayeeAccount;SalesOpportFormNo->DF_FI_TenderFeeAppInfo.opportunityFormNo" XDataSource="TableName:V_DF_CRM_BidProject;Filter:ID->DF_FI_TenderFeeAppInfo.BID"></aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PaySerialNum" HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText>001</aspxform:XTextBox>
                        <aspxform:XTextBox id="opportunityFormNo" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.opportunityFormNo" HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText></aspxform:XTextBox>
                        <aspxform:XTextBox id="SalesOpportID" runat="server" XDataBind="SalesOpportID" HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" HiddenExpress="1" DataMap="ownerId->DF_FI_TenderFeeAppInfo.AppAccount;ownerName->DF_FI_TenderFeeAppInfo.AppName;BU->DF_FI_TenderFeeAppInfo.BU;Department->DF_FI_TenderFeeAppInfo.Department;Phone->DF_FI_TenderFeeAppInfo.Phone;FormNo->DF_FI_TenderFeeAppInfo.opportunityFormNo;IsTendering->DF_FI_TenderFeeAppInfo.IsTendering" XDataSource="TableName:DF_CRM_SalesOpportunities;Filter:ItemId->SalesOpportID"></aspxform:XDropDownList>
                    <aspxform:XTextBox id="IsTendering" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.IsTendering" HiddenExpress="1" Width="20px" BorderWidth="1" BorderColor="#DCDCDC" ValueToDisplayText></aspxform:XTextBox>
                         </td>
                </tr>
                <tr id="xmmc" HiddenExpress="1" >
                    <td width="131" height="22" class="tsbottomlabel">
                        <asp:Label id="Label21" runat="server" text="项目名称"></asp:Label></td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XLabel id="XLabel5" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.ProjectName"></aspxform:XLabel>
                    </td>
                    <td width="131" class="tsbottomlabel">
                        <asp:Label id="Label2" runat="server" text="项目编号"></asp:Label></td>
                    <td width="465" class="tsbottomtext">
                        <aspxform:XLabel id="XLabel1" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.ProjectNumber"></aspxform:XLabel>
                    </td>
                </tr>
				 <tr  >
                    
                    <td class="tsbottomlabel">
                        <asp:Label id="Label12" runat="server" text="创建用户"></asp:Label></td>
                    <td class="tsbottomtext">
                      <aspxform:XLabel id="XLabel2" runat="server" BackColor="#D4E4FE" HiddenExpress="1" XDataBind="DF_FI_TenderFeeAppInfo.CreateAccount"></aspxform:XLabel>
                     <aspxform:XLabel id="XLabel12" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.CreateName"></aspxform:XLabel>
                    </td>
                     <td class="tsbottomlabel">
                        <asp:Label id="Label9" runat="server" text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDateTimePicker id="CreateDate" runat="server" BackColor="#E6F1F8" XDataBind="DF_FI_TenderFeeAppInfo.CreateDate" Width="70%" DisableBehavior="ReadOnly" BorderWidth="1" BorderColor="#DCDCDC" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr  >
                    <td height="17" class="tsbottomlabel">
                        <asp:Label id="Label5" runat="server" text="业务员"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel3" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.AppName"></aspxform:XLabel>
						  &nbsp;&nbsp; <aspxform:XLabel id="XLabel7" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.AppAccount"></aspxform:XLabel>
                    </td>
                    <td height="17" class="tsbottomlabel">
                        <asp:Label id="Label11" runat="server" text="事业部"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel6" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.BU"></aspxform:XLabel>
                    </td>
                </tr>
                <tr  >
                    <td height="17" class="tsbottomlabel">
                        <asp:Label id="Label6" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel13" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.Department" ValueToDisplayText></aspxform:XLabel>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label10" runat="server" text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XLabel id="XLabel4" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.Phone"></aspxform:XLabel>
                    </td>
                </tr>
                
                <tr HiddenExpress="1" >
                    <td height="20" class="tsbottomlabel">
                        <asp:Label id="Label67" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label26" runat="server" text="费用类型"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDropDownList id="DropType" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.Type" onchange="onchange_Type()" PromptText="----请选择----" Height="20" name="DropType">
                            <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 class="tsbottomlabel">
                    </td>
                    <td class="tsbottomtext">
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择费用类型" ControlToValidate="DropType" ForeColor="Red">请选择费用类型</aspxform:XRequiredFieldValidator>
        <br hiddenexpress="DF_FI_TenderFeeAppInfo.Type=='保函'||DF_FI_TenderFeeAppInfo.Type=='资信证明'" />
        <div id="detail">
            <div id="fydiv_title">
                <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr>
                            <td height="23" class="title1" colspan="4">
                                <asp:Label id="Label4" runat="server" text="费用信息"></asp:Label></td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="fydiv_1">
                <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr >
                            <td height="22" class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="tbzt" runat="server" text="付款主体"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XDropDownList id="XDropDownTenderSubject" name="XDropDownTenderSubject" runat="server" DisableExpress="1"  XDataBind="DF_FI_TenderFeeAppInfo.TenderSubject" PromptText="----请选择----">
                              <asp:ListItem Value="1000">东方中科北京</asp:ListItem>
                            <asp:ListItem Value="1010">东方中科上海</asp:ListItem>
                            <asp:ListItem Value="1020">东方中科深圳</asp:ListItem>
                             <asp:ListItem Value="2100">苏州博德</asp:ListItem>
                            <asp:ListItem Value="2000">上海颐合</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label13" runat="server" text="公司代码"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XLabel id="CompanyCode" runat="server" Express="DF_FI_TenderFeeAppInfo.TenderSubject"  BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.CompanyCode"></aspxform:XLabel>
                            </td>
                        </tr>
                        <tr>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label72" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label14" runat="server" text="付款对象"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XDropDownList id="Payer" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.Payer" onchange="onchange_Payer()" PromptText="----请选择----">
                                    <asp:ListItem>个人报销</asp:ListItem>
                                    <asp:ListItem>个人借款</asp:ListItem>
                                    <asp:ListItem>对公支付</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label15" runat="server" text="业务范围"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XLabel id="XLabel9" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.BusinessArea"></aspxform:XLabel>
                            </td>
                        </tr>
                        <tr hiddenexpress='Global.StepName!="出纳岗付款" &amp;&amp; Global.StepName!="出纳岗付款2" &amp;&amp; Global.StepName!="出纳岗付款3" &amp;&amp; Global.StepName!="出纳岗付款4"&amp;&amp; Global.StepName!="出纳岗付款5"    '>
                            <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="XTextBox42" runat="server" BackColor="#E6F1F8" XDataBind="DF_FI_TenderFeeAppInfo.PayBankID" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" ReadOnly="True"></aspxform:XTextBox>
                                &nbsp;<aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" DataMap="BankAccount->DF_FI_TenderFeeAppInfo.PayBankID" XDataSource="TableName:DF_FI_PaymentBankInfo;Filter:CompanyCode->DF_FI_TenderFeeAppInfo.CompanyCode" Width="21px" DisplayColumns="BankAccount:银行账号;BankRemark:银行描述"></aspxform:XDataBrowserButton>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label43" runat="server" text="支付密码"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                &nbsp;<aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayPassword" Width="70%" BorderWidth="1" BorderColor="#DCDCDC" TextMode="Password"></aspxform:XTextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="fydiv_3">
                <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <aspxform:XLabel id="XLabel20" runat="server" BackColor="#D4E4FE" HiddenExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" ' ForeColor="Red">*</aspxform:XLabel>
                                <asp:Label id="Label3" runat="server" text="合同总金额"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XTextBox id="MarginContractTotalAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginContractTotalAmount" Width="200px" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <aspxform:XLabel id="XLabel22" runat="server" BackColor="#D4E4FE" HiddenExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" ' ForeColor="Red">*</aspxform:XLabel>
                                <asp:Label id="Label16" runat="server" text="保证金类别"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XDropDownList id="MarginType" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginType" onchange="MarginTypeOnchange()" PromptText="----请选择----">
                                    <asp:ListItem>投标保证金</asp:ListItem>
                                    <asp:ListItem>履约保证金</asp:ListItem>
                                    <asp:ListItem>质量保证金</asp:ListItem>
                                    <asp:ListItem>其他保证金</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                        </tr>
                        <tr id="htmc">
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <aspxform:XLabel id="XLabel21" runat="server" BackColor="#D4E4FE" HiddenExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" || (DF_FI_TenderFeeAppInfo.MarginType!="履约保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.MarginType!="质量保证金")' ForeColor="Red">*</aspxform:XLabel>
                                <asp:Label id="Label22" runat="server" text="合同名称"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XTextBox id="MarginContractName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginContractName" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <aspxform:XLabel id="XLabel23" runat="server" BackColor="#D4E4FE" HiddenExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" || (DF_FI_TenderFeeAppInfo.MarginType!="履约保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.MarginType!="质量保证金")' ForeColor="Red">*</aspxform:XLabel>
                                <asp:Label id="Label23" runat="server" text="合同编号"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XTextBox id="MarginContractNo" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginContractNo" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label24" runat="server" text="招标编号"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginBidNumber" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <aspxform:XLabel id="XLabel24" runat="server" BackColor="#D4E4FE" HiddenExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" ' ValueToDisplayText ForeColor="Red">*</aspxform:XLabel>
                                <asp:Label id="Label25" runat="server" text="保证金期限"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XTextBox id="MarginPeriod" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginPeriod" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div id="fydiv_2">
                <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                    <tbody>
                        <tr>
                            <td height="18" class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label48" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="labPayAmount" runat="server" text="付款金额"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XTextBox id="PayAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayAmount" Width="200px" BorderWidth="1" BorderColor="#DCDCDC" ValidationGroup="submit" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label49" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label18" runat="server" text="付款方式"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XRadioButtonList id="PayMethod" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayMethod" RepeatDirection="Horizontal">
                                    <asp:ListItem>电汇</asp:ListItem>
                                    <asp:ListItem>支票</asp:ListItem>
                                </aspxform:XRadioButtonList>
                            </td>
                        </tr>
                        <tr id="trBidDeadline">
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="labBidDeadlineRed" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="labBidDeadline" runat="server" text="购买标书截止日期"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XDateTimePicker id="BidDeadline" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BidDeadline" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label71" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="labEexpectPayDate" runat="server" text="期望付款日期"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%">
                                <aspxform:XDateTimePicker id="EexpectPayDate" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.EexpectPayDate" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                            </td>
                        </tr>
                        <tr id="trPaymentReason">
                            <td class="tsbottomlabel" style="WIDTH: 10%">
                                <asp:Label id="Label82" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label83" runat="server" text="付款事由"></asp:Label></td>
                            <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                                <aspxform:XTextBox id="PaymentReason" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PaymentReason" Width="100%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择付款对象" ControlToValidate="Payer" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="标书费" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="中标服务费" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="投标杂费"'>请选择付款对象</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写付款金额" ControlToValidate="PayAmount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="标书费" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="中标服务费"&amp;&amp; DF_FI_TenderFeeAppInfo.Type!="投标杂费"'>请填写付款金额</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator53" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写付款事由" ControlToValidate="PaymentReason" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="投标杂费"'>请填写付款事由</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择支付截止日期" ControlToValidate="BidDeadline" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="标书费"|| (DF_FI_TenderFeeAppInfo.Type=="标书费"&amp;&amp;DF_FI_TenderFeeAppInfo.Payer=="个人报销")'>请选择购买标书截止日期</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择期望付款日期" ControlToValidate="EexpectPayDate" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="标书费"&amp;&amp; DF_FI_TenderFeeAppInfo.Type!="中标服务费")||(DF_FI_TenderFeeAppInfo.Type=="标书费"&amp;&amp;DF_FI_TenderFeeAppInfo.Payer=="个人报销")'>请选择期望付款日期</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp;&nbsp; 
            <br id="br0" hiddenexpress="DF_FI_TenderFeeAppInfo.Type=='标书费' || DF_FI_TenderFeeAppInfo.Type=='保证金'|| DF_FI_TenderFeeAppInfo.Type=='中标服务费'|| DF_FI_TenderFeeAppInfo.Type=='保函' ||DF_FI_TenderFeeAppInfo.Type=='资信证明' || DF_FI_TenderFeeAppInfo.Type=='投标杂费'" />
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写合同总金额" ControlToValidate="MarginContractTotalAmount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金"'>请填写合同总金额</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择保证金类别" ControlToValidate="MarginType" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金"'>请选择保证金类别</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写合同名称" ControlToValidate="MarginContractName" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费") || (DF_FI_TenderFeeAppInfo.MarginType!="履约保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.MarginType!="质量保证金")'>请填写合同名称</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写合同编号" ControlToValidate="MarginContractNo" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金"&amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费") || (DF_FI_TenderFeeAppInfo.MarginType!="履约保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.MarginType!="质量保证金")'>请填写合同编号</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写保证金期限" ControlToValidate="MarginPeriod" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金"'>请填写保证金期限</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator24" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写保证金金额" ControlToValidate="PayAmount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" '>请填写保证金金额</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator26" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择付款方式" ControlToValidate="PayMethod" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="中标服务费" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="标书费"&amp;&amp; DF_FI_TenderFeeAppInfo.Type!="投标杂费"'>请选择付款方式</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator25" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择支付截止日期" ControlToValidate="BidDeadline" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" || (DF_FI_TenderFeeAppInfo.Type=="保证金"&amp;&amp;DF_FI_TenderFeeAppInfo.Payer=="个人报销")'>请选择支付截止日期</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator27" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择期望付款日期" ControlToValidate="EexpectPayDate" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保证金" || (DF_FI_TenderFeeAppInfo.Type=="保证金"&amp;&amp;DF_FI_TenderFeeAppInfo.Payer=="个人报销") '>请选择期望付款日期</aspxform:XRequiredFieldValidator>
            <br id="br1" hiddenexpress="DF_FI_TenderFeeAppInfo.Type=='标书费'|| DF_FI_TenderFeeAppInfo.Type=='保证金'|| DF_FI_TenderFeeAppInfo.Type=='中标服务费'|| DF_FI_TenderFeeAppInfo.Type=='保函'||DF_FI_TenderFeeAppInfo.Type=='资信证明' ||DF_FI_TenderFeeAppInfo.Type=='投标杂费'" />
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress='DF_FI_TenderFeeAppInfo.Type!="保函"'>
                <tbody>
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="Label50" runat="server" text="保函信息"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label85" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp; <asp:Label id="Label51" runat="server" text="开具保函公司"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="BackletterCompanyName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterCompanyName" onchange="getCode()" PromptText="----请选择----" Express="DF_FI_TenderFeeAppInfo.CompanyCode">
                                <asp:ListItem Value="1000">北京中科</asp:ListItem>
                                <asp:ListItem Value="1010">上海分公司</asp:ListItem>
                                <asp:ListItem Value="1020">深圳分公司</asp:ListItem>
                                <asp:ListItem Value="2000">上海颐合</asp:ListItem>
                                <asp:ListItem Value="2100">苏州博德</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label86" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label53" runat="server" text="保函类别"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="BackletterType" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterType" PromptText="----请选择----">
                                 <asp:ListItem>预付款保函</asp:ListItem>
								<asp:ListItem>投标保函</asp:ListItem>
                                <asp:ListItem>履约保函</asp:ListItem>
                                <asp:ListItem>质量保函</asp:ListItem>
                                <asp:ListItem>其他保函</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label87" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label54" runat="server" text="合同/项目名称"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterContractName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterContractName" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label88" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label55" runat="server" text="合同/项目编号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterContractNumber" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterContractNumber" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label89" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp; <asp:Label id="Label56" runat="server" text="合同/项目总金额"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterContractTotalAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterContractTotalAmount" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label90" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label52" runat="server" text="保函金额"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterAmount" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_FI_TenderFeeAppInfo.Type=='保函'">
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label91" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label57" runat="server" text="保函申请内容"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterAppContent" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterAppContent" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </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="Label92" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label58" runat="server" text="保函期限"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterPeriod" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterPeriod" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label93" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label70" runat="server" text="SO号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterSO" name="BackletterSO" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterSO" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label94" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label59" runat="server" text="收益人名称"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BeneficiaryName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BeneficiaryName" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label95" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label78" runat="server" text="行号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterLineNo" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterLineNo" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label96" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label60" runat="server" text="收益人地址"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BeneficiaryAddr" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BeneficiaryAddr" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label61" runat="server" text="保函手续费"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="BackletterCommission" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BackletterCommission" Width="200px" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" || (Global.StepName!="出纳岗提交银行办理并填写费用金额3" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额2" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额1" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额4" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额")'></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择开具保函公司" ControlToValidate="BackletterCompanyName" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请选择开具保函公司</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator32" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择保函类别" ControlToValidate="BackletterType" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请选择保函类别</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator33" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择保函类别" ControlToValidate="BackletterType" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请选择保函类别</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator34" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入保函合同名称" ControlToValidate="BackletterContractName" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入合同名称</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator35" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入合同编号" ControlToValidate="BackletterContractNumber" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入合同编号</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator36" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入合同总金额" ControlToValidate="BackletterContractTotalAmount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入合同总金额</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator37" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入保函金额" ControlToValidate="BackletterAmount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入保函金额</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator39" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入保函期限" ControlToValidate="BackletterPeriod" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入保函期限</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator40" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入受益人名称" ControlToValidate="BeneficiaryName" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入受益人名称</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator41" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入受益人地址" ControlToValidate="BeneficiaryAddr" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入受益人地址</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator42" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入保函手续费" ControlToValidate="BackletterCommission" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" || (Global.StepName!="出纳岗提交银行办理并填写费用金额3" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额2" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额1" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额4" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额")'>请输入保函手续费</aspxform:XRequiredFieldValidator>
             <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator58" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择过账日期" ControlToValidate="PostingDate" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" || (Global.StepName!="出纳岗提交银行办理并填写费用金额3" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额2" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额1" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额4" &amp;&amp;Global.StepName!="出纳岗提交银行办理并填写费用金额")'>请选择过账日期</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator43" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入SO" ControlToValidate="BackletterSO" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="保函" '>请输入SO</aspxform:XRequiredFieldValidator>
            <br id="br2" hiddenexpress="DF_FI_TenderFeeAppInfo.Type=='标书费'|| DF_FI_TenderFeeAppInfo.Type=='保证金'|| DF_FI_TenderFeeAppInfo.Type=='中标服务费' || DF_FI_TenderFeeAppInfo.Type=='保函'||DF_FI_TenderFeeAppInfo.Type=='资信证明'||   DF_FI_TenderFeeAppInfo.Type=='投标杂费'" />
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress='DF_FI_TenderFeeAppInfo.Type!="资信证明"'>
                <tbody>
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="Label62" runat="server" text="资信证明信息"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label97" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label63" runat="server" text="开具资信证明公司"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="CreditCompanyName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.CreditCompanyName" onchange="getCreditCompanyCode()" PromptText="----请选择----">
                                <asp:ListItem Value="1000">北京中科</asp:ListItem>
                                <asp:ListItem Value="1010">上海分公司</asp:ListItem>
                                <asp:ListItem Value="1020">深圳分公司</asp:ListItem>
                                <asp:ListItem Value="2000">上海颐合</asp:ListItem>
                                <asp:ListItem Value="2100">苏州博德</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label98" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label64" runat="server" text="受益人名称"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CreditBeneficiaryName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.CreditBeneficiaryName" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label99" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label68" runat="server" text="起始日期"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XDateTimePicker id="CreditBeneficiaryDate" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.CreditBeneficiaryDate" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label100" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label69" runat="server" text="SO号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CreditBeneficiarySO" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.CreditBeneficiarySO" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label65" runat="server" text="资信证明手续费"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CreditBeneficiaryCommission" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.CreditBeneficiaryCommission" Width="75%" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="资信证明" || Global.StepName!="出纳岗提交银行办理并填写费用金额3"'></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label79" runat="server" text="行号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CreditBeneficiaryLineNO" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.CreditBeneficiaryLineNO" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <table width="1200" align="center" class="table" id="TabPostingDate" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_FI_TenderFeeAppInfo.Type!='资信证明'&amp;&amp;DF_FI_TenderFeeAppInfo.Type!='保函'">
                <tbody>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label81" runat="server" text="过账日期"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                            <aspxform:XDateTimePicker id="PostingDate" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PostingDate" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator44" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择开具资信证明公司" ControlToValidate="CreditCompanyName" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="资信证明"'>请选择开具资信证明公司</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator45" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入受益人名称" ControlToValidate="CreditBeneficiaryName" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="资信证明"'>请输入受益人名称</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator46" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择起始日期" ControlToValidate="CreditBeneficiaryDate" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="资信证明"'>请选择起始日期</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator47" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入SO" ControlToValidate="CreditBeneficiarySO" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="资信证明"'>请输入SO</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator48" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入资信证明手续费" ControlToValidate="CreditBeneficiaryCommission" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Type!="资信证明" || Global.StepName!="出纳岗提交银行办理并填写费用金额3"'>请输入资信证明手续费</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <br id="br3" hiddenexpress="DF_FI_TenderFeeAppInfo.Type=='标书费'|| DF_FI_TenderFeeAppInfo.Type=='保证金'|| DF_FI_TenderFeeAppInfo.Type=='中标服务费' || DF_FI_TenderFeeAppInfo.Type=='保函'||DF_FI_TenderFeeAppInfo.Type=='资信证明' || DF_FI_TenderFeeAppInfo.Type=='投标杂费'" />
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress='DF_FI_TenderFeeAppInfo.Type!="标书费" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp; DF_FI_TenderFeeAppInfo.Type!="中标服务费"&amp;&amp; DF_FI_TenderFeeAppInfo.Type!="投标杂费"||DF_FI_TenderFeeAppInfo.Payer!="对公支付" || DF_FI_TenderFeeAppInfo.PayMethod!="电汇"'>
                <tbody>
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="Label27" runat="server" text="付款信息"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <aspxform:XLabel id="XLabel8" runat="server" BackColor="#D4E4FE" HiddenExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"' ForeColor="Red">*</aspxform:XLabel>
                            <asp:Label id="Label28" runat="server" text="收款人名称"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="PayeeName" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayeeName" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <aspxform:XLabel id="XLabel10" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.VoucherNo" HiddenExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"' ForeColor="Red">*</aspxform:XLabel>
                            <asp:Label id="Label32" runat="server" text="收款人账号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="PayeeAccount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayeeAccount" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <aspxform:XLabel id="XLabel19" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.VoucherNo" HiddenExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"' ForeColor="Red">*</aspxform:XLabel>
                            <asp:Label id="Label30" runat="server" text="收款人开户行"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="PayeeBankAccount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayeeBankAccount" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <aspxform:XLabel id="XLabel11" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.VoucherNo" HiddenExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"' ForeColor="Red">*</aspxform:XLabel>
                            <asp:Label id="Label31" runat="server" text="收款人行号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="PayeebankNumber" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayeebankNumber" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label33" runat="server" text="付款备注"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                            <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.PayRemark" Width="100%" BorderWidth="1" BorderColor="#DCDCDC" TextMode="MultiLine"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写收款人名称" ControlToValidate="PayeeName" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"'>请填写收款人名称</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写收款人账号" ControlToValidate="PayeeAccount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"'>请填写收款人账号</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写收款人开户行" ControlToValidate="PayeeBankAccount" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"'>请填写收款人开户行</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写收款人行号" ControlToValidate="PayeebankNumber" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.Payer!="对公支付"  ||  DF_FI_TenderFeeAppInfo.PayMethod!="电汇"'>请填写收款人行号</aspxform:XRequiredFieldValidator>
            &nbsp;&nbsp; 
            <br id="br4" hiddenexpress='DF_FI_TenderFeeAppInfo.Type=="标书费" || DF_FI_TenderFeeAppInfo.Type=="中标服务费"|| DF_FI_TenderFeeAppInfo.Type=="保证金" ||DF_FI_TenderFeeAppInfo.Type=="保函"||DF_FI_TenderFeeAppInfo.Type=="资信证明" || DF_FI_TenderFeeAppInfo.Type=="投标杂费"' />
            <table width="1200" align="center" class="table" id="tableInvoice" border="0" cellspacing="0" cellpadding="0" hiddenexpress="javascript('checkInvoice',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)">
                <tbody>
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="LabelQZ" runat="server" text="清账信息"></asp:Label></td>
                    </tr>
                    <tr>
                      <td height="19" class="tsbottomlabel" style="WIDTH: 10%" hiddenexpress='((DF_FI_TenderFeeAppInfo.Type=="标书费" || DF_FI_TenderFeeAppInfo.Type=="中标服务费")&amp;&amp;( DF_FI_TenderFeeAppInfo.Payer=="个人报销" )) || (DF_FI_TenderFeeAppInfo.Type=="投标杂费" &amp;&amp; DF_FI_TenderFeeAppInfo.Payer=="个人报销")  '>
                            <asp:Label id="LabelInvoiceAmount" runat="server" text="发票金额" ></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%" hiddenexpress='((DF_FI_TenderFeeAppInfo.Type=="标书费" || DF_FI_TenderFeeAppInfo.Type=="中标服务费")&amp;&amp;( DF_FI_TenderFeeAppInfo.Payer=="个人报销" )) || (DF_FI_TenderFeeAppInfo.Type=="投标杂费" &amp;&amp; DF_FI_TenderFeeAppInfo.Payer=="个人报销")  '>
                            <aspxform:XTextBox id="InvoiceAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.InvoiceAmount" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"  TextAlign="Right" Format="type:currency;.2" CssClass="InvoiceAmount"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label36" runat="server" text="发票类型" hiddenexpress="javascript('checkInvoiceType',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,DF_FI_TenderFeeAppInfo.InvoiceAmount,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                            <aspxform:XRadioButtonList id="InvoiceType" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.InvoiceType" name="InvoiceType" hiddenexpress="javascript('checkInvoiceType',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,DF_FI_TenderFeeAppInfo.InvoiceAmount,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)" RepeatDirection="Horizontal">
                                <asp:ListItem>增值税专用发票</asp:ListItem>
                                <asp:ListItem>增值税普通发票</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr hiddenexpress='DF_FI_TenderFeeAppInfo.InvoiceType!="增值税普通发票"'>
                        <td height="21" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label80" runat="server" text="发票介质"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                            <aspxform:XRadioButtonList id="InvoiceMedia" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.InvoiceMedia" onchange="InvoiceMediaChange()" name="InvoiceMedia" RepeatDirection="Horizontal" DisableExpress="javascript('checkInvoice',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)" Express="javascript('GetInvoiceType',DF_FI_TenderFeeAppInfo.InvoiceType)">
                                <asp:ListItem>全部电子发票</asp:ListItem>
                                <asp:ListItem>部分电子发票</asp:ListItem>
                                <asp:ListItem>全部纸质发票</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr hiddenexpress='DF_FI_TenderFeeAppInfo.InvoiceType!="增值税专用发票"'>
                        <td height="21" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label37" runat="server" text="发票税额"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="SpecialTicketTax" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.SpecialTicketTax" Width="200px" BorderWidth="1" BorderColor="#DCDCDC" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label38" runat="server" text="发票号码"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="InvoiceNo" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.InvoiceNo" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr id="trqz" hiddenexpress='((DF_FI_TenderFeeAppInfo.Type=="标书费" || DF_FI_TenderFeeAppInfo.Type=="中标服务费")&amp;&amp;( DF_FI_TenderFeeAppInfo.Payer=="个人报销" )) || (DF_FI_TenderFeeAppInfo.Type=="投标杂费" &amp;&amp; DF_FI_TenderFeeAppInfo.Payer=="个人报销")  '>
                        <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="LabelRefundAmount" runat="server" text="退还金额" hiddenexpress='DF_FI_TenderFeeAppInfo.Type!="投标杂费"&amp;&amp;DF_FI_TenderFeeAppInfo.Type!="标书费"&amp;&amp;DF_FI_TenderFeeAppInfo.Type!="中标服务费"'></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="RefundAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.RefundAmount" Width="200px" BorderWidth="1" BorderColor="#DCDCDC" hiddenexpress='DF_FI_TenderFeeAppInfo.Type!="投标杂费"&amp;&amp;DF_FI_TenderFeeAppInfo.Type!="标书费"&amp;&amp;DF_FI_TenderFeeAppInfo.Type!="中标服务费"' TextAlign="Right" Format="type:currency;.2" Express="javascript('getRefundAmount',DF_FI_TenderFeeAppInfo.PayAmount,DF_FI_TenderFeeAppInfo.InvoiceAmount)"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label84" runat="server" text="退款日期" hiddenexpress="javascript('CheckDatePayment',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.PayAmount,DF_FI_TenderFeeAppInfo.InvoiceAmount)"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                            <aspxform:XDateTimePicker id="DatePayment" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.DatePayment" HiddenExpress="javascript('CheckDatePayment',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.PayAmount,DF_FI_TenderFeeAppInfo.InvoiceAmount)" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label39" runat="server" text="SO号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="SO" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.SO" Width="200px" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label40" runat="server" text="行号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="SOLineNum" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.SOLineNum" Width="200px" BorderWidth="1" BorderColor="#DCDCDC">10</aspxform:XTextBox>
                            <aspxform:XTextBox id="StepName" runat="server" XDataBind="StepName" HiddenExpress="1" Width="200px" Express="Global.StepName"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </table>
            <br  id="brInvoice" hiddenexpress="javascript('checkElectronicInvoiceMedia',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.InvoiceType,DF_FI_TenderFeeAppInfo.InvoiceMedia)" />
            <table width="1200" align="center" class="scrolltable" id="tablenew" border="0" cellspacing="0" cellpadding="0" hiddenexpress="javascript('checkElectronicInvoiceMedia',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.InvoiceType,DF_FI_TenderFeeAppInfo.InvoiceMedia)" emptygrid="KeepEmpty" menudock="Left" dynamicarea="2,1">
                <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_FI_EInvoiceItems.EInvoiceNum" BorderWidth="1" BorderColor="#DCDCDC" Height="30px" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="EAmount" runat="server" XDataBind="DF_FI_EInvoiceItems.Amount" BorderWidth="1" BorderColor="#DCDCDC" Height="30px" TextAlign="Right" Format="type:currency;.2" width="100%"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XAttachments id="EInvoiceAttachment" runat="server" XDataBind="DF_FI_EInvoiceItems.EInvoiceAttachment" Height="30px" width="100%" FileTypes="*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf"></aspxform:XAttachments>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写发票金额" ControlToValidate="InvoiceAmount" ForeColor="Red" DisableExpress="javascript('checkInvoiceAmount',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName)">请填写发票金额</aspxform:XRequiredFieldValidator>
            &nbsp; <%--<aspxform:XCompareValidator id="XCompareValidator2" runat="server" Type="Currency" ControlToValidate="PayAmount" ErrorMessage="付款金额与报销金额不一致" Display="None" ValidationGroup="submit" DisableExpress="javascript('checkInvoiceEqual',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName)" ControlToCompare="InvoiceAmount" Operator="Equal">付款金额与报销金额不一致</aspxform:XCompareValidator>--%>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator54" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写退还金额" ControlToValidate="RefundAmount" ForeColor="Red" DisableExpress="javascript('checkInvoice',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)">请填写退还金额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择发票类型" ControlToValidate="InvoiceType" ForeColor="Red" DisableExpress="javascript('checkInvoiceType',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,DF_FI_TenderFeeAppInfo.InvoiceAmount,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)">请选择发票类型</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写专票税额" ControlToValidate="SpecialTicketTax" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.InvoiceType!="增值税专用发票"'>请填写专票税额</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator21" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写发票号码" ControlToValidate="InvoiceNo" ForeColor="Red" DisableExpress='DF_FI_TenderFeeAppInfo.InvoiceType!="增值税专用发票"'>请填写发票号码</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator49" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择发票介质" ControlToValidate="InvoiceMedia" ForeColor="Red" DisableExpress="javascript('checkElectronicInvoice',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.InvoiceType,DF_FI_TenderFeeAppInfo.InvoiceMedia)">请选择发票介质</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator22" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写SO号" ControlToValidate="SO" ForeColor="Red" DisableExpress="javascript('checkInvoiceType',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,DF_FI_TenderFeeAppInfo.InvoiceAmount,StepName,DF_FI_TenderFeeAppInfo.MarginBalance)">请填写SO号</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator55" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择退款日期" ControlToValidate="DatePayment" ForeColor="Red" DisableExpress="javascript('CheckDatePayment',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.PayAmount,DF_FI_TenderFeeAppInfo.InvoiceAmount)">请选择退款日期</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator50" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写电子发票号" ControlToValidate="EInvoiceNum" DisableExpress="javascript('checkElectronicInvoiceMedia',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.InvoiceType,DF_FI_TenderFeeAppInfo.InvoiceMedia)">请填写电子发票号</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator51" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请填写电子发票金额" ControlToValidate="EAmount" DisableExpress="javascript('checkElectronicInvoiceMedia',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.InvoiceType,DF_FI_TenderFeeAppInfo.InvoiceMedia)">请填写电子发票金额</aspxform:XRequiredFieldValidator>
            &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator52" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请上传电子发票附件" ControlToValidate="EInvoiceAttachment" DisableExpress="javascript('checkElectronicInvoiceMedia',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Payer,StepName,DF_FI_TenderFeeAppInfo.InvoiceType,DF_FI_TenderFeeAppInfo.InvoiceMedia)">请上传电子发票附件</aspxform:XRequiredFieldValidator>
            <br hiddenexpress='DF_FI_TenderFeeAppInfo.Type=="标书费" || DF_FI_TenderFeeAppInfo.Type=="中标服务费" ||DF_FI_TenderFeeAppInfo.Type=="保证金"||DF_FI_TenderFeeAppInfo.Type=="保函" || DF_FI_TenderFeeAppInfo.Type=="投标杂费"' />
            <table width="1200" align="center" class="table" id="tableClearingAccounts" border="0" cellspacing="0" cellpadding="0" hiddenexpress='Global.StepName!="申请人申请清账"&amp;&amp;Global.StepName!="申请人申请清账1"&amp;&amp;  Global.StepName!="费用会计岗审核27" &amp;&amp;  Global.StepName!="费用会计岗审核26" &amp;&amp;  Global.StepName!="费用会计岗审核25" &amp;&amp;  Global.StepName!="费用会计岗审核24"&amp;&amp;  Global.StepName!="费用会计岗审核23"&amp;&amp;  Global.StepName!="费用会计岗审核31"&amp;&amp;  Global.StepName!="费用会计岗审核30"&amp;&amp;  Global.StepName!="费用会计岗审核29"&amp;&amp;  Global.StepName!="费用会计岗审核28"&amp;&amp;  Global.StepName!="费用会计岗审核3"&amp;&amp;  Global.StepName!="费用会计岗审核2"&amp;&amp;  Global.StepName!="费用会计岗审核15"&amp;&amp;  Global.StepName!="费用会计岗审核16"&amp;&amp;  Global.StepName!="费用会计岗审核17"&amp;&amp;  Global.StepName!="费用会计岗审核18"'>
                <tbody>
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="Label17" runat="server" text="清账信息"></asp:Label></td>
                    </tr>
                    <tr>
                        <td height="19" class="tsbottomlabel" style="WIDTH: 10%" hiddenexpress='DF_FI_TenderFeeAppInfo.MarginType!="投标保证金"'>
                            <asp:Label id="Label73" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label19" runat="server" text="是否中标"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%" hiddenexpress='DF_FI_TenderFeeAppInfo.MarginType!="投标保证金"'>
                            <aspxform:XRadioButtonList id="MarginIsWinBid" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginIsWinBid" RepeatDirection="Horizontal">
                                <asp:ListItem>是</asp:ListItem>
                                <asp:ListItem>否</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 11%">
                            <asp:Label id="Label74" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label20" runat="server" text="保证金是否全额退回"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XRadioButtonList id="MarginFullReturn" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginFullReturn" RepeatDirection="Horizontal">
                                <asp:ListItem>是</asp:ListItem>
                                <asp:ListItem>否</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label75" runat="server" text="*" forecolor="Red" hiddenexpress='DF_FI_TenderFeeAppInfo.MarginFullReturn!="否"'></asp:Label>&nbsp;<asp:Label id="Label47" runat="server" text="保证金退回金额"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="MarginReturnAmount" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginReturnAmount" HiddenExpress='DF_FI_TenderFeeAppInfo.MarginFullReturn!="否"' Width="75%" BorderWidth="1" BorderColor="#DCDCDC" Express="javascript('getMarginReturnAmount',DF_FI_TenderFeeAppInfo.MarginFullReturn)"></aspxform:XTextBox>
                        </td>
                        <td height="20" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label76" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp;<asp:Label id="Label46" runat="server" text="保证金退回日期"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XDateTimePicker id="MarginReturnDate" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginReturnDate" Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr hiddenexpress='DF_FI_TenderFeeAppInfo.MarginFullReturn!="否"'>
                        <td height="20" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label44" runat="server" text="*" forecolor="Red" hiddenexpress='DF_FI_TenderFeeAppInfo.MarginFullReturn!="否"'></asp:Label>&nbsp; <asp:Label id="Label77" runat="server" text="保证金差额"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%"  colspan="3">
                            <aspxform:XDropDownList id="MarginBalance" Express="javascript('getMarginBalance',DF_FI_TenderFeeAppInfo.MarginFullReturn)" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.MarginBalance" PromptText="--请选择--">
                                <asp:ListItem>转中标服务费</asp:ListItem>
                                <asp:ListItem>转履约保证金</asp:ListItem>
                                <asp:ListItem>转质量保证金</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        
                    </tr>
                  
                </tbody>
            </table>
            
            <br id="br5" />
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label41" runat="server" text="会计凭证号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XLabel id="XLabel14" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.VoucherNo"></aspxform:XLabel>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label42" runat="server" text="清账凭证号"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XLabel id="XLabel16" runat="server" BackColor="#D4E4FE" XDataBind="DF_FI_TenderFeeAppInfo.ClearVoucherNo"></aspxform:XLabel>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择是否中标" ControlToValidate="MarginIsWinBid" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费") || ( Global.StepName!="申请人申请清账" &amp;&amp;  Global.StepName!="申请人申请清账1"  )|| DF_FI_TenderFeeAppInfo.MarginType!="投标保证金"'>请选择是否中标</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择保证金是否全额退回" ControlToValidate="MarginFullReturn" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费") ||  ( Global.StepName!="申请人申请清账" &amp;&amp;  Global.StepName!="申请人申请清账1"  ) '>请选择保证金是否全额退回</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator30" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择保证金差额" ControlToValidate="MarginBalance" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费") ||  ( Global.StepName!="申请人申请清账" &amp;&amp;  Global.StepName!="申请人申请清账1"  ) || DF_FI_TenderFeeAppInfo.MarginFullReturn!="否"'>请选择保证金差额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator31" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入保证金退回金额" ControlToValidate="MarginReturnAmount" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费")||  ( Global.StepName!="申请人申请清账" &amp;&amp;  Global.StepName!="申请人申请清账1"  ) || DF_FI_TenderFeeAppInfo.MarginFullReturn!="否"'>请输入保证金退回金额</aspxform:XRequiredFieldValidator>
            &nbsp; 
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator29" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请选择保证金退回日期" ControlToValidate="MarginReturnDate" ForeColor="Red" DisableExpress='(DF_FI_TenderFeeAppInfo.Type!="保证金" &amp;&amp;DF_FI_TenderFeeAppInfo.Type!="投标杂费") ||  ( Global.StepName!="申请人申请清账" &amp;&amp;  Global.StepName!="申请人申请清账1"  )'>请选择保证金退回日期</aspxform:XRequiredFieldValidator>
            <table width="1200" align="center" class="table" id="TabAttachment" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="labAttachment" runat="server" text="上传招标公告"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 25%">
                            <aspxform:XAttachments id="Attachment" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.Attachment" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf"></aspxform:XAttachments>
                        </td>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label34" runat="server" text="招标网址" hiddenexpress='DF_FI_TenderFeeAppInfo.Type!="标书费"'></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 25%">
                            <aspxform:XTextBox id="BiddingWebsite" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BiddingWebsite" HiddenExpress='DF_FI_TenderFeeAppInfo.Type!="标书费"' Width="75%" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="labAttachment1" runat="server" text="上传付款回单"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                            <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.Attachment1" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf"></aspxform:XAttachments>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_FI_TenderFeeAppInfo.MarginBalance!='转中标服务费'">
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label35" runat="server" text="上传中标通知书"></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                            <aspxform:XAttachments id="BidWinningNoticeAttachment1" runat="server" XDataBind="DF_FI_TenderFeeAppInfo.BidWinningNoticeAttachment1" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.png;*.jpg;*.jpeg;*.gif" FileTypesDescription="Word,Excel,Pdf"></aspxform:XAttachments>
                        </td>
                    </tr>
                </tbody>
            </table>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator23" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请提供招标网址或上传招标公告" ControlToValidate="Attachment" ForeColor="Red" DisableExpress="javascript('GetAttachment1',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Attachment,DF_FI_TenderFeeAppInfo.BiddingWebsite)">请上传附件</aspxform:XRequiredFieldValidator>
             <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator57" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请上传附件" ControlToValidate="Attachment" ForeColor="Red" DisableExpress="javascript('GetAttachment2',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Attachment,DF_FI_TenderFeeAppInfo.BiddingWebsite)">请上传附件</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator56" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请输入招标网址" ControlToValidate="BiddingWebsite" ForeColor="Red" DisableExpress="javascript('GetAttachment',DF_FI_TenderFeeAppInfo.Type,DF_FI_TenderFeeAppInfo.Attachment,DF_FI_TenderFeeAppInfo.BiddingWebsite)">请输入招标网址</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator28" runat="server" Display="None" ErrorMessage="请上传付款回单" ControlToValidate="XAttachments2" ForeColor="Red" DisableExpress='Global.StepName!="出纳岗上传付款底单1"&amp;&amp;Global.StepName!="出纳岗上传付款底单2" &amp;&amp;Global.StepName!="出纳岗上传付款底单3" &amp;&amp;Global.StepName!="出纳岗上传付款底单4"&amp;&amp;Global.StepName!="出纳岗上传付款底单5"&amp;&amp;Global.StepName!="出纳岗上传付款底单6" &amp;&amp;Global.StepName!="出纳岗上传付款底单7"&amp;&amp;Global.StepName!="出纳岗上传付款底单8"&amp;&amp;Global.StepName!="出纳岗上传付款底单9"&amp;&amp;Global.StepName!="出纳岗上传付款底单10"'>请上传付款底单</aspxform:XRequiredFieldValidator>
            <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator38" runat="server" ValidationGroup="submit" Display="None" ErrorMessage="请上传中标通知书" ControlToValidate="BidWinningNoticeAttachment1" ForeColor="Red" DisableExpress="DF_FI_TenderFeeAppInfo.MarginBalance!='转中标服务费'">请上传中标通知书</aspxform:XRequiredFieldValidator>
            <br id="br6" />
            
        </div>
        <div>
            <br id="br7" />
        </div>
        <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
    </form>
    
</body>
</html>
