<%@ 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["enquiryTid"];
    
    
        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;
        }

        .yz-inp-cnt {
            display: inline;
        }

        .tm {
            width: 8%;
        }
    </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);
    }
    //控件是否选中 checkbox,radiobutton
    function XChecked(name) {
        var inputs = document.getElementsByTagName("input");
        for (var i = 0; i < inputs.length; i++) {
            var a = document.getElementsByName(name);
            if (inputs[i].name == name) {
                return inputs[i].checked;
            }
        }
    }

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

    Ext.onReady(function () {
        //重点复核提示
        //XRadioButtonList3_0  XRadioButtonList3_1
        var radio1 = document.getElementById("XRadioButtonList3_0");
        var radio2 = document.getElementById("XRadioButtonList3_1");
        if (radio1.checked == true) {
            Ext.MessageBox.alert("", "请注意，此单需要重点复核！")
        }

        //助理账号-通过地区助理BPM账号获取其SAP账号
        var assistiant = GetXValue("XTextBox113");
        if (assistiant != '') {
            XFormOnChange(agent.Eles[document.getElementById("XTextBox113").getAttribute("xform_xele_index")]);
        }

        //判断资产最低限价是否高于最终报价总额，若高于，则整行背景色为黄色
        var actName = GetXValue("XTextBox115"); //流程审批状态
        var lease = GetXValue("XTextBox68");       //租期
        var taskID = GetXValue("XTextBox97");   //任务号
        if (actName != '' && taskID != '') {
            var tableObj = document.getElementById('tablenew');
            for (var i = 2; i < tableObj.rows.length - 1; i++) {
                // 租赁类别、资产不含税最低限价、资产最终报价
                var lineNumber = agent.Eles[tableObj.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) {
                            tableObj.rows[i].style.backgroundColor = "yellow";
                        }
                        else {
                            tableObj.rows[i].style.backgroundColor = "#e9f1f4";
                        }
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }
        }
        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);
                }
            });

        }
    })


function copyLine(column) {
    var table = document.getElementById("tablenew");
    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")]);
    }
}


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 inames = '';
                var n;
                inames = XFormShell.XFormAgent.CalcExpress(el, "DF_PREREVIEW_DETAIL.AssetBPMID");
                inamesline = XFormShell.XFormAgent.CalcExpress(el, "DF_PREREVIEW_DETAIL.LineNumber");
                if (inamesline != 1) {
                    n = inames[item.parentMenu.opt.blockIndex];
                }
                else {
                    n = inames;
                }

                var o = item.parentMenu.opt;
                o.grid.DeleteBlocks(o.blockIndex, 1);
                var tidvalue = document.getElementById("XTextBox97").value;




                //alert(n);
                if (tidvalue != "") {
                    YZSoft.Ajax.RFC({
                        url: 'DFJC/RFC/UpdateAssetYSData.ashx',
                        params: { AssetBPMID: n, taskid: tidvalue },
                        sync: true,
                        success: function(action) {
                            //alert("dd");
                        },
                        failure: function(action) {
                            alert(action.result.errorMessage);
                        }
                    })
                }
            }
        });

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

    xa.BlockMenu.opt = opt;
    var items = xa.BlockMenu.items;
    items.itemAt(5).setDisabled(!opt.elType.CopyTable);
    var 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" text="-系统自动生成-" ValueToDisplayText Value BackColor="#8AB3DF" XDataBind="DF_PREREVIEW_INFO.FormNo"></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" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_PREREVIEW_INFO.CreateUser" DisableBehavior="ReadOnly" Width="60%" CssClass="text" backColor="#e6f1f8"></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" DisableBehavior="ReadOnly" Width="60%" CssClass="text" backColor="#e6f1f8"></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="XTextBox101" runat="server" ValueToDisplayText Value BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.OwnerName" Max="0" Min="0" width="60%" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox318" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.OwnerAccount" DisableBehavior="ReadOnly" Width="20px" CssClass="text" backColor="#e6f1f8" HiddenInput="True" Express="DF_PREREVIEW_INFO.QutOwnerAccount"></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="XTextBox79" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_INFO.IsGiftValue" Width="24px" 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" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.QutFormNo" DisableBehavior="ReadOnly" Width="60%" CssClass="text" backColor="#e6f1f8"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="XLabel102" runat="server" valuetodisplaytext value text="无合同发货"></asp:Label></td>
                    <td class="tsbottomtext" id="chktd" style="WIDTH: 35%">
                        <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_PREREVIEW_INFO.IsNoCon" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator21" runat="server" ValidationGroup="submit1" ErrorMessage="请选择是否重点复核" ControlToValidate="XRadioButtonList3"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator15" runat="server" ValidationGroup="submit1" ErrorMessage="请选择是否无合同发货" ControlToValidate="XRadioButtonList2"></aspxform:XRequiredFieldValidator>
        &nbsp;<aspxform:XRequiredFieldValidator id="XRequiredFieldValidator26" runat="server" ValidationGroup="submit" ErrorMessage="请填写客户实际收货日期" ControlToValidate="XDateTimePicker4"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator20" runat="server" ErrorMessage="请填写租期" ControlToValidate="XTextBox68" Display="Dynamic"></aspxform:XRequiredFieldValidator>
        <aspxform:XTextBox id="XTextBox109" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.OwnerSAPID" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox112" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.AssitantSAPID" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox113" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.AssitantAccount" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox110" runat="server" ValueToDisplayText="TableName:DF_SA_SS_AssistantMessage;FilterColumn:AssistantBPMID;DisplayColumn:AssistantSAPID" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Express="DF_PREREVIEW_INFO.AssitantAccount" Height="20" DataMap="AssistantSAPID->DF_PREREVIEW_INFO.AssitantSAPID"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox111" runat="server" ValueToDisplayText="TableName:DF_SA_SS_SalesPersonnel;FilterColumn:StaffID;DisplayColumn:StaffSAPNumber" Value Width="25px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_INFO.OwnerAccount" Height="20" DataMap="StaffSAPNumber->DF_PREREVIEW_INFO.OwnerSAPID"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox115" runat="server" XDataBind="NodeName" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" Express="Global.StepName" Height="20" HiddenExpress="1"></aspxform:XTextBox>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel6" runat="server" valuetodisplaytext value text="基本信息"></asp:Label></td>
                </tr>
                <tr>
                    <td width="1202" height="22" class="ts">
                        <asp:Label id="XLabel45" runat="server" valuetodisplaytext value text="当前合同编号"></asp:Label></td>
                    <td width="6" class="ts1">
                        <aspxform:XTextBox id="XTextBox22" runat="server" XDataBind="DF_PREREVIEW_INFO.ContractNo" DisableBehavior="ReadOnly" Width="60%" CssClass="text1" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel30" runat="server" valuetodisplaytext value text="客户合同号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_PREREVIEW_INFO.CusContractNo" width="60%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="1202" height="22" class="ts">
                        <asp:Label id="Label2" runat="server" valuetodisplaytext value text="老系统合同编号"></asp:Label></td>
                    <td width="6" class="ts1">
                        <aspxform:XTextBox id="XTextBox117" runat="server" XDataBind="DF_PREREVIEW_INFO.OldContractNo" DisableBehavior="ReadOnly" Width="60%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td class="ts">
                        <asp:Label id="Label3" runat="server" valuetodisplaytext value text="老系统上一合同号"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox118" runat="server" XDataBind="DF_PREREVIEW_INFO.OldPreContractNo" width="60%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td width="1202" class="ts">
                        <asp:Label id="XLabel7" runat="server" valuetodisplaytext value text="业务员"></asp:Label></td>
                    <td width="6" class="ts1">
                        <aspxform:XTextBox id="XTextBox3" runat="server" ValueToDisplayText="TableName:V_Users;FilterColumn:Account;DisplayColumn:DisplayName" XDataBind="DF_PREREVIEW_INFO.SalesMan" DisableBehavior="ReadOnly" Width="60%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td width="1202" class="ts">
                        <asp:Label id="XLabel8" runat="server" valuetodisplaytext value text="所属区域"></asp:Label></td>
                    <td width="1202" class="ts1">
                        <aspxform:XTextBox id="XTextBox4" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.Area" DisableBehavior="ReadOnly" Width="60%" CssClass="text1"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox63" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_INFO.AreaCode" 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 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"></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"></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="XTextBox78" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.LeaseRemark" Width="60%" CssClass="text"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel122" runat="server" valuetodisplaytext value text="客户实际收货日期"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker4" runat="server" XDataBind="DF_PREREVIEW_INFO.ReceiptDate" Width="50%"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tsbottomlabel">
                    </td>
                    <td class="tsbottomtext">
                    </td>
                </tr>
                <tr>
                    <td height="26" class="tsbottomlabel">
                        <asp:Label id="Label4" runat="server" valuetodisplaytext value text="合同内容包含"></asp:Label></td>
                    <td class="tsbottomtext" colspan="3">
                        <aspxform:XCheckBoxList id="XCheckBoxList1" runat="server" XDataBind="DF_PREREVIEW_INFO.ContContents" RepeatDirection="Horizontal">
                            <asp:ListItem Value="均无">均无</asp:ListItem>
                            <asp:ListItem Value="技术协议">技术协议</asp:ListItem>
                            <asp:ListItem Value="配置清单">配置清单</asp:ListItem>
                            <asp:ListItem Value="包含系统字眼">包含&quot;系统&quot;字眼</asp:ListItem>
                        </aspxform:XCheckBoxList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label5" runat="server" valuetodisplaytext value text="纸面合同日期"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDateTimePicker id="XDateTimePicker5" runat="server" XDataBind="DF_PREREVIEW_INFO.ContDate" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="Label6" runat="server" valuetodisplaytext value text="合同样式"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" XDataBind="DF_PREREVIEW_INFO.ContStyle">
                            <asp:ListItem Selected="True" Value="03">客户PO</asp:ListItem>
                            <asp:ListItem Value="02">客户方合同</asp:ListItem>
                            <asp:ListItem Value="03">我司标准合同</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
            </tbody>
        </table>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator23" runat="server" ValidationGroup="submit" ErrorMessage="均无、技术协议、配置清单、包含系统字眼，至少选其一" ControlToValidate="XCheckBoxList1" ForeColor="Red">均无、技术协议、配置清单、包含系统字眼，至少选其一</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator24" runat="server" ValidationGroup="submit" ErrorMessage="纸面合同日期" ControlToValidate="XDateTimePicker5" ForeColor="Red">纸面合同日期</aspxform:XRequiredFieldValidator>
        &nbsp; 
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator25" runat="server" ValidationGroup="submit" ErrorMessage="合同样式" ControlToValidate="XDropDownList2" ForeColor="Red">合同样式</aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" 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" ValueToDisplayText="TableName:V_DF_MasterData_Customer;FilterColumn:CustomerID;DisplayColumn:CustomerID" XDataBind="DF_PREREVIEW_INFO.SellCustomerID" Width="15px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" DataMap="CustomerSAPID->DF_PREREVIEW_INFO.SellCustomerSapID"></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;<aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Width="60px" CssClass="anxiu" Height="23px" DataMap="CustomerID->DF_PREREVIEW_INFO.SellCustomerID;CustomerNameCH->DF_PREREVIEW_INFO.SellCustomerName;CustomerSAPID->DF_PREREVIEW_INFO.SellCustomerSapID" Text="查询" DisplayColumns="CustomerID:客户BPM编号,80;CustomerNameCH:客户名称,200;CustomerSAPID:客户SAPID,80" XDataSource="TableName:V_DF_MasterData_Customer;BufferType:RuntimeUpdate" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel14" runat="server" valuetodisplaytext value text="客户SapID"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_PREREVIEW_INFO.SellCustomerSapID" Width="60%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="False" ReadOnly="True" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel17" runat="server" text="联系人"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_PREREVIEW_INFO.SellContact" Width="60%" CssClass="text1"></aspxform:XTextBox>
                        &nbsp;<aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Width="60px" CssClass="anxiu" Height="23px" 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" Text="查询" DisplayColumns="ContactName:联系人,80;ContactTel:联系电话,100;ContactMobile:手机,100;ContactEmail:Email,150" XDataSource="TableName:DF_Partner_ContactZK;Filter:PartnerID->DF_PREREVIEW_INFO.SellCustomerID,ContactType->'客户',OwnerAccount->DF_PREREVIEW_INFO.SalesMan" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel">
                        <%--<asp:Label id="Label7" runat="server" text="联系人SAPID"></asp:Label>--%></td>
                    <td class="tsbottomtext">
                        <%--<aspxform:XTextBox id="XTextBox14" runat="server" XDataBind="DF_PREREVIEW_INFO.SellContactSAPID" Width="60%" CssClass="text1" DisableExpress="1" DisableBehavior="ReadOnly"></aspxform:XTextBox>--%></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel18" runat="server" text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox66" runat="server" XDataBind="DF_PREREVIEW_INFO.SellTel" Width="60%" CssClass="text1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel31" runat="server" text="移动电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox99" runat="server" XDataBind="DF_PREREVIEW_INFO.SellMobile" Width="60%" CssClass="text1"></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="text1"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel33" runat="server" valuetodisplaytext value text="联系地址"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox84" runat="server" XDataBind="DF_PREREVIEW_INFO.SellAddress" Width="99.9%" CssClass="text1" 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="ts">
                        <asp:Label id="XLabel73" runat="server" text="客户名称"></asp:Label></td>
                    <td class="ts1">
                        <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;<aspxform:XDataBrowserButton id="XDataBrowserButton5" runat="server" Width="60px" CssClass="anxiu" Height="23px" DataMap="CustomerID->DF_PREREVIEW_INFO.PayCustomerID;CustomerNameCH->DF_PREREVIEW_INFO.PayCustomerName;CustomerSAPID->DF_PREREVIEW_INFO.PayCustomerSapID" Text="查询" DisplayColumns="CustomerID:客户BPM编号,80;CustomerNameCH:客户名称,200;CustomerSAPID:客户SAPID,80" XDataSource="TableName:V_DF_MasterData_Customer" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel37" runat="server" valuetodisplaytext value text="客户SapID"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox65" runat="server" XDataBind="DF_PREREVIEW_INFO.PayCustomerSapID" Width="60%" CssClass="text1" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="False" Express="DF_PREREVIEW_INFO.SellCustomerSapID" ReadOnly="True" DisableExpress="1"></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;<aspxform:XDataBrowserButton id="XDataBrowserButton6" runat="server" Width="60px" CssClass="anxiu" Height="23px" DataMap="ContactName->DF_PREREVIEW_INFO.PayContact;ContactTel->DF_PREREVIEW_INFO.PayTel;ContactMobile->DF_PREREVIEW_INFO.PayMobile;ContactEmail->DF_PREREVIEW_INFO.SellEmail;ContactAddr->DF_PREREVIEW_INFO.PayAddress" Text="查询" DisplayColumns="ContactName:联系人,80;ContactTel:联系电话,100;ContactMobile:手机,100;ContactEmail:Email,150" XDataSource="TableName:DF_Partner_ContactZK;Filter:PartnerID->DF_PREREVIEW_INFO.PayCustomerID,ContactType->'客户',OwnerAccount->DF_PREREVIEW_INFO.OwnerAccount" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                    </td>
                    <td class="tsbottomlabel">
                        <%--<asp:Label id="Label8" runat="server" text="联系人SAPID"></asp:Label>--%></td>
                    <td class="tsbottomtext">
                        <%--<aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_PREREVIEW_INFO.PayContactSAPID" Width="60%" CssClass="text1" DisableExpress="1" DisableBehavior="ReadOnly"></aspxform:XTextBox>--%></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel">
                        <asp:Label id="XLabel76" runat="server" text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox69" 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="XLabel32" runat="server" text="移动电话"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox100" 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="XLabel109" 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" ValueToDisplayText="TableName:DF_QUTATION_INFO;FilterColumn:TaskID;DisplayColumn:TaskID" XDataBind="DF_PREREVIEW_INFO.QutationTID" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20px" DataMap="Unit->DF_PREREVIEW_INFO.Unit;Mobile->DF_PREREVIEW_INFO.SellMobile;Tax->DF_PREREVIEW_INFO.Tax;CustomerName->DF_PREREVIEW_INFO.SellCustomerName;ConEndDate->DF_PREREVIEW_INFO.ConEndDate;Contact->DF_PREREVIEW_INFO.SellContact;Email->DF_PREREVIEW_INFO.SellEmail;Rate->DF_PREREVIEW_INFO.Rate;FreightInsuranceCost->DF_PREREVIEW_INFO.FreightInsuranceCost;IsReference->DF_PREREVIEW_INFO.IsReference;Tel->DF_PREREVIEW_INFO.SellTel;IsFreePost->DF_PREREVIEW_INFO.IsFreePost;Remark->DF_PREREVIEW_INFO.Remark;AreaCode->DF_PREREVIEW_INFO.AreaCode;RateName->DF_PREREVIEW_INFO.RateName;FormNo->DF_PREREVIEW_INFO.QutFormNo;Lease->DF_PREREVIEW_INFO.Lease;PayTerm->DF_PREREVIEW_INFO.PayTerm;TaxType->DF_PREREVIEW_INFO.TaxType;LeaseRemark->DF_PREREVIEW_INFO.LeaseRemark;OwnerAccount->DF_PREREVIEW_INFO.QutOwnerAccount;ConStartDate->DF_PREREVIEW_INFO.ConStartDate;SalesMan->DF_PREREVIEW_INFO.SalesMan;CusAddress->DF_PREREVIEW_INFO.SellAddress;Currency->DF_PREREVIEW_INFO.Currency;CompanyCode->DF_PREREVIEW_INFO.CompanyCode;Area->DF_PREREVIEW_INFO.Area;PayTermID->DF_PREREVIEW_INFO.PayTermID;UseAddress->DF_PREREVIEW_INFO.UseAddress;CustomerID->DF_PREREVIEW_INFO.SellCustomerID;BillType->DF_PREREVIEW_INFO.BillType;ConCurrency->DF_PREREVIEW_INFO.ConCurrency;BillingCompany->DF_PREREVIEW_INFO.BillingCompany;OwnerName->DF_PREREVIEW_INFO.OwnerName"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox64" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.QutOwnerAccount" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20px"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox119" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_INFO.IsReference" Width="50px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator12" runat="server" ValidationGroup="submit" ErrorMessage="请选择付款条件" ControlToValidate="XDropDownList11"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator1" runat="server" ValidationGroup="submit" ErrorMessage="请选择发票类型" ControlToValidate="XDropDownList14"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator2" runat="server" ValidationGroup="submit" ErrorMessage="请选择开票公司" ControlToValidate="XDropDownList16"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator3" runat="server" ValidationGroup="submit" ErrorMessage="请选择销售组织" ControlToValidate="XDropDownList18"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator14" runat="server" ValidationGroup="submit" ErrorMessage="请选择销售办公室" ControlToValidate="XDropDownList19"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="8">
                        <asp:Label id="XLabel13" runat="server" valuetodisplaytext value text="发票信息 " width="102" font-bold="True"></asp:Label>
                        <aspxform:XTextBox id="XTextBox116" runat="server" width="100" 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" text="fukuantiaojian" ValueToDisplayText Value XDataBind="varfktj"></aspxform:XLabel>
                    </td>
                    <td class="tm1" colspan="3">
                        <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_PREREVIEW_INFO.PayTermID" Width="60%" DataMap="Value->DF_PREREVIEW_INFO.PayTermNo;CalValue->DF_PREREVIEW_INFO.PayTerm" XDataSource="TableName:DF_DataSourceList;Filter:Type->varfktj;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox62" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_INFO.PayTermNo" Width="149px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False"></aspxform:XTextBox>
                    </td>
                    <td width="158" class="tm">
                        <asp:Label id="XLabel29" runat="server" valuetodisplaytext value text="账期"></asp:Label></td>
                    <td class="tm1" colspan="3">
                        <div style="FLOAT: left">
                            <aspxform:XTextBox id="XTextBox24" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_INFO.PayTerm" Width="61px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" ReadOnly="True" TextAlign="Right"></aspxform:XTextBox>
                        </div>
                        <asp:Label id="XLabel34" 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" text="shuizhong" ValueToDisplayText Value XDataBind="varsz"></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" text="fapiaoleixing" ValueToDisplayText Value XDataBind="varfplx"></aspxform:XLabel>
                    </td>
                    <td width="6" 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" PromptText="-----请选择------">
                            <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" text="hetongbizhong" ValueToDisplayText Value XDataBind="varhtbz"></aspxform:XLabel>
                        <aspxform:XTextBox id="XTextBox47" runat="server" XDataBind="varcon" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td width="9" class="tm1">
                        <aspxform:XDropDownList id="XDropDownList15" runat="server" XDataBind="DF_PREREVIEW_INFO.ConCurrency" Width="90%" DataMap="Value->DF_PREREVIEW_INFO.Currency;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="8" 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="XTextBox105" 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="if(DF_PREREVIEW_INFO.SumFinalQuoteRMB==0,0,(DF_PREREVIEW_INFO.Margin/DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB)*100)" TextAlign="Right" Format="type:number;.2"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td 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="XLabel38" runat="server" valuetodisplaytext value text="其它金额"></asp:Label></td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox7" 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="XLabel40" runat="server" valuetodisplaytext value text="金额说明"></asp:Label></td>
                    <td class="tmbottomtext">
                        <aspxform:XTextBox id="XTextBox8" 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" text="xiaoshouzuzhi" ValueToDisplayText Value XDataBind="varxszz"></aspxform:XLabel>
                    </td>
                    <td class="tmbottomtext">
                        <aspxform:XDropDownList id="XDropDownList18" runat="server" XDataBind="DF_PREREVIEW_INFO.SaleOrgan" Width="90%" XDataSource="TableName:V_DF_SA_SS_SalesOrganizing;Filter:Company->DF_PREREVIEW_INFO.CompanyCode" ValueColumn="SalesOrganization" DisplayColumn="SalesOrganization" PromptText="-请选择-">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox107" 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" text="xiaoshoubangongshi" ValueToDisplayText Value XDataBind="varxsbgs"></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>
                    </td>
                    <td class="tmbottomlabel1">
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        <aspxform:XTextBox id="XTextBox104" runat="server" XDataBind="DF_PREREVIEW_INFO.Currency" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox108" 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" ValidationGroup="submit" ErrorMessage="请输入进口关税" ControlToValidate="XTextBox33"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator5" runat="server" ValidationGroup="submit" ErrorMessage="请输入国内运保费" ControlToValidate="XTextBox23"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator6" runat="server" ValidationGroup="submit" ErrorMessage="请输入报关杂费" ControlToValidate="XTextBox30"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator7" runat="server" ValidationGroup="submit" ErrorMessage="请输入国际运保费" ControlToValidate="XTextBox40"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator8" runat="server" ValidationGroup="submit" ErrorMessage="请选择运输时限" ControlToValidate="XDropDownList3"></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" ValueToDisplayText Value XDataBind="varpaytotal" Width="79px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_INFO.Tariff+DF_PREREVIEW_INFO.FreightInsuranceCost+DF_PREREVIEW_INFO.Incidentals+DF_PREREVIEW_INFO.IntFreightInsuranceCost" BorderStyle="Dotted"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox71" runat="server" ValueToDisplayText Value XDataBind="varpaytotal1" 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="74" height="32" class="ts">
                        <asp:Label id="XLabel71" runat="server" valuetodisplaytext value text="进口关税(票)"></asp:Label></td>
                    <td width="27" 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="84" class="ts">
                        <asp:Label id="XLabel47" runat="server" valuetodisplaytext value text="运输时限"></asp:Label></td>
                    <td width="738" 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>
                        <asp:Label id="XLabel106" runat="server" valuetodisplaytext value text="请更改物流成本" hiddenexpress="DF_PREREVIEW_INFO.IsUrgency!='61'" forecolor="Red"></asp:Label></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="33" 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="XLabel39" runat="server" valuetodisplaytext value text="其它费用"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox94" runat="server" XDataBind="DF_PREREVIEW_INFO.OtherFee" Width="40%" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" Format="type:currency;.2"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td height="33" 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="XLabel41" runat="server" valuetodisplaytext value text="费用说明"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox96" 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 colspan="4">
                        <asp:Label id="XLabel110" runat="server" valuetodisplaytext value text="毛利 = 不含税最终总价(人民币) - 不含税实际成本(人民币) - 费用明细 + 其它金额 - 其它费用" hiddenexpress="DF_PREREVIEW_INFO.IsFreePost!='Y'" forecolor="Blue" font-size="11pt"></asp:Label><asp:Label id="XLabel111" runat="server" valuetodisplaytext value text="毛利 = 不含税最终总价(人民币) - 不含税实际成本(人民币) - 费用明细(不含国内运保费) + 其它金额 - 其它费用" hiddenexpress="DF_PREREVIEW_INFO.IsFreePost!='N'" forecolor="Blue" font-size="11pt"></asp:Label>
                        <br />
                        <asp:Label id="XLabel112" runat="server" valuetodisplaytext value text="毛利率 = 毛利÷不含税最终总价(人民币)" forecolor="Blue" font-size="11pt"></asp:Label></td>
                </tr>
            </tbody>
        </table>
        <div id="dnew" style="TEXT-ALIGN: center" runat="server">
            <br />
            <div class="scrollDiv" id="scrollDiv" style="HEIGHT: 530px">
                <table width="5100" class="scrolltable" id="tablenew" border="0" cellspacing="0" cellpadding="3" runat="server" datamap="ActualCostRMB->DF_PREREVIEW_DETAIL.ActualCostRMB;AssetBPMID->DF_PREREVIEW_DETAIL.AssetBPMID;QuoteRecommend->DF_PREREVIEW_DETAIL.ConfigDes;Supplier->DF_PREREVIEW_DETAIL.Supplier;PurCurrency->DF_PREREVIEW_DETAIL.PurCurrency;ActualCost->DF_PREREVIEW_DETAIL.ActualCost;StorageID->DF_PREREVIEW_DETAIL.StorageID;AttachExplain->DF_PREREVIEW_DETAIL.AttachExplain;SupplierType->DF_PREREVIEW_DETAIL.SupplierType;PrdtName->DF_PREREVIEW_DETAIL.InstruName;RentType->DF_PREREVIEW_DETAIL.RentType;JYBJ->DF_PREREVIEW_DETAIL.JYBJ;FinalTotalRMB->DF_PREREVIEW_DETAIL.FinalTotalRMB;SpecifyCostRMB->DF_PREREVIEW_DETAIL.SpecifyCostRMB;IsNonGoods->DF_PREREVIEW_DETAIL.IsNonGoods;QuoteType->DF_PREREVIEW_DETAIL.InquiryType;Period->DF_PREREVIEW_DETAIL.Period;NoTaxFinalTotalRMB->DF_PREREVIEW_DETAIL.NoTaxFinalTotalRMB;QuoteManufa->DF_PREREVIEW_DETAIL.Manufacturer;ResetPrice->DF_PREREVIEW_DETAIL.ResetPrice;PrdtID->DF_PREREVIEW_DETAIL.PrdtID;OwnerCompany->DF_PREREVIEW_DETAIL.OwnerCompany;FinalTotal->DF_PREREVIEW_DETAIL.FinalTotal;FinalQuoteRMB->DF_PREREVIEW_DETAIL.FinalQuoteRMB;IsAttach->DF_PREREVIEW_DETAIL.IsAttach;QuoteRemark->DF_PREREVIEW_DETAIL.QuoteRemark;FinalQuote->DF_PREREVIEW_DETAIL.FinalQuote;SerialNo->DF_PREREVIEW_DETAIL.SerialNo;AssetSapID->DF_PREREVIEW_DETAIL.InquirySapID;SapID->DF_PREREVIEW_DETAIL.MaterialNumber;EstimateCost->DF_PREREVIEW_DETAIL.EstimateCost" menudock="Left" xdatasource="TableName:V_DF_ApprovedQuote;Filter:TaskID->DF_PREREVIEW_INFO.QutationTID;OrderBy:LineNumber;BufferType:RuntimeUpdate" dynamicarea="2,1">
                    <tbody>
                        <tr class="scrollColThead">
                            <th height="28" class="scrollRowThead scrollCR" colspan="38">
                                <asp:Label id="XLabel42" runat="server" valuetodisplaytext value text="仪器基本信息"></asp:Label>
                                <aspxform:XTextBox id="XTextBox43" runat="server" XDataBind="varBusiness" Width="50px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" PrintOut="False">预审</aspxform:XTextBox>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator16" runat="server" ErrorMessage="请选择&#13;&#10;                                    号" ControlToValidate="XTextBox17" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='26'"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator13" runat="server" ValidationGroup="caigou" ErrorMessage="请选择进项税率" ControlToValidate="XDropDownList6" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'"></aspxform:XRequiredFieldValidator>
                                <%--<aspxform:XCompareValidator id="XCompareValidator1" runat="server" ControlToValidate="XDropDownList12" ErrorMessage="仪器还未检,不能提交" ValidationGroup="shouhou" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='26'" ValueToCompareExpress="varyijian"></aspxform:XCompareValidator>--%>
                                <aspxform:XTextBox id="XTextBox29" runat="server" ValueToDisplayText Value XDataBind="varyijian" Width="54px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True">已检</aspxform:XTextBox>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator17" runat="server" ValidationGroup="submit1" ErrorMessage="请选择是否带附件" ControlToValidate="XRadioButtonList8"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator18" runat="server" ValidationGroup="submit1" ErrorMessage="请填写附件说明" ControlToValidate="XTextBox106" DisableExpress="DF_PREREVIEW_DETAIL.IsAttach==''||DF_PREREVIEW_DETAIL.IsAttach=='否'"></aspxform:XRequiredFieldValidator>
                                <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator19" runat="server" ValidationGroup="submit1" ErrorMessage="请选择预审型号" ControlToValidate="XTextBox45"></aspxform:XRequiredFieldValidator>
                            </th>
                        </tr>
                        <tr class="scrollColThead">
                            <td width="40" height="31" class="tds">
                                <asp:Label id="XLabel43" 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="148" class="tds">
                                <asp:Label id="XLabel79" runat="server" valuetodisplaytext value text="报价仪器型号"></asp:Label></td>
                            <td width="99" class="tds">
                                <asp:Label id="XLabel48" runat="server" valuetodisplaytext value text="租赁类别"></asp:Label></td>
                            <td width="155" class="tds">
                                <asp:Label id="XLabel49" runat="server" text="序列号"></asp:Label></td>
                            <td width="155" class="tds">
                                <asp:Label id="XLabel36" runat="server" text="SAP物料号"></asp:Label></td>
                            <td width="155" class="tds">
                                <asp:Label id="XLabel35" runat="server" valuetodisplaytext value text="SAP资产号"></asp:Label></td>
                            <td width="218" class="tds">
                                <asp:Label id="XLabel50" runat="server" text="预审仪器名称"></asp:Label></td>
                            <td width="128" class="tds">
                                <asp:Label id="XLabel80" runat="server" valuetodisplaytext value text="预审仪器型号"></asp:Label></td>
                            <td width="178" class="tds">
                                <asp:Label id="XLabel83" runat="server" valuetodisplaytext value text="单台单月含税最终报价(合同币种)"></asp:Label></td>
                            <td width="79" class="tds">
                                <asp:Label id="XLabelOwner" runat="server" text="权属公司"></asp:Label></td>
                            <td width="197" class="tds">
                                <asp:Label id="XLabel51" runat="server" text="预审配置描述"></asp:Label></td>
                            <td width="148" class="tds">
                                <asp:Label id="XLabel52" runat="server" text="预审厂商"></asp:Label></td>
                            <td width="100" class="tds">
                                <asp:Label id="XLabel100" runat="server" text="库存地"></asp:Label></td>
                            <td width="90" class="tds">
                                <asp:Label id="XLabel190" runat="server" text="是否带附件"></asp:Label></td>
                            <td width="197" class="tds">
                                <asp:Label id="XLabel191" runat="server" text="附件说明"></asp:Label></td>
                            <td width="109" class="tds">
                                <asp:Label id="Label1" runat="server" text="重置价格"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(16);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'&amp;&amp;Global.StepName=='转租赁采购再次确认货源2'" />
                            </td>
                            <%--<td width="99" class="tds">
                                <asp:Label id="XLabel56" runat="server" text="仪器状态"></asp:Label></td>--%> 
                            <td width="200" class="tds">
                                <asp:Label id="XLabel53" runat="server" valuetodisplaytext value text="供应商名称"></asp:Label>
                                <br />
                                <input style="HEIGHT: 25px" onclick="copyLine(17);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'&amp;&amp;Global.StepName=='转租赁采购再次确认货源2'" />
                            </td>
                            <td width="139" class="tds">
                                <asp:Label id="XLabel54" runat="server" valuetodisplaytext value text="供应商类型"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(18);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'&amp;&amp;Global.StepName=='转租赁采购再次确认货源2'" />
                                <aspxform:XLabel id="XLabel55" style="DISPLAY: none" runat="server" text="gongyingshangleixing" ValueToDisplayText Value XDataBind="vargyslx"></aspxform:XLabel>
                            </td>
                            <td width="100" class="tds">
                                <asp:Label id="XLabel57" runat="server" valuetodisplaytext value text="进项税率"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(19);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'&amp;&amp;Global.StepName=='转租赁采购再次确认货源2'" />
                                <aspxform:XLabel id="XLabel66" style="DISPLAY: none" runat="server" text="jinxiangshuilv" ValueToDisplayText Value XDataBind="varjxsl"></aspxform:XLabel>
                            </td>
                            <td width="100" class="tds">
                                <asp:Label id="XLabel58" runat="server" valuetodisplaytext value text="采购币种"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(20);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'&amp;&amp;Global.StepName=='转租赁采购再次确认货源2'" />
                                <aspxform:XLabel id="XLabel67" style="DISPLAY: none" runat="server" text="caigoubizhong" ValueToDisplayText Value XDataBind="varcgbz"></aspxform:XLabel>
                            </td>
                            <td width="178" class="tds">
                                <asp:Label id="XLabel351" runat="server" valuetodisplaytext value text="资产不含税最低限价(人民币)"></asp:Label></td>
                            <td width="198" class="tds">
                                <asp:Label id="XLabel59" runat="server" valuetodisplaytext value text="单台单月不含税转租赁实际成本(采购币种)"></asp:Label>
                                <input style="HEIGHT: 25px" onclick="copyLine(22);" type="button" value="复制首行" hiddenexpress="Global.StepName!='转租赁采购再次确认货源'&amp;&amp;Global.StepName=='转租赁采购再次确认货源2'" />
                            </td>
                            <td width="178" class="tds">
                                <asp:Label id="XLabel60" runat="server" valuetodisplaytext value text="单台单月不含税实际成本(人民币)"></asp:Label></td>
                            <td width="188" class="tds">
                                <asp:Label id="XLabel61" runat="server" valuetodisplaytext value text="资产不含税最低限价总价(人民币)"></asp:Label></td>
                            <td width="178" class="tds">
                                <asp:Label id="Label9" runat="server" valuetodisplaytext value text="单台单月含税转租赁实际成本(采购币种)"></asp:Label></td>
                            <td width="187" class="tds">
                                <asp:Label id="XLabel82" runat="server" valuetodisplaytext value text="不含税转租赁实际成本总价(采购币种)"></asp:Label></td>
                            <td width="188" class="tds">
                                <asp:Label id="XLabel64" runat="server" valuetodisplaytext value text="不含税实际成本总价(人民币)"></asp:Label></td>
                            <td width="109" class="tds">
                                <asp:Label id="XLabel68" runat="server" valuetodisplaytext value text="建议报价(人民币)"></asp:Label></td>
                            <td width="99" class="tds">
                                <asp:Label id="XLabel69" runat="server" text="预估费用(人民币)"></asp:Label></td>
                            <td width="69" class="tds">
                                <asp:Label id="XLabel70" runat="server" text=" 供货周期(天数)"></asp:Label></td>
                            <td width="101" class="tds">
                                <asp:Label id="XLabel77" runat="server" text="报价备注"></asp:Label></td>
                            <td width="89" class="tds">
                                <asp:Label id="XLabel78" runat="server" text="无货"></asp:Label></td>
                            <td width="143" class="tds">
                                <asp:Label id="XLabel84" runat="server" text="含税最终总价(合同币种)"></asp:Label></td>
                            <td width="143" class="tds">
                                <asp:Label id="XLabel960" runat="server" text="不含税最终总价(合同币种)"></asp:Label></td>
                            <td width="188" class="tds">
                                <asp:Label id="XLabel91" runat="server" valuetodisplaytext value text="单台单月含税最终报价(人民币)"></asp:Label></td>
                            <td width="113" class="tds">
                                <asp:Label id="XLabel101" runat="server" text="含税最终总价(人民币)"></asp:Label></td>
                            <td width="109" class="tds">
                                <asp:Label id="XLabel103" runat="server" text="不含税最终总价(人民币)"></asp:Label></td>
                        </tr>
                        <tr>
                            <td class="xjtds1" style="TEXT-ALIGN: center">
                                <aspxform:XGridLineNo id="XGridLineNo1" runat="server" BackColor="Transparent" XDataBind="DF_PREREVIEW_DETAIL.LineNumber" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" TextAlign="Center" BorderStyle="None">1</aspxform:XGridLineNo>
                                <aspxform:XTextBox id="XTextBox52" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_DETAIL.ItemID" Width="23px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" NoCopy="1"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox120" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_DETAIL.PrdtID" 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="XTextBox13" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.QuoteType" Width="98%" CssClass="text" Express="DF_PREREVIEW_DETAIL.InquiryType" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList4" runat="server" XDataBind="DF_PREREVIEW_DETAIL.RentType" Express="if(DF_PREREVIEW_DETAIL.StorageID=='14',796,DF_PREREVIEW_DETAIL.RentType)" XDataSource="TableName:V_RentType;BufferType:RuntimeUpdate" ValueColumn="ItemID" DisplayColumn="Name">
                                    <asp:ListItem>未绑定</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>
                            <td class="xjtds1">
                                <div style="FLOAT: left">
                                    <aspxform:XTextBox id="XTextBox17" runat="server" ValueToDisplayText Value BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.SerialNo" DisableBehavior="ReadOnly" Width="110" CssClass="text" Max="0" Min="0" BorderColor="Gainsboro" HiddenInput="False" Express="if(DF_PREREVIEW_DETAIL.RentType=='26'&amp;&amp;DF_PREREVIEW_DETAIL.StorageID=='','',DF_PREREVIEW_DETAIL.SerialNo)" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'||DF_PREREVIEW_DETAIL.RentType==''||DF_PREREVIEW_DETAIL.RentType=='796'"></aspxform:XTextBox>
                                </div>
                                <aspxform:XTextBox id="XTextBox86" runat="server" ValueToDisplayText="TableName:V_DF_JGTX;FilterColumn:AssetID;DisplayColumn:AssetID" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="true" Express="DF_PREREVIEW_DETAIL.AssetBPMID" DataMap="Cost->DF_PREREVIEW_DETAIL.SpecifyCostRMB"></aspxform:XTextBox>
                                <aspxform:XCustomBrowserButton id="XCustomBrowserButton2" runat="server" XClass="Oimec.Dialogs.SRInstrumentInfoButton" Width="23" DataMap="ResetPrice->DF_PREREVIEW_DETAIL.ResetPrice;SapID->DF_PREREVIEW_DETAIL.MaterialNumber;ManufaID->DF_PREREVIEW_DETAIL.Manufacturer;NAFAZ->varzj;ConfigDes->DF_PREREVIEW_DETAIL.ConfigDes;OwnerCompany->DF_PREREVIEW_DETAIL.OwnerCompany;PrdtModelNo->DF_PREREVIEW_DETAIL.InquiryType;AttachStatus->varAttachStatus;SapAssetID->DF_PREREVIEW_DETAIL.InquirySapID;StorageID->DF_PREREVIEW_DETAIL.StorageID;PrdtName->DF_PREREVIEW_DETAIL.InstruName;AssetID->DF_PREREVIEW_DETAIL.AssetBPMID;SerialNo->DF_PREREVIEW_DETAIL.SerialNo" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='26'||Global.StepName=='转租赁采购再次确认货源'||Global.StepName=='转租赁采购再次确认货源2'||Global.StepName=='转租赁采购再次确认货源1'" Filter="OwnerAccount->DF_PREREVIEW_INFO.OwnerAccount,Business->varBusiness" BrowserWindowType="AjaxPanel"></aspxform:XCustomBrowserButton>
                                <aspxform:XTextBox id="XTextBox83" runat="server" ValueToDisplayText XDataBind="DF_PREREVIEW_DETAIL.AssetBPMID" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" NoCopy="1"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox103" runat="server" ValueToDisplayText BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.MaterialNumber" Width="130" CssClass="text" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox80" runat="server" ValueToDisplayText BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.InquirySapID" Width="130" CssClass="text" BorderColor="GradientActiveCaption" BorderWidth="1" Express="if(DF_PREREVIEW_DETAIL.RentType=='26'&amp;&amp;DF_PREREVIEW_DETAIL.StorageID=='','',DF_PREREVIEW_DETAIL.InquirySapID)" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox10" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.InstruName" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <div style="FLOAT: left">
                                    <aspxform:XTextBox id="XTextBox45" runat="server" ValueToDisplayText Value BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.InquiryType" Width="80" CssClass="text" ReadOnly="True"></aspxform:XTextBox>
                                </div>
                                <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" XClass="Oimec.Dialogs.TRInstrumentInfoButton" Width="23px" DataMap="PrdtID->DF_PREREVIEW_DETAIL.PrdtID;SapID->DF_PREREVIEW_DETAIL.MaterialNumber;PrdtModelNo->DF_PREREVIEW_DETAIL.InquiryType;PrdtName->DF_PREREVIEW_DETAIL.InstruName;ManufaID->DF_PREREVIEW_DETAIL.Manufacturer" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" BrowserWindowType="AjaxPanel"></aspxform:XCustomBrowserButton>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox27" 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="XTextBox77" runat="server" ValueToDisplayText BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.OwnerCompany" CssClass="text" width="100%" BorderColor="#DCDCDC" BorderWidth="1" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox82" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_DETAIL.ConfigDes" DisableBehavior="ReadOnly" Max="0" Min="0" width="190px" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="False" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" DisableCssClass="text1"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox12" runat="server" ValueToDisplayText="TableName:V_DF_DataSourceList_changshang;FilterColumn:ItemID;DisplayColumn:Name" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.Manufacturer" DisableBehavior="ReadOnly" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList9" 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:XTextBox id="XTextBox102" runat="server" ValueToDisplayText Value XDataBind="varAttachStatus" Max="0" Min="0" width="65px" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                                <aspxform:XRadioButtonList id="XRadioButtonList8" runat="server" XDataBind="DF_PREREVIEW_DETAIL.IsAttach" Express="if(varAttachStatus=='255','否','')" RepeatDirection="Horizontal">
                                    <asp:ListItem Value="是">是</asp:ListItem>
                                    <asp:ListItem Value="否">否</asp:ListItem>
                                </aspxform:XRadioButtonList>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox106" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_DETAIL.AttachExplain" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox98" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_DETAIL.ResetPrice" Width="100%" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" TextAlign="Right" DisableExpress="(Global.StepName!='转租赁采购再次确认货源'&amp;&amp; Global.StepName!='转租赁采购再次确认货源1'&amp;&amp; Global.StepName!='转租赁采购再次确认货源2')||DF_PREREVIEW_DETAIL.RentType=='25'" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <%--<td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_PREREVIEW_DETAIL.CheckStatus" Width="98%" XDataSource>
                                    <asp:ListItem>待检</asp:ListItem>
                                    <asp:ListItem>已检</asp:ListItem>
                                </aspxform:XDropDownList>
                            </td>--%> 
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox31" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.Supplier" Width="165px" 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="20px" CssClass="anxiu" DataMap="Partner->DF_PREREVIEW_DETAIL.Supplier" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" DisplayColumns="SupplierName:供应商," XDataSource="TableName:V_DF_Partner_ZK;Filter:SupplierStatus->'1301'"></aspxform:XDataBrowserButton>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList5" 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="XDropDownList6" runat="server" XDataBind="DF_PREREVIEW_DETAIL.InputTax" Width="98%" Express="if(DF_PREREVIEW_DETAIL.RentType=='25','',DF_PREREVIEW_DETAIL.InputTax)" DataMap="Value->varSL" 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="XTextBox70" runat="server" XDataBind="varSL" Width="10px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True">1</aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XDropDownList id="XDropDownList8" 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="XTextBox16" runat="server" XDataBind="varpur" Width="20px" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox81" runat="server" ValueToDisplayText="TableName:DF_DataSourceList;FilterColumn:ItemID;DisplayColumn:ItemID" Value Width="22px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="DF_PREREVIEW_DETAIL.PurCurrency" DataMap="CalValue->varpur"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox32" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.SpecifyCostRMB" DisableBehavior="ReadOnly" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True" TextAlign="Right" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" Format="type:currency;.2" DisableCssClass="text1"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox38" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_DETAIL.ActualCost" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox72" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.ActualCostRMB" DisableBehavior="ReadOnly" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" Express="if((DF_PREREVIEW_DETAIL.ActualCost==''||varpur==''),varzj,DF_PREREVIEW_DETAIL.ActualCost*varpur)" ReadOnly="True" TextAlign="Right" DisableExpress="DF_PREREVIEW_DETAIL.RentType=='25'" Format="type:currency;.2" DisableCssClass="text1"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox19" runat="server" ValueToDisplayText Value XDataBind="varzj" Width="34px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox73" runat="server" ValueToDisplayText Value BackColor="#E6F1F8" XDataBind="SpCost" Width="98%" CssClass="text1" BorderColor="Gainsboro" BorderWidth="1px" Express="DF_PREREVIEW_DETAIL.SpecifyCostRMB*DF_PREREVIEW_INFO.Lease" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox67" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.UnitActualCost" 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="XTextBox76" runat="server" BackColor="#E6F1F8" XDataBind="AcCost1" Width="98%" CssClass="text" 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="XTextBox75" runat="server" BackColor="#E6F1F8" XDataBind="AcCost" Width="98%" CssClass="text" 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="XTextBox74" 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">
                                <div align="center">
                                    <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_PREREVIEW_DETAIL.EstimateCost" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" ReadOnly="True" TextAlign="Right" Format="type:currency;.2"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="xjtds1">
                                <div align="left">
                                    <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_PREREVIEW_DETAIL.Period" Width="98%" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px" TextAlign="Center"></aspxform:XTextBox>
                                </div>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_PREREVIEW_DETAIL.QuoteRemark" Width="99px" CssClass="text" BorderColor="Gainsboro" BorderWidth="1px"></aspxform:XTextBox>
                            </td>
                            <td class="xjtds1">
                                <div align="center">
                                    <aspxform:XCheckBox id="XCheckBox2" runat="server" XDataBind="DF_PREREVIEW_DETAIL.IsNonGoods"></aspxform:XCheckBox>
                                </div>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox28" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.FinalTotal" 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="XTextBox627" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.NoTaxFinalTotal" 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="XTextBox34" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.FinalQuoteRMB" 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="XTextBox61" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.FinalTotalRMB" 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="XTextBox46" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_DETAIL.NoTaxFinalTotalRMB" 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>
                                <aspxform:XLabel id="XLabel138" style="DISPLAY: none" runat="server" text="新租" ValueToDisplayText Value></aspxform:XLabel>
                            </td>
                            <td>
                            </td>
                            <td>
                            </td>
                            <td>
                                <aspxform:XTextBox id="XTextBox95" runat="server" ValueToDisplayText Value XDataBind="varEstimate" Width="69px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="sum(DF_PREREVIEW_DETAIL.EstimateCost)" BorderStyle="Dotted"></aspxform:XTextBox>
                                <aspxform:XTextBox id="XTextBox48" runat="server" ValueToDisplayText Value XDataBind="varSpecifyCostRMB" Width="39px" Max="0" Min="0" BorderColor="Gainsboro" BorderWidth="1px" HiddenInput="True" Express="sum(AcCost)" BorderStyle="Dotted"></aspxform:XTextBox>
                            </td>
                            <td class="tdstotal">
                                <asp:Label id="XLabel105" runat="server" text="总计"></asp:Label></td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox88" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.SumFinalQuote" 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>
                            </td>
                            <td class="xjtds1">
                                <aspxform:XTextBox id="XTextBox89" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.SumFinalTotal" 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="xjtds1">
                                <aspxform:XTextBox id="XTextBox90" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.SumNoTaxFinalTotal" 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="xjtds1">
                                <aspxform:XTextBox id="XTextBox54" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.SumFinalQuoteRMB" 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="xjtds1">
                                <aspxform:XTextBox id="XTextBox56" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.SumFinalTotalRMB" 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="xjtds1">
                                <aspxform:XTextBox id="XTextBox59" runat="server" BackColor="#E6F1F8" XDataBind="DF_PREREVIEW_INFO.SumNoTaxFinalTotalRMB" 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="XRequiredFieldValidator22" runat="server" ValidationGroup="caigou" ErrorMessage="请输入重置价格" ControlToValidate="XTextBox98"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator9" runat="server" ValidationGroup="submit" ErrorMessage="请输入押金" ControlToValidate="XTextBox54" DisableExpress="DF_PREREVIEW_INFO.SecurityType!='押金'"></aspxform:XRequiredFieldValidator>
        <aspxform:XRequiredFieldValidator id="XRequiredFieldValidator10" runat="server" ValidationGroup="submit" ErrorMessage="请添加附件担保函" ControlToValidate="XAttachments1" DisableExpress="DF_PREREVIEW_INFO.SecurityType!='担保函'"></aspxform:XRequiredFieldValidator>
        <br />
        <table width="1200" align="center" class="table" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel113" runat="server" text="客户信用"></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel114" runat="server" text="方式"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XRadioButtonList id="XRadioButtonList5" 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="XLabel115" runat="server" text="押金 "></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox87" 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="XLabel116" 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="XLabel117" runat="server" text="信用评分"></asp:Label></td>
                    <td class="tsbottomtext">
                        <aspxform:XTextBox id="XTextBox91" 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"></asp:Label></td>
                </tr>
                <tr>
                    <td class="td1">
                        <aspxform:XTextBox id="XTextBox92" runat="server" ValueToDisplayText Value XDataBind="DF_PREREVIEW_INFO.Remark" 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" ValidationGroup="diudan" ErrorMessage="请选择原因丢单" ControlToValidate="XDropDownList10"></aspxform:XRequiredFieldValidator>
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td width="12" class="td">
                        <asp:Label id="XLabel119" runat="server" valuetodisplaytext value text="丢单原因"></asp:Label>
                        <aspxform:XLabel id="XLabel120" style="DISPLAY: none" runat="server" text="12" ValueToDisplayText Value XDataBind="dddrop1"></aspxform:XLabel>
                    </td>
                    <td class="td1" colspan="7">
                        <aspxform:XDropDownList id="XDropDownList10" 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="XDropDownList17" 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>
        <br />
        <aspxform:XLabel id="XLabel121" style="DISPLAY: none" runat="server" text="diudanyuanying" XDataBind="varddyy"></aspxform:XLabel>
        <table width="1200" align="center" class="table">
            <tbody>
                <tr>
                    <td class="title1">
                        <asp:Label id="XLabel26" runat="server" valuetodisplaytext value text="备注(返回信息)"></asp:Label></td>
                </tr>
                <tr>
                    <td class="tds1" style="BORDER-RIGHT: #93a1ae 1px solid; TEXT-ALIGN: center">
                        <aspxform:XTextBox id="XTextBox114" runat="server" XDataBind="DF_PREREVIEW_INFO.ReturnMsg" Width="100%" BorderColor="#DCDCDC" BorderWidth="1" Height="35px" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <div style="TEXT-ALIGN: center">
            <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
            <aspxform:XTextBox id="XTextBox93" runat="server" XDataBind="DF_PREREVIEW_INFO.ISContactAttach" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Express='if(DF_PREREVIEW_INFO.ContactAttach!="","有","无")' Height="20px"></aspxform:XTextBox>
            <aspxform:XTextBox id="XTextBox97" runat="server" XDataBind="DF_PREREVIEW_INFO.TaskID" BorderColor="#DCDCDC" BorderWidth="1" HiddenInput="True" Height="20px"></aspxform:XTextBox>
        </div>
    </form>
</body>
</html>
