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

    // Insert page code here
    //
    protected void Page_Load(object sender, EventArgs e)
    {
            if(!IsPostBack){ //首次加载
                string formart = Request.QueryString["formstate"];
                if (formart == "TransCreate")
                {
                    //this.XDropDownList3.SelectedIndex = this.XDropDownList3.Items.IndexOf(this.XDropDownList3.Items.FindByValue("30%"));
                    //this.XDropDownList3.SelectedValue = "30%";
                    //this.XDropDownList3.SelectedIndex = 2;
                    string tid = Request.QueryString["ItemID"];
                    if (tid != null)
                    {
                        this.XTextBox9.Text = tid;
    
                    }
                }
            }
    
    }

</script>
<html xmlns:xform="xmlns:xform">
<head runat="server">
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
    <link href="/Oimec/Styles/css/StyleSheet.css" rel="stylesheet" type="text/css" />
    <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;
        }
           #div_mljs .yz-xform-field-cnt {
            display:block;
        }
		   #div_mljs .yz-xform-field-cnt {
            display:block;
        }
             #tablenew tr:nth-child(odd){
background: #c8def5;
}
          #tablenew tr:nth-child(even){
background: #dff2ff;
}
        .tds1 {
            background:none;
        }
    </style>
    <script type="text/javascript">
        //获取X控件值
        function GetXValue(id) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
        }
        //给X控件赋值
        function SetXValue(id) {
            return agent.Eles[document.getElementById(id).getAttribute("xform_xele_index")].getValue();
        }

        //控件是否选中 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;
                }
            }
        }

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

        Ext.onReady(function () {

            document.getElementById("div_fymx").style.display = "none";//隐藏
            document.getElementById("div_mljs").style.display = "none";//隐藏
        });
        agent.on('beforeSubmit', function () {

            var state = request("formstate");
            var tid = agent.Eles[document.getElementById("XTextBox9").getAttribute("xform_xele_index")].getValue();

            if (state == "New" && tid != "") {
                //更新销售线索跟进状态
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/CrmapiHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'UpdateFollowState',
                        ItemID: tid

                    },
                    success: function (action) {
                    },
                    failure: function (action) {
                        var mbox = Ext.Msg.show({
                            title: '错误提示',
                            msg: YZSoft.HttpUtility.htmlEncode(action.result.message, true),
                            buttons: Ext.Msg.OK,
                            icon: Ext.MessageBox.WARNING
                        });

                        me.store.reload({ mbox: mbox });
                    }
                });
            }

        });


        function request(paras) {
            var url = location.href;
            var paraString = url.substring(url.indexOf("?") + 1, url.length).split("&");
            var paraObj = {};
            for (i = 0; j = paraString[i]; i++) {
                paraObj[j.substring(0, j.indexOf("=")).toLowerCase()] = j.substring(j.indexOf("=") + 1, j.length);
            }
            var returnValue = paraObj[paras.toLowerCase()];
            if (typeof (returnValue) == "undefined")
            { return ""; }
            else
            { return returnValue; }
        }

    </script>
      
     
    <script type="text/javascript">
        //如果选中易捷，则清除客户属性字符串
        function ClearlyStateCRM(OFYIJIE, YUANZHI, ClearlyStateCRM) {
            if (OFYIJIE == "1") {
                return "";
            }
            else {
                if (YUANZHI == "") {
                    return ClearlyStateCRM;
                }
                else {
                    return YUANZHI;
                }

            }
        }
        //如果选中易捷，则清除客户属性信息
        function CRMOppString(YingYongHuanJie, ShiYongZhe, ReDian, Opp, OFYIJIE) {
            if (OFYIJIE == "1") {
                return "";
            }
            else {
                var OppString = YingYongHuanJie + ShiYongZhe + ReDian + Opp;
                return OppString;
            }

        }
        //根据开票公司，清空客户交货方式
        function ClearlyStateDelivery(Company, YUANZHI, ClearlyStateDelivery) {
            if (Company == "1000东方中科北京" || Company == "1010东方中科上海" || Company == "1020东方中科深圳" || Company == "2100苏州博德") {
                return "";
            }
            else {
                if (ClearlyStateDelivery == "") {
                    return ClearlyStateDelivery;
                }
                else {
                    return YUANZHI;
                }
            }
        }
        //开票公司选择2000、A300，税率为0
        function ClearlyStateRate(Company, YUANZHI) {
            if (Company != "1000东方中科北京" && Company != "1010东方中科上海" && Company != "1020东方中科深圳" && Company != "2100苏州博德") {

                return "0%";
            }
            else {
                return YUANZHI;
            }
        }
        //开票公司选择1000、1001、1002、2100，税种为空
        function ClearlyStateRate1(Company, YUANZHI) {
            if (Company != "1000东方中科北京" && Company != "1010东方中科上海" && Company != "1020东方中科深圳" && Company != "2100苏州博德") {

                return "";
            }
            else {
                return YUANZHI;
            }
        }
    </script>

     <%--获取供应商数量--%>
    <script type="text/javascript">

        //删除数组中某数据
        Array.prototype.del = function (n) {　//n表示第几项，从0开始算起。
            //prototype为对象原型，注意这里为对象增加自定义方法的方法。
            if (n < 0)　//如果n<0，则不进行任何操作。
                return this;
            else
                return this.slice(0, n).concat(this.slice(n + 1, this.length));
            /*
          　　　concat方法：返回一个新数组，这个新数组是由两个或更多数组组合而成的。
          　　　　　　　　　这里就是返回this.slice(0,n)/this.slice(n+1,this.length)
          　　 　　　　　　组成的新数组，这中间，刚好少了第n项。
          　　　slice方法： 返回一个数组的一段，两个参数，分别指定开始和结束的位置。
          　　*/
        }
        //获取供应商数量，如果供应商相同就将它删除，得到不同供应商数量。
        function GetInfoFromTable(tableid) {
            var tableInfo1 = new Array();
            var tableRow = "";
            var tableObj = document.getElementById(tableid);
            for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                var str = tableInfo1[i - 2] = agent.Eles[tableObj.rows[i].cells[35].children[0].getAttribute("xform_xele_index")].getValue();
            }
            for (var i = 0; i < tableInfo1.length; i++) {
                if (tableInfo1.length !== 1) {
                    var j = i + 1;
                    while (j < tableInfo1.length) {

                        if (tableInfo1[i] === tableInfo1[j]) {
                            tableInfo1 = tableInfo1.del(i);
                            i = 0;
                            j = i + 1;
                            continue;
                        }
                        else {
                            j++;
                        }
                    }
                }
                else {
                    break;
                }

            }
            //document.getElementById("XTextBox25").value = tableInfo1.length;
            return tableInfo1.length;
        }
        //获取产品BPMID
        function GetMaterialTable(tableid) {
            var tableInfo1 = new Array();
            var tableRow = "";
            var tableObj = document.getElementById(tableid);
            for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                tableInfo1[i - 2] = agent.Eles[tableObj.rows[i].cells[5].children[1].getAttribute("xform_xele_index")].getValue();
            }
            //document.getElementById("XTextBox25").value = tableInfo1.length;
            return tableInfo1;
        }
        //获取物料类型
        function GetMaterialTable1(tableid) {
            var tableInfo1 = new Array();
            var tableRow = "";
            var tableObj = document.getElementById(tableid);
            for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                tableInfo1[i - 2] = agent.Eles[tableObj.rows[i].cells[2].children[4].getAttribute("xform_xele_index")].getValue();
            }
            //document.getElementById("XTextBox25").value = tableInfo1.length;
            return tableInfo1;
        }
        //产品型号添加自动点击事件(暂时不用)
        function GetMaterialTable2(tableid) {
            var tableInfo1 = new Array();
            var tableRow = "";
            var tableObj = document.getElementById(tableid);
            for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                if (!tableObj.rows[i].cells[3].children[0].children[0].disabled) {
                    //tableObj.rows[i].cells[3].children[0].children[0].focus();
                    //tableObj.rows[i].cells[3].children[0].children[0].blur();
                }

                //tableObj.rows[i].cells[3].children[1].children[0].focus();
                //tableObj.rows[i].cells[3].children[1].children[0].blur();
            }
            //document.getElementById("XTextBox25").value = tableInfo1.length;
            return tableInfo1;
        }

    </script>
    <%--将税率转换为小数格式--%>
    <script type="text/javascript">
        //将税率转换为小数格式
        function GetRate(rateB) {
            var rate = 0;
            if (rateB === "17%") {
                rate = 0.17;
            }
            else if (rateB === "6%") {
                rate = 0.06;
            }
            else if (rateB === "3%") {
                rate = 0.03;
            }
            else if (rateB === "5%") {
                rate = 0.05;
            }
            else if (rateB === "16%") {
                rate = 0.16;
            }
            else if (rateB === "13%") {
                rate = 0.13;
            }
            return rate;
        }
    </script>

     <%--折扣计算 参数：ZheKou-折扣，UnitPrice-单价，Number-数量--%>
    <script type="text/javascript">
        function CountPurchasePrices(ZheKou, UnitPrice, Number) {
            var Sum = 0;
            if (ZheKou == 0) {
                Sum = UnitPrice * Number;
            }
            else {
                ZheKou = (100 - ZheKou) / 100;
                Sum = UnitPrice * Number * ZheKou;
            }
            return Sum;
        }
    </script>
      <%--HOSIC相关费用计算公式--%>
    <script type="text/javascript">
        //sale-不含税销售总价（人民币）,BillingCompany-开票公司，CustomerDeliveryWay-客户交货方式，Purchase-不含税采购总价（人民币），TermsPayment-付款条件
        function CountBankCost(sale, BillingCompany, CustomerDeliveryWay, Purchase, TermsPayment) {
            var BankCost = 0;
            var HOSICCost = 0;
            var HOSICBank = 0;
            var HOSICFreightFee = 0;
            var HOSICInsuranceFee = 0;
            //美元汇率
            var USD = agent.Eles[document.getElementById("XTextBox95").getAttribute("xform_xele_index")].getValue();
            if (BillingCompany == "A300HOSIC 香港") {
                //HOSIC 手续费
                HOSICCost = HOSICTransactionFee(CustomerDeliveryWay, sale, USD);
                //ZHD6-银行费用
                HOSICBank = OFHOSICBankFee(BillingCompany, TermsPayment, sale);
                //ZHD3-运保费
                HOSICFreightFee = HOSICFreight(CustomerDeliveryWay, USD);
                //ZHD4-入关费
                HOSICInsuranceFee = HOSICTransportationInsurance(CustomerDeliveryWay, sale, USD, Purchase);

            }
            BankCost = HOSICCost + HOSICBank + HOSICFreightFee + HOSICInsuranceFee;
            return BankCost;
        }
        //ZHD6-银行费用
        //BillingCompany-开票公司，sale-不含税销售总价（人民币），TermsPayment-付款条件
        function HOSICBankFee(BillingCompany, TermsPayment, sale, GongYingShang) {
            var TT = 0;
            //供应商数量
            var SupplierNumber = GetInfoFromTable('tablenew');
            //美元汇率
            ////var USD = document.getElementById("XTextBox95").value;
            var USD = agent.Eles[document.getElementById("XTextBox95").getAttribute("xform_xele_index")].getValue();
            if (BillingCompany == "2000上海颐合" || BillingCompany == "A300HOSIC 香港") {
                var HOSICBank = 0;
                if (TermsPayment == "100%信用证(L/C) 100%见单议付" || TermsPayment == "100%信用证(L/C) 90%见单议付，10%验收议付60") {
                    var commission = 0;
                    if (sale / USD < 50000) {
                        commission = (sale * 0.00125);
                    }
                    else if (sale / USD >= 50000) {
                        commission = (sale * 0.000625);
                    }
                    TT = (20 * SupplierNumber) * USD;
                    HOSICBank = commission + (40 * USD) + TT;
                }
                else {
                    if (SupplierNumber == 1) {
                        HOSICBank = (20 * 2) * USD;
                    }
                    else {
                        HOSICBank = (20 + (20 * SupplierNumber)) * USD;
                    }
                }
            }
            return HOSICBank;
        }
        //厂商是Agilent 安捷伦时的银行费用
        function OFHOSICBankFee(BillingCompany, TermsPayment, sale, GongYingShang) {
            var USD = agent.Eles[document.getElementById("XTextBox95").getAttribute("xform_xele_index")].getValue();
            var BankFee = HOSICBankFee(BillingCompany, TermsPayment, sale, GongYingShang);
            var tableObj = document.getElementById('tablenew');
            //获取所有的厂商编号，如果有厂商是Agilent 安捷伦时，则在原银行费上加上100美金
            //for (var i = 2; i < tableObj.rows.length - 1; i++) {//遍历Table的所有Row //遍历Row中的每一列
            //    ////if (tableObj.rows[i].cells[6].children[0].children[0].value == '103') {
            //    if (agent.Eles[tableObj.rows[i].cells[6].children[0].getAttribute("xform_xele_index")].getValue() == '103') {
            //        BankFee = BankFee + (100 * USD);
            //        break;
            //    }
            //}
            return BankFee;
        }

        //HOSIC 手续费
        //CustomerDeliveryWay-客户交货方式，sale-不含税销售总价（人民币），USD-美金汇率
        function HOSICTransactionFee(CustomerDeliveryWay, sale, USD) {
            var HOSICCost = 0;
            if (CustomerDeliveryWay == "供应商直发**机场") {
                if (sale / USD < 50000) {
                    HOSICCost = (sale * 0.012);
                }
                else if (sale / USD >= 50000 && sale / USD < 100000) {
                    HOSICCost = (sale * 0.01);
                }
                else {
                    HOSICCost = (sale * 0.008);
                }
            }
            else {
                if (sale / USD < 20000) {
                    HOSICCost = (sale * 0.016);
                }
                else if (sale / USD >= 20000 && sale / USD < 50000) {
                    HOSICCost = (sale * 0.014);
                }
                else if (sale / USD >= 50000 && sale / USD < 100000) {
                    HOSICCost = (sale * 0.012);
                }
                else if (sale / USD >= 100000) {
                    HOSICCost = (sale * 0.01);
                }
                else {
                    HOSICCost = 0;
                }
            }
            return HOSICCost;
        }
        //ZHD3-运保费（HOSIC接/送货运费）
        //CustomerDeliveryWay - 客户交货方式，USD-美金汇率
        function HOSICFreight(CustomerDeliveryWay, USD) {
            SupplierNumber = GetInfoFromTable('tablenew');
            var Freight = 0;
            if (CustomerDeliveryWay == "HOSIC发至**机场") {
                Freight = (100 * USD * SupplierNumber) + (100 * USD);
            }
            else if (CustomerDeliveryWay == "HOSIC送货到客户香港指定地点") {
                Freight = (100 * USD * SupplierNumber) + (100 * USD);
            }
            else if (CustomerDeliveryWay == "客户到HOSIC办公室自提") {
                Freight = (100 * USD * SupplierNumber);
            }
            else {
                Freight = 0;
            }
            return Freight;
        }
        //ZHD4-入关费（香港国内运保费）
        //CustomerDeliveryWay - 客户交货方式，sale - 不含税销售总价（人民币），USD - 美金汇率，Purchase-不含税采购总价（人民币）
        function HOSICTransportationInsurance(CustomerDeliveryWay, sale, USD, Purchase) {
            var TransportationInsurance = 0.00;
            if (CustomerDeliveryWay == "HOSIC发至**机场") {
                if (sale / USD < 20000) {
                    TransportationInsurance = (Purchase * 0.015);
                }
                else if (sale / USD >= 20000 && sale / USD < 50000) {
                    TransportationInsurance = (Purchase * 0.012);
                }
                else if (sale / USD >= 50000) {
                    TransportationInsurance = (Purchase * 0.01);
                }
            }
            return TransportationInsurance;
        }
        //通过填写国际运保费率，计算国际运保费，如果国际运保费低于500美元，则按500美元算，如果超过500美元，则按照（500＋超出价格）进行计算。
        //国际运保费（人民币），国际运保费（采购币种）  ----计算错误,已取消
        function IFGuoJiYunBaoFei(guojiyunbaofei2, GJYF) {
            var USD = agent.Eles[document.getElementById("XTextBox95").getAttribute("xform_xele_index")].getValue();
            if (GJYF == "") {
                if (guojiyunbaofei2 / USD <= (500) && guojiyunbaofei2 > 0) {
                    return 500 * USD;
                }
                else {
                    return guojiyunbaofei2;
                }
            }
            else {
                return guojiyunbaofei2;
            }
        }
        //如果是4000或2000公司，含税销售价格和不含税销售相等，反之计算不含税销售价格
        //BillingCompany-开票公司, PDSellingTotalvalueRest-含税销售总价, shuilv-税率
        function IFBillingCompany(BillingCompany, PDSellingTotalvalueRest, shuilv) {
            if (BillingCompany == "2000上海颐合" || BillingCompany == "A300HOSIC 香港") {
                return PDSellingTotalvalueRest;
            }
            return PDSellingTotalvalueRest / (shuilv + 1);
        }
        //如果是4000或2000公司，税额等于0，反之计算税额
        //BillingCompany - 开票公司, SUMNPDSellingTotalvalueRMB - 合计不含税销售总价, shuilv - 税率
        function IFTaxLimit(BillingCompany, SUMNPDSellingTotalvalueRMB, shuilv) {
            //alert(SUMNPDSellingTotalvalueRMB);
            // alert(shuilv);
            if (BillingCompany == "2000上海颐合" || BillingCompany == "A300HOSIC 香港") {
                return 0;
            }
            return SUMNPDSellingTotalvalueRMB * shuilv;
        }
        //如果是4000或2000公司，含税采购价格和不含税采购相等，反之计算不含税采购价格
        //BillingCompany-开票公司, PDPurchaseTotalvalueRest-含税采购总价, shuilv-税率
        function IFPDPurchaseTotalvalueRest(BillingCompany, PDPurchaseTotalvalueRest, shuilv) {
            if (BillingCompany == "2000上海颐合" || BillingCompany == "A300HOSIC 香港") {
                return PDPurchaseTotalvalueRest;
            }
            return PDPurchaseTotalvalueRest / (shuilv + 1);
        }
        //计算行项目国际运保费
        //GJYF-国际运保费（采购币种）, CGRate-采购汇率, NPDPurchaseTotalvalueRMB-不含税采购总价（人民币）, InternationCIF-国际运保费率
        function CountGUOJIYUNFEI(GJYF, CGRate, NPDPurchaseTotalvalueRMB, InternationCIF) {
            var GJYFR = 0;
            GJYFR = GJYF * CGRate;
            if (GJYFR != 0) {
                return GJYFR;
            }
            else {
                GJYFR = NPDPurchaseTotalvalueRMB * InternationCIF;
            }
            return GJYFR;
        }
        //计算整单国际运保费
        function GetInfoFromTable1(SourcingPurchasing, InternationCIF) {
            var USD = agent.Eles[document.getElementById("XTextBox95").getAttribute("xform_xele_index")].getValue();
            var num = 0;
            var vNum = 0.00;
            var tableInfo1 = new Array();
            var tableInfo2 = new Array();
            var tableInfo3 = new Array();
            var NewArr = new Array();
            var tableRow = "";
            var tableObj = document.getElementById('tablenew');
            for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                //获取供应商名称
                tableInfo1[i - 2] = agent.Eles[tableObj.rows[i].cells[35].children[0].getAttribute("xform_xele_index")].getValue();
                //获取国际运保费（人民币）
                tableInfo2[i - 2] = agent.Eles[tableObj.rows[i].cells[29].children[0].getAttribute("xform_xele_index")].getValue();
                //获取国际运保费（采购币种）
                tableInfo3[i - 2] = agent.Eles[tableObj.rows[i].cells[28].children[0].getAttribute("xform_xele_index")].getValue();
            }

            for (var i = 0; i < tableInfo1.length ; i++) {
                for (var j = i + 1; j < tableInfo1.length; j++) {
                    //比较供应商是否为同一个供应商
                    if (tableInfo1[i] === tableInfo1[j] && tableInfo1[i] !== "") {
                        if (j != 1 || tableInfo2[j] != 0) {
                            tableInfo2[i] = Number(tableInfo2[i]) + Number(tableInfo2[j]);
                            tableInfo2[j] = 0;
                        }
                    }
                }
                if (tableInfo3[i] != 0) {
                    NewArr[i] = 1;      //记录行项目是否填写国际运保费
                }
                else
                    NewArr[i] = 0;
            }

            //与$500比较，若单个供应商国际运保费<$500，则按照$500计算
            for (var i = 0; i < tableInfo2.length; i++) {
                if (NewArr[i] != 1) {
                    if (tableInfo2[i] != 0 && tableInfo2[i] / USD < 500) {
                        tableInfo2[i] = 500 * USD;
                    }
                }
            }

            for (var i = 0; i < tableInfo2.length; i++) {
                num = Number(tableInfo2[i]);
                vNum = vNum + num;
                //tableObj.rows[i + 2].cells[27].children[0].children[0].value = tableInfo2[i];
            }
            //document.getElementById('XTextBox67').value = vNum;
            return vNum;
        }

    </script>

     <%--SIP业务基金扣款(销售币种)--%>
    <script type="text/javascript">
        //SIP业务基金扣款(销售币种)
        function SIPdeduct(yewufenlei, HSXSZJ) {
            var str = "";
            var tableInfo1 = new Array();
            var tableRow = "";
            var tableObj = document.getElementById('tablenew');
            for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                //var obj = tableObj.rows[i].cells[1].children[0];

                //var index = obj.selectedIndex;
                // tableInfo1[i - 2] = tableObj.rows[i].cells[1].children[index].innerText;
                tableInfo1[i - 2] = agent.Eles[tableObj.rows[i].cells[1].children[0].getAttribute("xform_xele_index")].getValue();
            }
            for (var i = 0; i < tableInfo1.length; i++) {
                if (tableInfo1[i] == "集成销售" || tableInfo1[i] == "集成服务") {
                    str = HSXSZJ * 0.03;
                }
            }
            return str;

        }
    </script>

    <%--获取超期应收账款和应收账款/红旗客户的赋值/是否免税字段赋值/计划行类别赋值---%>
    <script type="text/javascript">
        //获取售达方的超期应收账款和应收账款
        function GetInfo() {
            var kehuID = agent.Eles[document.getElementById("XTextBox49").getAttribute("xform_xele_index")].getValue();
            if (kehuID != "") {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetDMBTRData',
                        KEHUID: kehuID
                    },
                    success: function (action) {
                        var result = action.result;
                        var data = action.result.Value;
                        agent.Eles[document.getElementById("XTextBox105").getAttribute("xform_xele_index")].setValue(data.I_DMBTR_C);
                        agent.Eles[document.getElementById("XTextBox54").getAttribute("xform_xele_index")].setValue(data.I_DMBTR_Y);
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }
            else {
                alert("请填写售达方客户SAPID！");
            }
        }
        //获取付款方的超期应收账款和应收账款
        function GetInfo2() {
            var kehuID = agent.Eles[document.getElementById("XTextBox57").getAttribute("xform_xele_index")].getValue();
            if (kehuID != "") {
                YZSoft.Ajax.request({
                    url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                    method: 'POST',
                    params: {
                        method: 'GetDMBTRData',
                        KEHUID: kehuID
                    },
                    success: function (action) {
                        var result = action.result;
                        var data = action.result.Value;
                        agent.Eles[document.getElementById("XTextBox107").getAttribute("xform_xele_index")].setValue(data.I_DMBTR_C);
                        agent.Eles[document.getElementById("XTextBox62").getAttribute("xform_xele_index")].setValue(data.I_DMBTR_Y);
                        agent.Eles[document.getElementById("XTextBox149").getAttribute("xform_xele_index")].setValue(data.I_DAY_C);
                        agent.Eles[document.getElementById("XTextBox184").getAttribute("xform_xele_index")].setValue(data.E_SAUFT);
                        agent.Eles[document.getElementById("XTextBox185").getAttribute("xform_xele_index")].setValue(data.E_KLIMK);
                    },
                    failure: function (action) {
                        alert(action.result.Message);
                    }
                });
            }
            else {
                alert("请填写付款方客户SAPID！");
            }

        }
        //根据物料类型返回不同的SAPID
        //wuliaoType-物料类型, SASapID-销售物料号, PROSapID-自营租赁物料号, OTHSaPID-其他服务物料号, SERSaPID-技术服务物料号
        function GetPROSAPID(wuliaoType, SASapID, PROSapID, OTHSaPID, SERSaPID) {
            if (wuliaoType == "销售物料") {
                return SASapID;
            }
            else if (wuliaoType == "自营租赁物料") {
                return PROSapID;
            }
            else if (wuliaoType == "其他服务物料") {
                return OTHSaPID;
            }
            else if (wuliaoType == "技术服务物料") {
                return SERSaPID;
            }
        }
        //售达方红旗客户
        function Flag1(Flag1) {
            var radio3_0 = document.getElementById("XRadioButtonList3_0");
            var radio3_1 = document.getElementById("XRadioButtonList3_1");
            if (Flag1 == "是") {
                radio3_0.checked = true;
            }
            else if (Flag1 == "否") {
                radio3_1.checked = true;
            }
        }
        //付款方红旗客户
        function Flag2(Flag2) {
            var radio4_0 = document.getElementById("XRadioButtonList4_0");
            var radio4_1 = document.getElementById("XRadioButtonList4_1");
            if (Flag2 == "是") {
                radio4_0.checked = true;
            }
            else if (Flag2 == "否") {
                radio4_1.checked = true;
            }
        }
        //根据开票公司判读是否免税，Exemption-开票公司
        function ISExemption(Exemption) {
            //var radio2_0 = document.getElementById("XRadioButtonList2_0");
            //是否免税“否”
            var radio2_1 = document.getElementById("XRadioButtonList2_1");
            if (Exemption == "1000东方中科北京" || Exemption == "1010东方中科上海" || Exemption == "1020东方中科深圳" || Exemption == "2100苏州博德") {
                radio2_1.checked = true;
            }
            else {
                radio2_1.checked = false;
            }
        }
        //根据采购模式和采购数量，判读计划行类别BP或BN
        //PlanSort-采购数量, CaiGouMoShi-采购模式
        function ISPlanSort(PlanSort, CaiGouMoShi) {
            //var radio2_0 = document.getElementById("XRadioButtonList2_0");
            //var radio2_1 = document.getElementById("XRadioButtonList2_1");
            var sort = "BN";

            if (CaiGouMoShi == "备货") {
                sort = "BP";
            }
            return sort;
        }
    </script>
    
     <%--选产品赋值---%>
    <script type="text/javascript">


        //点击全选新品销售按钮，将物料类型赋值为销售物料
        function AllXINPINXIAOSHOU() {
            var tableInfo1 = new Array();
            var tableObj = document.getElementById('tablenew');
            if (tableObj.rows.length > 3) {
                for (var i = 2; i < tableObj.rows.length - 1; i++) {    //遍历Table的所有Row //遍历Row中的每一列
                    agent.Eles[tableObj.rows[i].cells[1].children[0].getAttribute("xform_xele_index")].setValue("新品销售");
                    XFormOnChange(agent.Eles[tableObj.rows[i].cells[1].children[0].getAttribute("xform_xele_index")]);
                    agent.Eles[tableObj.rows[i].cells[2].children[4].getAttribute("xform_xele_index")].setValue("销售物料");
                    agent.Eles[tableObj.rows[i].cells[5].children[0].getAttribute("xform_xele_index")].setValue(agent.Eles[tableObj.rows[i].cells[2].children[0].getAttribute("xform_xele_index")].getValue());
                }
            }
        }

        //打印采购申请单函数
        function aa() {
            var temp = document.getElementById('XLabel3').innerText;
            window.open("采购申请单.aspx?serialNum=" + temp);
        }
        //打印销售预审单函数
        function aa1() {
            var temp = document.getElementById('XLabel3').innerText;
            window.open("销售预审单.aspx?serialNum=" + temp);
        }
        //获取BPM价格体系价格，选择为订货时带出订货价格
        function DingHuoCaiGouJiaGe(YuanCaiGouJiaGe, CaiGouJiaGe, CaiGouMoShi) {

             
        }
        //获取BPM价格体系折扣，选择为订货时带出订货折扣
        function DingHuoCaiGouZheKou(YuanCaiGouZheKou, CaiGouZheKou, CaiGouMoShi) {

            
        }

        //采购模式为备货是，采购发票税点是“17%增值税发票”
        function IFCNY(CaiGouBiZhong, YuanCaiGouFaPiao, CaiGouMoShi) {
            if (CaiGouMoShi == "备货") {
                return "13%增值税发票";
            }
            else if (CaiGouBiZhong == "CNY") {
                return YuanCaiGouFaPiao;
            }
            else {
                return "";
            }
        }

        //技术服务协议类型
        function TSType(BusinessCategories, Type) {
            if (BusinessCategories == "代理维修" || BusinessCategories == "代理延保" || BusinessCategories == "代理校准") {
                return "";
            }
            else
                return Type;
        }

        function fymx_ShowHidden() {
            //费用明细 展开 隐藏
            var btn_value = document.getElementById('btn_fymx').value;
            if (btn_value == "▽展开") {
                document.getElementById('btn_fymx').value = "△隐藏";
                document.getElementById("div_fymx").style.display = "";//显示
            }
            else {
                document.getElementById("div_fymx").style.display = "none";//隐藏
                document.getElementById('btn_fymx').value = "▽展开";
            }
        }

        function mljs_ShowHidden() {
            //毛利计算 展开 隐藏
            var btn_value = document.getElementById('btn_mljs').value;
            if (btn_value == "▽展开") {
                document.getElementById('btn_mljs').value = "△隐藏";
                document.getElementById("div_mljs").style.display = "";//显示
            }
            else {
                document.getElementById('btn_mljs').value = "▽展开";
                document.getElementById("div_mljs").style.display = "none";//隐藏
            }
        }

        //修改行项目控件失效时样式
        function UpLineItemStyle(ContractCurrency, PrchaseCurrency, PurchasingPattern, RowNumber) {
            var tableObj = document.getElementById('tablenew');


            //控件backgroundColor清空
            tableObj.rows[RowNumber + 1].cells[27].children[0].children[0].style.backgroundColor = "";//国际运保费
            tableObj.rows[RowNumber + 1].cells[28].children[0].children[0].style.backgroundColor = "";//国际运保费(采购币种)
            tableObj.rows[RowNumber + 1].cells[30].children[0].children[0].style.backgroundColor = "";//报关杂费(人民币)
            tableObj.rows[RowNumber + 1].cells[31].children[0].children[0].style.backgroundColor = "";//关税税率
            tableObj.rows[RowNumber + 1].cells[39].children[0].children[0].style.backgroundColor = "";//采购发票税点
            tableObj.rows[RowNumber + 1].cells[36].children[0].children[0].style.backgroundColor = "";//联系人
            tableObj.rows[RowNumber + 1].cells[37].children[0].children[0].style.backgroundColor = "";//联系电话
            tableObj.rows[RowNumber + 1].cells[38].children[0].children[0].style.backgroundColor = "";//采购付款方式

            //采购币种、采购数量
            if (PurchasingPattern == "备货") {
                tableObj.rows[RowNumber + 1].cells[19].children[0].children[0].style.backgroundColor = "#E6F1F8";
                tableObj.rows[RowNumber + 1].cells[18].children[0].children[0].style.backgroundColor = "#E6F1F8";
                tableObj.rows[RowNumber + 1].cells[34].children[0].children[0].style.backgroundColor = "#E6F1F8";   //计划行类别
                tableObj.rows[RowNumber + 1].cells[40].children[0].children[0].style.backgroundColor = "#E6F1F8";   //供应商货期
                tableObj.rows[RowNumber + 1].cells[42].children[0].children[0].style.backgroundColor = "#E6F1F8";   //供应商保修期
                tableObj.rows[RowNumber + 1].cells[35].children[0].children[0].style.backgroundColor = "#E6F1F8";   //采购供应商

            }
            //国际运保费、国际运保费(采购币种)
            if (PrchaseCurrency == "CNY" || PurchasingPattern == "备货") {
                tableObj.rows[RowNumber + 1].cells[27].children[0].children[0].style.backgroundColor = "#E6F1F8";//国际运保费
                tableObj.rows[RowNumber + 1].cells[28].children[0].children[0].style.backgroundColor = "#E6F1F8";//国际运保费(采购币种)
            }
            //报关杂费(人民币)、关税税率
            if (PrchaseCurrency == "CNY" || (PrchaseCurrency != "CNY" && ContractCurrency != "CNY") || PurchasingPattern == "备货") {
                tableObj.rows[RowNumber + 1].cells[30].children[0].children[0].style.backgroundColor = "#E6F1F8";//报关杂费(人民币)
                tableObj.rows[RowNumber + 1].cells[31].children[0].children[0].style.backgroundColor = "#E6F1F8";//关税税率
            }
            //采购发票税点
            if (PrchaseCurrency != "CNY" || PurchasingPattern == "备货") {
                tableObj.rows[RowNumber + 1].cells[39].children[0].children[0].style.backgroundColor = "#E6F1F8";//采购发票税点
            }
            //联系人、联系电话、采购付款方式
            if (PurchasingPattern == "备货") {
                tableObj.rows[RowNumber + 1].cells[36].children[0].children[0].style.backgroundColor = "#E6F1F8";//联系人
                tableObj.rows[RowNumber + 1].cells[37].children[0].children[0].style.backgroundColor = "#E6F1F8";//联系电话
                tableObj.rows[RowNumber + 1].cells[38].children[0].children[0].style.backgroundColor = "#E6F1F8";//采购付款方式
            }
        }

    </script>

    <%--受达方---%>
     <script type="text/javascript">
         //表单加载的时候进行数据及业务逻辑处理
         Ext.onReady(function () {

             //隐藏：费用明细、毛利计算公式
             document.getElementById("div_fymx").style.display = "none";//隐藏
             document.getElementById("div_mljs").style.display = "none";//隐藏

              
             
             //产品型号触发事件（已取消）
             var MaterialObject = GetMaterialTable2('tablenew');
             //获取产品的BPMID
             var Material = GetMaterialTable('tablenew');
             //获取物料类型
             var Material1 = GetMaterialTable1('tablenew');
             //产品BPMID数组
             var s1 = Material.join(',');
             //物料类型数组
             var s2 = Material1.join(',');

             //BPM表单号
             var BPMformNo = agent.Eles[document.getElementById("XLabel3").getAttribute("xform_xele_index")].getValue();    //XLabel3
             ////var STPObject = Ext.getDom("XTextBox123");
             var STPObject = agent.Eles[document.getElementById("XTextBox123").getAttribute("xform_xele_index")].getValue();
             //售达方客户SAPID
             ////var STPSAPID = document.getElementById("XTextBox123").value;
             var STPSAPID = agent.Eles[document.getElementById("XTextBox123").getAttribute("xform_xele_index")].getValue();
             //付款方客户SAPID
             ////var PTPSAPID = document.getElementById("XTextBox125").value;
             var PTPSAPID = agent.Eles[document.getElementById("XTextBox125").getAttribute("xform_xele_index")].getValue();
             //当前预审流程状态
             ////var ZhuangTai = document.getElementById("XTextBox145").value;
             
             

             

             //地区经理审批，若销售机会未从crm导入，进行提示
             //产品线对象
             var ProductLineObject = document.getElementById("XDropDownList22");
             //产品线选中的值
             ////var ProductLine = ProductLineObject.options[ProductLineObject.selectedIndex].value;
             var ProductLine = agent.Eles[document.getElementById("XDropDownList22").getAttribute("xform_xele_index")].getValue();
             
             //当前预审流程状态时“CSO审批”时，打开表单时的提示和高亮显示
             

             //任何状态打开表单时，都提示重点复核，红旗客户
             ////var chenckBox = document.getElementById("XCheckBox1");
             ////if (chenckBox.checked) {
             if (XChecked("XCheckBox1") == true) {
                 alert("请注意，此单需重点复核！");
             }
             var radio3_0 = document.getElementById("XRadioButtonList3_0");
             var radio4_0 = document.getElementById("XRadioButtonList4_0");
             if (radio3_0.checked) {
                 alert("售达方客户是红旗客户！");
             }
             else if (radio4_0.checked) {
                 alert("付款方客户是红旗客户！");
             }

             /*
            汇率变动提示
            1、预审单中的销售合同币种与采购合同币种不同
            2、行项目上的采购币种只要有一行不是USD（非人民币），且整单毛利率＜15%
            */

             var grossMargin = agent.Eles[document.getElementById("XTextBox58").getAttribute("xform_xele_index")].getValue();  //毛利率
             ////var ddl = document.getElementById("XDropDownList17");   //销售币种
             ////var SalesCurrency = ddl.options[ddl.selectedIndex].value;
             var SalesCurrency = agent.Eles[document.getElementById("XDropDownList17").getAttribute("xform_xele_index")].getValue(); //销售币种
             var Currency = new Array(); //行项目采购币种
             if (SalesCurrency != '') {
                 for (var i = 2; i < document.getElementById('tablenew').rows.length - 1; i++) {
                     ////Currency[i - 2] = document.getElementById('tablenew').rows[i].cells[19].children[0].value;
                     Currency[i - 2] = agent.Eles[document.getElementById('tablenew').rows[i].cells[19].children[0].getAttribute("xform_xele_index")].getValue();
                 }
                 var flag = 0;
                 for (var i = 0; i < Currency.length; i++) {
                     //alert(Currency[i]);
                     if (Currency[i] != '') {
                         if (Currency[i] != SalesCurrency) {
                             flag = 1;
                         }
                         else if (Currency[i] != "USD" && Currency[i] != "CNY" && grossMargin < 15) {
                             flag = 1;
                         }
                     }
                 }

                 if (flag == 1) {
                     // Ext.MessageBox.alert("", "请注意汇率波动，此单特别注意！");
                     alert("请注意汇率波动，此单特别注意！");
                 }
             }

              

         });
         //window.onload = function getOs() {
         Ext.onReady(function () {

             var ie = !!window.ActiveXObject;
             if (ie) {

                 document.getElementById('XTextBox49').attachEvent("onpropertychange", STPSAPIDCustomer);
                 document.getElementById('XTextBox57').attachEvent("onpropertychange", PTPSAPIDCustomer);
                 document.getElementById('PTPButton').style.display = "none";
                 document.getElementById('STPButton').style.display = "none";
             }
             else {

                 document.getElementById('XTextBox49').addEventListener("input", STPSAPIDCustomer, false);
                 document.getElementById('XTextBox57').addEventListener("input", PTPSAPIDCustomer, false);
                 //document.getElementById('XTextBox49').addEventListener("click", txChange, false);
             }


         });

         //售达方客户SAPID
         function STPSAPIDCustomer() {
             var STPSAPID1 = agent.Eles[document.getElementById("XTextBox49").getAttribute("xform_xele_index")].getValue();
             var STPName = agent.Eles[document.getElementById("XTextBox43").getAttribute("xform_xele_index")].getValue();
             //判断售达方和付款方的客户是否冻结
             if (STPSAPID1 != "") {
                 //售达方客户信息
                 YZSoft.Ajax.request({
                     url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                     method: 'POST',
                     params: {
                         method: 'IsCustomerFreeze',
                         ClientSAPID: STPSAPID1
                     },
                     success: function (action) {
                         var result = action.result;
                         var ISRights = action.result.Value;
                         SISRights = ISRights;
                         if (SISRights == '1') {
                             alert(STPName + "（SAPID：" + STPSAPID1 + "）" + "该售达方客户已在SAP中被冻结！请选择其他客户！");
                             agent.Eles[document.getElementById("XTextBox49").getAttribute("xform_xele_index")].setValue("");
                             agent.Eles[document.getElementById("XTextBox106").getAttribute("xform_xele_index")].setValue("");
                             agent.Eles[document.getElementById("XTextBox55").getAttribute("xform_xele_index")].setValue("");
                             agent.Eles[document.getElementById("XTextBox43").getAttribute("xform_xele_index")].setValue("");
                         }
                     },
                     failure: function (action) {
                         alert(action.result.Message);
                     }
                 });

             }

         }

         //付款方客户SAPID
         function PTPSAPIDCustomer() {
             var PTPSAPID1 = agent.Eles[document.getElementById("XTextBox57").getAttribute("xform_xele_index")].getValue();
             var PTPName = agent.Eles[document.getElementById("XTextBox56").getAttribute("xform_xele_index")].getValue();

             if (PTPSAPID1 != "") {

                 //付款方客户信息
                 //ClientSAPID-付款方客户
                 YZSoft.Ajax.request({
                     url: YZSoft.$url('Oimec/ApiServices/SalesAPIHandler.ashx'),
                     method: 'POST',
                     params: {
                         method: 'IsCustomerFreeze',
                         ClientSAPID: PTPSAPID1
                     },
                     success: function (action) {
                         var result = action.result;
                         var ISRights = action.result.Value;
                         PISRights = ISRights;
                         if (PISRights == '1') {
                             alert(PTPName + "（SAPID：" + PTPSAPID1 + "）" + "该付款方客户已在SAP中被冻结！请选择其他客户！");
                             agent.Eles[document.getElementById("XTextBox57").getAttribute("xform_xele_index")].setValue("");
                             agent.Eles[document.getElementById("XTextBox56").getAttribute("xform_xele_index")].setValue("");
                             agent.Eles[document.getElementById("XTextBox63").getAttribute("xform_xele_index")].setValue("");
                             agent.Eles[document.getElementById("XTextBox108").getAttribute("xform_xele_index")].setValue("");
                         }
                     },
                     failure: function (action) {
                         alert(action.result.Message);
                     }
                 });

             }
         }


         //解决IE8以下getElementsByClassName兼容性问题
         function hasClass(node, className) {
             var cNames = node.className.split(/\s+/);//根据空格来分割node里的元素；
             for (var i = 0; i < cNames.length; i++) {
                 if (cNames[i] == className) return true;
             }
             return false;
         }
         function getByClassName(className) {
             if (document.getElementsByClassName) {
                 return document.getElementsByClassName(className); //FF下因为有此方法，所以可以直接获取到；
             }
             var nodes = document.getElementsByTagName("*");//获取页面里所有元素，因为他会匹配全页面元素，所以性能上有缺陷，但是可以约束他的搜索范围；
             var arr = [];//用来保存符合的className；
             for (var i = 0; i < nodes.length; i++) {
                 if (hasClass(nodes[i], className)) arr.push(nodes[i]);
             }
             return arr;
         }


         //表单提交时进行数据及业务逻辑处理
         agent.on('beforeSubmit', function (actname1, actname) {
             
         });

         //获取地址栏参数
         function getQueryString(name) {
             var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
             var r = window.location.search.substr(1).match(reg);
             if (r != null) {
                 return unescape(r[2]);
             }
             return null;
         }

         //获取SAP备货价格
         function GetStockingPrice() {
             

         }
    </script>
    <%--生成合同---%>
    <style>
        /*#loadmask-1082-msgWrapEl {
           position:absolute;
            top:80%;
            left:50%;
            margin:2600px 0 30px -200px;
           border:1px solid #008800;
        }*/
        .x-mask-fixed {
            position:inherit;
        }
        .inputbtn {
            width:65px;
            height:20px;

        }
    </style>
   
   
</head>
<body id="show">
     <script src="../../../../Oimec/CRM/CR/SaleOpportunitesEvent.js?v=<%=Guid.NewGuid().ToString()%>"></script>
    <form runat="server">
        <table width="1200" align="center" class="head" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td class="logo">
                    </td>
                    <aspxform:XTextBox id="XTextBox216" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ItemId" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" HiddenInput="True"></aspxform:XTextBox>
                    
                     <aspxform:XTextBox id="XTextBox206" runat="server"  BorderWidth="1" BorderColor="#DCDCDC" Width="100px" HiddenInput="True"></aspxform:XTextBox>
                      <aspxform:XTextBox id="XTextBox207" runat="server"  BorderWidth="1" BorderColor="#DCDCDC" Width="100px" HiddenInput="True"></aspxform:XTextBox>
                     <aspxform:XTextBox runat="server" ID="ContractChange" HiddenInput="true" XDataBind="DF_CRM_ReportSalesOpportunities.ContractChange"></aspxform:XTextBox>
                     <aspxform:XTextBox runat="server" ID="ContractChangeFlag" HiddenInput="true" XDataBind="DF_CRM_ReportSalesOpportunities.ContractChangeFlag"></aspxform:XTextBox>
                  <aspxform:XTextBox runat="server" ID="BusinessApprovalContractChangeFlag" HiddenInput="true"  XDataBind="DF_CRM_ReportSalesOpportunities.BusinessApprovalContractChangeFlag"></aspxform:XTextBox>
                      <aspxform:XTextBox runat="server" ID="ContractChangeCount" HiddenInput="true"  XDataBind="DF_CRM_ReportSalesOpportunities.ContractChangeCount"></aspxform:XTextBox>
                    <aspxform:XTextBox runat="server" ID ="AdvancePayFlag"  XDataBind="DF_CRM_ReportSalesOpportunities.AdvancePayFlag" HiddenInput="true"></aspxform:XTextBox>
                 
                     <td  class="biaoti">
                        <asp:Label id="Label1" runat="server" text="信控审批"></asp:Label></td>
                    <td width="400" class="formno">
                        <asp:Label id="Label2" runat="server" text="表单号："></asp:Label>
                        <aspxform:XLabel id="XLabel3" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.FormNo" Value ValueToDisplayText BackColor="#8AB3DF" Text="--系统自动生成--"></aspxform:XLabel>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" id="tb1" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="5">
                        <asp:Label id="Label3" runat="server" text="基本信息"></asp:Label>
                         <aspxform:XTextBox id="SalesLeadsID" runat="server" XDataBind="SalesLeadsID" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" HiddenInput="True"></aspxform:XTextBox>
                     
                        <aspxform:XTextBox id="XTextBox9" runat="server" XDataBind="tid" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" HiddenInput="True"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList4" runat="server" HiddenExpress="1" XDataSource="TableName:DF_CRM_SaleLeads;Filter:ItemID->tid" DataMap="CustomerName->DF_CRM_ReportSalesOpportunities.CustomerName;Contacts->DF_CRM_ReportSalesOpportunities.CustomerContact;"></aspxform:XDropDownList>
                    <aspxform:XTextBox runat="server" Width="100px" HiddenInput="true"  ID="CreditControlApprovalMark"  XDataBind="DF_CRM_ReportSalesOpportunities.CreditControlApprovalMark"></aspxform:XTextBox>
				   </td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label4" runat="server" text="申请人"></asp:Label>
                        <aspxform:XTextBox id="XTextBox17" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ownerId" BorderWidth="1" BorderColor="#DCDCDC" Width="50px" HiddenInput="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ownerName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" HiddenInput="False" ValueToDisplayText BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                        <aspxform:XDropDownList id="XDropDownList2" runat="server" HiddenExpress="1" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:AttendanceKakaNO->DF_CRM_ReportSalesOpportunities.ownerId" DataMap="MobilePhone->DF_CRM_ReportSalesOpportunities.Phone"></aspxform:XDropDownList>
                        <aspxform:XDropDownList id="XDropDownList20" runat="server" HiddenExpress="1" XDataSource="TableName:V_DF_SA_SS_SalesPersonnel;Filter:StaffID->DF_CRM_ReportSalesOpportunities.ownerId" DataMap="Region->DF_CRM_ReportSalesOpportunities.Area;SalesOfficeDes->DF_CRM_ReportSalesOpportunities.Department;productLine->DF_CRM_ReportSalesOpportunities.BU"></aspxform:XDropDownList>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label5" runat="server" text="创建日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CreateDate" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableBehavior="ReadOnly" BackColor="#E6F1F8" DisplayOnly="True"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                    <td height="20" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label6" runat="server" text="事业部"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox2" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.BU" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableBehavior="ReadOnly" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                        <%--<aspxform:XDropDownList id="XDropDownList4" runat="server" HiddenExpress="1" XDataSource="TableName:V_DF_HR_BasicInfo;Filter:AttendanceKakaNO->DF_CRM_Opportunity.ownerId"  DataMap="BUName->DF_CRM_ReportSalesOpportunities.BU;Department->DF_CRM_ReportSalesOpportunities.Department;MobilePhone->DF_CRM_ReportSalesOpportunities.Phone" ></aspxform:XDropDownList>--%></td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label37" runat="server" text="地区"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox31" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Area" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableBehavior="ReadOnly" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label10" runat="server" text="联系电话"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox5" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Phone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableBehavior="ReadOnly" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label7" runat="server" text="部门"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox3" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Department" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableBehavior="ReadOnly" BackColor="#E6F1F8" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" id="tb2" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="13" class="title1" colspan="4">
                        <asp:Label id="Label8" runat="server" text="销售机会"></asp:Label></td>
                </tr>
                <tr>
                    <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label9" runat="server" text="销售机会名称"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" >
                        <aspxform:XTextBox id="XTextBox4" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.opportunityName" BorderWidth="1" BorderColor="#DCDCDC" Width="60%" DisableBehavior="ReadOnly" ValueToDisplayText></aspxform:XTextBox>
                    </td>
                     <td height="19" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label116" runat="server" text="销售机会来源"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" >
                         <aspxform:XDropDownList id="SourcesOpportunity" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SourcesOpportunity">
                            <asp:ListItem>销售线索</asp:ListItem>
                            <asp:ListItem Selected="True">自建</asp:ListItem>
                           
                        </aspxform:XDropDownList>
                    </td>
                </tr>
                <%--<tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%" height="19">
                        <asp:Label id="Label27" runat="server" text="品牌(厂商)"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 80%" colspan="3">
                        <aspxform:XCheckBoxList id="XCheckBoxList1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Brand" RepeatDirection="Horizontal">
                            <asp:ListItem>是德分销</asp:ListItem>
                            <asp:ListItem>TEK&amp;FLUKE</asp:ListItem>
                            <asp:ListItem>B&amp;K</asp:ListItem>
                            <asp:ListItem>NF</asp:ListItem>
                            <asp:ListItem>日置</asp:ListItem>
                            <asp:ListItem>菊水</asp:ListItem>
                            <asp:ListItem>AMTEK</asp:ListItem>
                            <asp:ListItem>大华</asp:ListItem>
                              <asp:ListItem>其它</asp:ListItem>
                        </aspxform:XCheckBoxList>
                    </td>
                </tr>--%> 
                <tr>
                    <td  class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label12" runat="server" text="客户名称"></asp:Label>
                        <aspxform:XTextBox id="XTextBox12" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerID" BorderWidth="1" BorderColor="#DCDCDC" Width="50px" HiddenInput="True" DisableBehavior="ReadOnly" ReadOnly="True"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox6" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        <%--<aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" Width="35px" XDataSource="TableName:DF_SAPCustomer;OrderBy:CustomerID" DataMap="CustomerID->DF_CRM_ReportSalesOpportunities.CustomerID;CustomerNameCH->DF_CRM_ReportSalesOpportunities.CustomerName" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False" Height="25px" DisplayColumns="CustomerID:客户编号;CustomerNameCH:客户名称"></aspxform:XDataBrowserButton>--%><%-- <aspxform:XDataBrowserButton id="XDataBrowserButton1" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" Width="35px" XDataSource="TableName:DF_SAPCustomer;Filter:CreateName->DF_CRM_ReportSalesOpportunities.ownerId;OrderBy:CustomerID" DataMap="CustomerID->DF_CRM_ReportSalesOpportunities.CustomerID;CustomerNameCH->DF_CRM_ReportSalesOpportunities.CustomerName" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False" Height="25px" DisplayColumns="CustomerID:客户编号;CustomerNameCH:客户名称"></aspxform:XDataBrowserButton>--%>&nbsp;</td>
                          <td  class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label14" runat="server" text="联系人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox8" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerContact" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        <%--<aspxform:XDataBrowserButton id="XDataBrowserButton3" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" Width="35px" XDataSource="TableName:DF_MCustomer_Contact;Filter:CustomerID->DF_CRM_ReportSalesOpportunities.CustomerID" DataMap="ContactName->DF_CRM_ReportSalesOpportunities.CustomerContact" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False" Height="25px" DisplayColumns="ContactName:联系人姓名;ContactTel:联系人电话;ContactMobile:联系人手机;ContactEmail:联系人邮箱"></aspxform:XDataBrowserButton>--%></td>
          
                     </tr>
                <tr>
                     <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label38" runat="server" text="客户需求"></asp:Label></td>
                    <td class="tsbottomtext" >
                        <aspxform:XTextBox id="XTextBox115" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Remarks" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" TextMode="MultiLine"></aspxform:XTextBox>
                    </td>
                     <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label40" runat="server" text="行业"></asp:Label>
                   </td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList26" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Industry" Width="40%" XDataSource='TableName:DF_DataSourceList;Filter:Type->"行业";OrderBy:OrderID' ValueColumn="Name" DisplayColumn="Name" >
                            <asp:ListItem>航空航天</asp:ListItem>
                            <asp:ListItem Selected="True">国防军工</asp:ListItem>
                            <asp:ListItem>民用研究</asp:ListItem>
                            <asp:ListItem>教育</asp:ListItem>
                            <asp:ListItem>医疗</asp:ListItem>
                            <asp:ListItem>微电子</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>    
                </tr>
                <tr>
                      <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label175" runat="server" text="是否招标"></asp:Label></td>
                     <td class="tsbottomtext" >
                         <aspxform:XRadioButtonList runat="server" ID="IsTendering"  XDataBind="DF_CRM_ReportSalesOpportunities.IsTendering" RepeatDirection="Horizontal" >
                             <asp:ListItem>是</asp:ListItem>
                              <asp:ListItem Selected="True">否</asp:ListItem>
                         </aspxform:XRadioButtonList>
                      </td>
                    <td class="tsbottomlabel"> <asp:Label id="Label176" runat="server" text="">重点复核</asp:Label></td>
                     <td class="tsbottomtext">
                           <aspxform:XCheckBox id="Review" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Review"></aspxform:XCheckBox>
                     </td>
                </tr>
                <tr hidden="hidden">
                     <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label13" runat="server" text="客户主联系人"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox7" runat="server"  Express="DF_CRM_ReportSalesOpportunities.CustomerContact" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerMainContact" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        <%--<aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Text="查询" XClass="YZSoft.Forms.Field.DataBrowserButton" Width="35px" XDataSource="TableName:DF_MCustomer_Contact;Filter:CustomerID->DF_CRM_ReportSalesOpportunities.CustomerID" DataMap="ContactName->DF_CRM_ReportSalesOpportunities.CustomerMainContact" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False" Height="25px" DisplayColumns="ContactName:联系人姓名;ContactTel:联系人电话;ContactMobile:联系人手机;ContactEmail:联系人邮箱"></aspxform:XDataBrowserButton>--%></td>
         
                      <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label20" runat="server" text="预估毛利"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox30" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ForecastGrossProfit" BorderWidth="1" BorderColor="#DCDCDC" Width="30%"></aspxform:XTextBox>
                        元 
                    </td>
                    <td height="27" class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label25" runat="server" text="项目信息"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox128" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ProjectInformation" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                 
                </tr>
                <tr hidden="hidden">
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label21" runat="server" text="主要应用"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox116" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.MainApplications" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label22" runat="server" text="竞争产品及提供者"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox114" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CompetitiveProducts" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr hidden="hidden">
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label41" runat="server" text="已做工作描述"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox139" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.DescriptionWork" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label42" runat="server" text="下次跟进时间"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker4" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.NextTime" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                    </td>
                </tr>
                <tr>
                   
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1199" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="Label27" runat="server" text="机会跟进" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label15" runat="server" text="销售阶段"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%" >
                        <aspxform:XDropDownList id="XDropDownList3" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SalesProgress" Width="150px" XDataSource='TableName:DF_DataSourceList;Filter:Type->"销售进展";OrderBy:OrderID' ValueColumn="Value" DisplayColumn="Name"></aspxform:XDropDownList>
                   <aspxform:XCheckBox id="RapidSales" runat="server" Width="30%" XDataBind="DF_CRM_ReportSalesOpportunities.RapidSales" Text="快速销售"></aspxform:XCheckBox>
                          </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label17" runat="server" text="预计销售金额"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox11" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.EstimatedSalesAmount" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Format="type:currency;.2"></aspxform:XTextBox>
                        元 
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label31" runat="server" text="客户预算"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox134" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerBudget" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        元 
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label34" runat="server" text="销售机会价值"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XTextBox id="XTextBox135" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SalesOpportunityValue" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableExpress="1" Express="javascript('param.GetTotalSalesOpportunities',DF_CRM_ReportSalesOpportunities.SalesProgress,DF_CRM_ReportSalesOpportunities.EstimatedSalesAmount)"></aspxform:XTextBox>元
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label88" runat="server" text="预计/实际签单日期"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDateTimePicker id="XDateTimePicker5" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SignatureDate" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label89" runat="server" text=""></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label18" runat="server" text="是否丢单"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XCheckBox id="XCheckBox1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.IsThrowSingle"></aspxform:XCheckBox>
                    </td>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label19" runat="server" text="丢单原因"></asp:Label></td>
                    <td class="tsbottomtext" style="WIDTH: 35%">
                        <aspxform:XDropDownList id="XDropDownList9" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ThrowSingleReason" DisableExpress="DF_CRM_ReportSalesOpportunities.IsThrowSingle==0" PromptText="----请选择----">
                            <asp:ListItem>价格原因</asp:ListItem>
                            <asp:ListItem>产品参数原因</asp:ListItem>
                            <asp:ListItem>客户关系原因</asp:ListItem>
                            <asp:ListItem>厂商政策</asp:ListItem>
                            <asp:ListItem>其他</asp:ListItem>
                        </aspxform:XDropDownList>
                    </td>
                </tr>
				  <tr>
                    <td class="tsbottomlabel" style="WIDTH: 10%">
                        <asp:Label id="Label185" runat="server" text="备注"></asp:Label></td>
                     <td class="tsbottomtext" style="WIDTH: 35%" colspan="3">
                          <aspxform:XTextBox  runat="server" ID="SalesOpportunitiesRemark" XDataBind="DF_CRM_ReportSalesOpportunities.SalesOpportunitiesRemark" Width="86.9%" BorderColor="#DCDCDC" BorderWidth="1" TextMode="MultiLine"></aspxform:XTextBox>
                        </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="14" class="title1" colspan="4">
                        <asp:Label id="XLabel76" runat="server" text="费用明细" valuetodisplaytext value></asp:Label>
                        <input class="inputbtn" id="btn_fymx" style="HEIGHT: 23px; WIDTH: 65px" onclick="fymx_ShowHidden();" type="button" size="46" value=▽展开 /></td>
                </tr>
            </tbody>
        </table>
        <div id="div_fymx">
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td class="ts5">
                            <asp:Label id="XLabel77" runat="server" text="账期扣款(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td width="83" class="ts1">
                            <aspxform:XTextBox id="XTextBox59" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PaymentDaysCharge" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="(DF_CRM_ReportSalesOpportunities.SUMPDSellingTotalvalueRMB - DF_CRM_ReportSalesOpportunities.Quality) * koukuanleixing" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                        <td class="ts5">
                            <asp:Label id="XLabel78" runat="server" text="进口关税(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td width="231" class="ts1">
                            <aspxform:XTextBox id="XTextBox66" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ImportTariff" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="sum(guanshuixiaoji)" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="ts5">
                            <asp:Label id="XLabel80" runat="server" text="国际运保费(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox67" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.InternationCIF" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="javascript('GetInfoFromTable1',DF_CRM_ReportMarketInquiryApparatusList.SourcingPurchasing,DF_CRM_ReportMarketInquiryApparatusList.InternationCIF,DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRateForeign )" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                        <td class="ts5">
                            <asp:Label id="XLabel100" runat="server" text="银行费用(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox69" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.BankFee" BorderWidth="1px" BorderColor="Gainsboro" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="javascript('OFHOSICBankFee',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.TermsPayment,DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB,DF_CRM_ReportMarketInquiryApparatusList.SourcingPurchasing)" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel5">
                            <asp:Label id="XLabel7" runat="server" text="质保金(人民币)" valuetodisplaytext value font-bold="False"></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox13" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Quality" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel5">
                            <asp:Label id="XLabel148" runat="server" text="SIP业务基金扣款(销售币种)" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox110" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SIPBFdeduct" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="javascript('SIPdeduct',DF_CRM_ReportMarketInquiryApparatusList.BusinessClassification,DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRest)" TextAlign="Right" Wrap="False"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel5">
                            <aspxform:XLabel id="XLabel216" runat="server" XDataBind="zhibaojinfukuantiaojian" Value ValueToDisplayText BackColor="#d4e4fe" Text="质保金付款条件"></aspxform:XLabel>
                            <aspxform:XTextBox id="XTextBox156" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.RetentionPaymentTermsSAPID" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox157" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.DebitPoints" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox158" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.RetentionDebitPoints" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomtext">
                            <aspxform:XDropDownList id="XDropDownList39" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.RetentionPaymentTerms" Width="250px" XDataSource="TableName:V_DF_SA_SS_PaymentTerms;Filter:ValueAssociate->'质保金'" DataMap="Value->DF_CRM_ReportSalesOpportunities.RetentionPaymentTermsSAPID;Email->DF_CRM_ReportSalesOpportunities.RetentionDebitPoints;LdType->DF_CRM_ReportSalesOpportunities.DebitPoints" ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="tsbottomlabel5">
                            <asp:Label id="XLabel138" runat="server" text="SIP业务基金扣款(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox47" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SIPBFdeductRMB" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.SIPBFdeduct * DF_CRM_ReportSalesOpportunities.ExchangeRate" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel5">
                            <asp:Label id="XLabel217" runat="server" text="质保金扣款(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox155" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.RetentionDebit" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.Quality * DF_CRM_ReportSalesOpportunities.RetentionDebitPoints" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel5" hidden="hidden">
                            <asp:Label id="XLabel198" runat="server" text="AIBU维修基金点数" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext" hidden="hidden">
                            <aspxform:XTextBox id="XTextBox103" style="WIDTH: 230px" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.AIBUCharge" BorderWidth="1" BorderColor="#DCDCDC" Width="220px" Format="type:number;.2" TextAlign="Right"></aspxform:XTextBox>
                            %</td>
                        <td class="tsbottomlabel5">
                            <asp:Label id="XLabel79" runat="server" text="HOSIC手续费(人民币)" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox130" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.HOSICCost" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1" Express="javascript('HOSICTransactionFee',DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay,DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB,meiyuan)"></aspxform:XTextBox>
                            <%--HOSIC接/送货运费--%>
                            <aspxform:XTextBox id="XTextBox131" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.HOSICFreightFee" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1" Express="javascript('HOSICFreight',DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay,meiyuan)"></aspxform:XTextBox>
                            <%--香港国内运保费--%>
                            <aspxform:XTextBox id="XTextBox132" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.HOSICInsuranceFee" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1" Express="javascript('HOSICTransportationInsurance',DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay,DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB,meiyuan,DF_CRM_ReportSalesOpportunities.SUMNPDPurchaseTotalvalueRMB)"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox14" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.HOSICFee" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="javascript('CountBankCost',DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB,DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay,DF_CRM_ReportSalesOpportunities.SUMNPDPurchaseTotalvalueRMB,DF_CRM_ReportSalesOpportunities.SUMNPDPurchaseTotalvalueRMB)" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel5">
                            <asp:Label id="XLabel221" runat="server" text="其他费用(人民币)" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox159" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.OtherCosts" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel5" hidden="hidden">
                            <asp:Label id="XLabel199" runat="server" text="AIBU维修基金扣款" valuetodisplaytext value></asp:Label>(人民币)</td>
                        <td class="tsbottomtext" hidden="hidden">
                            <aspxform:XTextBox id="XTextBox104" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.AIBUChargeRMB" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB" TextAlign="Right"></aspxform:XTextBox>
                        </td>
                          <td class="tsbottomlabel5">
                            <asp:Label id="XLabel238" runat="server" text="其他费用说明" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox160" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.OtherFee" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                    </tr>
                   
                </tbody>
            </table>
        </div>
        <%--<aspxform:XRequiredFieldValidator id="请填写质保金" runat="server" ControlToValidate="XTextBox2" ErrorMessage="请填写质保金" Display="None" ValidationGroup="yewuyuan"></aspxform:XRequiredFieldValidator>--%>
        <aspxform:XLabel id="XLabel204" runat="server" XDataBind="WuLiaoZhuangTai" Value ValueToDisplayText Text="248" HiddenExpress="1" Height="20"></aspxform:XLabel>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' " />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td class="title1" colspan="4">
                        <asp:Label id="XLabel5" runat="server" text="毛利计算" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td class="ts">
                        <asp:Label id="XLabel6" runat="server" text="毛利(不含税)" valuetodisplaytext value font-bold="True"></asp:Label>
                        <aspxform:XTextBox id="XTextBox101" runat="server" XDataBind="SumMaoLi" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.GrossMargin)"></aspxform:XTextBox>
                        <aspxform:XTextBox id="XTextBox102" runat="server" XDataBind="CustomsFees" BorderWidth="1px" BorderColor="Gainsboro" Width="10px" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText HiddenExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.CustomsFees)"></aspxform:XTextBox>
                    </td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox50" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GrossMargin" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="if(DF_CRM_ReportSalesOpportunities.BillingCompany =='A300HOSIC 香港',SumMaoLi - DF_CRM_ReportSalesOpportunities.PaymentDaysCharge -DF_CRM_ReportSalesOpportunities.SIPBFdeductRMB -DF_CRM_ReportSalesOpportunities.HOSICFee -DF_CRM_ReportSalesOpportunities.InternationCIF - DF_CRM_ReportSalesOpportunities.ImportTariff - CustomsFees + DF_CRM_ReportSalesOpportunities.RebateGrossMargin - DF_CRM_ReportSalesOpportunities.RetentionDebit - DF_CRM_ReportSalesOpportunities.OtherCosts,SumMaoLi - DF_CRM_ReportSalesOpportunities.PaymentDaysCharge -DF_CRM_ReportSalesOpportunities.BankFee -DF_CRM_ReportSalesOpportunities.SIPBFdeductRMB -DF_CRM_ReportSalesOpportunities.HOSICFee -DF_CRM_ReportSalesOpportunities.InternationCIF - DF_CRM_ReportSalesOpportunities.ImportTariff - CustomsFees + DF_CRM_ReportSalesOpportunities.RebateGrossMargin - DF_CRM_ReportSalesOpportunities.RetentionDebit  - DF_CRM_ReportSalesOpportunities.OtherCosts) " Font-Bold="True"></aspxform:XTextBox>
                         
                    </td>
                    <td class="ts">
                        <asp:Label id="XLabel70" runat="server" text="毛利率" valuetodisplaytext value font-bold="True"></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox58" style="WIDTH: 230px" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GrossProfitRate" BorderWidth="1" BorderColor="#DCDCDC" Width="220px" BackColor="#E6F1F8" Format="type:number;.2" DisableExpress="1" Express="(DF_CRM_ReportSalesOpportunities.GrossMargin / DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB) * 100" TextAlign="Right" Font-Bold="True"></aspxform:XTextBox>
                        %</td>
                </tr>
                <tr>
                    <td height="18" class="ts5">
                        <asp:Label id="XLabel214" runat="server" text="预计返点毛利(人民币)" valuetodisplaytext value></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox152" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.RebateGrossMargin" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Format="type:currency;.2"></aspxform:XTextBox>
                        
                    </td>
                    <td class="ts5">
                        <asp:Label id="XLabel215" runat="server" text="返点毛利说明" valuetodisplaytext value></asp:Label></td>
                    <td class="ts1">
                        <aspxform:XTextBox id="XTextBox153" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.RebateGrossMarginString" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomlabel" colspan="4">
                        <asp:Label id="XLabel74" runat="server" text="毛利计算公式" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox25" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="30%" HiddenExpress="1"></aspxform:XTextBox>
                        <aspxform:XLabel id="XLabel108" runat="server" XDataBind="var1" Value ValueToDisplayText Text="tablenew" HiddenExpress="1"></aspxform:XLabel>
                        <input id="button1" style="DISPLAY: none" onclick="GetInfoFromTable('tablenew')" type="button" value="获取行数" />
                        <input class="inputbtn" id="btn_mljs" style="HEIGHT: 23px; WIDTH: 65px" onclick="mljs_ShowHidden();" type="button" value=▽展开 /></td>
                </tr>
            </tbody>
        </table>
        <div id="div_mljs">
            <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
                <tbody>
                    <tr>
                        <td class="tsbottomtext" colspan="4">
                            <p>
                                <aspxform:XLabel id="XLabel121" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="外币销售(HOSIC开票)、外币采购" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="A300HOSIC 香港"' Font-Size="Medium"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel33" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="整单毛利(人民币)＝不含税销售总价(人民币) + 预计返点毛利(人民币) —不含税采购总价(人民币)—国际运保费(人民币)—HOSIC相关费用(人民币)—账期扣款(人民币) －质保金扣款(人民币)  －其他费用(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="A300HOSIC 香港"' Font-Size="10.5pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                            <p>
                                &nbsp;<aspxform:XLabel id="XLabel122" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="外币销售(颐合开票)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="2000上海颐合"' Font-Size="Medium"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel60" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="整单毛利(人民币)＝行项目毛利汇总(人民币) + 预计返点毛利(人民币) －账期扣款(人民币)—银行费用(人民币) — SIP业务基金扣款（人民币）—国际运保费(人民币)－质保金扣款(人民币) －其他费用(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="2000上海颐合"' Font-Size="10.5pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel123" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="外币采购：" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="2000上海颐合"' Font-Size="Small"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel90" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="行项目毛利(人民币)＝不含税销售总价(人民币)—不含税采购总价(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="2000上海颐合"' Font-Size="10.5pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel124" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="人民币采购：" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="2000上海颐合"' Font-Size="Small"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel120" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="行项目毛利(人民币)＝不含税销售总价(人民币)—不含税采购总价(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany!="2000上海颐合"' Font-Size="10.5pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel125" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="人民币销售(国内开票)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="2000上海颐合" || DF_CRM_ReportSalesOpportunities.BillingCompany=="A300HOSIC 香港"' Font-Size="Medium"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel128" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="整单毛利(人民币)＝行项目毛利汇总(人民币) + 预计返点毛利(人民币) －账期扣款(人民币) — SIP业务基金扣款（人民币）—国际运保费(人民币)—关税(人民币)—报关杂费(人民币)－质保金扣款(人民币) －其他费用(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="2000上海颐合" || DF_CRM_ReportSalesOpportunities.BillingCompany=="A300HOSIC 香港"' Font-Size="10.5pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel127" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="人民币采购：" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="2000上海颐合" || DF_CRM_ReportSalesOpportunities.BillingCompany=="A300HOSIC 香港"' Font-Size="Small"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel99" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="行项目毛利(人民币)＝不含税销售总价(人民币)—不含税采购总价(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="2000上海颐合" || DF_CRM_ReportSalesOpportunities.BillingCompany=="A300HOSIC 香港"' Font-Size="11pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel126" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="外币采购：" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="2000上海颐合" || DF_CRM_ReportSalesOpportunities.BillingCompany=="A300HOSIC 香港"' Font-Size="Small"></aspxform:XLabel>
                            </p>
                            <p>
                                <aspxform:XLabel id="XLabel119" runat="server" Value ValueToDisplayText BackColor="#d4e4fe" Text="行项目毛利(人民币)＝不含税销售总价(人民币)—不含税采购总价(人民币)" HiddenExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="2000上海颐合" || DF_CRM_ReportSalesOpportunities.BillingCompany=="A300HOSIC 香港"' Font-Size="10.5pt" ForeColor="Blue"></aspxform:XLabel>
                            </p>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' " />
        <aspxform:XTextBox id="XTextBox172" runat="server" XDataBind="varSumSalesAmount" BorderWidth="1px" BorderColor="Gainsboro" Width="88px" HiddenInput="true" Max="0" Min="0" Value ValueToDisplayText Express="DF_CRM_ReportSalesOpportunities.SUMNPDPurchaseTotalvalueRMB*0.1" Height="20"></aspxform:XTextBox>
        <aspxform:XTextBox id="XTextBox175" runat="server" XDataBind="varSumSalesAmount" BorderWidth="1px" BorderColor="Gainsboro" Width="88px" HiddenInput="true" Max="0" Min="0" Value ValueToDisplayText Express="DF_CRM_ReportSalesOpportunities.SUMPDSellingTotalvalueRMB" Height="20"></aspxform:XTextBox>
        <div id="dnew" style="TEXT-ALIGN: center" runat="server">
            <br />
            <div class="scrollDiv" id="scrollDiv" style="HEIGHT: 430px;margin:0 auto;">
                <table width="5860" align="center" class="scrolltable" id="tablenew" border="0" runat="server" menudock="Left" dynamicarea="2,1">
                    <tbody>
                        <tr class="scrollColThead">
                            <th height="26" class="scrollRowThead scrollCR" style="TEXT-ALIGN: left" colspan="51">
                                <asp:Label id="XLabel8" runat="server" text="产品明细 " valuetodisplaytext value></asp:Label> <%--<aspxform:XDataBrowserButton id="XDataBrowserButton5" runat="server" Text="导入CRM产品信息" Width="150px" HiddenExpress="DF_SA_MarketInquiry.BU=='ATBU'" DisplayColumns="DESCRIPTION:销售机会,;QUANTITY:数量,;EXTENDEDPRICE:含税销售单价,;NAME:产品型号,;PRODUCTID:产品CRMID," XDataSource="DataSource:CRM正式库;TableName:BPM_PRODUCT;Filter:OPPORTUNITYID->DF_SA_MarketInquiry.SalesOpportunitiesID;BufferType:RuntimeUpdate" DataMap="QUANTITY->DF_CRM_ReportMarketInquiryApparatusList.Number;NAME->DF_CRM_ReportMarketInquiryApparatusList.ProductModel;PRODUCTID->DF_CRM_ReportMarketInquiryApparatusList.ProductCRMID;CALCPRICE->DF_CRM_ReportMarketInquiryApparatusList.PDSellingPriceRest" Height="25px" MultiSelect="True"></aspxform:XDataBrowserButton>--%>
                                <aspxform:XCustomBrowserButton id="XCustomBrowserButton7" runat="server" Width="150px" XClass="Oimec.Dialogs.ProductButton" Text="选择产品信息" DataMap="PrdtID->DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID;PrdtName->DF_CRM_ReportMarketInquiryApparatusList.ProductNmae;PrdtModelNo->DF_CRM_ReportMarketInquiryApparatusList.ProductModel;SalesSapID->SASapID;ServicesSapID->SEVSapID;ProprietarySapID->PROSapID;OtherSapID->OTHSapID;ManufacturerID->DF_CRM_ReportMarketInquiryApparatusList.ManufacturerID;OriginCountry->varOrigin" Height="25px" AppendMode="Append" BrowserWindowType="AjaxPanel" MultiSelect="True"></aspxform:XCustomBrowserButton>
                                <asp:Label id="XLabel220" runat="server" text="同一型号不同的供应商采购，请分行填写" valuetodisplaytext value forecolor="Red" font-size="8pt"></asp:Label>
                            </th>
                        </tr>
                        <tr class="scrollColThead">
                            <th width="42" height="44" class="tds">
                                <asp:Label id="XLabel9" runat="server" text="序号" valuetodisplaytext value></asp:Label>
                            </th>
                            <th width="167" class="tds">
                                <asp:Label id="XLabel184" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>
                                <aspxform:XLabel id="XLabel96" runat="server" XDataBind="yewufenlei" Value ValueToDisplayText BackColor="#d5dade" Text="业务分类" Font-Bold="False"></aspxform:XLabel>
                                <input onclick="AllXINPINXIAOSHOU()" type="button" value="全选为新品销售" />
                            </th>
                            <th width="99" class="tds">
                                <asp:Label id="XLabel11" runat="server" text="物料类型" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="139" class="tds">
                                <asp:Label id="XLabel12" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel14" runat="server" text="产品型号" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="117" class="tds">
                                <asp:Label id="XLabel185" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel20" runat="server" text="产品名称" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="101" class="tds">
                                <asp:Label id="XLabel186" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel15" runat="server" text="SAP物料号" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="99" class="tds">
                                <asp:Label id="XLabel187" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel16" runat="server" text="厂商编号" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="99" class="tds">
                                <asp:Label id="XLabel188" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel17" runat="server" text="厂商名称" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="109" class="tds">
                                <asp:Label id="XLabel189" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel21" runat="server" text="数量" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel190" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel23" runat="server" text="含税销售单价（销售币种）" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel24" runat="server" text="含税销售总价（销售币种）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel25" runat="server" text="不含税销售总价（销售币种）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="115" class="tds">
                                <asp:Label id="XLabel26" runat="server" text="含税销售单价（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="115" class="tds">
                                <asp:Label id="XLabel28" runat="server" text="含税销售总价（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="115" class="tds">
                                <asp:Label id="XLabel29" runat="server" text="不含税销售总价（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <td width="119" class="tds">
                                <asp:Label id="XLabel232" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel102" runat="server" text="采购模式" valuetodisplaytext value xdatabind="caigoumoshi"></asp:Label></td>
                            <th width="150" class="tds">
                                <asp:Label id="XLabel246" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel247" runat="server" text="供应商直发" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="199" class="tds">
                                <asp:Label id="XLabel249" runat="server" text="直发条件" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="99" class="tds">
                                <asp:Label id="XLabel200" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel31" runat="server" text="采购数量" valuetodisplaytext value font-bold="False"></asp:Label> 
                            </th>
                            <th width="115" class="tds">
                                <asp:Label id="XLabel201" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel32" runat="server" text="采购币种" valuetodisplaytext value font-bold="False" xdatabind="caigoubizhong"></asp:Label> 
                            </th>
                            <td width="120" class="tds">
                                <asp:Label id="XLabel202" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel18" runat="server" text="含税采购单价（采购币种）" valuetodisplaytext value></asp:Label> 
                                <input onclick="GetStockingPrice()" type="button" value="SAP备货价格" /></td>
                            <th width="112" class="tds">
                                <asp:Label id="XLabel19" runat="server" text="采购折扣" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel49" runat="server" text="含税采购总价（采购币种）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel50" runat="server" text="不含税采购总价（采购币种）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel51" runat="server" text="含税采购单价（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel52" runat="server" text="含税采购总价（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel58" runat="server" text="不含税采购总价（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel59" runat="server" text="国际运保费率" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="115" class="tds">
                                <asp:Label id="XLabel136" runat="server" text="国际运保费（采购币种）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="112" class="tds">
                                <asp:Label id="XLabel61" runat="server" text="国际运保费(人民币)" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <th width="102" class="tds">
                                <asp:Label id="XLabel72" runat="server" text="报关杂费（人民币）" valuetodisplaytext value font-bold="False"></asp:Label>
                            </th>
                            <td width="115" class="tds">
                                <asp:Label id="XLabel91" runat="server" text="关税税率" valuetodisplaytext value></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label id="XLabel178" runat="server" text="（以实际为准）" valuetodisplaytext value forecolor="Red"></asp:Label></td>
                            <td width="100" class="tds">
                                <asp:Label id="XLabel92" runat="server" text="关税小计(人民币)" valuetodisplaytext value></asp:Label></td>
                            <td width="99" class="tds">
                                <asp:Label id="XLabel135" runat="server" text="毛利" valuetodisplaytext value></asp:Label></td>
                            <td width="115" class="tds">
                               <asp:Label id="XLabel93" runat="server" text="计划行类别" valuetodisplaytext value></asp:Label></td>
                            <td width="171" class="tds">
                                <asp:Label id="XLabel209" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel103" runat="server" text="采购供应商" valuetodisplaytext value></asp:Label></td>
                            <td width="114" class="tds">
                                <asp:Label id="XLabel104" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                            <td width="114" class="tds">
                                <asp:Label id="XLabel105" runat="server" text="联系电话" valuetodisplaytext value></asp:Label></td>
                            <td width="330" class="tds">
                                <asp:Label id="XLabel106" runat="server" text="采购付款方式" valuetodisplaytext value></asp:Label></td>
                            <td width="121" class="tds">
                                <asp:Label id="XLabel107" runat="server" text="采购发票税点" valuetodisplaytext value xdatabind="caigoufapiaoshuidian"></asp:Label></td>
                            <td width="114" class="tds">
                                <asp:Label id="XLabel133" runat="server" text="供应商货期" valuetodisplaytext value></asp:Label></td>
                            <td width="160" class="tds">
                                <asp:Label id="XLabel218" runat="server" text="*" valuetodisplaytext value forecolor="Red"></asp:Label>&nbsp;<asp:Label id="XLabel134" runat="server" text="客户保修期" valuetodisplaytext value></asp:Label></td>
                            <td width="150" class="tds">
                                <aspxform:XLabel id="XLabel219" runat="server" Value ValueToDisplayText BackColor="#d5dade" Text="*" HiddenExpress="DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' " ForeColor="Red"></aspxform:XLabel>
                                &nbsp;<asp:Label id="XLabel113" runat="server" text="供应商保修期" valuetodisplaytext value></asp:Label></td>
                            <td width="220" class="tds">
                                <aspxform:XLabel id="XLabel179" runat="server" Value ValueToDisplayText BackColor="#d5dade" Text="*" HiddenExpress="DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' " ForeColor="Red"></aspxform:XLabel>
                                &nbsp;<asp:Label id="XLabel10" runat="server" text="报供应商最终客户名称" valuetodisplaytext value></asp:Label></td>
                            <td width="175" class="tds">
                                <asp:Label id="XLabel242" runat="server" text="国际运保费小计（采购币种）" valuetodisplaytext value></asp:Label></td>
                            <%--<td width="140" class="tds">
                                <asp:Label id="XLabel241" runat="server" text="采购处理单号" valuetodisplaytext value></asp:Label></td>
                            <td width="134" class="tds">
                                <asp:Label id="XLabel243" runat="server" text="采购员" valuetodisplaytext value></asp:Label></td>--%>
                             <td width="100" class="tds">
                                <asp:Label id="Label118" runat="server" valuetodisplaytext value text="加征关税%"></asp:Label></td>
                            <td width="100" class="tds">
                                <asp:Label id="Label119" runat="server" valuetodisplaytext value text="加征关税小计（人民币）"></asp:Label></td>
                            <td width="134" class="tds">
                                <asp:Label id="Label120" runat="server" text="客户指定供应商" valuetodisplaytext value></asp:Label></td>
                             <td width="134" class="tds">
                                <asp:Label id="Label174" runat="server" text="厂商直/分销" valuetodisplaytext value></asp:Label></td>
                             <td width="134" class="tds">
                                <asp:Label id="Label123" runat="server" text="客户交货期限" valuetodisplaytext value></asp:Label></td>
                             <td width="134" class="tds">
                                <asp:Label id="Label103" runat="server" text="审批状态" valuetodisplaytext value></asp:Label></td>
                            <td width="4">
                            </td>
                            <%--<td width="104" class="tds">
                                <asp:Label id="Label4" runat="server" valuetodisplaytext value text="不含税库存成本单价(CNY)"></asp:Label></td>--%>
                        </tr>
                        <tbody>
                            <tr>
                                <td height="45" class="tds1" style="TEXT-ALIGN: center">
                                    <aspxform:XGridLineNo id="XGridLineNo1" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.RowNumber" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="Transparent" TextMode="MultiLine" TextAlign="Center" BorderStyle="None" RenderAs="Label">1</aspxform:XGridLineNo>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList6" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.BusinessClassification" XDataSource="TableName:V_DF_SA_SS_BusinessCategories;Filter:OrderBy:'OrderID';BufferType:RuntimeUpdate" DataMap="Value->DF_CRM_ReportMarketInquiryApparatusList.MaterialType;Value1->DF_CRM_ReportMarketInquiryApparatusList.BusinessClassificationID" ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XDropDownList id="XDropDownList45" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.TSType" HiddenExpress="DF_CRM_ReportMarketInquiryApparatusList.BusinessClassification!='代理维修'&amp;&amp; DF_CRM_ReportMarketInquiryApparatusList.BusinessClassification!='代理延保'&amp;&amp; DF_CRM_ReportMarketInquiryApparatusList.BusinessClassification!='代理校准'" PromptText="--请选择--">
                                        <asp:ListItem>泰克原厂服务</asp:ListItem>
                                        <asp:ListItem>是德原厂服务</asp:ListItem>
                                        <asp:ListItem>其他</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox186" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.BusinessClassificationID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="true" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox117" runat="server" XDataBind="SASapID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="true" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox118" runat="server" XDataBind="PROSapID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="true" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox119" runat="server" XDataBind="OTHSapID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="true" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox120" runat="server" XDataBind="SEVSapID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="true" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox16" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.MaterialType" BorderWidth="1" BorderColor="#DCDCDC" Width="90%" ValueToDisplayText BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox class="prdtModel" name="prdtModel" id="XTextBox18" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ProductModel" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                                    <%-- <aspxform:XDropDownList id="XDropDownList29" runat="server" HiddenExpress="1" Width="1px" DataMap="PrdtID->DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID;PrdtName->DF_CRM_ReportMarketInquiryApparatusList.ProductNmae;SalesSapID->SASapID;ServicesSapID->SEVSapID;OtherSapID->OTHSapID;ProprietarySapID->PROSapID;Name->DF_CRM_ReportMarketInquiryApparatusList.Manufacturer;ManufacturerID->DF_CRM_ReportMarketInquiryApparatusList.ManufacturerID" XDataSource="ProcedureName:PROC_DF_SA_PRODUCTS;Filter:@PrdtModelNo -> DF_CRM_ReportMarketInquiryApparatusList.ProductModel,@CreateName -> DF_SA_MarketInquiry.OwnerID;BufferType:RuntimeUpdate" ValueColumn="PrdtName" DisplayColumn="PrdtName" DisableExpress="1">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>--%>
                                    <aspxform:XCustomBrowserButton id="XCustomBrowserButton8" runat="server" Width="20px" XClass="Oimec.Dialogs.ProductInfoButton" Text="..." DataMap="PrdtID->DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID;PrdtName->DF_CRM_ReportMarketInquiryApparatusList.ProductNmae;PrdtModelNo->DF_CRM_ReportMarketInquiryApparatusList.ProductModel;SalesSapID->SASapID;ServicesSapID->SEVSapID;ProprietarySapID->PROSapID;OtherSapID->OTHSapID;ManufacturerID->DF_CRM_ReportMarketInquiryApparatusList.ManufacturerID;OriginCountry->varOrigin" BrowserWindowType="AjaxPanel" MultiSelect="false" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False"></aspxform:XCustomBrowserButton>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox19" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ProductNmae" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox189" runat="server" XDataBind="varOrigin" BorderWidth="1" BorderColor="#DCDCDC" Width="30px" HiddenInput="True"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox20" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.MaterialID" BorderWidth="1" BorderColor="#DCDCDC" Width="90%" BackColor="#E6F1F8" DisableExpress="1" Express="javascript('GetPROSAPID',DF_CRM_ReportMarketInquiryApparatusList.MaterialType,SASapID,PROSapID,OTHSapID,SEVSapID)"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox121" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox122" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ProductCRMID" BorderWidth="1" BorderColor="#DCDCDC" Width="1px" HiddenExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox21" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ManufacturerID" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                                     <aspxform:XDropDownList id="XDropDownList29" runat="server" Width="1px" HiddenExpress="1" XDataSource="TableName:V_DF_PRODUCTS_ProductManagement;Filter:PrdtID->DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID" DataMap="ManufacturerName->DF_CRM_ReportMarketInquiryApparatusList.Manufacturer" ValueColumn="ItemID" DisplayColumn="Name">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox22" name="Manufacturer" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Manufacturer" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <div style="FLOAT: left">
                                        <aspxform:XTextBox id="XTextBox23" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Number" BorderWidth="1" BorderColor="#DCDCDC" Width="80" TextAlign="Center"></aspxform:XTextBox>
                                    </div>
                                    <div style="FLOAT: left">
                                        <aspxform:XTextBox id="XTextBox170" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Unit" BorderWidth="1" BorderColor="#DCDCDC" Width="20" Text="台" TextAlign="Center"></aspxform:XTextBox>
                                    </div>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox24" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDSellingPriceRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox26" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.Number * DF_CRM_ReportMarketInquiryApparatusList.PDSellingPriceRest" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox27" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.NPDSellingTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="javascript('IFBillingCompany',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRest,shuilv)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox32" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDSellingPriceRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.PDSellingPriceRest * DF_CRM_ReportSalesOpportunities.ExchangeRate" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox33" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRest * DF_CRM_ReportSalesOpportunities.ExchangeRate" TextAlign="Right"></aspxform:XTextBox>
                                    <aspxform:XTextBox class="sellValue" id="XTextBox174" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRMB"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox34" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.NPDSellingTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.NPDSellingTotalvalueRest * DF_CRM_ReportSalesOpportunities.ExchangeRate" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList10" name="PurchasingPattern" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern" XDataSource="TableName:V_DF_CRM_ProcurementModel" ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XDropDownList id="XDropDownList35" runat="server" Width="10px" HiddenExpress="1" XDataSource="ProcedureName:PROC_DF_CRM_PriceSystem;Filter:@ProductModel->DF_CRM_ReportMarketInquiryApparatusList.ProductModel,@Currency->DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency,@PurchasingPattern->DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern" DataMap="PDPurchasePriceRest->PDPurchasePriceRest;Discount->DingHuoZheKou" ValueColumn="PDPurchasePriceRest" DisplayColumn="PDPurchasePriceRest">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                </td>
                                <td class="tds1">
                                    <aspxform:XRadioButtonList id="XRadioButtonList6" name="IsSupplierSend" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.IsSupplierSend" RepeatDirection="Horizontal">
                                        <asp:ListItem  Selected="True">非直发</asp:ListItem>
                                        <asp:ListItem>直发</asp:ListItem>
                                    </aspxform:XRadioButtonList>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList24" runat="server" HiddenExpress="DF_CRM_ReportMarketInquiryApparatusList.IsSupplierSend!='直发'" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierSendReason"  style="width:90%"  ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                        <asp:ListItem>重量超过50KGS 体积超过1立方米</asp:ListItem>
                                        <asp:ListItem>产品数量大于30件，且单个货物体积超过0.2立方米</asp:ListItem>
                                        <asp:ListItem>特殊运输要求（易燃易爆产品、精密仪器、不适合转运产品）</asp:ListItem>
                                         <asp:ListItem>无实物产品</asp:ListItem>
                                        <asp:ListItem>客户货期紧急：要求3个工作日内交付</asp:ListItem>
                                        <asp:ListItem>符合以上多种情况</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox180" HiddenExpress="1"  runat="server" XDataBind="SupplierSendReason" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox35" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PurchaseNumber" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" HiddenInput="False" ReadOnly="True" Express="DF_CRM_ReportMarketInquiryApparatusList.Number" TextAlign="Center"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList14" name="PrchaseCurrency" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency" XDataSource="TableName:V_DF_SA_SS_PurchasingCurrency;Filter:BufferType:RuntimeUpdate" ValueColumn="Name" DisplayColumn="Name" DisableExpress='DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=="备货"' PromptText="--请选择--">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox61" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ExchangeRate" BorderWidth="1" BorderColor="#DCDCDC" Width="1px" HiddenExpress="1" Format="type:number;.4"></aspxform:XTextBox>
                                    <aspxform:XDropDownList id="XDropDownList19" runat="server" Width="10px" HiddenExpress="1" XDataSource="TableName:DF_SA_SS_ExchangeRate;Filter:ForeignCurrency->DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency" DataMap="ComputeRate->DF_CRM_ReportMarketInquiryApparatusList.ExchangeRate" ValueColumn="ComputeRate" DisplayColumn="ComputeRate">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox36" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDPurchasePriceRest" BorderWidth="1px" BorderColor="Gainsboro" Width="100%" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText Format="type:currency;.2" Express="javascript('DingHuoCaiGouJiaGe',DF_CRM_ReportMarketInquiryApparatusList.PDPurchasePriceRest,PDPurchasePriceRest,DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern)" TextAlign="Right" AutoCompleteType="Disabled"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox144" runat="server" XDataBind="PDPurchasePriceRest" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox37" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Discount" BorderWidth="1" BorderColor="#DCDCDC" Width="70px" Format="type:number;.2" Express="javascript('DingHuoCaiGouZheKou',DF_CRM_ReportMarketInquiryApparatusList.Discount,DingHuoZheKou,DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern)" TextAlign="Right"></aspxform:XTextBox>
                                    % 
                                    <aspxform:XTextBox id="XTextBox76" runat="server" XDataBind="zhekou" BorderWidth="1" BorderColor="#DCDCDC" Width="1px" HiddenExpress="1" Express=" (100 - DF_CRM_ReportMarketInquiryApparatusList.Discount)  /  100"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox162" runat="server" XDataBind="DingHuoZheKou" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox38" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDPurchaseTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="javascript('CountPurchasePrices',DF_CRM_ReportMarketInquiryApparatusList.Discount,DF_CRM_ReportMarketInquiryApparatusList.PDPurchasePriceRest,DF_CRM_ReportMarketInquiryApparatusList.PurchaseNumber)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox39" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="javascript('IFPDPurchaseTotalvalueRest',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportMarketInquiryApparatusList.PDPurchaseTotalvalueRest,caigoushuilv)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox40" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDPurchasePriceRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.ExchangeRate * DF_CRM_ReportMarketInquiryApparatusList.PDPurchasePriceRest" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox41" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PDPurchaseTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.PDPurchaseTotalvalueRest * DF_CRM_ReportMarketInquiryApparatusList.ExchangeRate" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox71" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRest * DF_CRM_ReportMarketInquiryApparatusList.ExchangeRate" TextAlign="Right"></aspxform:XTextBox>
                                    <aspxform:XTextBox class="purchaseValue" id="XTextBox173" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox42" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.InternationCIF" BorderWidth="1" BorderColor="#DCDCDC" Width="70px" Format="type:number;.2" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY' || DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' " TextAlign="Right"></aspxform:XTextBox>
                                    %<aspxform:XTextBox id="XTextBox45" runat="server" XDataBind="guoji" BorderWidth="1" BorderColor="#DCDCDC" Width="1px" HiddenExpress="1" Express="(DF_CRM_ReportMarketInquiryApparatusList.InternationCIF / 100)"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox100" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRateForeign" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" Format="type:number;.2" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY' || DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' "></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox44" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRate" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" BackColor="#E6F1F8" Format="type:number;.2" DisableExpress="1" Express="guojiyunbaofei2" TextAlign="Right"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox60" runat="server" XDataBind="guojiyunbaofei2" BorderWidth="1px" BorderColor="Gainsboro" Width="1px" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText HiddenExpress="1" Express="javascript('CountGUOJIYUNFEI',DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRateForeign,DF_CRM_ReportMarketInquiryApparatusList.ExchangeRate,DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB,guoji) "></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox46" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.CustomsFees" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" Format="type:currency;pfx:￥;.2" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY' || (DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency !='CNY' &amp;&amp; DF_CRM_ReportSalesOpportunities.ContractCurrency !='CNY') || DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' " TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox48" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.TariffRate" BorderWidth="1" BorderColor="#DCDCDC" Width="80px" Format="type:number;.2" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY' || (DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency !='CNY' &amp;&amp; DF_CRM_ReportSalesOpportunities.ContractCurrency !='CNY')  ||DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' " TextAlign="Right"></aspxform:XTextBox>
                                    %<aspxform:XTextBox id="XTextBox51" runat="server" XDataBind="guanshui" BorderWidth="1" BorderColor="#DCDCDC" Width="1px" HiddenExpress="1" Express="DF_CRM_ReportMarketInquiryApparatusList.TariffRate / 100"></aspxform:XTextBox>
                                    <%--<aspxform:XDropDownList id="XDropDownList45" runat="server" HiddenExpress="1" DataMap="TaxRate->DF_CRM_ReportMarketInquiryApparatusList.TariffRate" XDataSource="TableName:DF_SA_SS_PurchaseTariffRates;Filter:ProductBPMID->DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID;BufferType:RuntimeUpdate" ValueColumn="TaxRate" DisplayColumn="TaxRate">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>--%></td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox52" runat="server" XDataBind="guanshuixiaoji" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="(DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB + DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRate ) *  (DF_CRM_ReportMarketInquiryApparatusList.TariffRate / 100)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox75" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.GrossMargin" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" Format="type:currency;pfx:￥;.2" Express="DF_CRM_ReportMarketInquiryApparatusList.NPDSellingTotalvalueRMB - DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB " TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList15" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PlanSort" DisableExpress='DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=="备货"' Express="javascript('ISPlanSort',DF_CRM_ReportMarketInquiryApparatusList.PurchaseNumber,DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern)" PromptText="--请选择--">
                                        <asp:ListItem>BP</asp:ListItem>
                                        <asp:ListItem>BN</asp:ListItem>
                                    </aspxform:XDropDownList>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox77" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SourcingPurchasing" BorderWidth="1" BorderColor="#DCDCDC" Width="80px"></aspxform:XTextBox>
                                      <aspxform:XTextBox id="SupplierSAPID" name="SupplierSAPID" runat="server" HiddenInput="true" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierSAPID" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" ></aspxform:XTextBox>
                                    <aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Width="20px" XClass="YZSoft.Forms.Field.DataBrowserButton" Text="..." XDataSource="TableName:V_DF_Supplier_ZK;" DataMap="SupplierName->DF_CRM_ReportMarketInquiryApparatusList.SourcingPurchasing;SupplierID->PartnerID;SupplierSAPID->DF_CRM_ReportMarketInquiryApparatusList.SupplierSAPID" DisplayColumns="SupplierName:供应商名称;SupplierID:供应商ID;SupplierSAPID:供应商SAPID" UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>
                                     <%--<aspxform:XDataBrowserButton id="XDataBrowserButton2" runat="server" Width="20px" XClass="YZSoft.Forms.Field.DataBrowserButton"  XDataSource="TableName:DF_Partner;" Text="..." DataMap="Partner->DF_CRM_ReportMarketInquiryApparatusList.SourcingPurchasing;PartnerID->PartnerID " UseSubmitBehavior="False" PopupWndHeight="-1" PopupWndWidth="-1"></aspxform:XDataBrowserButton>--%>
                                     <%--<aspxform:XCheckBox id="XCheckBox3" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.OFHEZUO" Width="30px" Text="合作过"></aspxform:XCheckBox>--%>
                                </td>
                                <td class="tds1">
                                     <aspxform:XTextBox id="PartnerID" runat="server" Width="80px" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="PartnerID" CssClass="SourcingPurchasing" HiddenExpress="1"></aspxform:XTextBox>
                                 
                                     <aspxform:XDropDownList id="XDropDownList27" DataMap="ContactName->DF_CRM_ReportMarketInquiryApparatusList.Linkman;ContactTel->DF_CRM_ReportMarketInquiryApparatusList.Phone" HiddenExpress="1" runat="server" XDataSource="TableName:V_DF_MSupplier_Contact;Filter:CustomerID->PartnerID"  >
                                         
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox78" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Linkman" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' "></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox79" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Phone" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' "></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox81" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PurchasePaymentMethod" BorderWidth="1" BorderColor="#DCDCDC" Width="45%" DisableExpress="DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=='备货' "></aspxform:XTextBox>
                                <%--<aspxform:XCheckBox id="IsAdvancePay" CssClass="IsAdvancePay" runat="server"  Text="有供应商预付" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.IsAdvancePayForSupplier" Width="50%" ></aspxform:XCheckBox>--%>
                                    <asp:Label runat="server" Text="供应商预付" ID="r"></asp:Label>
                                     <aspxform:XRadioButtonList runat="server" style="float:right;" ID="IsAdvancePay" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.IsAdvancePayForSupplier" Width="28%" RepeatDirection="Horizontal" CssClass="IsAdvancePay"  >
                                    <asp:ListItem Value="1">有</asp:ListItem>
                                     <asp:ListItem Value="0">无</asp:ListItem>
                                </aspxform:XRadioButtonList>
                                     </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList16" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PurchaseInvoiceTaxPoint" XDataSource="TableName:V_DF_SA_SS_PurchaseInvoice;Filter:BufferType:RuntimeUpdate;OrderBy:OrderID" DataMap="Value->caigoushuilv" ValueColumn="Name" DisplayColumn="Name" DisableExpress='DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency!="CNY"||DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=="备货"' Express="javascript('IFCNY',DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency,DF_CRM_ReportMarketInquiryApparatusList.PurchaseInvoiceTaxPoint,DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern)" PromptText="--请选择--">
                                        <asp:ListItem>未绑定</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox64" runat="server" XDataBind="caigoushuilv" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox91" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierDeliveryDate" BorderWidth="1" BorderColor="#DCDCDC" Width="100%"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList33" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.WarrantyPeriod" XDataSource="BufferType:RuntimeUpdate" PromptText="--请选择--">
                                        <asp:ListItem>1年</asp:ListItem>
                                        <asp:ListItem>2年</asp:ListItem>
                                        <asp:ListItem>3年</asp:ListItem>
                                        <asp:ListItem>5年</asp:ListItem>
                                        <asp:ListItem>其他</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox92" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.WarrantyPeriodOther" BorderWidth="1" BorderColor="#DCDCDC" Width="90px" HiddenExpress="DF_CRM_ReportMarketInquiryApparatusList.WarrantyPeriod != '其他'"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList id="XDropDownList32" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierPeriod" DisableExpress='DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern=="备货"' PromptText="--请选择--">
                                        <asp:ListItem>1年</asp:ListItem>
                                        <asp:ListItem>2年</asp:ListItem>
                                        <asp:ListItem>3年</asp:ListItem>
                                        <asp:ListItem>5年</asp:ListItem>
                                        <asp:ListItem>其他</asp:ListItem>
                                    </aspxform:XDropDownList>
                                    <aspxform:XTextBox id="XTextBox93" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierPeriodOther" BorderWidth="1px" BorderColor="Gainsboro" Width="90px" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText HiddenExpress='DF_CRM_ReportMarketInquiryApparatusList.SupplierPeriod != "其他"'></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox143" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerName" BorderWidth="1" BorderColor="#DCDCDC" Width="80%" ReadOnly="True" Express="if(DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerName=='',DF_CRM_ReportSalesOpportunities.PTPName,DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerName)"></aspxform:XTextBox>
                                    <aspxform:XDataBrowserButton id="XDataBrowserButton4" runat="server" Width="20px" XClass="YZSoft.Forms.Field.DataBrowserButton" Text="..." XDataSource="TableName:V_DF_MasterData_Customer" DataMap="CustomerNameCH->DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerName;CustomerSAPID->DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerSAPID;IsFlag->DF_CRM_ReportMarketInquiryApparatusList.IsFlag" PopupWndWidth="-1" PopupWndHeight="-1" UseSubmitBehavior="False" DisplayColumns="CustomerID:客户编号;CustomerNameCH:客户名称;CustomerSAPID:SAPID;IsFlag:红旗客户;CusLeavel:客户等级"></aspxform:XDataBrowserButton>
                                    <aspxform:XTextBox id="XTextBox53" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.IsFlag" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="True" Express="if(DF_CRM_ReportMarketInquiryApparatusList.IsFlag=='',DF_CRM_ReportSalesOpportunities.IsFlag2,DF_CRM_ReportMarketInquiryApparatusList.IsFlag)"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox182" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerSAPID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenInput="True" Express="if(DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerSAPID=='',DF_CRM_ReportSalesOpportunities.PTPSapID,DF_CRM_ReportMarketInquiryApparatusList.SupplierCustomerSAPID)"></aspxform:XTextBox>
                                </td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="XTextBox169" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SUMInternationCIF" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" Format="type:number;.2" DisableExpress="1" Express='if(DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRateForeign==0||DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRateForeign=="",DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRest*DF_CRM_ReportMarketInquiryApparatusList.InternationCIF/100,DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRateForeign)' TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds1" bordercolor="#dcdcdc" borderwidth="1" hidden="hidden">
                                    <aspxform:XHistoryFormLink id="XHistoryFormLink1" name="PurchseTaskID" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.PurchseTaskID" BackColor="#e9f1f4" Express="taskId" PopupWndWidth="-1" PopupWndHeight="-1" EmptyText="尚未关联">#SerialNum</aspxform:XHistoryFormLink>
                                </td>
                                <td class="tds1" bordercolor="#dcdcdc" borderwidth="1" hidden="hidden">
                                    <aspxform:XTextBox id="XTextBox176" name="Purchaser" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.Purchaser" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                                    <aspxform:XTextBox id="XTextBox188" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" HiddenInput="True" Express='javascript("UpLineItemStyle",DF_CRM_ReportSalesOpportunities.ContractCurrency,DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency,DF_CRM_ReportMarketInquiryApparatusList.PurchasingPattern,DF_CRM_ReportMarketInquiryApparatusList.RowNumber)'></aspxform:XTextBox>
                                </td>
                                  <td class="tds1">
                                    <aspxform:XTextBox id="IncreaseTariff" runat="server" BorderWidth="1px" BorderColor="Gainsboro" Width="80px" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.IncreaseTariff" Max="0" Min="0" BackColor="#E6F1F8" Value ValueToDisplayText HiddenInput="False" Express="javascript('param.GetPurchasingTariff',DF_CRM_ReportSalesOpportunities.ContractCurrency,DF_CRM_ReportMarketInquiryApparatusList.ProductModel,DF_CRM_ReportMarketInquiryApparatusList.ProductBPMID,DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency,DF_CRM_ReportMarketInquiryApparatusList.RowNumber)" DisableExpress="1" Format="type:currency;.2" TextAlign="Right"></aspxform:XTextBox>
                                    %</td>
                                <td class="tds1">
                                    <aspxform:XTextBox id="SUMIncreaseTariff" runat="server" BorderWidth="1px" BorderColor="Gainsboro" Width="100%" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.SUMIncreaseTariff" Max="0" Min="0" BackColor="#E6F1F8" Value ValueToDisplayText HiddenInput="False" Express="(DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB + DF_CRM_ReportMarketInquiryApparatusList.InternationCIFRate ) *  (DF_CRM_ReportMarketInquiryApparatusList.IncreaseTariff / 100)" DisableExpress="1" Format="type:currency;.2" TextAlign="Right" AutoCompleteType="Disabled"></aspxform:XTextBox>
                                </td>
                                  <td class="tds1">
                                  <aspxform:XDropDownList id="CustomerDesignatedSupplier" name="CustomerDesignatedSupplier" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.CustomerDesignatedSupplier"   PromptText="--请选择--">
                                        <asp:ListItem>是</asp:ListItem>
                                        <asp:ListItem>否</asp:ListItem>
                                     </aspxform:XDropDownList>
                                    </td>
                                <td class="tds1">
                                    <aspxform:XDropDownList runat="server" ID="DirectDistribution"  name="DirectDistribution" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.DirectDistribution" PromptText="--请选择--">
                                         <asp:ListItem>直销</asp:ListItem>
                                        <asp:ListItem>分销</asp:ListItem>
                                    </aspxform:XDropDownList>
                                </td>
                                 <td class="tds1">
                                   <aspxform:XTextBox id="DeliveryDeadline" name="DeliveryDeadline" runat="server"  Width="55%" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.DeliveryDeadline" BackColor="#E6F1F8" ></aspxform:XTextBox>
                                      <aspxform:XDropDownList id="DeliveryDeadlineDayOrWeek" Width="40%" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.DeliveryDeadlineDayOrWeek"  >
                                        <asp:ListItem>周</asp:ListItem>
                                        <asp:ListItem>天</asp:ListItem>
                                     </aspxform:XDropDownList>
                                    </td>
                                 <td class="tds1" bordercolor="#dcdcdc" borderwidth="1">
                                    <aspxform:XTextBox id="XTextBox205" runat="server" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ApprovalStatus" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" DisableExpress="1" name="ApprovalStatus" ></aspxform:XTextBox>
                                    
                                </td>
                                <td>
                                    <aspxform:XTextBox id="XTextBox177" style="HEIGHT: 22px; WIDTH: 3px" runat="server" XDataBind="taskId" BorderWidth="1px" BorderColor="Gainsboro" Width="1px" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText HiddenExpress="1"></aspxform:XTextBox>
                                </td>
                                <%--<td class="tds1">
                                    <aspxform:XTextBox id="XTextBox186" runat="server" BorderWidth="1px" BorderColor="Gainsboro" Width="100%" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.NTCostUnitPrice" Max="0" Min="0" Value ValueToDisplayText HiddenInput="False" Format="type:currency;.2" TextAlign="Right" AutoCompleteType="Disabled"></aspxform:XTextBox>
                                </td>--%>
                                <td hidden="hidden">
                                   <aspxform:XTextBox runat="server" ID="itid" name="itid" XDataBind="DF_CRM_ReportMarketInquiryApparatusList.ItemID"></aspxform:XTextBox>
                               </td>
                            </tr>
                            <tr style="background:#fff">
                                <td height="23">
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td class="tds">
                                    <asp:Label id="XLabel137" runat="server" text="合计" valuetodisplaytext value></asp:Label></td>
                                <td class="tds2">
                                    <aspxform:XTextBox id="XTextBox68" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMPDSellingTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRest)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds2">
                                    <aspxform:XTextBox id="XTextBox73" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.NPDSellingTotalvalueRest)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td>
                                </td>
                                <td class="tds2">
                                    <aspxform:XTextBox id="XTextBox80" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMPDSellingTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.PDSellingTotalvalueRMB)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds2">
                                    <aspxform:XTextBox id="XTextBox84" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.NPDSellingTotalvalueRMB)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <aspxform:XTextBox id="XTextBox96" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMPDPurchaseTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" HiddenExpress="1" Format="type:number;.2" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.PDPurchaseTotalvalueRest)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td>
                                    <aspxform:XTextBox id="XTextBox97" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMNPDPurchaseTotalvalueRest" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" HiddenExpress="1" Format="type:number;.2" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRest)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td>
                                </td>
                                <td class="tds2">
                                    <aspxform:XTextBox id="XTextBox112" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMPDPurchaseTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.PDPurchaseTotalvalueRMB)" TextAlign="Right"></aspxform:XTextBox>
                                </td>
                                <td class="tds2">
                                    <aspxform:XTextBox id="XTextBox98" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SUMNPDPurchaseTotalvalueRMB" BorderWidth="1" BorderColor="#DCDCDC" Width="100%" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="sum(DF_CRM_ReportMarketInquiryApparatusList.NPDPurchaseTotalvalueRMB)" TextAlign="Right"></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>--%>
                            </tr>
                        </tbody>
                    </tbody>
                </table>
            </div>
        </div>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="431" class="title1">
                        <asp:Label id="XLabel237" runat="server" text="上传附件" valuetodisplaytext value></asp:Label><asp:Label id="XLabel203" runat="server" text="产品配置清单与物料申请不一致，需要上传附件" valuetodisplaytext value forecolor="Red" font-size="8pt"></asp:Label></td>
                    <td width="765" class="title1">
                        <aspxform:XRadioButtonList id="XRadioButtonList1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.OFAccessory" RepeatDirection="Horizontal">
                            <asp:ListItem>是</asp:ListItem>
                            <asp:ListItem>否</asp:ListItem>
                        </aspxform:XRadioButtonList>
                    </td>
                </tr>
                <tr>
                    <td class="tsbottomtext" colspan="2">
                        <aspxform:XAttachments id="XAttachments2" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Accessory1" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG;*.msg;*.eml"></aspxform:XAttachments>
                    </td>
                </tr>
            </tbody>
        </table>
        <br />
        <table width="1199" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="Label23" runat="server" text="产品报备" valuetodisplaytext value></asp:Label></td>
                </tr>
                <tr>
                    <td height="30" class="ts" style="WIDTH: 10%">
                        <asp:Label id="Label52" runat="server" text="厂商产品报备" valuetodisplaytext value></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <input id="ManufacturerProductsButton" onclick="param.GetManufacturerProducts()" disabled="disabled" type="button" value="发起厂商产品报备申请" />
                    </td>
                    <td height="30" class="ts" style="WIDTH: 10%">
                        <asp:Label id="Label55" runat="server" text="BU产品报备" valuetodisplaytext value></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%">
                        <input id="BUButton" onclick="param.GetBUProducts()" disabled="disabled" type="button" value="发起BU产品报备申请" />
                    </td>
                </tr>
                 <tr>
                    <td height="30" class="ts" style="WIDTH: 10%">
                        <asp:Label id="Label106" runat="server" text="信控审批" valuetodisplaytext value></asp:Label></td>
                    <td class="ts1" style="WIDTH: 35%" >
                        <input id="CreditControlButton" onclick="param.CreditControl()" disabled="disabled" type="button" value="发起信控审批申请" />
                         <aspxform:XTextBox id="zt" CssClass="zt" XDataBind="DF_CRM_ReportSalesOpportunities.CreditControlState" runat="server" placeholder="Search W3School" Width="20%" BorderColor="#DCDCDC" BorderWidth="1" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                    </td>
                    <td height="22" class="ts" style="WIDTH: 10%">
                           <asp:Label id="Label183" runat="server" text="采购预付款审批" value valuetodisplaytext></asp:Label></td>
                     <td class="ts1" style="WIDTH: 35%">
                          <input class="inputbtn" id="btn_AdvanceCharge" style="WIDTH: 140px" disabled="disabled" onclick="param.GetClickAdvanceCharge()" type="button" size="46" value="发起采购预付款申请" />
                         <aspxform:XTextBox  runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.AdvanceCharge" ID="AdvanceCharge"  Width="30%" BorderColor="#DCDCDC" BorderWidth="1" BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                         </td>
                </tr>
            </tbody>
        </table>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' " />
        <table width="1199" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='30%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="Label36" runat="server" text="商务信息" valuetodisplaytext value></asp:Label>
                        <input class="inputbtn" id="btn_BusinessInformation" onclick="param.ShowHidden('btn_BusinessInformation', 'BusinessInformationTable');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="BusinessInformationTable">
                    <tr>
                        <td height="23" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label94" runat="server" text="开票公司" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList11" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.BillingCompany" Width="70%" XDataSource="TableName:DF_SA_SS_Company;OrderBy:'CompanyCode';BufferType:RuntimeUpdate" ValueColumn="Company" DisplayColumn="Company" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td height="23" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label48" runat="server" text="销售币种" valuetodisplaytext value font-bold="True"></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList17" runat="server" font-bold="True" XDataBind="DF_CRM_ReportSalesOpportunities.ContractCurrency" Width="70%" XDataSource="TableName:V_DF_SA_SS_SalesCurrency;Filter:BufferType:RuntimeUpdate" ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td height="23" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label90" runat="server" text="销售组织" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList28" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SalesOrganization" Width="70%" XDataSource="TableName:V_DF_SA_SS_SalesOrganizing;Filter:CompanyName->DF_CRM_ReportSalesOpportunities.BillingCompany" ValueColumn="SalesOrganization" DisplayColumn="SalesOrganization">
                                <asp:ListItem Selected="True">未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XTextBox id="XTextBox215" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SalesOrganizationCode" BorderWidth="1" BorderColor="#DCDCDC" Width="100px" ValueToDisplayText DisableExpress="1"></aspxform:XTextBox>
                            <aspxform:XDropDownList id="XDropDownList34" runat="server" HiddenExpress="1" XDataSource="ProcedureName:proc_DF_SA_SS_SalesOrganizing;Filter:@Company->DF_CRM_ReportSalesOpportunities.BillingCompany,@SalesOrganization->DF_CRM_ReportSalesOpportunities.SalesOrganization" DataMap="SalesOrganizationCode->DF_CRM_ReportSalesOpportunities.SalesOrganizationCode" ValueColumn="SalesOrganizationCode" DisplayColumn="SalesOrganizationCode">
                                <asp:ListItem Selected="True">未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label91" runat="server" text="事业部" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList22" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ProductLine" Width="70%" XDataSource="TableName:V_DF_SA_SS_ProductLine;Filter:OrderBy:'OrderID';BufferType:RuntimeUpdate" ValueColumn="Value" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XLabel id="XLabel1" runat="server" XDataBind="chanpinxian" Width="70%" Value ValueToDisplayText BackColor="#d4e4fe" Text="产品线" HiddenExpress="1"></aspxform:XLabel>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label92" runat="server" text="分销渠道" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList12" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ChannelOfDistribution" XDataSource="TableName:DF_DataSourceList;Filter:Type->fenxiaoqudao;BufferType:RuntimeUpdate" ValueColumn="Value" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XLabel id="XLabel2" runat="server" XDataBind="fenxiaoqudao" Value ValueToDisplayText BackColor="#d4e4fe" Text="分销渠道" HiddenExpress="1"></aspxform:XLabel>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label93" runat="server" text="销售办公室" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList42" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SalesOffice" Width="70%" XDataSource="TableName:DF_SA_SS_SalesOffice;OrderBy:OrderID" ValueColumn="SalesOfficeID" DisplayColumn="SalesOffice" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td height="20" class="ts" style="WIDTH: 10%">
                            <asp:Label id="XLabel65" runat="server" text="付款条件" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TermsPayment" Width="70%" XDataSource="TableName:V_DF_SA_SS_PaymentTerms;Filter:ValueAssociate->'销售额';OrderBy:OrderID" DataMap="Value->DF_CRM_ReportSalesOpportunities.TermsPaymentID;CalValue->DF_CRM_ReportSalesOpportunities.PaymentDays;Email->koukuanleixing" ValueColumn="Name" DisplayColumn="Name" Express="DF_CRM_ReportSalesOpportunities.TermsPayment" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XTextBox id="XTextBox90" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TermsPaymentID" BorderWidth="1px" BorderColor="Gainsboro" Width="100px" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText BackColor="#E6F1F8" DisableExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox94" runat="server" XDataBind="koukuanleixing" BorderWidth="1" BorderColor="#DCDCDC" Width="10%" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="XLabel66" runat="server" text="账期" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox65" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PaymentDays" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" BackColor="#E6F1F8" Format="type:number;.0" DisableExpress="1"></aspxform:XTextBox>
                            天</td>
                    </tr>
                    <tr>
                        <td height="23" class="ts" wstyle="width:10%">
                            <asp:Label id="XLabel245" runat="server" text="合同实际付款条件" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%" >
                            <aspxform:XTextBox id="XTextBox179" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ActTermsPayment" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        </td>
                          <td height="23" class="ts" wstyle="width:10%">
                            <asp:Label id="Label117" runat="server" text="SAP报价单号" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%" >
                            <aspxform:XTextBox id="SAPQuotation" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPQuotation" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </tbody>
        </table>
        <br />
        <table width="1199" align="center" class="table" id="SellingPartyTable" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="XLabel46" runat="server" text="售达方客户信息" valuetodisplaytext value></asp:Label>
                        <input id="STPButton" onclick="STPSAPIDCustomer()" type="button" value="售达方客户冻结" />
                        <input class="inputbtn" id="btn_SellingPartyTbody" onclick="param.ShowHidden('btn_SellingPartyTbody', 'SellingPartyTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="SellingPartyTbody">
                    <tr>
                        <td class="ts">
                            <asp:Label id="XLabel47" runat="server" text="售达方客户名称" valuetodisplaytext value></asp:Label>
                            <aspxform:XDropDownList id="XDropDownList30" runat="server" HiddenExpress="1" ValueColumn="CustomerNameCH" DisplayColumn="CustomerNameCH">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox43" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPName" BorderWidth="1" BorderColor="Gainsboro" DisableExpress="1"></aspxform:XTextBox>
                            <aspxform:XCustomBrowserButton id="XCustomBrowserButton4" runat="server" Width="35px" XClass="Oimec.Dialogs.SelCustomerButton" Text="查询" DataMap="CustomerID->BPMID;CustomerNameCH->DF_CRM_ReportSalesOpportunities.STPName;CustomerSAPID->DF_CRM_ReportSalesOpportunities.STPSapID;CusLeavel->DF_CRM_ReportSalesOpportunities.STPCustomerLevel;IsRelatedCus->DF_CRM_ReportSalesOpportunities.IsRelatedCus;IsFlag->DF_CRM_ReportSalesOpportunities.IsFlag1" Height="25px" AppendMode="ClearAndAppend"></aspxform:XCustomBrowserButton>
                            <aspxform:XCustomBrowserButton id="XCustomBrowserButton2" runat="server" Width="35px" XClass="Oimec.Dialogs.CustomerAddButton" Text="新建" Height="25px" BrowserWindowType="AjaxPanel"></aspxform:XCustomBrowserButton>
                        </td>
                        <td class="ts">
                            <asp:Label id="XLabel48" runat="server" text="客户SapID" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox124" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ClientCRMID" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox178" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.IsRelatedCus" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox123" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPClientBPMID" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="BPMID"></aspxform:XTextBox>
                            <aspxform:XTextBox id="BPMID" runat="server" XDataBind="BPMID" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox49" style="WIDTH: 70%" onpropertychange="STPSAPIDCustomer();" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPSapID" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ValueToDisplayText DisableExpress="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="24" class="tsbottomlabel">
                            <asp:Label id="XLabel53" runat="server" text="售达方应收账款" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox54" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPAccountsReceivable" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel54" runat="server" text="售达方客户等级" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox55" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPCustomerLevel" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel30" runat="server" text="超期应收账款" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox105" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPOverdueAccountsReceivable" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" DisableExpress="1"></aspxform:XTextBox>
                            <input onclick="GetInfo()" type="button" value="更新" /></td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel22" runat="server" text="红旗客户" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox106" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.IsFlag1" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" ValueToDisplayText="TableName:V_DF_Customer1;FilterColumn:CustomerID;DisplayColumn:IsFlag" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox140" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="javascript('Flag1',DF_CRM_ReportSalesOpportunities.IsFlag1)"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomtext">
                            <aspxform:XRadioButtonList id="XRadioButtonList3" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPClientTag" DisableExpress="1" RepeatDirection="Horizontal">
                                <asp:ListItem Value="T">是</asp:ListItem>
                                <asp:ListItem Value="F">否</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td height="14" class="tsbottomlabel">
                            <asp:Label id="XLabel207" runat="server" text="超期应收账款说明" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext" colspan="3">
                            <aspxform:XTextBox id="XTextBox145" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.STPOverdueAccountsReceivableExplanation" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" id="SAPTable" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="19" class="title1" colspan="4">
                        <asp:Label id="XLabel81" runat="server" text="SAP订单联系人信息" valuetodisplaytext value></asp:Label>
                        <aspxform:XTextBox id="XTextBox138" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPContactExmessage" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                        <input class="inputbtn" id="btn_SapOrderTbody" onclick="param.ShowHidden('btn_SapOrderTbody', 'SapOrderTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="SapOrderTbody">
                    <tr>
                        <td width="298" height="14" class="ts">
                            <asp:Label id="XLabel82" runat="server" text="售达方客户名称" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox164" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPContactExmessageCode" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td width="298" class="ts1">
                            <aspxform:XTextBox id="XTextBox82" style="WIDTH: 70%"   runat="server" XDataBind="SAPOFName" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.STPName"></aspxform:XTextBox>
                        </td>
                        <td width="298" class="ts">
                            <asp:Label id="XLabel83" runat="server" text="联系人SapID" valuetodisplaytext value></asp:Label></td>
                        <td width="298" class="ts1">
                            <aspxform:XTextBox id="XTextBox86" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFSapID" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="26" class="ts">
                            <asp:Label id="XLabel84" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox83" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFContact" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            <aspxform:XDataBrowserButton id="XDataBrowserButton9" runat="server" Width="35px" Text="查询" XDataSource="TableName:V_DF_MasterData_Contact;Filter:CustomerID->DF_CRM_ReportSalesOpportunities.STPClientBPMID" DataMap="ContactName->DF_CRM_ReportSalesOpportunities.SAPOFContact;ContactSAPID->DF_CRM_ReportSalesOpportunities.SAPOFSapID;ContactTel->DF_CRM_ReportSalesOpportunities.SAPOFPhone;ContactMobile->DF_CRM_ReportSalesOpportunities.SAPOFTelephone;ContactEmail->DF_CRM_ReportSalesOpportunities.SAPOFEmail;ContactDept->DF_CRM_ReportSalesOpportunities.SAPOFDepartment;ContactAddr->DF_CRM_ReportSalesOpportunities.SAPOFAddress" Height="25px" DisplayColumns="ContactName:联系人,60;ContactSAPID:联系人SapID,90;ContactTel:电话,100;ContactMobile:手机号,120;ContactEmail:邮箱,120;ContactAddr:地址,150;ContactDepart:部门描述,150"></aspxform:XDataBrowserButton>
                            <aspxform:XCustomBrowserButton id="XCustomBrowserButton1" runat="server" Width="35px" XClass="Oimec.Dialogs.SalesContactAddButton" Text="新建" DisableExpress='DF_CRM_ReportSalesOpportunities.STPClientBPMID ==  "" ' Height="25px" BrowserWindowType="AjaxPanel"></aspxform:XCustomBrowserButton>
                        </td>
                        <td class="ts">
                            <asp:Label id="XLabel85" runat="server" text="联系电话" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox136" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFAreaCode" BorderWidth="1" BorderColor="#DCDCDC" Width="50px" HiddenInput="true"></aspxform:XTextBox>
                            <aspxform:XTextBox id="SAPOFPhone" oninput="param.SAPOFPhone()" onchange="param.SAPOFPhone()" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFPhone" BorderWidth="1" BorderColor="#DCDCDC" Width="150px"></aspxform:XTextBox>
                            - 
                            <aspxform:XTextBox id="XTextBox137" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFExtCode" BorderWidth="1" BorderColor="#DCDCDC" Width="50px"></aspxform:XTextBox>
                              <asp:Label id="SAPOFPhoneLabel" runat="server" style="display:none;" text="移动电话" >联系电话格式不正确</asp:Label> 
                        </td>
                    </tr>
                    <tr>
                        <td height="14" class="ts">
                            <aspxform:XLabel id="XLabel86" runat="server" XDataBind="BUMEN" Value ValueToDisplayText BackColor="#d4e4fe" Text="部门"></aspxform:XLabel>
                            <aspxform:XTextBox id="XTextBox141" runat="server" XDataBind="Department" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox142" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFDepartmentID" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XDropDownList id="XDropDownList37" runat="server" HiddenExpress="1" XDataSource="TableName:DF_DataSourceList;Filter:Type->BUMEN,Value->Department;BufferType:RuntimeUpdate" DataMap="Value->DF_CRM_ReportSalesOpportunities.SAPOFDepartment" ValueColumn="Name" DisplayColumn="Name">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="ts1">
                            <aspxform:XDropDownList id="XDropDownList36" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFDepartment" XDataSource="TableName:V_DF_SA_SS_DF_Department;BufferType:RuntimeUpdate" DataMap="Value->DF_CRM_ReportSalesOpportunities.SAPOFDepartmentID" ValueColumn="Value" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="ts">
                            <asp:Label id="XLabel87" runat="server" text="移动电话" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1">
                           <aspxform:XTextBox id="SAPOFTelephone" style="WIDTH: 60%" oninput="param.SAPOFTelephone()" onporpertychange="param.SAPOFTelephone()"  runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFTelephone" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                              <asp:Label id="SAPOFTelephoneLabel" runat="server" style="display:none;" text="移动电话" >移动电话格式不正确</asp:Label> 
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel88" runat="server" text="联系地址" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox85" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFAddress" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel89" runat="server" text="Email" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox89" style="WIDTH: 70%"  oninput="param.SAPOFEmail()" onporpertychange="param.SAPOFEmail()"  runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SAPOFEmail" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                              <asp:Label id="EmailLabel" runat="server" text="Email" style="display:none;">邮箱格式不正确</asp:Label> 
                        </td>
                    </tr>
                </tbody>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" id="PayerTable" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td height="16" class="title1" colspan="4">
                        <asp:Label id="XLabel55" runat="server" text="付款方客户信息" valuetodisplaytext value></asp:Label>
                        <input id="PTPButton" onclick="PTPSAPIDCustomer()" type="button" value="付款方客户冻结" />
                        <input class="inputbtn" id="btn_PayerTbody" onclick="param.ShowHidden('btn_PayerTbody', 'PayerTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="PayerTbody">
                    <tr>
                        <td width="607" class="ts">
                            <asp:Label id="XLabel56" runat="server" text="付款方客户名称" valuetodisplaytext value></asp:Label>
                            <aspxform:XDropDownList id="XDropDownList31" runat="server" HiddenExpress="1" DataMap="CustomerSAPID->DF_CRM_ReportSalesOpportunities.PTPSapID;IsFlag->DF_CRM_ReportSalesOpportunities.IsFlag2" ValueColumn="CustomerNameCH" DisplayColumn="CustomerNameCH">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XTextBox id="XTextBox149" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.OFExtended" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox56" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPName" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.STPName"></aspxform:XTextBox>
                            <aspxform:XCustomBrowserButton id="XCustomBrowserBtnPTP" runat="server" Width="35px" XClass="Oimec.Dialogs.SelCustomerButton" Text="查询" DataMap="CustomerID->DF_CRM_ReportSalesOpportunities.PTPClientBPMID;CustomerNameCH->DF_CRM_ReportSalesOpportunities.PTPName;CustomerSAPID->DF_CRM_ReportSalesOpportunities.PTPSapID;CusLeavel->DF_CRM_ReportSalesOpportunities.PTPCustomerLevel;IsRelatedCus->DF_CRM_ReportSalesOpportunities.IsRelatedCus;IsFlag->DF_CRM_ReportSalesOpportunities.IsFlag2" Height="25px"></aspxform:XCustomBrowserButton>
                            <aspxform:XCustomBrowserButton id="XCustomBrowserButton3" runat="server" Width="35px" XClass="Oimec.Dialogs.CustomerAddButton" Text="新建" Height="25px" BrowserWindowType="AjaxPanel"></aspxform:XCustomBrowserButton>
                        </td>
                        <td class="ts">
                            <asp:Label id="XLabel57" runat="server" text="客户SapID" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox125" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPClientBPMID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1" Express="DF_CRM_ReportSalesOpportunities.STPClientBPMID"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox126" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ClientCRMID" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1" Express="DF_CRM_ReportSalesOpportunities.ClientCRMID"></aspxform:XTextBox>
                             
                        </td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox57" style="WIDTH: 70%" onpropertychange="PTPSAPIDCustomer();" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPSapID" BorderWidth="1" BorderColor="#DCDCDC" DisableBehavior="ReadOnly" ValueToDisplayText DisableExpress="1" Express="if(DF_CRM_ReportSalesOpportunities.PTPSapID=='',DF_CRM_ReportSalesOpportunities.STPSapID,DF_CRM_ReportSalesOpportunities.PTPSapID)"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="23" class="tsbottomlabel">
                            <asp:Label id="XLabel62" runat="server" text="付款方应收账款" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox62" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPAccountsReceivable" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel63" runat="server" text="付款方客户等级" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox63" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPCustomerLevel" BorderWidth="1" BorderColor="#DCDCDC" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.STPCustomerLevel"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel4" runat="server" text="超期应收账款" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox107" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPOverdueAccountsReceivable" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" DisableExpress="1"></aspxform:XTextBox>
                            <input onclick="GetInfo2()" type="button" value="更新" /></td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel27" runat="server" text="红旗客户" valuetodisplaytext value></asp:Label>
                            <aspxform:XTextBox id="XTextBox108" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.IsFlag2" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" ValueToDisplayText="TableName:V_DF_Customer1;FilterColumn:CustomerID;DisplayColumn:IsFlag" HiddenExpress="1" Express="DF_CRM_ReportSalesOpportunities.IsFlag1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox146" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="javascript('Flag2',DF_CRM_ReportSalesOpportunities.IsFlag2)"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomtext">
                            <aspxform:XRadioButtonList id="XRadioButtonList4" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPClientTag" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.STPClientTag" RepeatDirection="Horizontal">
                                <asp:ListItem Value="T">是</asp:ListItem>
                                <asp:ListItem Value="F">否</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td height="14" class="tsbottomlabel">
                            <asp:Label id="XLabel208" runat="server" text="超期应收账款说明" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext" style="HEIGHT: 25px">
                            <aspxform:XTextBox id="XTextBox150" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPOverdueAccountsReceivableExplanation" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" TextMode="MultiLine"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="XLabel244" runat="server" text="关联方客户" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XRadioButtonList id="XRadioButtonList5" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.IsRelatedCus" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.IsRelatedCus" RepeatDirection="Horizontal">
                                <asp:ListItem Value="是">是</asp:ListItem>
                                <asp:ListItem Value="否">否</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td height="14" class="tsbottomlabel">
                            <asp:Label id="Label43" runat="server" text="信贷限额" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox185" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPCreditLimit" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label44" runat="server" text="信贷风险总额" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext">
                            <aspxform:XTextBox id="XTextBox184" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PTPCreditRiskTotal" BorderWidth="1" BorderColor="#DCDCDC" Format="type:currency;pfx:￥;.2" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </tbody>
        </table>
        <br />
         <table width="1200" align="center" class="table" id="CleanerValueAddedTable" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label id="Label157" runat="server" text="清洁增值信息" valuetodisplaytext value></asp:Label>&nbsp; 
                        <input class="inputbtn" id="btn_CleanerValueAddedTbody" onclick="param.ShowHidden('btn_CleanerValueAddedTbody', 'CleanerValueAddedTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="CleanerValueAddedTbody">
                    <tr>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label158" runat="server" text="清洁信息" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            
                            <aspxform:XCheckBox id="CleanerContractChk"  onclick="param.GetCleanerContractChk()" DisableExpress="DF_CRM_ReportSalesOpportunities.AddedContract=='1'" Express="DF_CRM_ReportSalesOpportunities.AddedContract" name="CleanerContractChk" Text="合同" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CleanerContract"></aspxform:XCheckBox>
                             <aspxform:XCheckBox id="CleanerDeliverChk" name="CleanerDeliverChk" onclick="param.GetCleanerDeliverChk()" Text="发货" DisableExpress="DF_CRM_ReportSalesOpportunities.AddedDeliver=='1'" Express="DF_CRM_ReportSalesOpportunities.AddedDeliver" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CleanerDeliver"></aspxform:XCheckBox>
                            <aspxform:XCheckBox id="CleanerinvoiceChk"   onclick="param.GetCleanerinvoiceChk()" Text="收发票" DisableExpress="DF_CRM_ReportSalesOpportunities.Addedinvoice=='1'" Express="DF_CRM_ReportSalesOpportunities.Addedinvoice" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Cleanerinvoice"></aspxform:XCheckBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label159" runat="server" text="不清洁原因" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CleaningReasonNo" XDataBind="DF_CRM_ReportSalesOpportunities.CleaningReasonNo" HiddenExpress="DF_CRM_ReportSalesOpportunities.CleanerContract=='1' && DF_CRM_ReportSalesOpportunities.CleanerDeliver=='1'&&DF_CRM_ReportSalesOpportunities.Cleanerinvoice=='1'" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"   Value></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label160" runat="server" text="增值服务" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                           
                            <aspxform:XCheckBox id="AddedContractChk"    runat="server" Text="合同" XDataBind="DF_CRM_ReportSalesOpportunities.AddedContract"></aspxform:XCheckBox>
                            <aspxform:XCheckBox id="AddedDeliverChk" runat="server" Text="发货" XDataBind="DF_CRM_ReportSalesOpportunities.AddedDeliver"></aspxform:XCheckBox>
                            <aspxform:XCheckBox id="AddedinvoiceChk" Text="收发票" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Addedinvoice"></aspxform:XCheckBox>
                             <aspxform:XCheckBox id="StraightIncreaseChk" hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'" Text="免表" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.StraightIncrease"></aspxform:XCheckBox>
                             <aspxform:XCheckBox id="AddedLCValueChk" hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'" Text="信用证" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.AddedLCValue"></aspxform:XCheckBox>
                    
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label161" runat="server" text="不增值原因" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList XDataBind="DF_CRM_ReportSalesOpportunities.ReasonsValueAdded" HiddenExpress="DF_CRM_ReportSalesOpportunities.AddedContract=='1'&&DF_CRM_ReportSalesOpportunities.AddedDeliver=='1'&&DF_CRM_ReportSalesOpportunities.Addedinvoice=='1'" id="XDropDownList38" runat="server" Width="50%">
                                <asp:ListItem>其他</asp:ListItem>
                                <asp:ListItem>需现场验收或培训</asp:ListItem>
                                <asp:ListItem>供应商直发客户，货物不到我司库房</asp:ListItem>
                                <asp:ListItem>客户希望与业务员直接联系</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XTextBox id="qt" XDataBind="DF_CRM_ReportSalesOpportunities.ReasonsValueAddedQt" HiddenExpress="DF_CRM_ReportSalesOpportunities.ReasonsValueAdded!='其他'||(DF_CRM_ReportSalesOpportunities.AddedContract=='1'&&DF_CRM_ReportSalesOpportunities.AddedDeliver=='1'&&DF_CRM_ReportSalesOpportunities.Addedinvoice=='1')" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="40%"   Value></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </tbody>
        </table>
        <br />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label id="XLabel117" runat="server" text="交货信息" valuetodisplaytext value></asp:Label>&nbsp; 
                        <input class="inputbtn" id="btn_DeliveryTbody" onclick="param.ShowHidden('btn_DeliveryTbody', 'DeliveryTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="DeliveryTbody">
                    <tr>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label96" runat="server" text="信息暂时无法确认" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XCheckBox id="XCheckBox2" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ConfirmationDelivery"></aspxform:XCheckBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label46" runat="server" text="无法确认原因" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox133" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value HiddenExpress="DF_CRM_ReportSalesOpportunities.ConfirmationDelivery!='1'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="XLabel98" runat="server" text="客户交货方式" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList8" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay" Width="220px" XDataSource="TableName:V_DF_SA_SS_CustomerDelivery;Filter:BufferType:RuntimeUpdate" ValueColumn="Name" DisplayColumn="Name" DisableExpress='DF_CRM_ReportSalesOpportunities.BillingCompany=="1000东方中科北京" || DF_CRM_ReportSalesOpportunities.BillingCompany=="1010东方中科上海" ||DF_CRM_ReportSalesOpportunities.BillingCompany=="1020东方中科深圳" || DF_CRM_ReportSalesOpportunities.BillingCompany=="2100苏州博德"' Express="javascript('ClearlyStateDelivery',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay)" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XLabel id="XLabel131" runat="server" XDataBind="kehujiaohuofangshi" Value ValueToDisplayText Text="客户交货方式" HiddenExpress="1"></aspxform:XLabel>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="XLabel97" runat="server" text="客户交货期" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDateTimePicker id="XDateTimePicker2" style="WIDTH: 30%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerDeliveryDate" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label51" runat="server" text="出库方式" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="XDropDownList21" XDataBind="DF_CRM_ReportSalesOpportunities.DepositMode" runat="server" Width="220px" XDataSource="TableName:V_DF_SA_SS_CustomerDelivery;Filter:BufferType:RuntimeUpdate" ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label53" runat="server" text="自提原因" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox163" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.SelfMention" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="XLabel118" runat="server" text="是否免税" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomlabel" style="WIDTH: 35%">
                            <aspxform:XRadioButtonList id="XRadioButtonList2" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Exemption" Express="javascript('ISExemption',DF_CRM_ReportSalesOpportunities.BillingCompany)" RepeatDirection="Horizontal">
                                <asp:ListItem>是</asp:ListItem>
                                <asp:ListItem>否</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                        <td height="14" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="XLabel181" runat="server" text="免税说明" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox148" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.DescriptionExemption" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value DisableExpress="DF_CRM_ReportSalesOpportunities.Exemption=='否' || DF_CRM_ReportSalesOpportunities.Exemption==''" ToolTip="特殊说明：如一张免表分批发货，或一个订单分两免表等"></aspxform:XTextBox>
                        </td>
                    </tr>
                       <tr>
                        <td height="18" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label54" runat="server" text="整单/分批交货" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomlabel" style="WIDTH: 35%">
                            <aspxform:XDropDownList id="DeliveryBatch" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.DeliveryBatch">
                                <asp:ListItem>整单</asp:ListItem>
                                <asp:ListItem>分批</asp:ListItem>
                                <asp:ListItem>货到即发</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td height="18" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="XLabel110" runat="server" text="直发的机场" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomlabel" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox10" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.NonstopAirport" BorderWidth="1" BorderColor="#DCDCDC" HiddenInput="False" DisableExpress='DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay == "HOSIC送货到客户香港指定地点"||DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay == "客户到HOSIC办公室自提"||DF_CRM_ReportSalesOpportunities.CustomerDeliveryWay == "客户到供应商处自提" || DF_CRM_ReportSalesOpportunities.BillingCompany=="1000东方中科北京" || DF_CRM_ReportSalesOpportunities.BillingCompany=="1010东方中科上海" ||DF_CRM_ReportSalesOpportunities.BillingCompany=="1020东方中科深圳" || DF_CRM_ReportSalesOpportunities.BillingCompany=="2100苏州博德"' Express="javascript('ClearlyStateDelivery',DF_CRM_ReportSalesOpportunities.BillingCompany,NonstopAirport)"></aspxform:XTextBox>
                            <aspxform:XDropDownList id="XDropDownList43" runat="server" XDataBind="NonstopAirport" HiddenExpress="1" DataMap="NonstopAirport->DF_CRM_ReportSalesOpportunities.NonstopAirport" ValueColumn="NonstopAirport" DisplayColumn="NonstopAirport">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                   <tr>
                         <td height="18" class="tsbottomlabel" style="WIDTH: 10%">
                            <asp:Label id="Label56" runat="server" text="分批交货备注" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomlabel" style="WIDTH: 35%" colspan="3">
                            <aspxform:XTextBox runat="server" ID="BatchdeliveryRemarks" BorderWidth="1" XDataBind="DF_CRM_ReportSalesOpportunities.BatchdeliveryRemarks"  BorderColor="#DCDCDC" Width="100%" TextMode="MultiLine" ></aspxform:XTextBox>
                        </td>
                    </tr>
                    
                </tbody>
            </tbody>
        </table>
        <br />
        
        <table width="1200" align="center" class="table" id="DeliverysTable" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="18" class="title1" colspan="4">
                        <asp:Label id="Label172" runat="server" text="客户收货信息" valuetodisplaytext value></asp:Label>&nbsp; 
                        <input class="inputbtn" id="btn_DeliverysTbody" onclick="param.ShowHidden('btn_DeliverysTbody', 'DeliverysTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="DeliverysTbody">
                    </tbody>
                   <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label61" runat="server" text="国际运单收货英文公司名称" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsEnglishCompany" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsEnglishCompany" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value  ></aspxform:XTextBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label62" runat="server" text="收货公司英文地址" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsEnglishAddress" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsEnglishAddress" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label63" runat="server" text="到货通知人姓名" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsNotifier" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsNotifier" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label164" runat="server" text="称谓" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%" >
                             <aspxform:XRadioButtonList id="GoodsNotifierSex" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsNotifierSex" RepeatDirection="Horizontal">
                                  <asp:ListItem>先生</asp:ListItem>
                                <asp:ListItem>女士</asp:ListItem>
                            </aspxform:XRadioButtonList>
                         </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label66" runat="server" text="到货通知人座机" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsTel" runat="server" BorderWidth="1" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsTel" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                         <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label64" runat="server" text="到货通知人手机" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsPhone" runat="server" placeholder="多个手机号以/分割" onkeyup="param.GoodsPhone()" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsPhone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                             <asp:Label id="GoodsPhoneLabel" style="display:none;" runat="server" text="手机" >手机格式不正确</asp:Label>
                        </td>
                       
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label68" runat="server" text="收货人E-MAIL" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsEmail" runat="server" onkeyup="param.GoodsEmail()" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsEmail" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                            <asp:Label id="GoodsEmailLabel" style="display:none;" runat="server" text="收货人E-MAIL" >邮箱格式不正确</asp:Label>
                        </td>
                         <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label67" runat="server" text="收货公司的营业执照五证合一号" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsBusinessLicense" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsBusinessLicense" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                       
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label70" runat="server" text="原产国" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsCountryOrigin" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsCountryOrigin" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                         <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label69" runat="server" text="到货港" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsPortArrival" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsPortArrival" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                       
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label71" runat="server" text="发运港" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="GoodsPortDelivery" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.GoodsPortDelivery" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                        
                         <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label58" runat="server" text="免表预计办好日期" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XDateTimePicker id="XDateTimePicker3" style="WIDTH: 50%" XDataBind="DF_CRM_ReportSalesOpportunities.FreeDate" runat="server" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                       
                    </tr>
                <tr  hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                     <td   class="ts" style="WIDTH: 10%;height:10px">
                              <asp:Label id="Label173" runat="server" text="贸易条款" valuetodisplaytext value></asp:Label>
                        </td>
                        <td class="ts1" style="WIDTH: 35%;" >
                           <aspxform:XDropDownList id="TradeTerms" runat="server" Width="60%"  Height="20px" XDataBind="DF_CRM_ReportSalesOpportunities.TradeTerms"       PromptText="--请选择--">
                                <asp:ListItem>CIP</asp:ListItem>
                                 <asp:ListItem>CIF</asp:ListItem>
                                 <asp:ListItem>EXW</asp:ListItem>
                                 <asp:ListItem>FOB</asp:ListItem>
                                 <asp:ListItem>CPT</asp:ListItem>
                           </aspxform:XDropDownList>
                        </td>
                        <td class="ts" style="WIDTH: 10%;height:10px"></td>
                         <td class="ts1" style="WIDTH: 35%;" ></td>
                </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
                         <td class="ts" style="WIDTH: 20%">
                            <asp:Label id="Label72" runat="server" text="信用证预计开出日期 或 发货前预付款预计付出日期" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%" colspan="3">
                            <aspxform:XDateTimePicker id="XDateTimePicker6" style="WIDTH: 50%" runat="server" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XDateTimePicker>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency!='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label74" runat="server" text="收货公司名称" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CustomerReceivingName" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label76" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CustomerReceivingContacts" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingContacts" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency!='CNY'">
                        <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label77" runat="server" text="联系人座机" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CustomerReceivingLandline" runat="server" onkeyup="param.CustomerReceivingLandline()" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingLandline" BorderWidth="1" BorderColor="#DCDCDC" Width="60%" Value></aspxform:XTextBox>
                             <asp:Label id="CustomerReceivingLandlineLabel" style="display:none;" runat="server" text="联系人座机" >联系人座机格式不正确</asp:Label>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label78" runat="server" text="联系人手机" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="CustomerReceivingPhone" runat="server" onkeyup="param.CustomerReceivingPhone()" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingPhone" BorderWidth="1" BorderColor="#DCDCDC" Width="60%" Value></aspxform:XTextBox>
                            <asp:Label id="CustomerReceivingPhoneLabel" style="display:none;" runat="server" text="手机" >联系人手机格式不正确</asp:Label>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency!='CNY'">
                         <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label99" runat="server" text="发运详细地址" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox183" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingAdress" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                         <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label162" runat="server" text="称谓" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                             <aspxform:XRadioButtonList id="CustomerReceivingContactsSex" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingContactsSex" RepeatDirection="Horizontal">
                                  <asp:ListItem>先生</asp:ListItem>
                                <asp:ListItem>女士</asp:ListItem>
                             </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency!='CNY'">
                       
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label100" runat="server" text="邮编" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox202" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingZipCode" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                          <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label184" runat="server" text="Email" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox runat="server" ID="CustomerReceivingEmail" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingEmail" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                       </td>
                    </tr>
                <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency!='CNY'">
                    <td height="22" class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label101" runat="server" text="其他要求" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%" colspan="3">
                            <aspxform:XTextBox id="XTextBox203" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.CustomerReceivingOther" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                </tr>
                    </tbody>
          </table>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' " />
        <div hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'">
         <table width="1200" align="center" class="table" id="SupplierDirectDeliveryTable" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td width="1200" class="title1" colspan="4">
                        <asp:Label id="Label165" runat="server" text="免表&信用证信息" valuetodisplaytext value></asp:Label>
                        <input class="inputbtn" id="btn_SupplierDirectDeliveryTbody" onclick="param.ShowHidden('btn_SupplierDirectDeliveryTbody', 'SupplierDirectDeliveryTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="SupplierDirectDeliveryTbody">
                   <tr>
                    <td  style="width:4%" class="tsbottomlabel">
                    <asp:Label id="Label166" runat="server" text="用户免表办理人姓名" valuetodisplaytext value></asp:Label>
                   </td>
                    <td height="22" class="tsbottomtext">
                            <aspxform:XTextBox id="UserExemptionName" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.UserExemptionName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                        <td style="width:4%" class="tsbottomlabel">
                    <asp:Label id="Label169" runat="server" text="用户开证人姓名" valuetodisplaytext value></asp:Label>
                   </td>
                    <td height="22" class="tsbottomtext">
                            <aspxform:XTextBox id="UserCardName" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.UserCardName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                        
                   </tr>
                    <tr>
                    <td style="width:4%" class="tsbottomlabel">
                    <asp:Label id="Label168" runat="server" text="用户免表办理人邮箱" valuetodisplaytext value></asp:Label>
                   </td>
                    <td height="22" class="tsbottomtext">
                            <aspxform:XTextBox id="UserExemptionEmail" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.UserExemptionEmail" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                         <td style="width:4%" class="tsbottomlabel">
                    <asp:Label id="Label171" runat="server" text="用户开证人邮箱" valuetodisplaytext value></asp:Label>
                   </td>
                    <td height="22" class="tsbottomtext">
                            <aspxform:XTextBox id="UserCardEmail" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.UserCardEmail" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>

                   </tr>
                     <tr>
                     <td style="width:4%" class="tsbottomlabel">
                    <asp:Label id="Label167" runat="server" text="用户免表办理人电话" valuetodisplaytext value></asp:Label>
                   </td>
                    <td height="22" class="tsbottomtext">
                            <aspxform:XTextBox id="UserExemptionPhone" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.UserExemptionPhone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    <td style="width:4%" class="tsbottomlabel">
                    <asp:Label id="Label170" runat="server" text="用户开证人电话" valuetodisplaytext value></asp:Label>
                   </td>
                    <td height="22" class="tsbottomtext">
                            <aspxform:XTextBox id="UserCardPhone" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.UserCardPhone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                    </td>
                    
                   </tr>
                </tbody>
            </tbody>
       </table>
            </div>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractCurrency==''||DF_CRM_ReportSalesOpportunities.ContractCurrency=='CNY'|| DF_CRM_ReportMarketInquiryApparatusList.PrchaseCurrency=='CNY'" />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td height="22" class="title1" colspan="4">
                        <asp:Label id="Label29" runat="server" text="财务信息" valuetodisplaytext value></asp:Label>&nbsp; 
                        <input class="inputbtn" id="btn_FinanceTbody" onclick="param.ShowHidden('btn_FinanceTbody', 'FinanceTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="FinanceTbody">
                    <tr>
                        <td height="22" class="title1" colspan="4">
                            <asp:Label id="XLabel64" runat="server" text="发票信息" valuetodisplaytext value font-size="12px"></asp:Label>&nbsp; <%-- <aspxform:XDropDownList id="XDropDownList42" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TermsPayment" HiddenExpress="1" DataMap="TermsPayment->DF_CRM_ReportSalesOpportunities.TermsPayment" ValueColumn="TermsPayment" DisplayColumn="TermsPayment">
                            <asp:ListItem>未绑定</asp:ListItem>
                        </aspxform:XDropDownList>
                        <aspxform:XTextBox id="XTextBox168" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.InvoiceType" BorderWidth="1" BorderColor="#DCDCDC" Width="20px" HiddenExpress="1"></aspxform:XTextBox>--%></td>
                    </tr>
                    <%--<tr>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label97" runat="server" text="信息暂时无法确认" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XCheckBox id="XCheckBox4" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ConfirmationInvoice"></aspxform:XCheckBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label47" runat="server" text="无法确认原因" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox147" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value HiddenExpress="DF_CRM_ReportSalesOpportunities.ConfirmationInvoice!='1'"></aspxform:XTextBox>
                        </td>
                    </tr>--%>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="XLabel67" runat="server" text="税种" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XDropDownList id="TaxType" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TaxType" Width="70%" XDataSource="TableName:DF_SA_SS_TaxRate;BufferType:RuntimeUpdate" ValueColumn="TaxType" DisplayColumn="TaxType" DisableExpress="DF_CRM_ReportSalesOpportunities.BillingCompany =='A300HOSIC 香港'||DF_CRM_ReportSalesOpportunities.BillingCompany=='2000上海颐合'" Express="javascript('ClearlyStateRate1',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.TaxType)" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="XLabel68" runat="server" text="发票类型" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XDropDownList id="SalesOpportunitiesInvoiceType" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.InvoiceType" Width="70%" XDataSource="TableName:V_DF_DF_SA_SS_TaxRate;Filter:TaxType->DF_CRM_ReportSalesOpportunities.TaxType;BufferType:RuntimeUpdate" ValueColumn="InvoiceType" DisplayColumn="InvoiceType" DisableExpress="DF_CRM_ReportSalesOpportunities.BillingCompany =='A300HOSIC 香港'||DF_CRM_ReportSalesOpportunities.BillingCompany=='2000上海颐合'" Express="javascript('ClearlyStateRate1',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.InvoiceType)" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td height="23" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="XLabel71" runat="server" text="税率" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="XTextBox70" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Rate" BorderWidth="1px" BorderColor="Gainsboro" Width="70%" HiddenInput="False" Max="0" Min="0" Value ValueToDisplayText BackColor="#E6F1F8" DisableExpress="1" Express="javascript('ClearlyStateRate',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.Rate)"></aspxform:XTextBox>
                            <aspxform:XTextBox id="XTextBox15" runat="server" XDataBind="shuilv" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Express="javascript('GetRate',DF_CRM_ReportSalesOpportunities.Rate)"></aspxform:XTextBox>
                            <aspxform:XDropDownList id="XDropDownList13" runat="server" HiddenExpress="1" XDataSource="TableName:DF_SA_SS_TaxRate;Filter:TaxType->DF_CRM_ReportSalesOpportunities.TaxType,InvoiceType->DF_CRM_ReportSalesOpportunities.InvoiceType" DataMap="TaxRate->DF_CRM_ReportSalesOpportunities.Rate" ValueColumn="TaxRate" DisplayColumn="TaxRate">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                        <td width="122" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label11" runat="server" text="销售币种/人民币汇率" valuetodisplaytext value></asp:Label></td>
                        <td width="173" class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="XTextBox181" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ExchangeRate" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" BackColor="#E6F1F8" Format="type:number;.4" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="XLabel75" runat="server" text="税额" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="XTextBox74" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TaxLimit" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;pfx:￥;.2" DisableExpress="1" Express="javascript('IFTaxLimit',DF_CRM_ReportSalesOpportunities.BillingCompany,DF_CRM_ReportSalesOpportunities.SUMNPDSellingTotalvalueRMB,shuilv )"></aspxform:XTextBox>
                        </td>
                        <td class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="XLabel73" runat="server" text="合同总金额" valuetodisplaytext value font-bold="True"></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="XTextBox72" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ContractAmount" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8" Format="type:currency;.2" DisableExpress="1" Express="DF_CRM_ReportSalesOpportunities.SUMPDSellingTotalvalueRest" TextAlign="Right" Font-Bold="True"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label110" runat="server" text="付款方地址" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                                <aspxform:XTextBox id="PaymentAddress"   style="WIDTH: 70%" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.PaymentAddress" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"   DisableExpress="1" ></aspxform:XTextBox>
                            <%--<aspxform:XTextBox id="PaymentAddress" style="WIDTH: 70%" runat="server"  XDataBind="PaymentAddress" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"   HiddenExpress ="1" ></aspxform:XTextBox>--%>
                             <%--<aspxform:XTextBox id="PaymentTel" style="WIDTH: 70%" runat="server"  XDataBind="PaymentTel" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"   HiddenExpress="1" ></aspxform:XTextBox>--%>
                            <aspxform:XDataBrowserButton runat="server" Text="查询" DataMap="BillingAddress->DF_CRM_ReportSalesOpportunities.PaymentAddress;BillingTel->DF_CRM_ReportSalesOpportunities.PaymentTel;BankName->DF_CRM_ReportSalesOpportunities.BankName;BankAccount->DF_CRM_ReportSalesOpportunities.BankAccount;SocialCreditCode->DF_CRM_ReportSalesOpportunities.PaymentTaxNumber" DisplayColumns="BillingAddress:付款方地址;BillingTel:付款方电话;BankName:付款方开户行;BankAccount:付款方账号; " XDataSource="TableName:V_DF_Partner_CusBillInfo;Filter:PartnerID->DF_CRM_ReportSalesOpportunities.PTPClientBPMID"  />
                        </td>
                        <td class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label111" runat="server" text="付款方税号" valuetodisplaytext value ></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="PaymentTaxNumber" XDataBind="DF_CRM_ReportSalesOpportunities.PaymentTaxNumber" style="WIDTH: 70%" runat="server"  BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"   DisableExpress="1" ></aspxform:XTextBox>
                        </td>
                    </tr>
                     <tr>
                        <td height="22" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label107" runat="server" text="付款方电话" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                           <aspxform:XTextBox id="PaymentTel" style="WIDTH: 70%" runat="server"  XDataBind="DF_CRM_ReportSalesOpportunities.PaymentTel" BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"   DisableExpress="1" ></aspxform:XTextBox>
                            
                        </td>
                        <td class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label113" runat="server" text="付款方账号" valuetodisplaytext value ></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="BankAccount" XDataBind="DF_CRM_ReportSalesOpportunities.BankAccount" style="WIDTH: 70%" runat="server"  BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"    DisableExpress="1" ></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="22" class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label112" runat="server" text="付款方开户行" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%" >
                         <aspxform:XTextBox id="BankName" XDataBind="DF_CRM_ReportSalesOpportunities.BankName"  style="WIDTH: 70%" runat="server"  BorderWidth="1" BorderColor="#DCDCDC" BackColor="#E6F1F8"   DisableExpress="1"  ></aspxform:XTextBox>
                          
                        </td>
                         
                        <td class="ts" style="WIDTH: 8.5%">
                            <asp:Label id="Label108" runat="server" text="发票备注" valuetodisplaytext value ></asp:Label></td>
                        <td class="ts1" style="WIDTH: 29%">
                            <aspxform:XTextBox id="NotesInvoice" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.NotesInvoice" BorderWidth="1" BorderColor="#DCDCDC"  ></aspxform:XTextBox>
                        </td>
                    </tr>
                   
                    <tr>
                        <td class="ty">
                            <asp:Label id="XLabel213" runat="server" text="账期说明" valuetodisplaytext value></asp:Label></td>
                        <td class="tm3" colspan="3">
                            <aspxform:XTextBox id="XTextBox151" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.PaymentDaysExplanation" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label24" runat="server" text="发票邮寄信息" valuetodisplaytext value font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label98" runat="server" text="信息暂时无法确认" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XCheckBox id="XCheckBox5" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ConfirmationInvoiceMailing"></aspxform:XCheckBox>
                        </td>
                        <td class="ts" style="WIDTH: 10%">
                            <asp:Label id="Label49" runat="server" text="无法确认原因" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1" style="WIDTH: 35%">
                            <aspxform:XTextBox id="XTextBox154" runat="server" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value HiddenExpress="DF_CRM_ReportSalesOpportunities.ConfirmationInvoiceMailing!='1'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr>
                        <td width="257" height="22" class="ts">
                            <asp:Label id="Label102" runat="server" text="发票邮寄特殊要求" valuetodisplaytext value></asp:Label></td>
                        <td width="269" class="ts1" >
                            <aspxform:XRadioButtonList id="XRadioButtonList8" runat="server" XDataBind="yq" RepeatDirection="Horizontal" onchange="param.yq()">
                                <asp:ListItem>有</asp:ListItem>
                                <asp:ListItem>无</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                        <td width="257" height="22" class="ts">
                            <asp:Label id="Label26" runat="server" text="寄票方式" valuetodisplaytext value></asp:Label></td>
                        <td width="269" class="ts1">
                            <aspxform:XDropDownList id="MailTicketDropDownList" runat="server" onchange="param.MailTicketChange()"   XDataBind="DF_CRM_ReportSalesOpportunities.MailTicket" Width="220px" XDataSource='TableName:DF_DataSourceList;Filter:Type->"邮寄方式"' ValueColumn="Name" DisplayColumn="Name" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td width="257" height="22" class="ts">
                            <asp:Label id="Label109" runat="server" text="分支机构" valuetodisplaytext value></asp:Label></td>
                        <td width="269" class="ts1">
                            <aspxform:XDropDownList id="BranchesDropDownList"  onchange="param.GetBranchesDropDownList()" runat="server" DataMap="BranchID->BranchID" HiddenExpress="DF_CRM_ReportSalesOpportunities.MailTicket!='邮寄分支机构'"   Width="220px" XDataSource='TableName:DF_FI_Branches;' ValueColumn="BranchID" DisplayColumn="Branch" PromptText="--请选择--">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XTextBox id="BranchID" runat="server" XDataBind="BranchID"    HiddenExpress ="1" BorderWidth="1" BorderColor="#DCDCDC" Width="80%" Value></aspxform:XTextBox>
                        </td>
                        <td width="373" class="ts">
                            <asp:Label id="Label28" runat="server" text="公司名称" valuetodisplaytext value></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox99" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TicketingCompany"   DisableExpress="1" BorderWidth="1" BorderColor="#DCDCDC" Width="60%" Value></aspxform:XTextBox>
                             <aspxform:XTextBox id="customID" runat="server" XDataBind="customID"   HiddenExpress="1" BorderColor="#DCDCDC" Width="60%" Value></aspxform:XTextBox>

                              <aspxform:XCustomBrowserButton id="XCustomBrowserButton5" HiddenExpress="DF_CRM_ReportSalesOpportunities.MailTicket=='邮寄分支机构'" runat="server" Width="35px" XClass="Oimec.Dialogs.SelCustomerButton" Text="查询" DataMap="CustomerNameCH->DF_CRM_ReportSalesOpportunities.TicketingCompany;CustomerID->customID;" Height="20px"></aspxform:XCustomBrowserButton>
                            <aspxform:XDataBrowserButton runat="server" DisplayColumns="CompanyName:公司名称;CompanyAddress:公司地址" XDataSource="TableName:DF_FI_BranchCompany;Filter:BranchID->BranchID"  HiddenExpress="DF_CRM_ReportSalesOpportunities.MailTicket!='邮寄分支机构'" Text="分支机构对应公司"/>
                        </td>
                    </tr>
                    <tr>
                        <td height="18" class="tsbottomlabel">
                            <asp:Label id="Label30" runat="server" text="联系人" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomlabel">
                             <aspxform:XTextBox id="FkItemId" style="WIDTH: 60%"   HiddenExpress="1"  runat="server" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_CRM_ReportSalesOpportunities.FkItemId"></aspxform:XTextBox>
                    
                            <aspxform:XTextBox id="XTextBox28" style="WIDTH: 60%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TicketingContacts" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                               <aspxform:XDataBrowserButton id="XDataBrowserButton1" HiddenExpress="DF_CRM_ReportSalesOpportunities.MailTicket=='邮寄分支机构'" runat="server" Width="35px" Text="查询" XDataSource="TableName:V_DF_MasterData_Contact;Filter:CustomerID->customID" DataMap="ContactName->DF_CRM_ReportSalesOpportunities.TicketingContacts;ContactTel->DF_CRM_ReportSalesOpportunities.TicketingTel;ContactMobile->DF_CRM_ReportSalesOpportunities.TicketingPhone;ContactAddr->DF_CRM_ReportSalesOpportunities.TicketingAddress" Height="25px" DisplayColumns="ContactName:联系人,60;ContactSAPID:联系人SapID,90;ContactTel:电话,100;ContactMobile:手机号,120;ContactEmail:邮箱,120;ContactAddr:地址,150;ContactDepart:部门描述,150"></aspxform:XDataBrowserButton>
                            <aspxform:XDataBrowserButton runat="server" DataMap="ContactName->DF_CRM_ReportSalesOpportunities.TicketingContacts;Telphone->DF_CRM_ReportSalesOpportunities.TicketingTel;Mobile->DF_CRM_ReportSalesOpportunities.TicketingPhone" DisplayColumns="ContactName:联系人;Telphone:电话;Mobile:手机" XDataSource="TableName:DF_FI_BranchContact;Filter:BranchID->BranchID"  HiddenExpress="DF_CRM_ReportSalesOpportunities.MailTicket!='邮寄分支机构'" Text="分支机构对应联系人"/>
                        </td>
                        <td class="tsbottomlabel">
                            <asp:Label id="Label180" runat="server" text="称呼" valuetodisplaytext value></asp:Label></td>
                          <td width="123" class="tsbottomlabel" style="WIDTH: 8%">
                               <aspxform:XRadioButtonList id="InvoiceMailingSex" runat="server" Width="30%" XDataBind="DF_CRM_ReportSalesOpportunities.InvoiceMailingSex" RepeatDirection="Horizontal">
                                <asp:ListItem>先生</asp:ListItem>
                                <asp:ListItem>女士</asp:ListItem>
                            </aspxform:XRadioButtonList>
                              </td>
                       
                    </tr>
                    <tr>
                         <td class="tsbottomlabel">
                            <asp:Label id="Label32" runat="server" text="手机" valuetodisplaytext value></asp:Label></td>
                        <td width="123" class="tsbottomlabel" style="WIDTH: 8%">
                            <aspxform:XTextBox id="MailTicketPhone" style="WIDTH: 50%" onkeyup="param.MailTicketPhone()" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TicketingPhone" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                              <asp:Label id="MailTicketPhoneLabel" runat="server" text="手机" style="display:none;">手机格式不正确</asp:Label> 
                        </td>
                       
                        <td width="54" class="tsbottomlabel">
                            <asp:Label id="Label35" runat="server" text="电话" valuetodisplaytext value></asp:Label></td>
                        <td width="124" class="tsbottomlabel" style="WIDTH: 6%">
                            <aspxform:XTextBox id="MailTicketTel" style="WIDTH: 60%" onkeyup="param.MailTicketTel()" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TicketingTel" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>-
                              <aspxform:XTextBox id="MailTicketExtension" style="WIDTH: 10%" onkeyup="param.MailTicketTel()" runat="server" BorderWidth="1" BorderColor="#DCDCDC"></aspxform:XTextBox>
                            <asp:Label id="MailTicketTelLabel" runat="server" text="电话" style="display:none;">座机格式不正确</asp:Label> 
                        </td>
                    </tr>
                     <tr>
                        <td height="18" class="tsbottomlabel">
                            <asp:Label id="Label124" runat="server" text="邮编" value valuetodisplaytext></asp:Label></td>
                        <td class="tsbottomlabel">
                            <aspxform:XTextBox id="SAPZipCode" style="WIDTH: 60%"  onkeyup="param.SAPZipCode()"  runat="server" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_CRM_ReportSalesOpportunities.SAPZipCode"></aspxform:XTextBox>
                              <asp:Label id="LabelSAPZipCode" style="DISPLAY: none" runat="server" text="电话">邮件格式不正确</asp:Label> 
                         </td>
                           <td height="18" class="tsbottomlabel">
                            <asp:Label id="Label125" runat="server" text="邮箱" value valuetodisplaytext></asp:Label></td>
                        <td class="tsbottomlabel">
                            <aspxform:XTextBox id="SAPEmail" style="WIDTH: 60%"  onkeyup="param.SAPEmail()"  runat="server" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_CRM_ReportSalesOpportunities.SAPEmail"></aspxform:XTextBox>
                              <asp:Label id="LabelSAPEmail" style="DISPLAY: none" runat="server" text="电话">邮箱格式不正确</asp:Label> 
                         </td>
                      </tr>
                    <tr>
                         <td height="14" class="tsbottomlabel">
                            <asp:Label id="Label33" runat="server" text="地址" valuetodisplaytext value></asp:Label></td>
                        <td class="tsbottomtext" colspan="3">
                            <aspxform:XTextBox id="XTextBox204" runat="server" XDataBind="ProvinceID" HiddenExpress="1"></aspxform:XTextBox>
                           <%-- <aspxform:XDropDownList id="XDropDownList27" runat="server" xdatasource="TableName:DF_Comm_Province" valuecolumn="ProvinceName" displaycolumn="ProvinceName" datamap="ProvinceID->ProvinceID">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XDropDownList id="XDropDownList38" runat="server" xdatasource="TableName:DF_Comm_City;Filter:ProvinceID->ProvinceID" valuecolumn="CityName" displaycolumn="CityName">
                                <asp:ListItem>未绑定</asp:ListItem>
                            </aspxform:XDropDownList>--%>
                            <aspxform:XTextBox id="XTextBox29" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.TicketingAddress" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" Value></aspxform:XTextBox>
                        </td>
                    </tr>
                </tbody>
            </tbody>
        </table>
        <aspxform:XDropDownList id="XDropDownList18" runat="server" HiddenExpress="1" XDataSource="TableName:DF_SA_SS_ExchangeRate;Filter:ForeignCurrency->DF_CRM_ReportSalesOpportunities.ContractCurrency" DataMap="ComputeRate->DF_CRM_ReportSalesOpportunities.ExchangeRate" ValueColumn="ComputeRate" DisplayColumn="ComputeRate" Height="20">
            <asp:ListItem>未绑定</asp:ListItem>
        </aspxform:XDropDownList>
        <aspxform:XDropDownList id="XDropDownList23" runat="server" HiddenExpress="1" XDataSource="TableName:DF_SA_SS_ExchangeRate;Filter:ForeignCurrency->USD" DataMap="ComputeRate->meiyuan" ValueColumn="ComputeRate" DisplayColumn="ExchangeRate" Height="20">
            <asp:ListItem>未绑定</asp:ListItem>
        </aspxform:XDropDownList>
        <aspxform:XLabel id="XLabel139" runat="server" XDataBind="USD" Value ValueToDisplayText Text="USD" HiddenExpress="1" Height="20"></aspxform:XLabel>
        <aspxform:XTextBox id="XTextBox95" runat="server" XDataBind="meiyuan" BorderWidth="1" BorderColor="#DCDCDC" Width="10px" HiddenExpress="1" Height="20"></aspxform:XTextBox>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' " />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td width="1200" class="title1" colspan="4">
                        <asp:Label id="Label57" runat="server" text="采购信息" valuetodisplaytext value></asp:Label>
                        <input class="inputbtn" id="btn_PurchaseTbody" onclick="param.ShowHidden('btn_PurchaseTbody', 'PurchaseTbody');" type="button" size="46" value=▽展开 />
                    </td>
                </tr>
                <tbody id="PurchaseTbody">
                    <tr hidden="hidden">
                        <td class="ts">
                            <asp:Label id="Label50" runat="server" text="供应商审核"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            供应商审核申请 
                        </td>
                    </tr>
                    <tr>
                        <td class="title1" colspan="4">
                            <asp:Label id="Label79" runat="server" text="厂商下单要求" valuetodisplaytext value font-size="12px"></asp:Label></td>
                    </tr>
                     <tr id="trOrderDescription" >
                        <td class="tsbottomtext" style="font-size:12px;color:#ff0000" colspan="4" id="OrderDescription">
                             
                        </td>
                    </tr>
                    <tr>
                    <td width="1200" class="tsbottomlabel">
                            <asp:Label id="Label114" runat="server" text="厂商下单要求文档上传" valuetodisplaytext value></asp:Label></td>
                        <td height="22" class="tsbottomtext">
                            <aspxform:XAttachments id="AnnexFollowingOrder" XDataBind="DF_CRM_ReportSalesOpportunities.AnnexFollowingOrder" runat="server"  Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG;*.msg;*.eml"></aspxform:XAttachments>
                        </td>
                   </tr>
                    <tr name="kts" >
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label73" runat="server" text="是德" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="kts"  >
                        <td class="ts">
                            <asp:Label id="Label80" runat="server" text="中文公司名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="KeysightTechnologiesChineseName" XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesChineseName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label81" runat="server" text="英文公司名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="KeysightTechnologiesEnglishName" XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesEnglishName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                      <tr name="kts"  >
                        <td class="ts">
                            <asp:Label id="Label75" runat="server" text="英文地址"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="KeysightTechnologiesEnglishAdress" XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesEnglishAdress" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label82" runat="server" text="确认"></asp:Label></td>
                        <td class="ts1">
                          <aspxform:XCheckBox id="KeysightTechnologiesConfirm"   XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesConfirm" runat="server" ></aspxform:XCheckBox>
                        </td>
                    </tr>
                     <tr  name="kts" >
                        <td class="ts">
                            <asp:Label id="Label83" runat="server" text="厂商销售人员"></asp:Label></td>
                        <td class="ts1" >
                            <aspxform:XTextBox id="KeysightTechnologiesVendorSalesperson" XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesVendorSalesperson" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label179" runat="server" text="厂商销售人员电话"></asp:Label></td>
                        <td class="ts1">
                             <aspxform:XTextBox runat="server" ID="KeysightTechnologiesEnglishTel" XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesEnglishTel" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        </td>
                    </tr>
                       <tr name="kts">
                          <td class="ts">
                            <asp:Label id="Label178" runat="server" text="厂商销售人员邮箱" ></asp:Label></td>
                        <td class="ts1"  colspan="3">
                             <aspxform:XTextBox runat="server" ID="KeysightTechnologiesEnglishEmail" XDataBind="DF_CRM_ReportSalesOpportunities.KeysightTechnologiesEnglishEmail" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                            </td>
                    </tr>
                     <tr name="TEKFLUKETitle">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label84" runat="server" text="TEK&FLUKE" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr >
                         <td class="ts" >
                            <asp:Label id="Label131" runat="server" text="厂商销售人员"></asp:Label></td>
                        <td class="ts1" >
                            <aspxform:XTextBox id="TEKFlukeSalesman" XDataBind="DF_CRM_ReportSalesOpportunities.TEKFlukeSalesman" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts" name="TEKFLUKE">
                            <asp:Label id="Label85" runat="server" text="中文名称"></asp:Label></td>
                        <td class="ts1" name="TEKFLUKE">
                            <aspxform:XTextBox id="TEKChineseName" XDataBind="DF_CRM_ReportSalesOpportunities.TEKChineseName" runat="server" Width="50%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        <aspxform:XCheckBox id="TEKConfirm" Width="20%"  XDataBind="DF_CRM_ReportSalesOpportunities.TEKConfirm" runat="server" ></aspxform:XCheckBox>
                             </td>
                      
                    </tr>
                    <tr name="TEKFLUKEWB">
                         <td class="ts">
                            <asp:Label id="Label87" runat="server" text="免表预计办好日期"></asp:Label></td>
                        <td class="ts1">
                             
                            <aspxform:XDateTimePicker id="TEKFlukeExpectedDateExemption" XDataBind="DF_CRM_ReportSalesOpportunities.TEKFlukeExpectedDateExemption" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XDateTimePicker>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label128" runat="server" text="用户需求货期"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XDateTimePicker id="TEKFlukeDemandShipment" XDataBind="DF_CRM_ReportSalesOpportunities.TEKFlukeDemandShipment" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XDateTimePicker>
                        </td>
                       
                    </tr>
                    <tr name="TEKFLUKEWB">
                         
                         <td class="ts">
                            <asp:Label id="Label132" runat="server" text="说明"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="TEKFlukeExplain" XDataBind="DF_CRM_ReportSalesOpportunities.TEKFlukeExplain" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                     <tr name="BK">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label133" runat="server" text="B&K" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="BK">
                        <td class="ts">
                            <asp:Label id="Label134" runat="server" text="中文公司名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="BKChineseName" XDataBind="DF_CRM_ReportSalesOpportunities.BKChineseName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label135" runat="server" text="英文公司名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="BKEnglishName" XDataBind="DF_CRM_ReportSalesOpportunities.BKEnglishName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr name="BK">
                        <td class="ts">
                            <asp:Label id="Label136" runat="server" text="用户联系人"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="BKContacts" XDataBind="DF_CRM_ReportSalesOpportunities.BKContacts" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        
                    </tr>
                      <tr name="AMTEK">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label137" runat="server" text="AMTEK" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="AMTEK">
                        <td class="ts">
                            <asp:Label id="Label138" runat="server" text="中文公司名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="AMTEKChineseName"  XDataBind="DF_CRM_ReportSalesOpportunities.AMTEKChineseName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label139" runat="server" text="英文公司名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="AMTEKEnglishName" XDataBind="DF_CRM_ReportSalesOpportunities.AMTEKEnglishName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                     <tr name="AMTEK">
                        <td class="ts">
                            <asp:Label id="Label140" runat="server" text="联系人"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="AMTEKContacts" XDataBind="DF_CRM_ReportSalesOpportunities.AMTEKContacts" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label141" runat="server" text="电话"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="AMTEKTel" XDataBind="DF_CRM_ReportSalesOpportunities.AMTEKTel" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr name="AMTEK">
                        <td class="ts">
                            <asp:Label id="Label142" runat="server" text="地址"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="AMTEKAdress" XDataBind="DF_CRM_ReportSalesOpportunities.AMTEKAdress" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        
                    </tr>

                       <tr name="HIOKI">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label143" runat="server" text="HIOKI 日置" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="HIOKI">
                        <td class="ts">
                            <asp:Label id="Label144" runat="server" text="中文公司名称"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="HIOKIChineseName" XDataBind="DF_CRM_ReportSalesOpportunities.HIOKIChineseName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        
                    </tr>
                     <tr name="HIOKI">
                        <td class="ts">
                            <asp:Label id="Label145" runat="server" text="联系人"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="HIOKIContacts" XDataBind="DF_CRM_ReportSalesOpportunities.HIOKIContacts" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label146" runat="server" text="电话"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="HIOKITel" XDataBind="DF_CRM_ReportSalesOpportunities.HIOKITel" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr name="HIOKI">
                        <td class="ts">
                            <asp:Label id="Label147" runat="server" text="二级代理商名称"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="HIOKIAgentName" XDataBind="DF_CRM_ReportSalesOpportunities.HIOKIAgentName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                         <td class="ts">
                            <asp:Label id="Label148" runat="server" text="代理商联系人"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="HIOKIAgentContacts" XDataBind="DF_CRM_ReportSalesOpportunities.HIOKIAgentContacts" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>
                     <tr name="HIOKI">
                        <td class="ts">
                            <asp:Label id="Label149" runat="server" text="代理商电话"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="HIOKIAgentTel" XDataBind="DF_CRM_ReportSalesOpportunities.HIOKIAgentTel" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                        
                    </tr>

                     <tr name="JS">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label150" runat="server" text="菊水" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="JS">
                        <td class="ts">
                            <asp:Label id="Label151" runat="server" text="中文公司名称"></asp:Label></td>
                        <td class="ts1" >
                            <aspxform:XTextBox id="ChrysanthemumChineseName" XDataBind="DF_CRM_ReportSalesOpportunities.ChrysanthemumChineseName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                          <td class="ts">
                            <asp:Label id="Label152" runat="server" text="厂商销售人员名"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="ChrysanthemumSalesman" XDataBind="DF_CRM_ReportSalesOpportunities.ChrysanthemumSalesman" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                    </tr>

                      <tr name="DH">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label153" runat="server" text="大华" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="DH">
                        <td class="ts">
                            <asp:Label id="Label154" runat="server" text="厂商报备单号"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="DahuaNewspaperNumber" XDataBind="DF_CRM_ReportSalesOpportunities.DahuaNewspaperNumber" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                        </td>
                         
                    </tr>
                    <tr name="ADKS">
                        <td height="18" class="title1" colspan="4">
                            <asp:Label id="Label155" runat="server" text="艾德克斯" value valuetodisplaytext font-size="12px"></asp:Label>&nbsp; 
                        </td>
                    </tr>
                    <tr name="ADKS">
                        <td class="ts">
                            <asp:Label id="Label156" runat="server" text="中文名称"></asp:Label></td>
                        <td class="ts1" colspan="3">
                            <aspxform:XTextBox id="EdKorsChineceName" XDataBind="DF_CRM_ReportSalesOpportunities.EdKorsChineceName" runat="server" Width="70%" BorderColor="#DCDCDC" BorderWidth="1"></aspxform:XTextBox>
                     <aspxform:XCheckBox id="EdKorsConfirm" XDataBind="DF_CRM_ReportSalesOpportunities.EdKorsConfirm" runat="server"></aspxform:XCheckBox>
                               </td>
                         
                    </tr>
                    
                    
                </tbody>
            </tbody>
        </table>
        <br hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' " />
        <table width="1200" align="center" class="table" border="0" cellspacing="0" cellpadding="0" hiddenexpress="DF_CRM_ReportSalesOpportunities.SalesProgress!='50%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='70%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='90%' &amp;&amp;DF_CRM_ReportSalesOpportunities.SalesProgress!='100%' ">
            <tbody>
                <tr>
                    <td width="1200" class="title1" colspan="4">
                        <asp:Label id="Label16" runat="server" text="合同信息" valuetodisplaytext value></asp:Label>
                        <input class="inputbtn" id="btn_ContractTbody" onclick="param.ShowHidden('btn_ContractTbody', 'ContractTbody');" type="button" size="46" value=▽展开 />
                        <input class="inputbtn" id="btn_BusinessApproval" style="WIDTH: 100px" onclick="param.btnBusinessApproval();" type="button" size="46" value="发起业务审批" />
                    </td>
                </tr>
                <tbody id="ContractTbody">
                    <tr>
                        <td class="title1" colspan="4">
                            <asp:Label id="Label95" runat="server" text="客户负责合同处理人员信息" valuetodisplaytext value font-size="12px"></asp:Label></td>
                    </tr>
                    <tr>
                        <td class="ts">
                            <asp:Label id="Label59" runat="server" text="姓名"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox187" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ResponsibleContractsName" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label163" runat="server" text="性别"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XRadioButtonList id="Sex" runat="server" Width="30%" XDataBind="DF_CRM_ReportSalesOpportunities.ContractSex" RepeatDirection="Horizontal">
                                <asp:ListItem>先生</asp:ListItem>
                                <asp:ListItem>女士</asp:ListItem>
                            </aspxform:XRadioButtonList>   
                        </td>
                    </tr>
                    <tr>
                         <td class="ts">
                            <asp:Label id="Label65" runat="server" text="手机"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="ContractPhone" runat="server" onkeyup="param.PhoneChange()"  XDataBind="DF_CRM_ReportSalesOpportunities.ResponsibleContractsPhone" BorderWidth="1" BorderColor="#DCDCDC" Width="70%"></aspxform:XTextBox>
                             <asp:Label id="ContractPhoneLabel" Style="display:none" runat="server" text="手机">手机格式不正确</asp:Label>
                        </td>
                         <td class="ts">
                            <asp:Label id="Label60" runat="server" text="座机"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="ContractTel" runat="server" onkeyup="param.TelChange()" XDataBind="DF_CRM_ReportSalesOpportunities.ResponsibleContractsLandline" BorderWidth="1" BorderColor="#DCDCDC" Width="40%"></aspxform:XTextBox>-
                            <aspxform:XTextBox id="ContractExtension" runat="server"   BorderWidth="1" BorderColor="#DCDCDC" Width="10%"></aspxform:XTextBox>
                              <asp:Label id="ContractTelLabel" Style="display:none" runat="server" text="座机">座机格式不正确</asp:Label>
                        </td>
                    </tr>
                    <tr>
                       
                         <td class="ts">
                            <asp:Label id="Label115" runat="server" text="联系传真"></asp:Label></td>
                        <td class="ts1" >
                             <aspxform:XTextBox id="Fax" runat="server"  Width="70%" BorderColor="#DCDCDC" BorderWidth="1" XDataBind="DF_CRM_ReportSalesOpportunities.Fax"></aspxform:XTextBox>
                            <%--<aspxform:XTextBox id="ContractNumber" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ContractNumber" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableExpress="1"></aspxform:XTextBox>--%>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label104" runat="server" text="Email"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="XTextBox217" runat="server" onkeyup="param.EmailChange()" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" ></aspxform:XTextBox>
                            <asp:Label id="Label105" runat="server" text="Email">邮箱格式不正确</asp:Label>
                        </td>
                    </tr>
                    <tr>
                         <td class="ts">
                            <asp:Label id="Label45" runat="server" text="业务审批状态"></asp:Label></td>
                        <td class="ts1" colspan="3" >
                            <aspxform:XTextBox id="XTextBox129" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.BusinessApprovalState" BorderWidth="1" BorderColor="#DCDCDC" Width="70%" DisableExpress="1"></aspxform:XTextBox>
                        </td>
                         
                    </tr>
                    
                    <tr id="contractType" >
                         <td class="ts">
                            <asp:Label id="Label121" runat="server" text="销售合同模板"></asp:Label></td>
                        <td class="tsbottomtext" colspan="3">
                            <aspxform:XRadioButtonList id="XRadioButtonList7" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ContractType" RepeatDirection="Horizontal">
                                  <asp:ListItem>我司标准合同且标准条款</asp:ListItem>
                                <asp:ListItem>客户合同模板</asp:ListItem>
                                 <asp:ListItem>我司标准合同且非标准条款</asp:ListItem>
                            </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                     <tr id="informalTr" hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractType=='客户合同模板'||  DF_CRM_ReportSalesOpportunities.ContractType==''  ">
                        <td class="ts">
                             <asp:Label id="Label177" runat="server" text="合同预览"></asp:Label>
                        </td>
                        <td class="tsbottomtext" colspan="3">
                                <input class="inputbtn" id="btn_BusinessApprovals"  style="WIDTH: 150px" onclick="param.btnBusinessApprovals();" type="button" size="46" value="生成合同预览" />
                        </td>
                    </tr>
                    <tr id="ElectronicChapterTypes" hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractType=='客户合同模板'||  DF_CRM_ReportSalesOpportunities.ContractType==''  ">
                         <td class="ts">
                            <asp:Label id="Label130" runat="server" text="是否盖电子章"></asp:Label></td>
                        <td class="tsbottomtext" colspan="3">
                            <aspxform:XRadioButtonList name="ElectronicChapterType" id="ElectronicChapterType" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ElectronicChapterType" RepeatDirection="Horizontal">
                                 <asp:ListItem Selected="True">是</asp:ListItem>
                                <asp:ListItem>否</asp:ListItem>
                               </aspxform:XRadioButtonList>
                        </td>
                    </tr>
                     <tr hidden="hidden">
                        <td class="ts">
                            <asp:Label id="Label126" runat="server" text="7日支付合同款"></asp:Label></td>
                        <td class="ts1" >
                             <aspxform:XTextBox id="SevenContractPayment" runat="server"      Width="70%" XDataBind="DF_CRM_ReportSalesOpportunities.SevenContractPayment" BorderColor="#DCDCDC" BorderWidth="1"    ></aspxform:XTextBox>
                        </td>
                         <td class="ts">
                            <asp:Label id="Label129" runat="server" text="收到发票后支付合同款"></asp:Label></td>
                        <td class="ts1" >
                             <aspxform:XTextBox id="ReceivedInvoiceContractPayment" runat="server"      Width="60%" XDataBind="DF_CRM_ReportSalesOpportunities.ReceivedInvoiceContractPayment" BorderColor="#DCDCDC" BorderWidth="1"    ></aspxform:XTextBox>
                        </td>
                       
                    </tr>
                     <tr hidden="hidden">
                        <td class="ts">
                            <asp:Label id="Label122" runat="server" text="非标准条款"></asp:Label></td>
                        <td class="ts1">
                            <aspxform:XTextBox id="NonStandardClauses" runat="server" Width="70%" XDataBind="DF_CRM_ReportSalesOpportunities.NonStandardClauses"  BorderColor="#DCDCDC" BorderWidth="1"  TextMode="MultiLine"  ></aspxform:XTextBox>
                        </td>
                        <td class="ts">
                            <asp:Label id="Label127" runat="server" text="合同签订地点"></asp:Label></td>
                        <td class="ts1" >
                             <aspxform:XTextBox id="LocationSignature" runat="server"      Width="70%" XDataBind="DF_CRM_ReportSalesOpportunities.LocationSignature" BorderColor="#DCDCDC" BorderWidth="1"    ></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr id="ContractReasons" hiddenexpress="DF_CRM_ReportSalesOpportunities.BusinessApprovalState!='通过'||  DF_CRM_ReportSalesOpportunities.ContractType!='' ">
                        <td height="22" class="tsbottomlabel">
                            <aspxform:XLabel id="XLabel239" runat="server" XDataBind="diudanyuanyin" Value ValueToDisplayText BackColor="#d4e4fe" Text="合同未签回原因"></aspxform:XLabel>
                        </td>
                        <td class="tsbottomtext" colspan="4">
                            <aspxform:XDropDownList id="ContractNotSigned" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.ContractNotSigned" Width="160px" PromptText="--请选择--">
                                <asp:ListItem>订单取消</asp:ListItem>
                                <asp:ListItem>预审有变化，重新制作</asp:ListItem>
                                <asp:ListItem>其他</asp:ListItem>
                            </aspxform:XDropDownList>
                            <aspxform:XTextBox id="XTextBox161" style="WIDTH: 70%" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.OtherContractNotSigned" BorderWidth="1" BorderColor="#DCDCDC" HiddenExpress="DF_CRM_ReportSalesOpportunities.ContractNotSigned !='其他'"></aspxform:XTextBox>
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractType!='我司标准合同且标准条款' || DF_CRM_ReportSalesOpportunities.ContractType!='我司标准合同且非标准条款' || ManufacturerProductsExamine!='通过'|| BUButtonExamine!='通过'||DF_CRM_ReportSalesOpportunities.BusinessApprovalState!='通过'">
                        <td height="22" class="tsbottomlabel" colspan="4">
                             <aspxform:XTextBox id="ManufacturerProductsExamine"  XDataBind="ManufacturerProductsExamine" runat="server"   HiddenExpress="1"></aspxform:XTextBox>
                            <aspxform:XTextBox id="BUButtonExamine"  runat="server"  XDataBind="BUButtonExamine"  HiddenExpress="1"></aspxform:XTextBox>
                            <input id="GenerationContractButton" onclick="param.GenerationContract()" type="button" value="正式合同盖章流程" />
                        </td>
                    </tr>
                    <tr hiddenexpress="DF_CRM_ReportSalesOpportunities.ContractType!='客户合同模板'  ">
                        <td width="1200" class="tsbottomlabel">
                            <asp:Label id="Label39" runat="server" text="合同文档上传" valuetodisplaytext value></asp:Label></td>
                        <td height="22" class="tsbottomtext">
                            <aspxform:XAttachments id="XAttachments1" runat="server" XDataBind="DF_CRM_ReportSalesOpportunities.Accessory" Width="100%" FileTypes="*.doc;*.docx;*.xls;*.xlsx;*.pdf;*.jpg;*.GIF;*.PNG;*.msg;*.eml"></aspxform:XAttachments>
                        </td>
                    </tr>
                     <tr   hiddenexpress="1">
                        <td width="1200" class="tsbottomlabel" colspan="4">
                          <input id="EditGenerationContractButton"  onclick="param.EditGenerationContract()" type="button" value="合同信息" />
                        </td>
                        
                    </tr>
                </tbody>
            </tbody>
        </table>
        <br />
        <table align="center" width="1200" border="0" cellspacing="0" cellpadding="0">
            <tbody>
                <tr>
                    <td width="1200">
                        <aspxform:XSignTrace id="XSignTrace1" runat="server" Width="1200px" BorderColor="#dcdcdc" BorderWidth="1"></aspxform:XSignTrace>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
