<%@ 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>
<%--自定义开窗过滤(1)--%> <script type="text/javascript">

function DiaoBo(btn,cfg){
    var SalesManID = agent.Eles[document.getElementById("XTextBox3").getAttribute("xform_xele_index")].getValue();
     // var DeleteID = document.getElementById('XTextBox4').value;
    //alert(StorageID);
    cfg.param = { Keyword: SalesManID};//, DeleteID: DeleteID

}

</script>
<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">
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 class="head" cellspacing="0" cellpadding="0" width="1200" align="center" border="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 70px">
                        <asp:Label id="XLabel2" runat="server" text="发票申请确认单" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="formno">
                        <asp:Label id="XLabel93" runat="server" text="表单号：" ValueToDisplayText Value></asp:Label>
                        <aspxform:XLabel id="XLabel94" runat="server" text="----自动生成-----" ValueToDisplayText Value XDataBind="DF_BILLCONFIRM_Info.FormNo" BackColor="#8AB3DF"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" align="center">
            <tbody>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%" height="25">
                        <asp:Label id="XLabel13" runat="server" text="创建用户" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_BILLCONFIRM_Info.CreateUser" CssClass="text1" Width="50%"></aspxform:XTextBox>
                    </td>
                    <td class="basiclblfirst3" style="WIDTH: 10%">
                        <asp:Label id="XLabel14" runat="server" text="创建日期" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="basictextfirst3" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_BILLCONFIRM_Info.CreateDate" CssClass="text1" Width="50%"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                        <asp:Label id="XLabel9" runat="server" text="拥有人" ValueToDisplayText Value></asp:Label>
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox2" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" Value XDataBind="DF_BILLCONFIRM_Info.SeleManID" CssClass="text" Width="130px" HiddenInput="False" Min="0" Max="0"></aspxform:XTextBox>
                        </div>
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="47px" DisplayColumns="SalesMan:业务员," XDataSource="TableName:V_DF_BILLPeason" PopupWndWidth="-1" UseSubmitBehavior="False" PopupWndHeight="-1" DataMap="SalesManID->DF_BILLCONFIRM_Info.SeleManID;SalesMan->varSeleman" Text="查询"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="basiclblfirst" style="WIDTH: 10%">
                    </td>
                    <td class="basictextfirst" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText Value XDataBind="varSeleman" Width="30px" DisableBehavior="ReadOnly" HiddenInput="True" Min="0" Max="0" Express="DF_BILLCONFIRM_Info.SeleManID" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table1" align="center">
            <tbody>
                <tr>
                    <td style="TEXT-ALIGN: left" width="1200">
                        <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" CssClass="anxiu" PopupWndWidth="-1" UseSubmitBehavior="False" PopupWndHeight="-1" 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" Text="待确认发票" BeforePopupCallFunc="DiaoBo" NavigateUrl="DFJC/Dialogs/InvoiceOpenSearch.js" BrowserWindowType="AjaxPanel" MultiSelect="True" DisableExpress='DF_BILLCONFIRM_Info.SeleManID==""'></aspxform:XCustomBrowserButton>
                    </td>
                </tr>
            </tbody>
        </table>
        <div id="dcontinue" style="TEXT-ALIGN: center" runat="server">
            <div id="scrollDiv" class="scrollDiv">
                <table class="scrolltable" cellspacing="0" cellpadding="3" width="3200" align="center" border="0" runat="server" dynamicarea="2,1" menudock="Left">
                    <tbody>
                        <tr class="scrollColThead">
                            <th class="scrollRowThead scrollCR" height="24" colspan="29">
                                <asp:Label id="XLabel39" runat="server" Text="发票确认信息 "></asp:Label>
                                <aspxform:XLabel id="XLabel1" runat="server" text="fapiaoleixing" ValueToDisplayText Value XDataBind="varfp" HiddenExpress="1"></aspxform:XLabel>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" Display="None" ErrorMessage="请输入发票寄出日期！" ControlToValidate="XDateTimePicker25" ValidationGroup="varsenddate">请输入发票寄出日期！</aspxform:XRequiredFieldValidator>
                                <aspxform:XRangeValidator id="XRangeValidator1" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ErrorMessage="请确认纸质发票信息！" ControlToValidate="XTextBox7" ValidationGroup="varSrue" MaxValueExpress="1" MinValueExpress="1" Type="Double"></aspxform:XRangeValidator>
                                <aspxform:XRangeValidator id="XRangeValidator3" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" Display="None" ErrorMessage="请确认发票信息是否正确！" ControlToValidate="XTextBox4" ValidationGroup="varfapiao" MaxValueExpress="1" MinValueExpress="1" Type="Double">业务员确认发票信息</aspxform:XRangeValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ErrorMessage="请输入纸质发票号！" ControlToValidate="XTextBox57" ValidationGroup="varsenddate"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ErrorMessage="请填写实际开票日！" ControlToValidate="XDateTimePicker22" ValidationGroup="varsenddate"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRangeValidator id="XRangeValidator2" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ErrorMessage="如需退票，请勾选需退票的行及退票原因！" ControlToValidate="XTextBox12" ValidationGroup="varreturn" MinValueExpress="1" Type="Double"></aspxform:XRangeValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" DisableExpress="DF_BILLCONFIRM.IsReturn==0" ErrorMessage="如需退票，请填写退票原因！" ControlToValidate="XTextBox60" ValidationGroup="varreturn"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRangeValidator id="XRangeValidator4" runat="server" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ErrorMessage="客户确认发票信息" ControlToValidate="XTextBox10" ValidationGroup="varSrue1" MaxValueExpress="1" MinValueExpress="1" Type="Double"></aspxform:XRangeValidator>
                                <aspxform:XRangeValidator id="XRangeValidator6" runat="server" ErrorMessage="请勾上需删除的行！" ControlToValidate="XTextBox14" ValidationGroup="vardelete" MinValueExpress="1" Type="Double"></aspxform:XRangeValidator>
                            </th>
                        </tr>
                        <tr class="scrollColThead">
                            <td class="tds" style="TEXT-ALIGN: center" height="47" width="30">
                                <asp:Label id="XLabel30" runat="server" text="序号" ValueToDisplayText Value></asp:Label>
                            </td>
                            <td class="tds" style="PADDING-LEFT: 10px" width="40">
                                <div align="center">
                                    <asp:Label id="XLabel7" runat="server" text="删除" ValueToDisplayText Value></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="70">
                                <div align="center">
                                    <asp:Label id="XLabel3" runat="server" text="操作状态"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="80" hiddenexpress="1">
                                <div align="center">
                                    <asp:Label id="XLabel4" runat="server" text="业务员"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="100">
                                <div align="center">
                                    <asp:Label id="XLabel8" runat="server" text="合同号"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" style="TEXT-ALIGN: center" width="150">
                                <asp:Label id="XLabel5" runat="server" text="售达方客户"></asp:Label>
                            </td>
                            <td class="tds" style="TEXT-ALIGN: center" width="150">
                                <asp:Label id="XLabel6" runat="server" text="付款方客户"></asp:Label>
                            </td>
                            <td class="tds" width="100">
                                <div align="center">
                                    <asp:Label id="XLabel31" runat="server" text="计划开票日"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="100">
                                <div align="center">
                                    <asp:Label id="XLabel32" runat="server" text="实际开票日"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="200">
                                <div align="center">
                                    <asp:Label id="XLabel33" runat="server" text="开票日变更原因"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="100">
                                <div align="center">
                                    <asp:Label id="XLabel34" runat="server" text="请款开始日"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="100">
                                <div align="center">
                                    <asp:Label id="XLabel35" runat="server" text="请款结束日"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="150">
                                <div align="center">
                                    <asp:Label id="XLabel36" runat="server" text="发票金额"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="80">
                                <div align="center">
                                    <asp:Label id="XLabel37" runat="server" text="运费"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="160">
                                <div align="center">
                                    <asp:Label id="XLabel41" runat="server" text="发票类型"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="160">
                                <div align="center">
                                    <asp:Label id="XLabel40" runat="server" text="纸质发票号"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="100">
                                <div align="center">
                                    <asp:Label id="XLabel10" runat="server" text="发票寄出时间"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="180">
                                <div align="center">
                                    <asp:Label id="XLabel42" runat="server" text="快递公司"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="140">
                                <div align="center">
                                    <asp:Label id="XLabel43" runat="server" text="快递单号"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="96">
                                <div align="center">
                                    <asp:Label id="XLabel44" runat="server" text="业务员确认开票信息" ValueToDisplayText Value></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="96">
                                <div align="center">
                                    <asp:Label id="XLabel11" runat="server" text="业务员收到纸质发票" ValueToDisplayText Value></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="96">
                                <div align="center">
                                    <asp:Label id="XLabel12" runat="server" text="客户确认发票" ValueToDisplayText Value></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="104">
                                <div align="center">
                                    <asp:Label id="XLabel46" runat="server" text="退票" ValueToDisplayText Value></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="160">
                                <div align="center">
                                    <asp:Label id="XLabel45" runat="server" text="退票原因"></asp:Label>
                                </div>
                            </td>
                            <td class="tds" width="160">
                                <div align="center">
                                    <asp:Label id="XLabel15" runat="server" text="备注"></asp:Label>
                                </div>
                            </td>
                        </tr>
                        <tr>
                            <td class="tds1">
                                <div align="center">
                                    <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_BILLCONFIRM.LinceNumber" Width="20px" BorderWidth="1px" BorderColor="Gainsboro" ReadOnly="True" TextAlign="Center" BorderStyle="None" BackColor="Transparent">1</aspxform:XGridLineNo>
                                    <aspxform:XTextBox id="XTextBox1" runat="server" ValueToDisplayText Value XDataBind="DF_BILLCONFIRM.TID" Width="4px" DisableBehavior="ReadOnly" HiddenInput="True" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" TextAlign="Center" BorderStyle="Dotted"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox6" runat="server" ValueToDisplayText Value XDataBind="DF_BILLCONFIRM.ID" Width="2px" HiddenInput="True" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro" BorderStyle="Dotted"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="tds1" algin="center">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox9" runat="server" XDataBind="DF_BILLCONFIRM.IsDelete" Text=" " DisableExpress='(Global.StepName!="3.地区助理填写发票信息")'></aspxform:XCheckBox>
                                    <aspxform:XTextBox id="XTextBox13" runat="server" ValueToDisplayText Value Width="10px" HiddenInput="True" Min="0" Max="0" Express="DF_BILLCONFIRM.IsDelete" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox49" runat="server" ValueToDisplayText XDataBind="DF_BILLCONFIRM.DeleteStatut" CssClass="text1" Width="100%" Express="if(DF_BILLCONFIRM.IsDelete!=&quot;&quot;,'删除','正常')" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" hiddenexpress="1">
                                <aspxform:XTextBox id="XTextBox5" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_BILLCONFIRM.SalesMan" CssClass="text" Width="100%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox50" runat="server" XDataBind="DF_BILLCONFIRM.ContractNo" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox51" runat="server" XDataBind="DF_BILLCONFIRM.SoldCustomer" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox52" runat="server" XDataBind="DF_BILLCONFIRM.AnyCustomer" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_BILLCONFIRM.EndPlanDate" CssClass="text" Width="99%" DisableExpress="1"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XDateTimePicker id="XDateTimePicker22" runat="server" XDataBind="DF_BILLCONFIRM.ActDate" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox53" runat="server" XDataBind="DF_BILLCONFIRM.Reason" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XDateTimePicker id="XDateTimePicker23" runat="server" XDataBind="DF_BILLCONFIRM.PayoutStartDate" CssClass="text" Width="98%" DisableExpress="1"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XDateTimePicker id="XDateTimePicker24" runat="server" XDataBind="DF_BILLCONFIRM.PayoutEndDate" CssClass="text" Width="98%" DisableExpress="1"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox54" runat="server" XDataBind="DF_BILLCONFIRM.Amount" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox55" runat="server" XDataBind="DF_BILLCONFIRM.FreightCost" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_BILLCONFIRM.InvoiceType" Width="100%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varfp" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||1" PromptText="-------请选择--------" ValueColumn="ItemID" DisplayColumn="Name">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox57" runat="server" XDataBind="DF_BILLCONFIRM.PaperBillNo" CssClass="text" Width="100%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||(Global.StepName!=&quot;3.地区助理填写发票信息&quot;&amp;&amp;Global.StepName!='')"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_BILLCONFIRM.IsInovice" CssClass="text" Width="100%" HiddenInput="True" Express='if(DF_BILLCONFIRM.PaperBillNo!="","是","否")' DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!=&quot;3.地区助理填写发票信息&quot;"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XDateTimePicker id="XDateTimePicker25" runat="server" XDataBind="DF_BILLCONFIRM.SendDate" CssClass="text" Width="98%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='3.地区助理填写发票信息'"></aspxform:XDateTimePicker>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox58" runat="server" XDataBind="DF_BILLCONFIRM.ExpressCompany" CssClass="text" Width="100%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XTextBox id="XTextBox59" runat="server" XDataBind="DF_BILLCONFIRM.ExpressNo" CssClass="text" Width="100%" DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_BILLCONFIRM.IsTure" Text=" " DisableExpress="Global.StepName!='2.业务员确认开票信息'"></aspxform:XCheckBox>
                                <aspxform:XTextBox id="XTextBox4" runat="server" ValueToDisplayText Value Width="29px" HiddenInput="True" Min="0" Max="0" Express="DF_BILLCONFIRM.IsTure" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XCheckBox id="XCheckBox2" runat="server" XDataBind="DF_BILLCONFIRM.IsReceive" Text=" " DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='4.业务员确认收到发票'"></aspxform:XCheckBox>
                                <aspxform:XTextBox id="XTextBox7" runat="server" ValueToDisplayText Value Width="29px" HiddenInput="True" Min="0" Max="0" Express="DF_BILLCONFIRM.IsReceive" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XCheckBox id="XCheckBox10" runat="server" XDataBind="DF_BILLCONFIRM.IsContract" Text=" " DisableExpress="DF_BILLCONFIRM.DeleteStatut=='删除'||Global.StepName!='5.业务员确认客户收到发票'"></aspxform:XCheckBox>
                                <aspxform:XTextBox id="XTextBox10" runat="server" ValueToDisplayText Value Width="33px" HiddenInput="True" Min="0" Max="0" Express="DF_BILLCONFIRM.IsContract" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XCheckBox id="XCheckBox3" runat="server" XDataBind="DF_BILLCONFIRM.IsReturn" Text=" " DisableExpress="!(Global.StepName=='2.业务员确认开票信息'||Global.StepName=='4.业务员确认收到发票'||Global.StepName=='5.业务员确认客户收到发票')"></aspxform:XCheckBox>
                                <aspxform:XTextBox id="XTextBox8" runat="server" ValueToDisplayText Value XDataBind="DF_BILLCONFIRM.RejectStatu" Width="33px" HiddenInput="True" Min="0" Max="0" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XTextBox id="XTextBox60" runat="server" XDataBind="DF_BILLCONFIRM.RefundReason" CssClass="text" Width="100%" DisableExpress="!(Global.StepName=='2.业务员确认开票信息'||Global.StepName=='4.业务员确认收到发票'||Global.StepName=='5.业务员确认客户收到发票')"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="TEXT-ALIGN: center">
                                <aspxform:XTextBox id="XTextBox61" runat="server" XDataBind="DF_BILLCONFIRM.Note" CssClass="text" Width="100%"></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" CssClass="text1" Width="98%" Express="sum(if(DF_BILLCONFIRM.DeleteStatut=='删除',0,DF_BILLCONFIRM.Amount+DF_BILLCONFIRM.FreightCost))" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1" style="BORDER-LEFT: #b2bcc6 1px solid" width="1614" colspan="15">
                                <aspxform:XTextBox id="XTextBox12" runat="server" ValueToDisplayText Value XDataBind="varretrun" Width="98px" HiddenInput="True" Min="0" Max="0" Express="sum(DF_BILLCONFIRM.IsReturn)" BorderWidth="1px" BorderColor="Gainsboro"></aspxform:XTextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <br />
        <table class="table" align="center">
            <tbody>
                <tr class="title1">
                    <td class="td1">
                        <div align="left">
                            <asp:Label id="XLabel68" runat="server" ValueToDisplayText Value Width="83px" Text="意见" Height="10px" Font-Bold="True"></asp:Label>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td class="td1">
                        <div align="center">
                            <aspxform:XCommentsTextBox id="XCommentsTextBox1" runat="server" CssClass="text" Width="1200px" Rows="5" TextMode="MultiLine"></aspxform:XCommentsTextBox>
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
        <table class="table" align="center">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel16" runat="server" text="备注" ValueToDisplayText Value></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox18" runat="server" ValueToDisplayText Value XDataBind="DF_BILLCONFIRM_Info.Remark" CssClass="text" Width="100%" HiddenInput="False" Min="0" Max="0" BorderWidth="1px" Height="76px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table cellspacing="0" cellpadding="0" width="1200" align="center" border="0">
            <tbody>
                <tr>
                    <td width="800">
                        <p>
                            <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" PositionSelectVisible="False"></aspxform:XProcessButtonList>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <div align="center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderWidth="1" BorderColor="#dcdcdc"></aspxform:XSignTrace>
            <aspxform:XTextBox id="XTextBox14" runat="server" ValueToDisplayText Value XDataBind="vardelete" Width="10px" HiddenInput="False" Min="0" Max="0" Express="sum(DF_BILLCONFIRM.IsDelete)" BorderWidth="1px" BorderColor="Gainsboro" ReadOnly="True"></aspxform:XTextBox>
        </div>
    </form>
</body>
</html>
