<%@ 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)
    {
    
     string foredit = Request.QueryString["HTid"];
         this.XTextBox43.Text = foredit;
    }

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

    </style>
</head>
<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_BILL_DETAIL.PaperBillNo");
   istate=XFormShell.XFormAgent.CalcExpress(el,"DF_BILL_DETAIL.DeleteStaut");
    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>
<body>
    <form runat="server">
        <table class="head" border="0" cellspacing="0" cellpadding="0" width="1200">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti">
                        <aspxform:XLabel id="XLabel2" runat="server" Value ValueToDisplayText text="发票计划"></aspxform:XLabel>
                    </td>
                    <td class="formno">
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" height="24" colspan="4">
                        <aspxform:XLabel id="XLabel5" runat="server" Value ValueToDisplayText text="基本信息"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 150px" class="ts" height="4">
                        <aspxform:XLabel id="XLabel1" runat="server" Value ValueToDisplayText text="合同编号"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 200px" class="ts1">
                        <aspxform:XTextBox id="XTextBox43" runat="server" ValueToDisplayText="TableName:V_DF_Contract;FilterColumn:ContractNo;DisplayColumn:ContractNo" XDataBind="DF_BILL_INFO.ContractNo" CssClass="text1" DataMap="TaxType->DF_BILL_INFO.TaxType;CusContractNo->DF_BILL_INFO.CusContractNo;ConTotal->DF_BILL_INFO.ConTotal;SellCustomerName->DF_BILL_INFO.SellCustomerID;SalesManID->DF_BILL_INFO.SalesMan;SONo->DF_BILL_INFO.SONo;Rate->DF_BILL_INFO.RateName;BillType->DF_BILL_INFO.BillType;ConCurrency->DF_BILL_INFO.CurrencyType;Tax->DF_BILL_INFO.Tax;Area->DF_BILL_INFO.Area;PayCustomerName->DF_BILL_INFO.PayCustomerID;SaleOrgan->DF_BILL_INFO.SaleOrgan;BillingCompany->DF_BILL_INFO.BillingCompany" DisableBehavior="ReadOnly"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 150px" class="ts">
                        <aspxform:XLabel id="XLabel3" runat="server" Value ValueToDisplayText text="客户合同号"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 200px" class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_BILL_INFO.CusContractNo" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 9%" class="ts">
                        <aspxform:XLabel id="XLabel8" runat="server" Value ValueToDisplayText text="售达方客户名称"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 35%" class="ts1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_BILL_INFO.SellCustomerID" CssClass="text" Width="80%"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 9%" class="ts">
                        <aspxform:XLabel id="XLabel9" runat="server" Value ValueToDisplayText text="付款方客户名称"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 35%" class="ts1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_BILL_INFO.PayCustomerID" CssClass="text" Width="80%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 9%" class="ts">
                        <aspxform:XLabel id="XLabel6" runat="server" Value ValueToDisplayText text="业务员"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 35%" class="ts1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_BILL_INFO.SalesMan" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 9%" class="ts">
                        <aspxform:XLabel id="XLabel7" runat="server" Value ValueToDisplayText text="所属区域"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 35%" class="ts1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_BILL_INFO.Area" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td style="WIDTH: 150px" class="tsbottomlabel">
                        <aspxform:XLabel id="XLabel4" runat="server" Value ValueToDisplayText text="SO号"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 200px" class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_BILL_INFO.SONo" CssClass="text1" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td style="WIDTH: 150px" class="tsbottomlabel">
                        <aspxform:XLabel id="XLabel19" runat="server" Value ValueToDisplayText text="创建日期"></aspxform:XLabel>
                    </td>
                    <td style="WIDTH: 200px" class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_BILL_INFO.CreatDate" CssClass="text"></aspxform:XDateTimePicker>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="8">
                        <aspxform:XLabel id="XLabel82" runat="server" Value ValueToDisplayText Width="172px" Text="发票信息 " Font-Bold="True" Height="10px"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="tm" width="66">
                        <aspxform:XLabel id="XLabel23" runat="server" text="税种"></aspxform:XLabel>
                    </td>
                    <td class="tm1" width="2">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_BILL_INFO.TaxType" Width="90%" DisableExpress="1" PromptText="------请选择-------" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:V_DF_TaxType">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tm3" width="34">
                        <aspxform:XLabel id="XLabel54" runat="server" text="税率"></aspxform:XLabel>
                    </td>
                    <td class="tm1" width="8">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_BILL_INFO.RateName" CssClass="text1" Width="90%" DisableExpress="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tm" width="66">
                        <aspxform:XLabel id="XLabel26" runat="server" text="开票公司"></aspxform:XLabel>
                    </td>
                    <td class="tm1" width="2">
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_BILL_INFO.BillingCompany" Width="90%" DisableExpress="1" PromptText="------请选择-------" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:V_DF_BillingCompany">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tm3" width="82">
                        <aspxform:XLabel id="XLabel29" runat="server" text="合同币种"></aspxform:XLabel>
                    </td>
                    <td class="tm1" width="9">
                        <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_BILL_INFO.CurrencyType" CssClass="text1" Width="90%" DisableExpress="1" PromptText="------请选择-------" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:V_DF_CurrencyType">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tmbottomlabel1">
                        <aspxform:XLabel id="XLabel64" runat="server" text="发票类型"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_BILL_INFO.BillType" Width="90%" DisableExpress="1" PromptText="------请选择-------" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:V_DF_BillType">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tmbottomlabel3">
                        <aspxform:XLabel id="XLabel25" runat="server" text="税额"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_BILL_INFO.Tax" CssClass="text1" Width="90%" DisableExpress="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        <!-- --></td>
                    <td class="tmbottomlabel1">
                        <aspxform:XLabel id="XLabel27" runat="server" text="销售组织"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_BILL_INFO.SaleOrgan" Width="90%" DisableExpress="1" PromptText="------请选择-------" ValueColumn="ItemID" DisplayColumn="Name" XDataSource="TableName:V_DF_SaleOrgan">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tmbottomlabel3">
                        <aspxform:XLabel id="XLabel48" runat="server" Value ValueToDisplayText text="合同总金额"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="DF_BILL_INFO.ConTotal" CssClass="text1" Width="90%" DisableExpress="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div id="scrollDiv" class="scrollDiv">
            <table style="WIDTH: 1710px" class="scrolltable" border="0" cellspacing="0" cellpadding="3" dynamicarea="2,1" menudock="Left" xdatasource="TableName:V_DF_BILLTotal;Filter:ContractNo->DF_BILL_INFO.ContractNo" datamap="Reason->DF_BILL_DETAIL.Reason;PlanDate->DF_BILL_DETAIL.EndPlanDate;FreightCost->DF_BILL_DETAIL.FreightCost;ExpressNo->DF_BILL_DETAIL.ExpressNo;PayoutEndDate->DF_BILL_DETAIL.PayoutEndDate;ExpressCompany->DF_BILL_DETAIL.ExpressCompany;SendDate->DF_BILL_DETAIL.SendDate;IsCustomer->DF_BILL_DETAIL.IsCustomer;PayoutStartDate->DF_BILL_DETAIL.PayoutStartDate;Amount->DF_BILL_DETAIL.Amount;IsPrint->DF_BILL_DETAIL.IsPrint;LineNumber->DF_BILL_DETAIL.LineNumber;IsReceive->DF_BILL_DETAIL.IsReceive;ReceiveDate->DF_BILL_DETAIL.ReceiveDate;ActDate->DF_BILL_DETAIL.ActDate;PaperBillNo->DF_BILL_DETAIL.PaperBillNo">
                <tbody>
                    <tr class="scrollColThead">
                        <th class="scrollRowThead scrollCR" colspan="17">
                            <aspxform:XLabel id="XLabel13" runat="server" Value ValueToDisplayText Text="发票计划信息"></aspxform:XLabel>
                            <aspxform:XCompareValidator id="XCompareValidator1" runat="server" Operator="GreaterThan" ControlToValidate="XDateTimePicker9" ControlToCompare="XDateTimePicker8" ErrorMessage="结束时间必须大于开始时间"></aspxform:XCompareValidator>
                        </th>
                    </tr>
                    <tr class="scrollColThead">
                        <td style="TEXT-ALIGN: center; WIDTH: 40px" class="tds">
                            <aspxform:XLabel id="XLabel30" runat="server" Value ValueToDisplayText text="序号"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel31" runat="server" text="计划开票日"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel32" runat="server" text="实际开票日"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel10" runat="server" text="操作状态"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 200px" class="tds">
                            <aspxform:XLabel id="XLabel33" runat="server" text="开票日变更原因"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel34" runat="server" text="请款开始日"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel35" runat="server" text="请款结束日"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel36" runat="server" text="发票金额"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 80px" class="tds">
                            <aspxform:XLabel id="XLabel37" runat="server" text="运费"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 120px" class="tds">
                            <aspxform:XLabel id="XLabel38" runat="server" Value ValueToDisplayText text="SAP发票清单</br>已打印"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel40" runat="server" text="纸质发票号"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 110px" class="tds">
                            <aspxform:XLabel id="XLabel41" runat="server" text="发票寄出时间"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel42" runat="server" text="快递公司"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 100px" class="tds">
                            <aspxform:XLabel id="XLabel43" runat="server" text="快递单号"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 120px" class="tds">
                            <aspxform:XLabel id="XLabel46" runat="server" text="业务员</br>收到发票时间"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 120px" class="tds">
                            <aspxform:XLabel id="XLabel44" runat="server" Value ValueToDisplayText text="业务员收到纸质发票"></aspxform:XLabel>
                        </td>
                        <td style="WIDTH: 110px" class="tds">
                            <aspxform:XLabel id="XLabel45" runat="server" Value ValueToDisplayText text="客户确认发票"></aspxform:XLabel>
                        </td>
                    </tr>
                    <tr>
                        <td class="tds1">
                            <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_BILL_DETAIL.LineNumber" Width="100%" TextAlign="Center" BackColor="Transparent" BorderStyle="None" BorderColor="#DCDCDC" BorderWidth="1">1</aspxform:XGridLineNo>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker id="XDateTimePicker12" runat="server" XDataBind="DF_BILL_DETAIL.EndPlanDate" CssClass="text" Width="99%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"'></aspxform:XDateTimePicker>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_BILL_DETAIL.ActDate" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"'></aspxform:XDateTimePicker>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_BILL_DETAIL.DeleteStaut" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"' ReadOnly="True">正常</aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_BILL_DETAIL.Reason" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"'></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker id="XDateTimePicker8" runat="server" XDataBind="DF_BILL_DETAIL.PayoutStartDate" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"'></aspxform:XDateTimePicker>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker id="XDateTimePicker9" runat="server" XDataBind="DF_BILL_DETAIL.PayoutEndDate" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"'></aspxform:XDateTimePicker>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox56" runat="server" XDataBind="DF_BILL_DETAIL.Amount" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"' TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox57" runat="server" XDataBind="DF_BILL_DETAIL.FreightCost" CssClass="text" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"' TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                        </td>
                        <td style="TEXT-ALIGN: center" class="tds1">
                            <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_BILL_DETAIL.IsPrint" Width="98%" DisableExpress='DF_BILL_DETAIL.PaperBillNo!=""||DF_BILL_DETAIL.DeleteStaut=="删除"'></aspxform:XCheckBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_BILL_DETAIL.PaperBillNo" CssClass="text" Width="90%" ReadOnly="True" HiddenInput="False"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_BILL_DETAIL.IsInovice" CssClass="text1" Width="90%" HiddenInput="True" Express='if(DF_BILL_DETAIL.PaperBillNo!="","是","否")'></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker id="XDateTimePicker10" runat="server" XDataBind="DF_BILL_DETAIL.SendDate" CssClass="text1" DisableBehavior="ReadOnly" Width="98%" DisableExpress="1"></aspxform:XDateTimePicker>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox55" runat="server" XDataBind="DF_BILL_DETAIL.ExpressCompany" CssClass="text1" Width="98%" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_BILL_DETAIL.ExpressNo" CssClass="text1" Width="98%" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tds1">
                            <aspxform:XDateTimePicker id="XDateTimePicker11" runat="server" XDataBind="DF_BILL_DETAIL.ReceiveDate" CssClass="text1" Width="98%" DisableExpress="1"></aspxform:XDateTimePicker>
                        </td>
                        <td style="TEXT-ALIGN: center" class="tds1">
                            <aspxform:XCheckBox id="XCheckBox3" runat="server" XDataBind="DF_BILL_DETAIL.IsReceive" Width="98%" DisableExpress="1"></aspxform:XCheckBox>
                        </td>
                        <td style="TEXT-ALIGN: center" class="tds1">
                            <aspxform:XCheckBox id="XCheckBox4" runat="server" XDataBind="DF_BILL_DETAIL.IsCustomer" Width="98%" DisableExpress="1"></aspxform:XCheckBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tds1" colspan="6">
                            &nbsp;</td>
                        <td style="TEXT-ALIGN: center" class="tdstotal">
                            <aspxform:XLabel id="XLabel18" runat="server" text="发票总金额"></aspxform:XLabel>
                        </td>
                        <td class="tds1">
                            <aspxform:XTextBox id="XTextBox9" runat="server" CssClass="text1" Width="98%" DisableExpress="1" TextAlign="Right" Format="type:currency;.2" Express="sum(DF_BILL_DETAIL.Amount+DF_BILL_DETAIL.FreightCost)"></aspxform:XTextBox>
                        </td>
                        <td style="BORDER-LEFT: #b2bcc6 1px solid" class="tds1" colspan="10">
                            &nbsp;</td>
                    </tr>
                </tbody>
            </table>
        </div>
        <br />
        <table class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <aspxform:XLabel id="XLabel78" runat="server" Value ValueToDisplayText Width="83px" Text="备注" Font-Bold="True" Height="10px"></aspxform:XLabel>
                    </td>
                </tr>
                <tr>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox7" runat="server" Value ValueToDisplayText XDataBind="DF_BILL_INFO.Remark" Max="0" Min="0" Width="1200px" Height="80px" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <table border="0" cellspacing="0" cellpadding="0" width="1200">
            <tbody>
                <tr>
                    <td width="800">
                        <p>
                            <aspxform:XProcessButtonList id="XProcessButtonList1" runat="server" PositionSelectVisible="False"></aspxform:XProcessButtonList>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
