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

    // Insert page code here
    //
    void Page_Load(object sender, EventArgs e)
    {
        string tid = Request.QueryString["inquirytid"];
        if (!String.IsNullOrEmpty(tid))
        {
            this.XTextBox2.Text = tid;
        }
    }

</script>
<html xmlns:xform="xmlns:xform">
<head 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>
    <style>
        BODY {
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

        TABLE {
            border-collapse: collapse;
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

        P {
            PADDING-RIGHT: 0px;
            PADDING-LEFT: 0px;
            PADDING-BOTTOM: 0px;
            MARGIN: 0px;
            PADDING-TOP: 0px;
            FONT-SIZE: 12px;
            FONT-FAMILY: verdana;
        }

        TD {
            PADDING-RIGHT: 0px;
            PADDING-LEFT: 2px;
            PADDING-BOTTOM: 0px;
        }

            TD.NoPadding {
                PADDING-RIGHT: 0px;
                PADDING-LEFT: 0px;
                PADDING-BOTTOM: 0px;
                PADDING-TOP: 0px;
            }

        INPUT {
            HEIGHT: 20px;
        }

            INPUT.UL {
                BORDER-RIGHT: medium none;
                BORDER-TOP: medium none;
                BORDER-LEFT: medium none;
                BORDER-BOTTOM: #33ff33 1px solid;
            }

        TEXTAREA {
            FONT-SIZE: 12px;
        }
    </style>
</head>
<script type="text/javascript">
    //获取X控件的值
    function GetXValue(id) {
        return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
    }
    //X控件赋值
    function SetXValue(id, value) {
        agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].setValue(value);
    }


    function OnSubmit(actname) {
        if (actname == "提交") {
            var contotal = GetXValue("XTextBox75");
            if (contotal >= 10000000) {
                alert("此单合同总金额CNY≥1000万元，需要先到董秘审批。");
            }
        }
    }

    Ext.onReady(function () {
        var actName = GetXValue("XTextBox74");
        var lease = GetXValue("XTextBox68");   //租期
        var taskID = GetXValue("XTextBox97");
        //alert(actName);
        if (actName != '' && taskID != '') {
            var table = document.getElementById("tablecont");
            for (var i = 2; i < table.rows.length - 1; i++) {
                // 租赁类别、资产不含税最低限价、资产最终报价
                var lineNumber = agent.Eles[table.rows[i].cells[0].children[0].getAttribute("xform_xele_index")].getValue();
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/RentAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'CompareRentAssetPrice',
                        lineNumber: lineNumber,
                        taskid: taskID,
                        lease: lease
                    },
                    sync: true,
                    success: function (action) {
                        //alert(action.result.message);
                        if (action.result.message == 0) {
                            table.rows[i].style.backgroundColor = "yellow";
                        }
                        else {
                            table.rows[i].style.backgroundColor = "#e9f1f4";
                        }

                    },
                    failure: function (action) {
                        alert(action.result.errorMessage);
                    }
                })

            }
        }

        //当流程状态是“董事会秘书审批”时，打开表单提示
        if (actName == "董事会秘书审批") {
            Ext.MessageBox.alert("审批提示：", "此单合同总金额CNY≥1000万元，所以需要审批。");
        }

        //地区助理复核
        if (actName == "地区助理确认") {

            YZSoft.Ajax.request({
                url: YZSoft.$url('Oimec/ApiServices/RentAPIHandler.ashx'),
                method: 'POST',
                params: {
                    method: 'IsExistMEU',
                    taskid: taskID
                },
                sync: true,
                success: function (action) {
                    //alert(action.result.message);
                    if (action.result.Code == 0) {
                    }
                    else {
                        Ext.MessageBox.alert("审批提示：", action.result.Message);
                    }
                },
                failure: function (action) {
                    alert(action.result.Message);
                }
            });
        }
    })

</script>
<script type="text/javascript">

    function copyLine(column) {
        var table = document.getElementById("tablecont");
        //alert(agent.Eles[table.rows[2].cells[16].children[0].getAttribute("xform_xele_index")]);
        var obj = agent.Eles[table.rows[2].cells[column].children[0].getAttribute("xform_xele_index")].getValue();
        for (var i = 3; i < table.rows.length - 1; i++) {
            agent.Eles[table.rows[i].cells[column].children[0].getAttribute("xform_xele_index")].setValue(obj);
            XFormOnChange(agent.Eles[table.rows[i].cells[column].children[0].getAttribute("xform_xele_index")]);
        }
    }

    //重点复核特殊显示
    //function chk() {
    //    if (document.getElementById("XCheckBox3").checked) {
    //        document.getElementById('chktd').style.background = "#FF0000";
    //    }
    //    else {
    //        document.getElementById('chktd').style.background = "#d4e4fe";
    //    }
    //}


    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',
                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);
        items.itemAt(0).setDisabled(true);
        items.itemAt(1).setDisabled(true);
        items.itemAt(2).setDisabled(true);
        items.itemAt(4).setDisabled(true);
        var bc = opt.grid.Blocks.length;
        items.itemAt(7).setDisabled((bc <= 0) || (bc == 1 && opt.elType.GridDefine.ShowOneBlockAlways));

        xa.BlockMenu.show(el);
    }


</script>
<body>
    <form runat="server">
        <!-- Insert content here -->
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <td class="biaoti" style="PADDING-LEFT: 30px">
                        <asp:Label id="XLabel1" runat="server" valuetodisplaytext value text="续租预审表"></asp:Label></td>
                    <td class="formno">
                        <asp:Label id="XLabel2" runat="server" valuetodisplaytext value text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" XDataBind="DF_PREREVIEW_INFO.FormNo" BackColor="#8AB3DF" ValueToDisplayText Value Text="-系统自动生成-"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel23" runat="server" valuetodisplaytext value text="创建用户"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox18" runat="server" XDataBind="DF_PREREVIEW_INFO.CreateUser" BackColor="#e6f1f8" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" DisableBehavior="ReadOnly" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="ts" style="WIDTH: 10%">
                        <asp:Label id="XLabel20" runat="server" valuetodisplaytext value text="创建日期"></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker3" runat="server" XDataBind="DF_PREREVIEW_INFO.CreateDate" BackColor="#e6f1f8" DisableBehavior="ReadOnly" Width="60%" CssClass="text"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel323" runat="server" valuetodisplaytext value text="拥有人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox318" runat="server" XDataBind="DF_PREREVIEW_INFO.OwnerAccount" BackColor="#e6f1f8" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" DisableBehavior="ReadOnly" Width="60%" CssClass="text" DataMap="DisplayName->DF_PREREVIEW_INFO.OwnerName"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox67" runat="server" XDataBind="DF_PREREVIEW_INFO.OwnerName" ValueToDisplayText Value Width="81px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel88" runat="server" valuetodisplaytext value text="重点复核"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_PREREVIEW_INFO.IsGift" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1">是</asp:ListItem>
                            <asp:ListItem Value="0">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                        <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_PREREVIEW_INFO.IsGiftValue" ValueToDisplayText Value Width="21px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_INFO.IsGift"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel5" runat="server" valuetodisplaytext value text="询报价单号"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox60" runat="server" XDataBind="DF_PREREVIEW_INFO.QutFormNo" BackColor="#e6f1f8" ValueToDisplayText DisableBehavior="ReadOnly" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel43" runat="server" valuetodisplaytext value text="无合同发货 "></asp:Label>&nbsp;</td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList4" runat="server" XDataBind="DF_PREREVIEW_INFO.IsNoCon" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <aspxform:XTextBox id="XTextBox74" runat="server" XDataBind="NodeName" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" Express="Global.StepName" Height="20px" HiddenExpress="1"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox97" runat="server" XDataBind="DF_PREREVIEW_INFO.TaskID" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20px"></aspxform:XTextBox>
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel51" runat="server" valuetodisplaytext value text="基本信息"></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel45" runat="server" valuetodisplaytext value text="当前合同编号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox45" runat="server" XDataBind="DF_PREREVIEW_INFO.ContractNo" DisableBehavior="ReadOnly" Width="60%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel72" runat="server" valuetodisplaytext value text="上一合同编号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XLabel id="XLabel49" runat="server" XDataBind="DF_PREREVIEW_INFO.PreContractNo" ValueToDisplayText Value Width="60%" CssClass="text1" Height="20px"></aspxform:XLabel>
                        <aspxform:XHistoryFormLink id="XHistoryFormLink1" runat="server" BackColor="#d4e4fe" Express="DF_PREREVIEW_INFO.InquiryTID" EmptyText="尚未关联" PopupWndHeight="-1" PopupWndWidth="-1">查看详细</aspxform:XHistoryFormLink>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel6" runat="server" valuetodisplaytext value text="客户合同号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_PREREVIEW_INFO.CusContractNo" Width="60%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="Label3" runat="server" valuetodisplaytext value text="上一客户合同号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox81" runat="server" XDataBind="DF_PREREVIEW_INFO.PreCusContractNo" BackColor="#e6f1f8" ValueToDisplayText DisableBehavior="ReadOnly" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel7" runat="server" valuetodisplaytext value text="业务员"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_PREREVIEW_INFO.SalesMan" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" DisableBehavior="ReadOnly" Width="60%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel8" runat="server" valuetodisplaytext value text="所属区域"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_PREREVIEW_INFO.Area" ValueToDisplayText DisableBehavior="ReadOnly" Width="60%" CssClass="text1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox63" runat="server" XDataBind="DF_PREREVIEW_INFO.AreaCode" ValueToDisplayText Value Width="49px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel9" runat="server" valuetodisplaytext value text="仪器最终使用地点"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_PREREVIEW_INFO.UseAddress" DisableBehavior="ReadOnly" Width="60%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel10" runat="server" valuetodisplaytext value text="需要计量报告"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XCheckBox id="XCheckBox4" runat="server" XDataBind="DF_PREREVIEW_INFO.IsMeaReport"></aspxform:XCheckBox>
                    </td>
                </tr>
                <tr>
                    <td height="30" class="ts">
                        <asp:Label id="XLabel85" runat="server" valuetodisplaytext value text="自营SO号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox53" runat="server" XDataBind="DF_PREREVIEW_INFO.SONo" Width="60%" CssClass="text" TextMode="MultiLine" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel86" runat="server" valuetodisplaytext value text="转租SO号 - PR号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox55" runat="server" XDataBind="DF_PREREVIEW_INFO.PRNo" Width="60%" CssClass="text" TextMode="MultiLine" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="Label7" runat="server" valuetodisplaytext value text="PO号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_PREREVIEW_INFO.PONo" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="Label8" runat="server" valuetodisplaytext value text="供应商合同号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_PREREVIEW_INFO.SupplierContractNo" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel108" runat="server" valuetodisplaytext value text="合同期间"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XDateTimePicker id="XDateTimePicker8" runat="server" XDataBind="DF_PREREVIEW_INFO.ConStartDate" Width="28%" CssClass="text"></aspxform:XDateTimePicker>
                        到 
                        <aspxform:XDateTimePicker id="XDateTimePicker9" runat="server" XDataBind="DF_PREREVIEW_INFO.ConEndDate" Width="28%" CssClass="text"></aspxform:XDateTimePicker>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel104" runat="server" text="租期"></asp:Label></td>
                    <td class="ts1">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox68" runat="server" XDataBind="DF_PREREVIEW_INFO.Lease" Width="50" CssClass="text" TextAlign="Right"></aspxform:XTextBox>
                        </div>
                        <aspxform:XDropDownList id="XDropDownList7" runat="server" XDataBind="DF_PREREVIEW_INFO.Unit" Width="15%">
                            <asp:ListItem Selected="True">月</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel4" runat="server" valuetodisplaytext value text="实际起租到期日"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_PREREVIEW_INFO.ActStartDate" Width="28%"></aspxform:XDateTimePicker>
                        到 
                        <aspxform:XDateTimePicker id="XDateTimePicker2" runat="server" XDataBind="DF_PREREVIEW_INFO.ActEndDate" Width="28%"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel11" runat="server" valuetodisplaytext value text="租期备注"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_PREREVIEW_INFO.LeaseRemark" ValueToDisplayText Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel81" runat="server" text="售达方客户信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox57" runat="server" XDataBind="DF_PREREVIEW_INFO.SellCustomerID" ValueToDisplayText="TableName:V_DF_MasterData_Customer;FilterColumn:CustomerID;DisplayColumn:CustomerID" Width="54px" Max="0" Min="0" DataMap="CustomerSAPID->DF_PREREVIEW_INFO.SellCustomerSapID" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel16" runat="server" text="客户名称"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="DF_PREREVIEW_INFO.SellCustomerName" Width="60%" CssClass="text" ReadOnly="True" DisableExpress="1"></aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Text="查询" Width="60px" CssClass="anxiu" DataMap="CustomerID->DF_PREREVIEW_INFO.SellCustomerID;CustomerNameCH->DF_PREREVIEW_INFO.SellCustomerName;CustomerSAPID->DF_PREREVIEW_INFO.SellCustomerSapID" Height="23px" PopupWndHeight="-1" PopupWndWidth="-1" DisplayColumns="CustomerID:客户BPM编号,80;CustomerNameCH:客户名称,200;CustomerSAPID:客户SAPID,80" XDataSource="TableName:V_DF_MasterData_Customer;BufferType:RuntimeUpdate" UseSubmitBehavior="False"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel14" runat="server" text="客户SapID"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_PREREVIEW_INFO.SellCustomerSapID" Width="60%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="False" ReadOnly="True" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel17" runat="server" text="联系人"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_PREREVIEW_INFO.SellContact" Width="60%" CssClass="text"></aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Text="查询" Width="60px" CssClass="anxiu" DataMap="ContactName->DF_PREREVIEW_INFO.SellContact;ContactTel->DF_PREREVIEW_INFO.SellTel;ContactMobile->DF_PREREVIEW_INFO.SellMobile;ContactEmail->DF_PREREVIEW_INFO.SellEmail;ContactAddr->DF_PREREVIEW_INFO.SellAddress" Height="23px" PopupWndHeight="-1" PopupWndWidth="-1" DisplayColumns="ContactName:联系人,80;ContactTel:联系电话,180;ContactMobile:手机,180;ContactEmail:Email,150;ContactAddr:地址,250" XDataSource="TableName:DF_Partner_ContactZK;Filter:PartnerID->DF_PREREVIEW_INFO.SellCustomerID,ContactType->'客户',OwnerAccount->DF_PREREVIEW_INFO.OwnerAccount" UseSubmitBehavior="False"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="ts">
                    </td>
                    <td class="ts1">
                    </td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel18" runat="server" text="联系电话"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_PREREVIEW_INFO.SellTel" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel58" runat="server" text="移动电话"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox66" runat="server" XDataBind="DF_PREREVIEW_INFO.SellMobile" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel19" runat="server" text="Email"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="DF_PREREVIEW_INFO.SellEmail" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel32" runat="server" valuetodisplaytext value text="联系地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="DF_PREREVIEW_INFO.SellAddress" Width="99.9%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="False" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel12" runat="server" text="付款方客户信息"></asp:Label>
                        <aspxform:XTextBox id="XTextBox58" runat="server" XDataBind="DF_PREREVIEW_INFO.PayCustomerID" Width="15px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Express="DF_PREREVIEW_INFO.SellCustomerID"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel73" runat="server" text="客户名称"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_PREREVIEW_INFO.PayCustomerName" Width="60%" CssClass="text" Express="DF_PREREVIEW_INFO.SellCustomerName" ReadOnly="True" DisableExpress="1"></aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XDataBrowserButton id="XDataBrowserButton5" runat="server" Text="查询" Width="60px" CssClass="anxiu" DataMap="CustomerNameCH->DF_PREREVIEW_INFO.PayCustomerName;CustomerID->DF_PREREVIEW_INFO.PayCustomerID;CustomerSAPID->DF_PREREVIEW_INFO.PayCustomerSapID" Height="23px" PopupWndHeight="-1" PopupWndWidth="-1" DisplayColumns="CustomerID:客户BPM编号,80;CustomerNameCH:客户名称,200;CustomerSAPID:客户SAPID,80" XDataSource="TableName:V_DF_MasterData_Customer;BufferType:RuntimeUpdate" UseSubmitBehavior="False"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel39" runat="server" valuetodisplaytext value text="客户SapID"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_PREREVIEW_INFO.PayCustomerSapID" Width="60%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="False" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel75" runat="server" text="联系人"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_PREREVIEW_INFO.PayContact" Width="60%" CssClass="text1" Express="DF_PREREVIEW_INFO.SellContact"></aspxform:XTextBox>
                        &nbsp;&nbsp; 
                        <aspxform:XDataBrowserButton id="XDataBrowserButton6" runat="server" Text="查询" Width="60px" CssClass="anxiu" DataMap="ContactName->DF_PREREVIEW_INFO.PayContact;ContactTel->DF_PREREVIEW_INFO.PayTel;ContactMobile->DF_PREREVIEW_INFO.PayMobile;ContactEmail->DF_PREREVIEW_INFO.PayEmail;ContactAddr->DF_PREREVIEW_INFO.PayAddress" Height="23px" PopupWndHeight="-1" PopupWndWidth="-1" DisplayColumns="ContactName:联系人,80;ContactTel:联系电话,180;ContactMobile:手机,180;ContactEmail:Email,150;ContactAddr:地址,250" XDataSource="TableName:DF_Partner_ContactZK;Filter:PartnerID->DF_PREREVIEW_INFO.PayCustomerID,ContactType->'客户',OwnerAccount->DF_PREREVIEW_INFO.OwnerAccount" UseSubmitBehavior="False"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel">
                    </td>
                    <td class="tsbottomtext">
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel76" runat="server" text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_PREREVIEW_INFO.PayTel" Width="60%" CssClass="text1" Express="DF_PREREVIEW_INFO.SellTel"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel52" runat="server" text="移动电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox65" runat="server" XDataBind="DF_PREREVIEW_INFO.PayMobile" Width="60%" CssClass="text1" Express="DF_PREREVIEW_INFO.SellMobile"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel74" runat="server" text="Email"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_PREREVIEW_INFO.PayEmail" Width="60%" CssClass="text1" Express="DF_PREREVIEW_INFO.SellEmail"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel34" runat="server" valuetodisplaytext value text="联系地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox85" runat="server" XDataBind="DF_PREREVIEW_INFO.PayAddress" Width="99.9%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="False" Express="DF_PREREVIEW_INFO.SellAddress" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_PREREVIEW_INFO.InquiryTID" ValueToDisplayText="TableName:DF_PREREVIEW_INFO;FilterColumn:TaskID;DisplayColumn:TaskID" DataMap="QutFormNo->DF_PREREVIEW_INFO.QutFormNo;IsNoCon->DF_PREREVIEW_INFO.IsNoCon;ContractNo->DF_PREREVIEW_INFO.PreContractNo;CusContractNo->DF_PREREVIEW_INFO.PreCusContractNo;Lease->DF_PREREVIEW_INFO.Lease;Unit->DF_PREREVIEW_INFO.Unit;OwnerAccount->DF_PREREVIEW_INFO.OwnerAccount;SalesMan->DF_PREREVIEW_INFO.SalesMan;AreaCode->DF_PREREVIEW_INFO.AreaCode;Area->DF_PREREVIEW_INFO.Area;UseAddress->DF_PREREVIEW_INFO.UseAddress;IsMeaReport->DF_PREREVIEW_INFO.IsMeaReport;SellCustomerID->DF_PREREVIEW_INFO.SellCustomerID;SellCustomerSapID->DF_PREREVIEW_INFO.SellCustomerSapID;SellCustomerName->DF_PREREVIEW_INFO.SellCustomerName;SellEmail->DF_PREREVIEW_INFO.SellEmail;SellContact->DF_PREREVIEW_INFO.SellContact;SellAddress->DF_PREREVIEW_INFO.SellAddress;SellTel->DF_PREREVIEW_INFO.SellTel;PayCustomerID->DF_PREREVIEW_INFO.PayCustomerID;PayCustomerSapID->DF_PREREVIEW_INFO.PayCustomerSapID;PayCustomerName->DF_PREREVIEW_INFO.PayCustomerName;PayEmail->DF_PREREVIEW_INFO.PayEmail;PayContact->DF_PREREVIEW_INFO.PayContact;PayTel->DF_PREREVIEW_INFO.PayTel;PayAddress->DF_PREREVIEW_INFO.PayAddress;PayTermID->DF_PREREVIEW_INFO.PayTermID;PayTerm->DF_PREREVIEW_INFO.PayTerm;PayTermNo->DF_PREREVIEW_INFO.PayTermNo;ConStartDate->DF_PREREVIEW_INFO.ConStartDate;ConEndDate->DF_PREREVIEW_INFO.ConEndDate;TaxType->DF_PREREVIEW_INFO.TaxType;RateName->DF_PREREVIEW_INFO.RateName;Rate->DF_PREREVIEW_INFO.Rate;BillType->DF_PREREVIEW_INFO.BillType;Tax->DF_PREREVIEW_INFO.Tax;BillingCompany->DF_PREREVIEW_INFO.BillingCompany;SaleOrgan->DF_PREREVIEW_INFO.SaleOrgan;SaleOffice->DF_PREREVIEW_INFO.SaleOffice;ConCurrency->DF_PREREVIEW_INFO.ConCurrency;IsFreePost->DF_PREREVIEW_INFO.IsFreePost;IsUrgency->DF_PREREVIEW_INFO.IsUrgency;Margin->DF_PREREVIEW_INFO.Margin;MarginRate->DF_PREREVIEW_INFO.MarginRate;IsGift->DF_PREREVIEW_INFO.IsGift;SecurityType->DF_PREREVIEW_INFO.SecurityType;Deposit->DF_PREREVIEW_INFO.Deposit;GuaranteeAttach->DF_PREREVIEW_INFO.GuaranteeAttach;CreditGrade->DF_PREREVIEW_INFO.CreditGrade;LeaseRemark->DF_PREREVIEW_INFO.LeaseRemark;Remark->DF_PREREVIEW_INFO.Remark;SellMobile->DF_PREREVIEW_INFO.SellMobile;PayMobile->DF_PREREVIEW_INFO.PayMobile;Currency->DF_PREREVIEW_INFO.Currency;CompanyCode->DF_PREREVIEW_INFO.CompanyCode;SalesOrgCode->DF_PREREVIEW_INFO.SalesOrgCode;SalesOfficeCode->DF_PREREVIEW_INFO.SalesOfficeCode" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20px"></aspxform:XTextBox>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator21" runat="server" ErrorMessage="请选择付款条件" ControlToValidate="XDropDownList11"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ErrorMessage="请选择发票类型" ControlToValidate="XDropDownList14"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ErrorMessage="请选择开票公司" ControlToValidate="XDropDownList16"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ErrorMessage="请选择销售组织" ControlToValidate="XDropDownList18" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator22" runat="server" ErrorMessage="请选择销售办公室" ControlToValidate="XDropDownList19" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="8">
                        <asp:Label id="XLabel13" runat="server" valuetodisplaytext value text="发票信息 " font-bold="True" height="10px" width="172px"></asp:Label>
                        <aspxform:XTextBox id="XTextBox75" runat="server" Width="50%" BorderColor="#DCDCDC" BorderWidth="1" Express="DF_PREREVIEW_INFO.ConTotal" HiddenExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="141" class="tm">
                        <asp:Label id="XLabel15" runat="server" valuetodisplaytext value text="付款条件"></asp:Label>
                        <aspxform:XLabel id="XLabel21" style="DISPLAY: none" runat="server" XDataBind="varfktj" ValueToDisplayText Value Text="fukuantiaojian"></aspxform:XLabel>
                    </td>
                    <td class="tm1" colspan="3">
                        <div style="FLOAT: left">
                            <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_PREREVIEW_INFO.PayTermID" Width="230" DataMap="Value->DF_PREREVIEW_INFO.PayTermNo;CalValue->DF_PREREVIEW_INFO.PayTerm" XDataSource="TableName:DF_DataSourceList;Filter:Type->varfktj,ValueAssociate->'销售额';OrderBy:OrderID" ValueColumn="ItemID" DisplayColumn="Name">
                                <asp:ListItem Selected="True">未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </div>
                        <aspxform:XTextBox id="XTextBox62" runat="server" XDataBind="DF_PREREVIEW_INFO.PayTermNo" ValueToDisplayText Value Width="149px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td width="157" class="tm">
                        <asp:Label id="XLabel33" runat="server" valuetodisplaytext value text="账期"></asp:Label></td>
                    <td class="tm1" colspan="3">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_PREREVIEW_INFO.PayTerm" ValueToDisplayText Value Width="97px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" ReadOnly="True"></aspxform:XTextBox>
                        </div>
                        <asp:Label id="XLabel38" runat="server" valuetodisplaytext value text="天"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tm">
                        <asp:Label id="XLabel87" runat="server" valuetodisplaytext value text="税种"></asp:Label>
                        <aspxform:XLabel id="XLabel22" style="DISPLAY: none" runat="server" XDataBind="varsz" ValueToDisplayText Value Text="shuizhong"></aspxform:XLabel>
                    </td>
                    <td width="8" class="tm1">
                        <aspxform:XDropDownList id="XDropDownList13" runat="server" XDataBind="DF_PREREVIEW_INFO.TaxType" Width="90%" DataMap="Value->DF_PREREVIEW_INFO.RateName;CalValue->DF_PREREVIEW_INFO.Rate" XDataSource="TableName:DF_DataSourceList;Filter:Type->varsz;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td width="194" class="tm3">
                        <asp:Label id="XLabel89" runat="server" valuetodisplaytext value text="发票类型"></asp:Label>
                        <aspxform:XLabel id="XLabel24" style="DISPLAY: none" runat="server" XDataBind="varfplx" ValueToDisplayText Value Text="fapiaoleixing"></aspxform:XLabel>
                    </td>
                    <td width="5" class="tm1">
                        <aspxform:XDropDownList id="XDropDownList14" runat="server" XDataBind="DF_PREREVIEW_INFO.BillType" Width="90%" XDataSource="TableName:DF_DataSourceList;Filter:Type->varfplx;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tm">
                        <asp:Label id="XLabel90" runat="server" valuetodisplaytext value text="合同币种"></asp:Label>
                        <aspxform:XLabel id="XLabel25" style="DISPLAY: none" runat="server" XDataBind="varhtbz" ValueToDisplayText Value Text="hetongbizhong"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="varcon" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td width="13" class="tm1">
                        <aspxform:XDropDownList id="XDropDownList15" runat="server" XDataBind="DF_PREREVIEW_INFO.ConCurrency" Width="90%" DataMap="CalValue->varcon" XDataSource="TableName:DF_DataSourceList;Filter:Type->varhtbz;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td width="82" class="tm3">
                        <asp:Label id="XLabel92" runat="server" valuetodisplaytext value text="毛利"></asp:Label></td>
                    <td width="13" class="tm1">
                        <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_PREREVIEW_INFO.Margin" Width="90%" CssClass="text1" Express="if(DF_PREREVIEW_INFO.IsFreePost=='Y',DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB-varSpecifyCostRMB-varpaytotal+DF_PREREVIEW_INFO.OtherAmount-DF_PREREVIEW_INFO.OtherFee,DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB-varSpecifyCostRMB-varpaytotal1+DF_PREREVIEW_INFO.OtherAmount-DF_PREREVIEW_INFO.OtherFee)" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tm">
                        <asp:Label id="XLabel93" runat="server" text="税率"></asp:Label>
                        <aspxform:XTextBox id="XTextBox25" runat="server" XDataBind="DF_PREREVIEW_INFO.Rate" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tm1">
                        <aspxform:XTextBox id="XTextBox36" runat="server" XDataBind="DF_PREREVIEW_INFO.RateName" Width="90%" CssClass="text" ReadOnly="True" TextAlign="Right"></aspxform:XTextBox>
                    </td>
                    <td class="tm3">
                        <asp:Label id="XLabel94" runat="server" valuetodisplaytext value text="开票公司"></asp:Label>
                        <aspxform:XTextBox id="XTextBox69" runat="server" XDataBind="DF_PREREVIEW_INFO.BillingCompany" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tm1">
                        <aspxform:XDropDownList id="XDropDownList16" runat="server" XDataBind="DF_PREREVIEW_INFO.CompanyCode" Width="90%" DataMap="Company->DF_PREREVIEW_INFO.BillingCompany" XDataSource="TableName:DF_SA_SS_Company;BufferType:RuntimeUpdate" ValueColumn="CompanyCode" DisplayColumn="Company" PromptText="-请选择-">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tm">
                        <asp:Label id="XLabel95" runat="server" text="合同总金额"></asp:Label></td>
                    <td class="tm1">
                        <aspxform:XTextBox id="XTextBox51" runat="server" XDataBind="DF_PREREVIEW_INFO.ConTotal" Width="90%" CssClass="text1" Express="DF_PREREVIEW_INFO.SumFinalTotalRMB" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tm3">
                        <asp:Label id="XLabel96" runat="server" valuetodisplaytext value text="毛利率(%)"></asp:Label></td>
                    <td class="tm1">
                        <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="DF_PREREVIEW_INFO.MarginRate" Width="90%" CssClass="text1" Express="(DF_PREREVIEW_INFO.Margin/DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB)*100" TextAlign="Right" Format="type:number;.2"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tmbottomlabel1">
                        <asp:Label id="XLabel97" runat="server" text="税额"></asp:Label></td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox50" runat="server" XDataBind="DF_PREREVIEW_INFO.Tax" Width="90%" CssClass="text1" Express="DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB*DF_PREREVIEW_INFO.Rate" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tmbottomlabel3">
                        &nbsp; 
                    </td>
                    <td class="tmbottomtext">
                        &nbsp;</td>
                    <td class="tmbottomlabel1">
                        <asp:Label id="XLabel35" runat="server" valuetodisplaytext value text="其它金额"></asp:Label></td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_PREREVIEW_INFO.OtherAmount" Width="90%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                    <td class="tmbottomlabel3">
                        <asp:Label id="XLabel37" runat="server" valuetodisplaytext value text="金额说明"></asp:Label></td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_PREREVIEW_INFO.AmountExplain" Width="90%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tmbottomlabel1">
                        <asp:Label id="XLabel98" runat="server" valuetodisplaytext value text="销售组织"></asp:Label>
                        <aspxform:XLabel id="XLabel27" style="DISPLAY: none" runat="server" XDataBind="varxszz" ValueToDisplayText Value Text="xiaoshouzuzhi"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XDropDownList id="XDropDownList18" runat="server" XDataBind="DF_PREREVIEW_INFO.SaleOrgan" Width="150px" XDataSource="TableName:V_DF_SA_SS_SalesOrganizing;BufferType:RuntimeUpdate" ValueColumn="SalesOrganization" DisplayColumn="SalesOrganization" PromptText="-请选择-">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox70" runat="server" XDataBind="DF_PREREVIEW_INFO.SalesOrgCode" Width="70px" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList1" runat="server" DataMap="SalesOrganizationCode->DF_PREREVIEW_INFO.SalesOrgCode" HiddenExpress="1" XDataSource="ProcedureName:proc_DF_SA_SS_SalesOrganizing;Filter:@Company->DF_PREREVIEW_INFO.BillingCompany,@SalesOrganization->DF_PREREVIEW_INFO.SaleOrgan" ValueColumn="SalesOrganizationCode" DisplayColumn="SalesOrganizationCode">
                            <asp:ListItem Selected="True">未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                    <td class="tmbottomlabel3">
                        <asp:Label id="XLabel99" runat="server" valuetodisplaytext value text="销售办公室"></asp:Label>
                        <aspxform:XLabel id="XLabel28" style="DISPLAY: none" runat="server" XDataBind="varxsbgs" ValueToDisplayText Value Text="xiaoshoubangongshi"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XDropDownList id="XDropDownList19" runat="server" XDataBind="DF_PREREVIEW_INFO.SaleOffice" Width="90%" DataMap="Value->DF_PREREVIEW_INFO.SalesOfficeCode" XDataSource="TableName:DF_DataSourceList;Filter:Type->varxsbgs;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        &nbsp;</td>
                    <td class="tmbottomlabel1">
                        &nbsp;<aspxform:XTextBox id="XTextBox72" runat="server" XDataBind="DF_PREREVIEW_INFO.Currency" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox73" runat="server" XDataBind="DF_PREREVIEW_INFO.SalesOfficeCode" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tmbottomtext">
                        &nbsp;</td>
                    <td class="tmbottomlabel3">
                        &nbsp;</td>
                    <td class="tmbottomtext">
                        &nbsp;</td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator4" runat="server" ErrorMessage="请输入进口关税" ControlToValidate="XTextBox33" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ErrorMessage="请输入国内运保费" ControlToValidate="XTextBox23" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ErrorMessage="请输入报关杂费" ControlToValidate="XTextBox30" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ErrorMessage="请输入国际运保费" ControlToValidate="XTextBox40" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ErrorMessage="请选择是否加急" ControlToValidate="XDropDownList3" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="XLabel62" runat="server" valuetodisplaytext value text="费用明细(人民币)"></asp:Label>
                        <aspxform:XTextBox id="XTextBox49" runat="server" XDataBind="varpaytotal" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Express="DF_PREREVIEW_INFO.Tariff+DF_PREREVIEW_INFO.FreightInsuranceCost+DF_PREREVIEW_INFO.Incidentals+DF_PREREVIEW_INFO.IntFreightInsuranceCost"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="varpaytotal1" ValueToDisplayText Value Width="79px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_INFO.Tariff+DF_PREREVIEW_INFO.Incidentals+DF_PREREVIEW_INFO.IntFreightInsuranceCost" BorderStyle="Dotted"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="76" height="28" class="ts">
                        <asp:Label id="XLabel71" runat="server" valuetodisplaytext value text="进口关税(票)"></asp:Label></td>
                    <td width="15" class="ts1">
                        <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_PREREVIEW_INFO.Tariff" Width="40%" CssClass="text" TextAlign="Right" Format="type:currency;.2">0</aspxform:XTextBox>
                    </td>
                    <td width="40" class="ts">
                        <asp:Label id="XLabel47" runat="server" valuetodisplaytext value text="运输时限"></asp:Label></td>
                    <td width="791" class="ts1">
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_PREREVIEW_INFO.IsUrgency" Width="40%" XDataSource="TableName:V_TransTime" ValueColumn="ItemID" DisplayColumn="Name" PromptText="---请选择---">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <tr>
                    <td height="22" class="ts">
                        <asp:Label id="XLabel44" runat="server" valuetodisplaytext value text="报关杂费(总)"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_PREREVIEW_INFO.Incidentals" Width="40%" CssClass="text" TextAlign="Right" Format="type:currency;.2">0</aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel63" runat="server" valuetodisplaytext value text="包邮"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_PREREVIEW_INFO.IsFreePost" Width="20%" RepeatDirection="Horizontal">
                            <asp:ListItem Value="Y">是</asp:ListItem>
                            <asp:ListItem Value="N">否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td height="31" class="tsbottomlabel">
                        <asp:Label id="XLabel46" runat="server" valuetodisplaytext value text="国际运保费(往返)"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_PREREVIEW_INFO.IntFreightInsuranceCost" Width="40%" CssClass="text" TextAlign="Right" Format="type:currency;.2">0</aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel36" runat="server" valuetodisplaytext value text="其它费用"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_PREREVIEW_INFO.OtherFee" Width="40%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="30" class="tsbottomlabel">
                        <asp:Label id="XLabel65" runat="server" valuetodisplaytext value text="国内运保费(往返)"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_PREREVIEW_INFO.FreightInsuranceCost" Width="40%" CssClass="text" TextAlign="Right" Format="type:currency;.2">0</aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel40" runat="server" valuetodisplaytext value text="费用说明"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_PREREVIEW_INFO.FeeExplain" Width="40%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr hiddenexpress="DF_PREREVIEW_INFO.IsFreePost==''">
                    <td height="30" colspan="4">
                        <p>
                            <asp:Label id="XLabel31" runat="server" valuetodisplaytext value text="毛利=不含税最终总价(人民币)-不含税实际成本（人民币）-费用明细+其它金额-其它费用" hiddenexpress="DF_PREREVIEW_INFO.IsFreePost!='Y'" forecolor="Blue" font-size="11pt"></asp:Label><asp:Label id="XLabel30" runat="server" valuetodisplaytext value text="毛利=不含税最终总价(人民币)-不含税实际成本（人民币）-费用明细（不含国内运保费）+其它金额-其它费用" hiddenexpress="DF_PREREVIEW_INFO.IsFreePost!='N'" forecolor="Blue" font-size="11pt"></asp:Label>
                        </p>
                        <p>
                            <asp:Label id="XLabel112" runat="server" valuetodisplaytext value text="毛利率 = 毛利÷不含税最终总价(人民币)" forecolor="Blue" font-size="11pt"></asp:Label>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div id="dcontinue" style="TEXT-ALIGN: center" runat="server" hiddenexpress="DF_PREREVIEW_INFO.InquiryTID==''">
            <br />
            <div class="scrollDiv" style="HEIGHT: 530px">
                <table width="4756" class="scrolltable" id="tablecont" border="0" cellspacing="0" cellpadding="3" runat="server" menudock="Left" datamap="InstruType->DF_PREREVIEW_DETAIL.InquiryType;AssetBPMID->DF_PREREVIEW_DETAIL.AssetBPMID;Supplier->DF_PREREVIEW_DETAIL.Supplier;SerialNo->DF_PREREVIEW_DETAIL.SerialNo;PurCurrency->DF_PREREVIEW_DETAIL.PurCurrency;InstruName->DF_PREREVIEW_DETAIL.InstruName;StorageID->DF_PREREVIEW_DETAIL.StorageID;AttachExplain->DF_PREREVIEW_DETAIL.AttachExplain;SupplierType->DF_PREREVIEW_DETAIL.SupplierType;ConfigDes->DF_PREREVIEW_DETAIL.ConfigDes;RentType->DF_PREREVIEW_DETAIL.RentType;Manufacturer->DF_PREREVIEW_DETAIL.Manufacturer;LineNumber->DF_PREREVIEW_DETAIL.LineNumber;QuoteType->DF_PREREVIEW_DETAIL.QuoteType;EstimateCost->DF_PREREVIEW_DETAIL.EstimateCost;ActualCost->DF_PREREVIEW_DETAIL.ActualCost;ResetPrice->DF_PREREVIEW_DETAIL.ResetPrice;PrdtID->DF_PREREVIEW_DETAIL.PrdtID;OwnerCompany->DF_PREREVIEW_DETAIL.OwnerCompany;InquirySapID->DF_PREREVIEW_DETAIL.InquirySapID;IsAttach->DF_PREREVIEW_DETAIL.IsAttach;FinalQuote->DF_PREREVIEW_DETAIL.FinalQuote;Cost1->DF_PREREVIEW_DETAIL.SpecifyCostRMB;ActualCostRMB->DF_PREREVIEW_DETAIL.ActualCostRMB" xdatasource="TableName:V_DF_Rent_Renewal;Filter:ContractNo->DF_PREREVIEW_INFO.PreContractNo;OrderBy:LineNumber;BufferType:RuntimeUpdate" dynamicarea="2,1">
                    <tbody>
                        <tr class="scrollColThead">
                            <th height="24" class="scrollRowThead scrollCR" style="TEXT-ALIGN: left" colspan="37">
                                <asp:Label id="XLabel50" runat="server" text="仪器基本信息"></asp:Label>
                                <aspxform:XDataBrowserButton id="XDataBrowserButton4" runat="server" Text="带入仪器信息" Width="120px" DataMap="ResetPrice->DF_PREREVIEW_DETAIL.ResetPrice;InstruType->DF_PREREVIEW_DETAIL.InquiryType;AssetBPMID->DF_PREREVIEW_DETAIL.AssetBPMID;Supplier->DF_PREREVIEW_DETAIL.Supplier;PurCurrency->DF_PREREVIEW_DETAIL.PurCurrency;InstruName->DF_PREREVIEW_DETAIL.InstruName;StorageID->DF_PREREVIEW_DETAIL.StorageID;AttachExplain->DF_PREREVIEW_DETAIL.AttachExplain;QuoteType->DF_PREREVIEW_DETAIL.QuoteType;SupplierType->DF_PREREVIEW_DETAIL.SupplierType;ConfigDes->DF_PREREVIEW_DETAIL.ConfigDes;InquirySapID->DF_PREREVIEW_DETAIL.InquirySapID;Cost1->DF_PREREVIEW_DETAIL.SpecifyCostRMB;Manufacturer->DF_PREREVIEW_DETAIL.Manufacturer;OwnerCompany->DF_PREREVIEW_DETAIL.OwnerCompany;ActualCostRMB->DF_PREREVIEW_DETAIL.ActualCostRMB;RentType->DF_PREREVIEW_DETAIL.RentType;IsAttach->DF_PREREVIEW_DETAIL.IsAttach;ActualCost->DF_PREREVIEW_DETAIL.ActualCost;SerialNo->DF_PREREVIEW_DETAIL.SerialNo;EstimateCost->DF_PREREVIEW_DETAIL.EstimateCost;PrdtID->DF_PREREVIEW_DETAIL.PrdtID" PopupWndWidth="800" DisableExpress="Global.StepName!='业务员发起预审'" DisplayColumns="ContractNo:合同号,;SerialNo:序列号,;InquirySapID:SAP固定资产号,;ConfigDes:配置描述,240;InstruName:仪器名称,;InstruType:仪器型号," XDataSource="TableName:V_DF_Rent_Renewal;Filter:ContractNo->DF_PREREVIEW_INFO.PreContractNo;BufferType:RuntimeUpdate" MultiSelect="True"></aspxform:XDataBrowserButton>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" ErrorMessage="请选择租赁类别" ControlToValidate="XDropDownList12"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" ErrorMessage="请输入单台单位含税最终报价" ControlToValidate="XTextBox109"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ErrorMessage="请选择是否带附件" ControlToValidate="XRadioButtonList5"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" DisableExpress='DF_PREREVIEW_DETAIL.IsAttach==""||DF_PREREVIEW_DETAIL.IsAttach=="否"' ErrorMessage="请填写附件说明" ControlToValidate="XTextBox80"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'||DF_PREREVIEW_DETAIL.IsNonGoods==1" ErrorMessage="请选择进项税率" ControlToValidate="XDropDownList24" ValidationGroup="step2"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'||DF_PREREVIEW_DETAIL.IsNonGoods==1" ErrorMessage="请选择供应商名称" ControlToValidate="XTextBox84" ValidationGroup="step2"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'||DF_PREREVIEW_DETAIL.IsNonGoods==1" ErrorMessage="请选择供应商类型" ControlToValidate="XDropDownList23" ValidationGroup="step2"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'||DF_PREREVIEW_DETAIL.IsNonGoods==1" ErrorMessage="请选择采购币种" ControlToValidate="XDropDownList25" ValidationGroup="step2"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'||DF_PREREVIEW_DETAIL.IsNonGoods==1" ErrorMessage="请填写单台单月不含税转租赁实际成本(采购币种)" ControlToValidate="XTextBox99" ValidationGroup="step2"></aspxform:XRequiredFieldValidator>
                            </th>
                        </tr>
                        <tr class="scrollColThead">
                            <td width="86" height="33" class="tds">
                                <asp:Label id="XLabel53" runat="server" valuetodisplaytext value text="序号"></asp:Label></td>
                            <td width="96" class="tds">
                                <asp:Label id="XLabel123" runat="server" text="高配顶低配"></asp:Label></td>
                            <td width="124" class="tds">
                                <asp:Label id="XLabel54" runat="server" valuetodisplaytext value text="报价仪器型号"></asp:Label></td>
                            <td width="98" class="tds">
                                <asp:Label id="XLabel55" runat="server" valuetodisplaytext value text="租赁类别"></asp:Label>
                                <aspxform:XLabel id="XLabel56" style="DISPLAY: none" runat="server" XDataBind="varzllb" ValueToDisplayText Value Text="zulingleibie"></aspxform:XLabel>
                            </td>
                            <td width="146" class="tds">
                                <asp:Label id="XLabel57" runat="server" text="序列号"></asp:Label></td>
                            <td width="146" class="tds">
                                <asp:Label id="XLabel82" runat="server" text="SAP资产号"></asp:Label></td>
                            <td width="215" class="tds">
                                <asp:Label id="XLabel59" runat="server" text="预审仪器名称"></asp:Label></td>
                            <td width="124" class="tds">
                                <asp:Label id="XLabel60" runat="server" text="预审仪器型号"></asp:Label></td>
                            <td width="190" class="tds">
                                <asp:Label id="XLabel144" runat="server" valuetodisplaytext value text="单台单月含税最终报价(合同币种)" width="188px"></asp:Label></td>
                            <td width="79" class="tds">
                                <asp:Label id="XLabelOwner" runat="server" text="权属公司"></asp:Label></td>
                            <td width="190" class="tds">
                                <asp:Label id="XLabel61" runat="server" text="预审配置描述"></asp:Label></td>
                            <td width="143" class="tds">
                                <asp:Label id="XLabel64" runat="server" text="预审厂商"></asp:Label></td>
                            <td width="76" class="tds">
                                <asp:Label id="XLabel66" runat="server" text="库存地"></asp:Label></td>
                            <td width="89" class="tds">
                                <asp:Label id="XLabel67" runat="server" text="是否带附件"></asp:Label></td>
                            <td width="190" class="tds">
                                <asp:Label id="XLabel68" runat="server" text="附件说明"></asp:Label></td>
                            <td width="105" class="tds">
                                <asp:Label id="Label1" runat="server" text="重置价格"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(15);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'" />
                            </td>
                            <td width="190" class="tds">
                                <asp:Label id="XLabel79" runat="server" valuetodisplaytext value text="供应商名称"></asp:Label>
                                <br />
                                <input style="HEIGHT: 25px" onclick="copyLine(16);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'" />
                            </td>
                            <td width="139" class="tds">
                                <asp:Label id="XLabel80" runat="server" valuetodisplaytext value text="供应商类型"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(17);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'" />
                                <aspxform:XLabel id="XLabel109" style="DISPLAY: none" runat="server" XDataBind="vargyslx" ValueToDisplayText Value Text="gongyingshangleixing"></aspxform:XLabel>
                            </td>
                            <td width="99" class="tds">
                                <asp:Label id="XLabel115" runat="server" valuetodisplaytext value text="进项税率"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(18);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'" />
                                <aspxform:XLabel id="XLabel116" style="DISPLAY: none" runat="server" XDataBind="varjxsl" ValueToDisplayText Value Text="jinxiangshuilv"></aspxform:XLabel>
                            </td>
                            <td width="100" class="tds">
                                <asp:Label id="XLabel122" runat="server" valuetodisplaytext value text="采购币种"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(19);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'" />
                                <aspxform:XLabel id="XLabel132" style="DISPLAY: none" runat="server" XDataBind="varcgbz" ValueToDisplayText Value Text="caigoubizhong"></aspxform:XLabel>
                            </td>
                            <td width="134" class="tds">
                                <asp:Label id="XLabel133" runat="server" valuetodisplaytext value text="资产不含税最低限价(人民币)"></asp:Label></td>
                            <td width="182" class="tds">
                                <asp:Label id="XLabel134" runat="server" valuetodisplaytext value text="单台单月不含税转租赁实际成本(采购币种)"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(21);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'" />
                            </td>
                            <td width="163" class="tds">
                                <asp:Label id="XLabel135" runat="server" valuetodisplaytext value text="单台单月不含税实际成本(人民币)"></asp:Label></td>
                            <td width="152" class="tds">
                                <asp:Label id="XLabel136" runat="server" valuetodisplaytext value text="资产不含税最低限价总价(人民币)"></asp:Label></td>
                            <td width="180" class="tds">
                                <asp:Label id="Label2" runat="server" valuetodisplaytext value text="单台单月含税转租赁实际成本(采购币种)"></asp:Label></td>
                            <td width="180" class="tds">
                                <asp:Label id="XLabel137" runat="server" valuetodisplaytext value text="不含税转租赁实际成本总价(采购币种)"></asp:Label></td>
                            <td width="134" class="tds">
                                <asp:Label id="XLabel138" runat="server" valuetodisplaytext value text="不含税实际成本总价(人民币)"></asp:Label></td>
                            <td width="125" class="tds">
                                <asp:Label id="XLabel139" runat="server" valuetodisplaytext value text="建议报价(人民币)"></asp:Label></td>
                            <td width="96" class="tds">
                                <asp:Label id="XLabel140" runat="server" valuetodisplaytext value text="预估费用(人民币)"></asp:Label></td>
                            <td width="67" class="tds">
                                <asp:Label id="XLabel141" runat="server" valuetodisplaytext value text=" 供货周期(天数)"></asp:Label></td>
                            <td width="95" class="tds">
                                <asp:Label id="XLabel142" runat="server" valuetodisplaytext value text="报价备注"></asp:Label></td>
                            <td width="87" class="tds">
                                <asp:Label id="XLabel143" runat="server" text="无货"></asp:Label></td>
                            <td width="110" class="tds">
                                <asp:Label id="XLabel145" runat="server" text="含税最终总价(合同币种)"></asp:Label></td>
                            <td width="113" class="tds">
                                <asp:Label id="XLabel1845" runat="server" text="不含税最终总价(合同币种)"></asp:Label></td>
                            <td width="152" class="tds">
                                <asp:Label id="XLabel146" runat="server" text="单台单位含税最终报价(人民币)"></asp:Label></td>
                            <td width="110" class="tds">
                                <asp:Label id="XLabel147" runat="server" text="含税最终总价(人民币)"></asp:Label></td>
                            <td width="105" class="tds">
                                <asp:Label id="XLabel148" runat="server" text="不含税最终总价(人民币)"></asp:Label></td>
                        </tr>
                        <tr>
                            <td class="xjtds1" style="TEXT-ALIGN: center">
                                <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_PREREVIEW_DETAIL.LineNumber" BackColor="Transparent" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                                <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_PREREVIEW_DETAIL.ItemID" ValueToDisplayText Value Width="23px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" NoCopy="1"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="DF_PREREVIEW_DETAIL.OldHTItemID" ValueToDisplayText Value Width="23px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" NoCopy="1"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox79" runat="server" XDataBind="DF_PREREVIEW_DETAIL.PrdtID" ValueToDisplayText Value Width="23px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" NoCopy="1"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1" style="TEXT-ALIGN: center">
                                <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_PREREVIEW_DETAIL.IsHighConfig" Width="1px" DisableExpress="Global.StepName!='业务员发起预审'"></aspxform:XCheckBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_PREREVIEW_DETAIL.QuoteType" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_PREREVIEW_DETAIL.RentType" Width="98%" DisableExpress="1" XDataSource="TableName:V_RentType;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox52" runat="server" XDataBind="DF_PREREVIEW_DETAIL.SerialNo" BackColor="#E6F1F8" ValueToDisplayText Value DisableBehavior="ReadOnly" Width="98%" CssClass="text1" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" Express="if(DF_PREREVIEW_DETAIL.RentType=='26','',DF_PREREVIEW_DETAIL.SerialNo)" ReadOnly="True"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox61" runat="server" XDataBind="DF_PREREVIEW_DETAIL.AssetBPMID" ValueToDisplayText Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true" NoCopy="1"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox7" runat="server" XDataBind="varbpmid" ValueToDisplayText="TableName:V_DF_JGTX;FilterColumn:AssetID;DisplayColumn:AssetID" Value Width="35px" Max="0" Min="0" DataMap="Cost->DF_PREREVIEW_DETAIL.SpecifyCostRMB" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_DETAIL.AssetBPMID"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox59" runat="server" XDataBind="DF_PREREVIEW_DETAIL.InquirySapID" BackColor="#E6F1F8" ValueToDisplayText Value Width="130px" CssClass="text1" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" NoCopy="1"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox64" runat="server" XDataBind="DF_PREREVIEW_DETAIL.InstruName" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox71" runat="server" XDataBind="DF_PREREVIEW_DETAIL.InquiryType" BackColor="#E6F1F8" ValueToDisplayText Value Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox109" runat="server" XDataBind="DF_PREREVIEW_DETAIL.FinalQuote" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBoxOwner" runat="server" XDataBind="DF_PREREVIEW_DETAIL.OwnerCompany" BackColor="#E6F1F8" ValueToDisplayText Width="100%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox77" runat="server" XDataBind="DF_PREREVIEW_DETAIL.ConfigDes" BackColor="#E6F1F8" ValueToDisplayText Value DisableBehavior="ReadOnly" Width="180px" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True" DisableCssClass="text1"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox78" runat="server" XDataBind="DF_PREREVIEW_DETAIL.Manufacturer" BackColor="#E6F1F8" ValueToDisplayText="TableName:V_DF_DataSourceList_changshang;FilterColumn:ItemID;DisplayColumn:Name" DisableBehavior="ReadOnly" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList21" runat="server" XDataBind="DF_PREREVIEW_DETAIL.StorageID" Width="98%" DisableExpress="1" XDataSource="TableName:DF_Logistics_Storage;BufferType:RuntimeUpdate" ValueColumn="StorageID" DisplayColumn="StorageName">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XRadioButtonList id="XRadioButtonList5" runat="server" XDataBind="DF_PREREVIEW_DETAIL.IsAttach" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="是">是</asp:ListItem>
                                    <asp:ListItem Value="否">否</asp:ListItem>
                                </aspxform:XRadioButtonList>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox80" runat="server" XDataBind="DF_PREREVIEW_DETAIL.AttachExplain" ValueToDisplayText Value Width="98%" CssClass="text"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox76" runat="server" XDataBind="DF_PREREVIEW_DETAIL.ResetPrice" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" DisableExpress="Global.StepName!='转租赁采购再次确认货源'||DF_PREREVIEW_DETAIL.RentType=='25'" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox84" runat="server" XDataBind="DF_PREREVIEW_DETAIL.Supplier" BackColor="#E6F1F8" Width="150" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" Express="if(DF_PREREVIEW_DETAIL.RentType=='25','',DF_PREREVIEW_DETAIL.Supplier)" ReadOnly="True"></aspxform:XTextBox>
                                <aspxform:XDataBrowserButton id="XDataBrowserButton3" runat="server" Width="23" CssClass="anxiu" DataMap="Partner->DF_PREREVIEW_DETAIL.Supplier" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" DisplayColumns="Partner:供应商名称,250" XDataSource="TableName:V_DF_Partner_ZK;Filter:SupplierStatus->'1301'"></aspxform:XDataBrowserButton>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList23" runat="server" XDataBind="DF_PREREVIEW_DETAIL.SupplierType" Width="98%" Express="if(DF_PREREVIEW_DETAIL.RentType=='25','',DF_PREREVIEW_DETAIL.SupplierType)" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" XDataSource="TableName:DF_DataSourceList;Filter:Type->vargyslx;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList24" runat="server" XDataBind="DF_PREREVIEW_DETAIL.InputTax" Width="98%" DataMap="Value->varSL" Express="if(DF_PREREVIEW_DETAIL.RentType=='25','',DF_PREREVIEW_DETAIL.InputTax)" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" XDataSource="TableName:DF_DataSourceList;Filter:Type->varjxsl;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                                <aspxform:XTextBox id="XTextBox13" runat="server" XDataBind="varSL" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true">1</aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList25" runat="server" XDataBind="DF_PREREVIEW_DETAIL.PurCurrency" Width="98%" Express="if(DF_PREREVIEW_DETAIL.RentType=='25','',DF_PREREVIEW_DETAIL.PurCurrency)" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" XDataSource="TableName:DF_DataSourceList;Filter:Type->varcgbz;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                                <aspxform:XTextBox id="XTextBox92" runat="server" ValueToDisplayText="TableName:DF_DataSourceList;FilterColumn:ItemID;DisplayColumn:ItemID" Value Width="22px" Max="0" Min="0" DataMap="CalValue->varpur" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_DETAIL.PurCurrency"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox94" runat="server" XDataBind="varpur" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox95" runat="server" XDataBind="DF_PREREVIEW_DETAIL.SpecifyCostRMB" BackColor="#E6F1F8" ValueToDisplayText Value Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox99" runat="server" XDataBind="DF_PREREVIEW_DETAIL.ActualCost" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox100" runat="server" XDataBind="DF_PREREVIEW_DETAIL.ActualCostRMB" BackColor="#E6F1F8" ValueToDisplayText Value Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="if((DF_PREREVIEW_DETAIL.ActualCost==''||varpur==''),varzj,DF_PREREVIEW_DETAIL.ActualCost*varpur)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox101" runat="server" XDataBind="varzj" ValueToDisplayText Value Width="34px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox102" runat="server" XDataBind="SpCost" BackColor="#E6F1F8" ValueToDisplayText Value DisableBehavior="ReadOnly" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.SpecifyCostRMB*DF_PREREVIEW_INFO.Lease" ReadOnly="True" DisableExpress="1" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox10" runat="server" XDataBind="DF_PREREVIEW_DETAIL.UnitActualCost" BackColor="#E6F1F8" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.ActualCost*(1+varSL)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox103" runat="server" XDataBind="AcCost1" BackColor="#E6F1F8" DisableBehavior="ReadOnly" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.ActualCost*DF_PREREVIEW_INFO.Lease" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox104" runat="server" XDataBind="AcCost" BackColor="#E6F1F8" DisableBehavior="ReadOnly" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.ActualCostRMB*DF_PREREVIEW_INFO.Lease" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox105" runat="server" XDataBind="DF_PREREVIEW_DETAIL.JYBJ" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox106" runat="server" XDataBind="DF_PREREVIEW_DETAIL.EstimateCost" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox107" runat="server" XDataBind="DF_PREREVIEW_DETAIL.Period" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox108" runat="server" XDataBind="DF_PREREVIEW_DETAIL.QuoteRemark" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1" style="TEXT-ALIGN: center">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox2" runat="server" XDataBind="DF_PREREVIEW_DETAIL.IsNonGoods"></aspxform:XCheckBox>
                                </div>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox110" runat="server" XDataBind="DF_PREREVIEW_DETAIL.FinalTotal" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.FinalQuote*DF_PREREVIEW_INFO.Lease" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox1510" runat="server" XDataBind="DF_PREREVIEW_DETAIL.NoTaxFinalTotal" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.FinalTotal/(1+DF_PREREVIEW_INFO.Rate)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox111" runat="server" XDataBind="DF_PREREVIEW_DETAIL.FinalQuoteRMB" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.FinalQuote*varcon" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox112" runat="server" XDataBind="DF_PREREVIEW_DETAIL.FinalTotalRMB" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.FinalTotal*varcon" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox113" runat="server" XDataBind="DF_PREREVIEW_DETAIL.NoTaxFinalTotalRMB" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.FinalTotalRMB/(1+DF_PREREVIEW_INFO.Rate)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                        </tr>
                        <tr>
                            <td height="30">
                                &nbsp; 
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                                <aspxform:XTextBox id="XTextBox114" runat="server" XDataBind="varEstimate" ValueToDisplayText Value Width="41px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="sum(DF_PREREVIEW_DETAIL.EstimateCost)" BorderStyle="Dotted"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox115" runat="server" XDataBind="varSpecifyCostRMB" ValueToDisplayText Value Width="44px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="sum(AcCost)" BorderStyle="Dotted"></aspxform:XTextBox>
                            </td>
                            <td class="tdstotal">
                                <aspxform:XLabel id="XLabel29" runat="server" XDataBind="varrenttype" ValueToDisplayText Value Text="26" HiddenExpress="1"></aspxform:XLabel>
                                <asp:Label id="XLabel150" runat="server" text="总计"></asp:Label></td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_PREREVIEW_INFO.SumFinalQuote" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="sum(DF_PREREVIEW_DETAIL.FinalQuote)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_PREREVIEW_INFO.SumFinalTotal" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="sum(DF_PREREVIEW_DETAIL.FinalTotal)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox28" runat="server" XDataBind="DF_PREREVIEW_INFO.SumNoTaxFinalTotal" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="sum(DF_PREREVIEW_DETAIL.NoTaxFinalTotal)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox116" runat="server" XDataBind="DF_PREREVIEW_INFO.SumFinalQuoteRMB" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="sum(DF_PREREVIEW_DETAIL.FinalQuoteRMB)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox117" runat="server" XDataBind="DF_PREREVIEW_INFO.SumFinalTotalRMB" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="sum(DF_PREREVIEW_DETAIL.FinalTotalRMB)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="tds1">
                                <aspxform:XTextBox id="XTextBox118" runat="server" XDataBind="DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB" BackColor="#E6F1F8" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="sum(DF_PREREVIEW_DETAIL.NoTaxFinalTotalRMB)" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" DisableExpress="DF_PREREVIEW_INFO.SecurityType!='押金'" ErrorMessage="请输入押金" ControlToValidate="XTextBox54" ValidationGroup="submit"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" DisableExpress="DF_PREREVIEW_INFO.SecurityType!='担保函'" ErrorMessage="请添加附件担保函" ControlToValidate="XAttachments1"></aspxform:XRequiredFieldValidator>
        <aspxform:XRangeValidator id="XRangeValidator1" runat="server" Type="Double" ErrorMessage="该续租的金额为0，请输入金额" ControlToValidate="XTextBox116" MinValueExpress="0.001"></aspxform:XRangeValidator>
        <br />
        <table align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel70" runat="server" text="客户信用"></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel83" runat="server" text="方式"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XRadioButtonList id="XRadioButtonList6" runat="server" XDataBind="DF_PREREVIEW_INFO.SecurityType" Width="40%" RepeatDirection="Horizontal">
                            <asp:ListItem>押金</asp:ListItem>
                            <asp:ListItem>担保函</asp:ListItem>
                            <asp:ListItem>无</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel77" runat="server" text="押金 "></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox54" runat="server" XDataBind="DF_PREREVIEW_INFO.Deposit" Width="40%" CssClass="text" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel84" runat="server" text="担保函"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_PREREVIEW_INFO.GuaranteeAttach" Width="300px" FileTypes="*.doc;*.docx;*.xls;*.xlsx" FileTypesDescription="Word,Excel"></aspxform:XAttachments>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel78" runat="server" text="信用评分"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="DF_PREREVIEW_INFO.CreditGrade" Width="40%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td width="1200">
                        <asp:Label id="XLabel118" runat="server" text="合同文档上传"></asp:Label></td>
                </tr>
                <tr>
                    <td height="14">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_PREREVIEW_INFO.ContactAttach" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG;*.msg;*.eml"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr class="title1">
                    <td class="td1">
                        <asp:Label id="XLabel130" runat="server" valuetodisplaytext value text="备注" font-bold="True" height="10px" width="83px"></asp:Label></td>
                </tr>
                <tr>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox56" runat="server" XDataBind="DF_PREREVIEW_INFO.Remark" ValueToDisplayText Value Width="1200px" CssClass="text" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" Height="80px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator11" runat="server" ErrorMessage="请选择原因丢单" ControlToValidate="XDropDownList4" ValidationGroup="diudan"></aspxform:XRequiredFieldValidator>
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td width="12" class="td">
                        <asp:Label id="XLabel41" runat="server" valuetodisplaytext value text="丢单原因"></asp:Label>
                        <aspxform:XLabel id="XLabel42" style="DISPLAY: none" runat="server" XDataBind="dddrop1" ValueToDisplayText Value Text="12"></aspxform:XLabel>
                    </td>
                    <td class="td1" colspan="7">
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_PREREVIEW_INFO.LostOrder" Width="20%" XDataSource="TableName:V_DF_DataSourceList;Filter:Type->varddyy,LdValue->dddrop1;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XDropDownList id="XDropDownList5" runat="server" XDataBind="DF_PREREVIEW_INFO.LostReson" Width="40%" XDataSource="TableName:V_DF_DataSourceList;Filter:Type->varddyy,LdValue->DF_PREREVIEW_INFO.LostOrder;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name" PromptText="-请选择-">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XLabel id="XLabel48" style="DISPLAY: none" runat="server" XDataBind="varddyy" ValueToDisplayText Value Text="diudanyuanying"></aspxform:XLabel>
        <br />
        <table width="1200" align="center" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="800">
                        <p>
                        </p>
                    </td>
                </tr>
            </tbody>
        </table>
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
        </div>
        <div style="TEXT-ALIGN: center">
            <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_PREREVIEW_INFO.ISContactAttach" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Express='if(DF_PREREVIEW_INFO.ContactAttach!="","有","无")'></aspxform:XTextBox>
        </div>
    </form>
</body>
</html>
