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

    // Insert page code here
    //

</script>
<html xmlns:xform="xmlns:xform">
<head id="Head1" runat="server">
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <title>BPM Form</title>
</head>

<body>
    <form id="Form1" runat="server">
        <style>BODY {
	FONT-SIZE: 12px; FONT-FAMILY: verdana
}
TABLE {
	FONT-SIZE: 12px; FONT-FAMILY: verdana; BORDER-COLLAPSE: collapse
}
P {
	FONT-SIZE: 12px; FONT-FAMILY: verdana; PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; MARGIN: 0px; PADDING-RIGHT: 0px
}
TD {
	PADDING-BOTTOM: 0px; PADDING-LEFT: 2px; PADDING-RIGHT: 0px
}
TD.NoPadding {
	PADDING-BOTTOM: 0px; PADDING-TOP: 0px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px
}
INPUT {
	HEIGHT: 20px
}
INPUT.UL {
	BORDER-TOP: medium none; BORDER-RIGHT: medium none; BORDER-BOTTOM: #33ff33 1px solid; BORDER-LEFT: medium none
}
TEXTAREA {
	FONT-SIZE: 12px
}
</style>
        <script type="text/javascript">

            function copyLine() {
                var table = document.getElementById("tabledetail");
                //快递单号 index=11、快递公司、寄票方式、寄送时间
                var test = agent.Eles[table.rows[2].cells[13].children[0].getAttribute("xform_xele_index")].getValue();
                
                var sendType = agent.Eles[table.rows[2].cells[8].children[0].getAttribute("xform_xele_index")].getValue();
                var sendDate = agent.Eles[table.rows[2].cells[9].children[0].getAttribute("xform_xele_index")].getValue();
                var expressCompany = agent.Eles[table.rows[2].cells[10].children[0].getAttribute("xform_xele_index")].getValue();
                var expressNo = agent.Eles[table.rows[2].cells[11].children[0].getAttribute("xform_xele_index")].getValue();
                //alert(expressNo);
                for (var i = 3; i < table.rows.length ; i++) {
                    agent.Eles[table.rows[i].cells[8].children[0].getAttribute("xform_xele_index")].setValue(sendType);
                    agent.Eles[table.rows[i].cells[9].children[0].getAttribute("xform_xele_index")].setValue(sendDate);
                    agent.Eles[table.rows[i].cells[10].children[0].getAttribute("xform_xele_index")].setValue(expressCompany);  
                    agent.Eles[table.rows[i].cells[11].children[0].getAttribute("xform_xele_index")].setValue(expressNo);
                }
            }


            /*
YZSoft.XForm.Agent.BlockButtonClick = function(ev, el, opt) {
    var x = YZSoft.XForm;
    var xa = x.Agent;

    if (!xa.BlockMenu) {
        var insertAbove = new Ext.menu.Item({
            iconCls: 'insertabove',
            text: RS.$('YZStrings.XFormAgent_Grid_InsertAbove'),
            handler: function(item) {
                var o = item.parentMenu.opt;
                o.grid.InsertBlockAbove(o.blockIndex);
            }
        });

        var insertBelow = new Ext.menu.Item({
            iconCls: 'insertbelow',
            text: RS.$('YZStrings.XFormAgent_Grid_InsertBelow'),
            handler: function(item) {
                var o = item.parentMenu.opt;
                o.grid.InsertBlockBelow(o.blockIndex);
            }
        });

        var appendCopy = new Ext.menu.Item({
            iconCls: 'appendcopy',
            text: RS.$('YZStrings.XFormAgent_Grid_AppendCopy'),
            handler: function(item) {
                var o = item.parentMenu.opt;
                o.grid.AppendCopy(o.blockIndex);
            }
        });

        var copy = new Ext.menu.Item({
            iconCls: 'copy',
            text: RS.$('YZStrings.XFormAgent_Grid_Copy'),
            handler: function(item) {
                var o = item.parentMenu.opt;
                o.elType.CopyTable = xa.CopyBlock(o.grid.Blocks[o.blockIndex]);
            }
        });

        var paste = new Ext.menu.Item({
            iconCls: 'paste',
            text: RS.$('YZStrings.XFormAgent_Grid_Paste'),
            handler: function(item) {
                var o = item.parentMenu.opt;
                o.grid.PasteBlockCopy(o.blockIndex);
            }
        });

        var del = new Ext.menu.Item({
            iconCls: 'delete',
            //disabled: true,
            text: RS.$('YZStrings.XFormAgent_Grid_Delete'),
            handler: function(item) {
                var o = item.parentMenu.opt;
                o.grid.DeleteBlocks(o.blockIndex, 1);
            }
        });

        xa.BlockMenu = new Ext.menu.Menu({
            cls: 'yz-grid-menu',
            shadow: false,
            minWidth: 80,
            items: [insertAbove, insertBelow, appendCopy, '-', copy, paste, '-', del],
            listeners: {
                show: function() { xa.menuTrack = true; },
                hide: function() { xa.menuTrack = false; }
            }
        });
    }

    xa.BlockMenu.opt = opt;
    var items = xa.BlockMenu.items;
    items.itemAt(5).setDisabled(!opt.elType.CopyTable);
    var inames='';
    var istate='';
    var bc = opt.grid.Blocks.length;
   inames=XFormShell.XFormAgent.CalcExpress(el,"DF_BILLCONFIRM.PaperBillNo");
   istate=XFormShell.XFormAgent.CalcExpress(el,"DF_BILLCONFIRM.DeleteStatut");
    var n ;
       if(inames.length>1)
          n = inames[opt.blockIndex];
        else
         n = inames;
     var k;
     if(istate.length>1)
          k = istate[opt.blockIndex];
        else
         k = istate;
    items.itemAt(7).setDisabled((bc <= 0) || (bc == 1 && opt.elType.GridDefine.ShowOneBlockAlways)||n!=''||k=='删除');
     xa.BlockMenu.show(el);

}
            */
        </script>
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 70px">
                        <asp:Label id="XLabel2" runat="server" value valuetodisplaytext text="租赁发票确认单"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" value valuetodisplaytext text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" Value ValueToDisplayText Text="----自动生成-----" BackColor="#8AB3DF" XDataBind="DF_BILLCONFIRM_Info.FormNo"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td colspan="3">
                        <asp:Label id="Label4" runat="server" text="标记*的为发起人必填项" forecolor="Red"></asp:Label></td>
                </tr>
                <tr>
                    <td height="25" class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel13" runat="server" value valuetodisplaytext text="创建用户"></asp:Label>
                        <aspxform:XTextBox id="XTextBox16" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM_Info.CreateUser" HiddenExpress="1" Width="20" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM_Info.AppName" Width="50%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" value valuetodisplaytext text="创建日期"></asp:Label></td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM_Info.CreateDate" Width="50%" CssClass="text1" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="*" forecolor="Red"></asp:Label>&nbsp; <asp:Label id="XLabel9" runat="server" value valuetodisplaytext text="业务员"></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" ValueToDisplayText XDataBind="DF_BILLCONFIRM_Info.SeleManID" HiddenExpress="1" Width="20" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" Value BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM_Info.SalesManName" Width="130px" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" DisableBehavior="ReadOnly" HiddenInput="False" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XSelectUserButton id="XSelectUserButton1" runat="server" Text="查询" HiddenExpress="Global.StepName!='地区助理发起发票申请'" Width="45px" DisableExpress="Global.StepName!='地区助理发起发票申请'" DataMap="Account->DF_BILLCONFIRM_Info.SeleManID;DisplayName->DF_BILLCONFIRM_Info.SalesManName"></aspxform:XSelectUserButton>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <%--<asp:Label id="Label2" runat="server" value valuetodisplaytext text="拥有人" ></asp:Label>
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_BILLCONFIRM_Info.OwnerAccount" HiddenExpress="1" Width="20" CssClass="text1"></aspxform:XTextBox>--%>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <%--<aspxform:XTextBox id="XTextBox20" runat="server" Value BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM_Info.OwnerName" Width="130px" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" DisableBehavior="ReadOnly" HiddenInput="False" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XSelectUserButton id="XSelectUserButton2" runat="server" Text="查询" HiddenExpress="Global.StepName!='地区助理发起发票申请'" Width="45px" DisableExpress="Global.StepName!='地区助理发起发票申请'" DataMap="Account->DF_BILLCONFIRM_Info.OwnerAccount;DisplayName->DF_BILLCONFIRM_Info.OwnerName"></aspxform:XSelectUserButton>--%>
                    </td>
                </tr>
                <%--<tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="Label3" runat="server" value valuetodisplaytext text="付款方客户"></asp:Label>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_BILLCONFIRM_Info.CustomerID" Width="20" CssClass="text1" DisableBehavior="ReadOnly" HiddenInput="true"></aspxform:XTextBox>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox10" runat="server" Value BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM_Info.CustomerName" Width="250px" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" Max="0" Min="0" DisableBehavior="ReadOnly" HiddenInput="False" DisableExpress="1"></aspxform:XTextBox>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton3" runat="server" Text="查询" HiddenExpress="Global.StepName!='地区助理发起发票申请'" Width="47px" DisableExpress="Global.StepName!='地区助理发起发票申请'" DataMap="CustomerID->DF_BILLCONFIRM_Info.CustomerID;CustomerNameCH->DF_BILLCONFIRM_Info.CustomerName" PopupWndHeight="-1" UseSubmitBehavior="False" PopupWndWidth="-1" XDataSource="TableName:V_DF_MasterData_Customer" DisplayColumns="CustomerID:客户编号,100;CustomerNameCH:客户名称,250;CustomerSAPID:客户SAPID,80" PrintOut="False"></aspxform:XDataBrowserButton>
                    </td>
                </tr>--%>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ValidationGroup="submit" ControlToValidate="XTextBox2" ErrorMessage="请选择业务员" ForeColor="Red"></aspxform:XRequiredFieldValidator>
        <br />
        <table align="center" class="table1">
            <tbody>
                <tr>
                    <td width="1200" style="TEXT-ALIGN: left">
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" Text="待确认发票" XClass="Oimec.Dialogs.InvoiceToConfirmButton" CssClass="anxiu" DisableExpress="DF_BILLCONFIRM_Info.SeleManID==''" DataMap="SellCustomerID->DF_BILLCONFIRM.SoldCustomer;DeleteStaut->DF_BILLCONFIRM.DeleteStatut;PayoutEndDate->DF_BILLCONFIRM.PayoutEndDate;ContractNo->DF_BILLCONFIRM.ContractNo;Reason->DF_BILLCONFIRM.Reason;ActDate->DF_BILLCONFIRM.ActDate;PayCustomerID->DF_BILLCONFIRM.AnyCustomer;ExpressCompany->DF_BILLCONFIRM.ExpressCompany;PaperBillNo->DF_BILLCONFIRM.PaperBillNo;SalesManID->DF_BILLCONFIRM.SalesMan;EndPlanDate->DF_BILLCONFIRM.EndPlanDate;FreightCost->DF_BILLCONFIRM.FreightCost;ID->DF_BILLCONFIRM.TID;ExpressNo->DF_BILLCONFIRM.ExpressNo;SendDate->DF_BILLCONFIRM.SendDate;BillType->DF_BILLCONFIRM.InvoiceType;Amount->DF_BILLCONFIRM.Amount;PayoutStartDate->DF_BILLCONFIRM.PayoutStartDate" PopupWndHeight="-1" UseSubmitBehavior="False" PopupWndWidth="-1" MultiSelect="True" BrowserWindowType="AjaxPanel" Filter="SalesManID->DF_BILLCONFIRM_Info.SeleManID"></aspxform:XCustomBrowserButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <div id="dcontinue" style="TEXT-ALIGN: center" runat="server">
            <div class="scrollDiv" id="scrollDiv">
                <table width="3300" align="center" class="scrolltable" id="tabledetail" border="0" cellspacing="0" cellpadding="3" runat="server" menudock="Left" dynamicarea="2,1">
                    <tbody>
                        <tr class="scrollColThead">
                            <th height="24" class="scrollRowThead scrollCR" style="TEXT-ALIGN: left" colspan="8">
                                <asp:Label id="XLabel39" runat="server" text="发票确认信息"></asp:Label>
                                <aspxform:XLabel id="XLabel1" runat="server" Value ValueToDisplayText Text="fapiaoleixing" XDataBind="varfp" HiddenExpress="1"></aspxform:XLabel>
                            </th>
                            <th height="24" style="BORDER-RIGHT: medium none; TEXT-ALIGN: center; BACKGROUND-COLOR: #fbc38a" colspan="4">
                                <input style="HEIGHT: 25px" onclick="copyLine();" type="button" value="复制" hiddenexpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName=='业务员确认开票信息'||Global.StepName=='业务员确认收到发票')" />&nbsp; <asp:Label id="Label86" runat="server" text="复制下面4个字段第一行到其他所有行" hiddenexpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName=='业务员确认开票信息'||Global.StepName=='业务员确认收到发票')" font-bold="True" font-size="Small"></asp:Label>
                            </th>
                            <th height="24" class="scrollRowThead scrollCR" style="TEXT-ALIGN: left" colspan="12">
                            </th>
                        </tr>
                        <tr class="scrollColThead">
                            <td width="30" height="47" class="tds" style="TEXT-ALIGN: center">
                                <asp:Label id="XLabel30" runat="server" value valuetodisplaytext text="序号"></asp:Label></td>
                            <td width="40" class="tds" style="PADDING-LEFT: 10px">
                                <asp:Label id="XLabel7" runat="server" value valuetodisplaytext text="删除"></asp:Label></td>
                            <td width="70" class="tds">
                                <div align="center"><asp:Label id="XLabel3" runat="server" text="操作状态"></asp:Label>
                                </div>
                            </td>
                            <td width="100" class="tds">
                                <asp:Label id="XLabel8" runat="server" text="合同号"></asp:Label></td>
                            <td width="150" class="tds" style="TEXT-ALIGN: center">
                                <asp:Label id="XLabel5" runat="server" text="售达方客户"></asp:Label></td>
                            <td width="150" class="tds" style="TEXT-ALIGN: center">
                                <asp:Label id="XLabel6" runat="server" text="付款方客户"></asp:Label></td>
                            <td width="150" class="tds">
                                <div align="center"><asp:Label id="XLabel36" runat="server" text="发票金额"></asp:Label>
                                </div>
                            </td>
                            <td width="160" class="tds">
                                <div align="center"><asp:Label id="XLabel40" runat="server" text="纸质发票号"></asp:Label>
                                </div>
                            </td>
                            <td width="100" class="tds" style="BACKGROUND-COLOR: #fbc38a">
                                <asp:Label id="Label1" runat="server" text="寄票方式"></asp:Label></td>
                            <td width="100" class="tds" style="BACKGROUND-COLOR: #fbc38a">
                                <div align="center"><asp:Label id="XLabel10" runat="server" text="发票寄出时间"></asp:Label>
                                </div>
                            </td>
                            <td width="180" class="tds" style="BACKGROUND-COLOR: #fbc38a">
                                <div align="center"><asp:Label id="XLabel42" runat="server" text="快递公司"></asp:Label>
                                </div>
                            </td>
                            <td width="140" class="tds" style="BACKGROUND-COLOR: #fbc38a">
                                <asp:Label id="XLabel43" runat="server" text="快递单号"></asp:Label></td>
                            <td width="100" class="tds">
                                <div align="center"><asp:Label id="XLabel31" runat="server" text="计划开票日"></asp:Label>
                                </div>
                            </td>
                            <td width="100" class="tds">
                                <div align="center"><asp:Label id="XLabel32" runat="server" text="实际开票日"></asp:Label>
                                </div>
                            </td>
                            <td width="200" class="tds">
                                <div align="center"><asp:Label id="XLabel33" runat="server" text="开票日变更原因"></asp:Label>
                                </div>
                            </td>
                            <td width="100" class="tds">
                                <div align="center"><asp:Label id="XLabel34" runat="server" text="请款开始日"></asp:Label>
                                </div>
                            </td>
                            <td width="100" class="tds">
                                <div align="center"><asp:Label id="XLabel35" runat="server" text="请款结束日"></asp:Label>
                                </div>
                            </td>
                            <td width="80" class="tds">
                                <div align="center"><asp:Label id="XLabel37" runat="server" text="运费"></asp:Label>
                                </div>
                            </td>
                            <td width="160" class="tds">
                                <div align="center"><asp:Label id="XLabel41" runat="server" text="发票类型"></asp:Label>
                                </div>
                            </td>
                            <td width="96" class="tds">
                                <asp:Label id="XLabel44" runat="server" value valuetodisplaytext text="业务员确认开票信息"></asp:Label></td>
                            <td width="96" class="tds">
                                <asp:Label id="XLabel11" runat="server" value valuetodisplaytext text="业务员收到纸质发票"></asp:Label></td>
                            <%--<td width="96" class="tds">
                                <asp:Label id="XLabel12" runat="server" value valuetodisplaytext text="客户确认发票"></asp:Label></td>--%> 
                            <td width="104" class="tds">
                                <asp:Label id="XLabel46" runat="server" value valuetodisplaytext text="退票"></asp:Label></td>
                            <td width="160" class="tds">
                                <asp:Label id="XLabel45" runat="server" text="退票原因"></asp:Label></td>
                            <td width="160" class="tds">
                                <asp:Label id="XLabel15" runat="server" text="备注"></asp:Label></td>
                        </tr>
                        <tr>
                            <td class="tds1">
                                <div align="center">
                                    <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_BILLCONFIRM.LinceNumber" Width="20px" BorderColor="Gainsboro" BorderWidth="1px" BorderStyle="None" TextAlign="Center" ReadOnly="True">1</aspxform:XGridLineNo>
                                    <aspxform:XTextBox id="XTextBox1" runat="server" Value ValueToDisplayText XDataBind="DF_BILLCONFIRM.TID" Width="4px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" DisableBehavior="ReadOnly" HiddenInput="True" BorderStyle="Dotted" TextAlign="Center"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox6" runat="server" Value ValueToDisplayText XDataBind="DF_BILLCONFIRM.ID" Width="2px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="True" BorderStyle="Dotted"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox5" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.SalesMan" Width="4px" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" ReadOnly="True"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="tds1" algin="center">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox9" runat="server" Text=" " XDataBind="DF_BILLCONFIRM.IsDelete" DisableExpress='(Global.StepName!="地区助理填写发票信息后邮寄")'></aspxform:XCheckBox>
                                    <aspxform:XTextBox id="XTextBox13" runat="server" Value ValueToDisplayText Width="10px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="True" Express="DF_BILLCONFIRM.IsDelete"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox49" runat="server" ValueToDisplayText BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.DeleteStatut" Width="100%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1" ReadOnly="True" Express="if(DF_BILLCONFIRM.IsDelete!=&quot;&quot;,'删除','正常')"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox50" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.ContractNo" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox51" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.SoldCustomer" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox52" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.AnyCustomer" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableBehavior="ReadOnly" DisableExpress="1" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox54" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.Amount" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox57" runat="server" XDataBind="DF_BILLCONFIRM.PaperBillNo" Width="100%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName!=&quot;地区助理填写发票信息后邮寄&quot;&amp;&amp;Global.StepName!='')"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_BILLCONFIRM.IsInovice" Width="100%" CssClass="text" HiddenInput="True" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!=&quot;地区助理填写发票信息后邮寄&quot;" Express='if(DF_BILLCONFIRM.PaperBillNo!="","是","否")'></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_BILLCONFIRM.SendType" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='地区助理填写发票信息后邮寄'" PromptText="--请选择--">
                                    <asp:ListItem>转交业务员</asp:ListItem>
                                    <asp:ListItem>邮寄客户</asp:ListItem>
                                    <asp:ListItem>邮寄分支机构</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XDateTimePicker id="XDateTimePicker25" runat="server" XDataBind="DF_BILLCONFIRM.SendDate" Width="98%" CssClass="text" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='地区助理填写发票信息后邮寄'"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_BILLCONFIRM.ExpressCompany" Width="100%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName!=&quot;地区助理填写发票信息后邮寄&quot;&amp;&amp;Global.StepName!='')"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox58" runat="server" XDataBind="DF_BILLCONFIRM.ExpressNo" Width="100%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName!='地区助理填写发票信息后邮寄'&amp;&amp;Global.StepName!='')"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.EndPlanDate" Width="99%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisplayOnly="True" DisableExpress="1"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XDateTimePicker id="XDateTimePicker22" runat="server" XDataBind="DF_BILLCONFIRM.ActDate" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName=='业务员确认开票信息'||Global.StepName=='业务员确认收到发票')"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox53" runat="server" XDataBind="DF_BILLCONFIRM.Reason" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName=='业务员确认开票信息'||Global.StepName=='业务员确认收到发票')"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XDateTimePicker id="XDateTimePicker23" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.PayoutStartDate" Width="98%" CssClass="text" DisableExpress="1"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XDateTimePicker id="XDateTimePicker24" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.PayoutEndDate" Width="98%" CssClass="text" DisableExpress="1"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox55" runat="server" BackColor="#E6F1F8" XDataBind="DF_BILLCONFIRM.FreightCost" Width="98%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" DisableExpress="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_BILLCONFIRM.InvoiceType" Width="100%" DisableExpress="1" PromptText="-------请选择--------" XDataSource="TableName:DF_DataSourceList;Filter:Type->varfp" DisplayColumn="Name" ValueColumn="ItemID">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox1" runat="server" Text=" " XDataBind="DF_BILLCONFIRM.IsTure" DisableExpress="Global.StepName!='业务员确认开票信息'"></aspxform:XCheckBox>
                                    <aspxform:XTextBox id="XTextBox4" runat="server" Value ValueToDisplayText Width="10px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="True" Express="DF_BILLCONFIRM.IsTure"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox2" runat="server" Text=" " XDataBind="DF_BILLCONFIRM.IsReceive" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='业务员确认收到发票'"></aspxform:XCheckBox>
                                    <aspxform:XTextBox id="XTextBox7" runat="server" Value ValueToDisplayText Width="29px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="True" Express="DF_BILLCONFIRM.IsReceive"></aspxform:XTextBox>
                                </div>
                            </td>
                            <%-- <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XCheckBox id="XCheckBox10" runat="server" Text=" " XDataBind="DF_BILLCONFIRM.IsContract" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='业务员确认客户收到发票'"></aspxform:XCheckBox>
                                <aspxform:XTextBox id="XTextBox10" runat="server" Value ValueToDisplayText Width="33px" Max="0" Min="0" HiddenInput="True" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_BILLCONFIRM.IsContract"></aspxform:XTextBox>
                            </td>--%> 
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox3" runat="server" Text=" " XDataBind="DF_BILLCONFIRM.IsReturn" DisableExpress="!(Global.StepName=='业务员确认收到发票'||Global.StepName=='地区助理填写发票信息后邮寄')"></aspxform:XCheckBox>
                                    <aspxform:XTextBox id="XTextBox8" runat="server" Value ValueToDisplayText XDataBind="DF_BILLCONFIRM.RejectStatu" Width="33px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="True"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XTextBox id="XTextBox60" runat="server" XDataBind="DF_BILLCONFIRM.RefundReason" Width="100%" CssClass="text" DisableExpress="!(Global.StepName=='业务员确认收到发票'||Global.StepName=='地区助理填写发票信息后邮寄')"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XTextBox id="XTextBox61" runat="server" XDataBind="DF_BILLCONFIRM.Note" Width="100%" CssClass="text"></aspxform:XTextBox>
                            </td>
                        </tr>
                        <%--<tr>
                            <td class="tds1" colspan="10">
                                &nbsp; 
                            </td>
                            <td class="tdstotal" style="TEXT-ALIGN: center">
                                <asp:Label id="XLabel18" runat="server" text="发票总金额"></asp:Label></td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox9" runat="server" BackColor="#E6F1F8" BorderWidth="1px" BorderColor="Gainsboro" CssClass="text1" Width="98%" DisableExpress="1" ReadOnly="True" TextAlign="Right" Express="sum(if(DF_BILLCONFIRM.DeleteStatut=='删除',0,DF_BILLCONFIRM.Amount+DF_BILLCONFIRM.FreightCost))" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td width="1614" class="tds1" style="BORDER-LEFT: #b2bcc6 1px solid" colspan="12">
                                <%--<aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="varretrun" ValueToDisplayText Value BorderWidth="1px" BorderColor="Gainsboro" Width="98px" Max="0" Min="0" HiddenInput="True" Express="sum(DF_BILLCONFIRM.IsReturn)"></aspxform:XTextBox>--%>
                        --%&gt; 
                    </tbody>
                </table>
            </div>
        </div>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varsenddate" ControlToValidate="XDateTimePicker25" ErrorMessage="请输入发票寄出日期！" Display="None">请输入发票寄出日期！</aspxform:XRequiredFieldValidator>
        <%--<aspxform:XRangeValidator id="XRangeValidator1" runat="server" Type="Double" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ErrorMessage="请确认纸质发票信息！" ControlToValidate="XTextBox7" ValidationGroup="varSrue" MaxValueExpress="1" MinValueExpress="1"></aspxform:XRangeValidator>--%>
        <aspxform:XRangeValidator id="XRangeValidator3" runat="server" Type="Double" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varfapiao" ControlToValidate="XTextBox4" ErrorMessage="请确认发票信息是否正确！" Display="None" MinValueExpress="1" MaxValueExpress="1">业务员确认发票信息</aspxform:XRangeValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||DF_BILLCONFIRM.SendType=='转交业务员'" ValidationGroup="varsenddate" ControlToValidate="XTextBox58" ErrorMessage="请输入快递单号！"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||DF_BILLCONFIRM.SendType=='转交业务员'" ValidationGroup="varsenddate" ControlToValidate="XTextBox3" ErrorMessage="请输入快递公司！"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varsenddate" ControlToValidate="XTextBox57" ErrorMessage="请输入纸质发票号！"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varsenddate" ControlToValidate="XDateTimePicker22" ErrorMessage="请填写实际开票日！"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varsenddate" ControlToValidate="XDropDownList1" ErrorMessage="请选择寄票方式！"></aspxform:XRequiredFieldValidator>
        <%--<aspxform:XRangeValidator id="XRangeValidator2" runat="server" Type="Double" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varreturn" ControlToValidate="XTextBox12" ErrorMessage="如需退票，请勾选需退票的行及退票原因！" MinValueExpress="1"></aspxform:XRangeValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" DisableExpress="DF_BILLCONFIRM.IsReturn==0" ValidationGroup="varreturn" ControlToValidate="XTextBox60" ErrorMessage="如需退票，请填写退票原因！"></aspxform:XRequiredFieldValidator>--%><%--<aspxform:XRangeValidator id="XRangeValidator4" runat="server" Type="Double" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ValidationGroup="varSrue1" ControlToValidate="XTextBox10" ErrorMessage="客户确认发票信息" MinValueExpress="1" MaxValueExpress="1"></aspxform:XRangeValidator>--%>
        <aspxform:XRangeValidator id="XRangeValidator6" runat="server" Type="Double" ValidationGroup="vardelete" ControlToValidate="XTextBox14" ErrorMessage="请勾上需删除的行！" MinValueExpress="1"></aspxform:XRangeValidator>
        <br />
        <table align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel16" runat="server" value valuetodisplaytext text="备注"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox18" runat="server" Value ValueToDisplayText XDataBind="DF_BILLCONFIRM_Info.Remark" Width="100%" CssClass="text" BorderWidth="1px" Max="0" Min="0" HiddenInput="False" TextMode="MultiLine" Height="76px"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
            <aspxform:XTextBox id="XTextBox14" runat="server" Value ValueToDisplayText XDataBind="vardelete" Width="10px" BorderColor="Gainsboro" BorderWidth="1px" Max="0" Min="0" HiddenInput="True" ReadOnly="True" Express="sum(DF_BILLCONFIRM.IsDelete)" Height="25px"></aspxform:XTextBox>
        </div>
    </form>
</body>
</html>
