与测试环境对比,部分代码已被人修改,删除其中的alert和部分硬编码,还原测试环境代码逻辑
26个文件已修改
944 ■■■■ 已修改文件
force-app/main/default/classes/AssetModifyBelongsController.cls 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/classes/BidAnnounceIframeController.cls 27 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/classes/GuaranteePeriodAlterationController.cls 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/classes/NewQuoteIraiController.cls 55 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/AccountQualifyAlert.page 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/AssetGuaranteePeriodAlteration.page 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/AssetModifyBelongs.page 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/BandwidthExceeded.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/BidAnnounceIframe.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/CM_SearchContactService.page 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/CampaignCreate.page 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/CampaignMember.page 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/DateModify.page 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/DealerPersonnelInformationImport.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/ISO_DemandOperAndDemonsNew.page 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/InMaintenance.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/InitCreateSolutionPage.page 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/LookupPage.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/NewQuoteIrai.page 816 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/OFSHoverView.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/SI_Opportunity_Response.page 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/SearchProductIrai.page 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/UnderConstruction.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/genjinbaobiao.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/maintenanceContractNotOpen.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/pages/taskFeedback.page 补丁 | 查看 | 原始文档 | blame | 历史
force-app/main/default/classes/AssetModifyBelongsController.cls
@@ -180,6 +180,7 @@
        Map<String, AssetModifyBelongsChangeDetailInfo> MidMap = new Map<String, AssetModifyBelongsChangeDetailInfo>();
        List<Asset> asListed = new List<Asset>();
        soql = this.makeSoql1(text1, val1);
        System.debug('soql:'+soql);
        asListed = Database.query(soql);
        asListed = noSubmittedList(asListed);
        for (AssetModifyBelongsChangeDetailInfo bss : assetModifyBelongsChangeDetailRecordsview) {
@@ -271,6 +272,7 @@
            val1 = val1.trim();
        }
        String soql='';
        //update by liwentao 20230705 start
        System.debug(RawAccountId);
        RawAccountId='';
        if(String.isBlank(RawAccountId)){
@@ -281,6 +283,7 @@
            soql = 'select Id,name,SerialNumber,Asset_situation__c,Order_No__c,Account.Name,Status,Installation_Site__c,CurrentContract__c from Asset where AccountId = \'' + RawAccountId + '\'';
            System.debug('id is not null');
        }
        //update by liwentao 20230705 start
        if (!String.isBlank(text1)) {
            if (text1 == 'Order_No__c' && checkexact) {
                soql += ' AND (' + text1 + ' = \'' + String.escapeSingleQuotes(val1) + '\' )';
@@ -345,6 +348,7 @@
    //跳转到上传附件页面
    public PageReference uploadingAttachment() {
        PageReference ref = new Pagereference('/p/attach/NoteAttach?pid=' + Id + '&retURL=%2Fapex/AssetModifyBelongs?Id=' + Id);
        ref.setRedirect(true);
        return ref;
    }
force-app/main/default/classes/BidAnnounceIframeController.cls
@@ -8,17 +8,24 @@
    
    public void init() {
        Bid_Announcement__c bid = [select Id, Web_URL__c, Web_URL_ModifiedDate__c from Bid_Announcement__c where Id = :recordId];
        List<Attachment> attList = [select Id, LastModifiedDate from Attachment where ParentId = :recordId order by LastModifiedDate desc limit 1];
        Attachment att = null;
        if (attList.size() > 0) {
            att = attList[0];
        // List<Attachment> attList = [select Id, LastModifiedDate from Attachment where ParentId = :recordId order by LastModifiedDate desc limit 1];
        List<ContentDocumentLink> links = [select ContentDocumentId from ContentDocumentLink where LinkedEntityId =: recordId];
        List<Id> idList = new List<Id>();
        for (ContentDocumentLink link : links) {
            idList.add(link.ContentDocumentId);
        }
        List<ContentDocument> docList = [select Id,ContentModifiedDate from ContentDocument where Id in: idList order by ContentModifiedDate desc limit 1];
        // Attachment att = null;
        ContentDocument doc = null;
        if (docList.size() > 0) {
            doc = docList[0];
        }
        ContentVersion version = [select Id from ContentVersion where ContentDocumentId =: doc.Id];
        if (bid.Web_URL__c != null) {
            // 中标通知书URL更新时间 と 最新Attachmentの時間と比較、新しいものを適用
            if (att != null) {
                if (bid.Web_URL_ModifiedDate__c < att.LastModifiedDate) {
                    iframe = '/servlet/servlet.FileDownload?file=' + att.Id;
            if (doc != null) {
                if (bid.Web_URL_ModifiedDate__c < doc.ContentModifiedDate) {
                    iframe = '/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId='+ version.Id;
                } else {
                    iframe = bid.Web_URL__c;
                }
@@ -29,8 +36,8 @@
            }
        } else {
            // Attachmentを適用
            if (att != null) {
                iframe = '/servlet/servlet.FileDownload?file=' + att.Id;
            if (doc != null) {
                iframe = '/sfc/servlet.shepherd/version/renditionDownload?rendition=THUMB720BY480&versionId='+ version.Id;
            }
        }
    }
force-app/main/default/classes/GuaranteePeriodAlterationController.cls
@@ -48,7 +48,7 @@
    public String Id  { get; set; }
    public Boolean isShow { get; set; }
    public List<Attachment> attachments { get; set; }
    public List<ContentDocument> contents { get; set; }
    public List<ContentDocument> contents { get; set; }//update by liwentao 更新lightning附件上传
    //分页功能
    public Integer pageLimit{get;set;}
    public String soql {get;set;}
force-app/main/default/classes/NewQuoteIraiController.cls
@@ -310,6 +310,15 @@
                } else {
                    // 已经存在报价
                    if (String.isNotBlank(oppquoid)) {
                        //DB202302464682【报价委托】报价委托改善224 fy start
                        Quote quo2 = new Quote();
                        List<Quote> quote =  [select Id,Agency1__c,Agency2__c From Quote Where Id =:oppquoid];
                        if(quote.size()>0){
                            quo2=quote[0];
                        }
                        quo.Agency1_entrust__c = quo2.Agency1__c;
                        quo.Agency2_entrust__c = quo2.Agency2__c;
                        //DB202302464682【报价委托】报价委托改善224 fy end
                        // 报价商品取得
                        // CHAN-BHNBX6 2019/11/20 START//fy lastbuy 20220310 PricebookEntry.Product2.LastbuyProductFLG__c
                        List<QuoteLineItem> qlis = [select id,PricebookEntry.Product2Id,PricebookEntry.Product2.LastbuyProductFLG__c,Quantity__c,CurrencyIsoCode,GuaranteePeriod__c from QuoteLineItem where QuoteId = :oppquoid];
@@ -426,6 +435,7 @@
                [ SELECT Id,Name,Cancel_Decide__c,Agency_Hospital_Link__c,CreatedDate, PriceRefreshDate__c,Quote_Print_Date__c,Agency1_entrust__c,cancelMultiyearInsurance__c,
                        Quote_Date__c,QuoteToName__c,Quote_Expiration_Date__c,Quote_Comment__c,Tender_information__c,Noteplus__c,Lead__c,Opportunity__c,
                        TOTAL__c,Discount__c,Pricing__c,Preferential_Trading_Price__c,Contract__c,LastIraiUser__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,
                        Agency2_entrust__c,//DB202302464682【报价委托】报价委托改善224 fy
                        Print_HP_Name__c,Account__c,IraiUser__c,IraiSubject__c,CurrencyIsoCode,IraiName__c,QuoteIrai_Status__c,QuoteProportion__c,Note__c,IraiComment__c
                        , urgent__c  //20230104 lt DB202212427301
                        FROM QuoteIrai__c Where Id =:quoId];
@@ -1022,7 +1032,7 @@
                }
            }
        }
        System.debug('---lt123---descriptions---'+descriptions);
        // System.debug('---lt123---descriptions---'+descriptions);
        if (descriptions.size() <= 0) {
            errorflg = true;
            errorMessage = '没有要委托的产品。';
@@ -1059,7 +1069,7 @@
                }
                i += 1;
            }
            System.debug('---lt123---description---'+description);
            // System.debug('---lt123---description---'+description);
            //obsap 新增经销商1字段 fy start
            if (!String.isBlank(quo.Agency1_entrust__c)) {
                Account  quoteAeName = [select Id,Name from Account where Id =:quo.Agency1_entrust__c];
@@ -1068,6 +1078,13 @@
                descriptionsendEmailbody += '\r\n' + '第一经销商名称' + ':' + quoteAeName.Name;
                //20230116 fy end
            }
            //DB202302464682【报价委托】报价委托改善224 fy start
            if (!String.isBlank(quo.Agency2_entrust__c)) {
                Account  quoteAeName2 = [select Id,Name from Account where Id =:quo.Agency2_entrust__c];
                description += '\r\n' + '第二经销商名称' + ':' + quoteAeName2.Name;
                descriptionsendEmailbody += '\r\n' + '第二经销商名称' + ':' + quoteAeName2.Name;
            }
            //DB202302464682【报价委托】报价委托改善224 fy end
            if (quo.QuoteProportion__c!=null) {
                description += '\r\n' + '报价比例' + ':' + quo.QuoteProportion__c;
                //20230116 fy start
@@ -1119,6 +1136,12 @@
                descriptionsendEmailbody += '\r\n' + '第一经销商' + ':' + baseUrl + '/' + quo.Agency1_entrust__c;
                //20230116 fy end
            }
            //DB202302464682【报价委托】报价委托改善224 fy start
            if (!String.isBlank(quo.Agency2_entrust__c)) {
                description += '\r\n' + '第二经销商' + ':' + baseUrl + '/' + quo.Agency2_entrust__c;
                descriptionsendEmailbody += '\r\n' + '第二经销商' + ':' + baseUrl + '/' + quo.Agency2_entrust__c;
            }
            //DB202302464682【报价委托】报价委托改善224 fy end
            //SWAG-CKDATG【委托】【OBSAP-报价委托】报价委托项目改善1 fy start
            if (!String.isBlank(tenderid)&&!description.contains('招标项目') ) {
                description += '\r\n' + '招标项目' + ':' + baseUrl + '/' + tenderid;
@@ -1304,7 +1327,7 @@
            //SWAG-CF589P【委托】【P:OBSAP】报价委托相关新需求评估 fy Lead__c,Opportunity__c,
                quo =[ SELECT Id,Name,Cancel_Decide__c,CreatedDate, PriceRefreshDate__c,Quote_Print_Date__c,//obsap 新增经销商1字段 fy satrt Agency1_entrust__c,SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start cancelMultiyearInsurance__c,
                        Quote_Date__c,QuoteToName__c,Quote_Expiration_Date__c,Quote_Comment__c,Tender_information__c,Agency1_entrust__c,Noteplus__c,Lead__c,Opportunity__c,cancelMultiyearInsurance__c,
                        TOTAL__c,Discount__c,Pricing__c,Preferential_Trading_Price__c,Contract__c,LastIraiUser__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,
                        TOTAL__c,Discount__c,Pricing__c,Preferential_Trading_Price__c,Contract__c,LastIraiUser__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,Agency2_entrust__c,//DB202302464682【报价委托】报价委托改善224 fy
                        Print_HP_Name__c,Account__c,Agency_Hospital_Link__c,IraiUser__c,IraiSubject__c,CurrencyIsoCode,IraiName__c,QuoteIrai_Status__c,QuoteProportion__c,Note__c,IraiComment__c
                        , urgent__c  //20230104 lt DB202212427301
                        FROM QuoteIrai__c Where Id =:quoId];
@@ -1327,6 +1350,25 @@
            if(String.isNotBlank(leadid)){
                lea.Id = leadid;
                lea.OfferToEntrust__c = 1;
                //20230227 lt DB202302251962 start
                Map<Date,String> lm = new Map<Date,String>();
                for(OlympusCalendar__c oc:[SELECT Id,Date__c FROM OlympusCalendar__c WHERE Date__c =: Date.today()]){
                        lm.put(oc.Date__c,oc.Id);
                }
                String datestr =String.valueOf(Date.today());
                String dt = lm.get(Date.valueOf(datestr.substring(0,10)));
                List<Lead> leadlist = [select Id,FirstDate_Quote_Irai__c from Lead where Id = :leadid];
                // System.debug('lt123日期1'+ leadlist[0].FirstDate_Quote_Irai__c);
                // System.debug('lt123日期2'+ lea.FirstDate_Quote_Irai__c);
                if(leadlist.size() > 0){
                    if(leadlist[0].FirstDate_Quote_Irai__c == null){
                        lea.FirstDate_Quote_Irai__c = dt;
                    }
                }
                //20230227 lt DB202302251962 end
                update lea;
            }
            //XLIU-CHY4KW 20220907 lt end  
@@ -1668,7 +1710,7 @@
            //XLIU-CFE8M7 【委托】【P-OBSAP】报价委托任务改善 fy  Noteplus__c
            //SWAG-CF589P【委托】【P:OBSAP】报价委托相关新需求评估 fy Lead__c,Opportunity__c,
            qs = [select Id,Account__c,Agency_Hospital_Link__c,Name,IraiUser__c,IraiSubject__c,Tender_information__c,Agency1_entrust__c,Noteplus__c,Lead__c,Opportunity__c,cancelMultiyearInsurance__c,
                Preferential_Trading_Price__c,Discount__c,Pricing__c,Unit_Price__c,Offer_Amount__c,TOTAL__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,
                Preferential_Trading_Price__c,Discount__c,Pricing__c,Unit_Price__c,Offer_Amount__c,TOTAL__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,Agency2_entrust__c,//DB202302464682【报价委托】报价委托改善224 fy
                Contract__c,Print_HP_Name__c,Quote_Expiration_Date__c,Quote_Comment__c,IraiName__c,QuoteIrai_Status__c,QuoteProportion__c,Note__c,IraiComment__c
                , urgent__c  //20230104 lt DB202212427301
                From QuoteIrai__c Where Id =:quoId];
@@ -1697,6 +1739,9 @@
        //obsap 新增经销商1字段 fy staty
        q.Agency1_entrust__c = quo.Agency1_entrust__c;
        //obsap 新增经销商1字段 fy staty
        //DB202302464682【报价委托】报价委托改善224 fy start
        q.Agency2_entrust__c = quo.Agency2_entrust__c;
        //DB202302464682【报价委托】报价委托改善224 fy end
        // SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start
        q.cancelMultiyearInsurance__c = quo.cancelMultiyearInsurance__c;
        // SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end
@@ -1738,7 +1783,7 @@
        //SWAG-CF589P【委托】【P:OBSAP】报价委托相关新需求评估 fy Lead__c,Opportunity__c,
        quo =[ SELECT Id,Name,Cancel_Decide__c,CreatedDate, PriceRefreshDate__c,Quote_Print_Date__c,//obsap 新增经销商1字段 fy satrt Agency1_entrust__c,SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start cancelMultiyearInsurance__c,
                    Quote_Date__c,QuoteToName__c,Quote_Expiration_Date__c,Quote_Comment__c,Tender_information__c,Agency1_entrust__c,Noteplus__c,Lead__c,Opportunity__c,cancelMultiyearInsurance__c,Headquarters__c,//DB202301106714 【报价委托改善】OBSAP通知邮件发送邮箱修改 fy Headquarters__c
                    TOTAL__c,Discount__c,Pricing__c,Preferential_Trading_Price__c,Contract__c,LastIraiUser__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,
                    TOTAL__c,Discount__c,Pricing__c,Preferential_Trading_Price__c,Contract__c,LastIraiUser__c,MultiYearWarrantyTotalPrice__c,QuoteTotal_Page__c,Estimation_List_Price__c,Agency2_entrust__c,//DB202302464682【报价委托】报价委托改善224 fy
                    Print_HP_Name__c,Account__c,Agency_Hospital_Link__c,IraiUser__c,IraiSubject__c,CurrencyIsoCode,IraiName__c,QuoteIrai_Status__c,QuoteProportion__c,Note__c,IraiComment__c
                    , urgent__c  //20230104 lt DB202212427301
                    FROM QuoteIrai__c Where Id =:q.Id];
force-app/main/default/pages/AccountQualifyAlert.page
@@ -4,7 +4,6 @@
    <script type="text/javascript">
        function init() {
            var is_Alert_Qualify = '{!is_Alert_Qualify}';
            alert(is_Alert_Qualify)
            if(is_Alert_Qualify == 'true'){
                alert('医院信息发生变化,请重新申请医院资质审批!');
            }
force-app/main/default/pages/AssetGuaranteePeriodAlteration.page
@@ -311,10 +311,10 @@
                </apex:pageBlock>
                <!-- CHAN-BC6BV2 XHL AddStart 20190522 -->
                <apex:pageBlock title="附件" id="accessory" rendered="{!isShow}">
                <apex:pageBlock title="文件" id="accessory" rendered="{!isShow}">
                    <apex:pageBlockButtons location="top">
                        <apex:commandButton value="附件上传"  onclick="uploadingAttachmentJs();" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/>
                        <apex:commandButton value="文件上传"  onclick="uploadingAttachmentJs();" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/>
                    </apex:pageBlockButtons>
                    <apex:pageBlockTable value="{!contents}" var="attachment" >
force-app/main/default/pages/AssetModifyBelongs.page
@@ -344,10 +344,10 @@
                </apex:pageBlock>
                <!-- CHAN-BC6BV2 XHL AddStart 20190522 -->
                <apex:pageBlock title="附件" id="accessory" rendered="{!isShow}">
                <apex:pageBlock title="文件" id="accessory" rendered="{!isShow}">
                    <apex:pageBlockButtons location="top">
                        <apex:commandButton value="附件上传"  onclick="uploadingAttachmentJs();" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/>
                        <apex:commandButton value="文件上传"  onclick="uploadingAttachmentJs();" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/>
                    </apex:pageBlockButtons>
                    <apex:pageBlockTable value="{!contents}" var="attachment" >
force-app/main/default/pages/BandwidthExceeded.page
force-app/main/default/pages/BidAnnounceIframe.page
force-app/main/default/pages/CM_SearchContactService.page
@@ -4,6 +4,7 @@
    <apex:includeScript value="{!URLFOR($Resource.AWSService, 'AWSService.js') }" />
    <!-- 2022/02/15 张华建 dependency end -->
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <style>
@@ -33,11 +34,16 @@
        var aws_result = {};
        searchContactAll();
        function Foo(){
            debugger
            j$('[aws-id]').each(function(i,e){
                let awsDataId = j$(e).attr('aws-id');
                if (contact.hasOwnProperty(awsDataId)) {
                    let piInformation = '姓名:'+contact[awsDataId].lastName +'<br/>' +'手机号:'+ (contact[awsDataId].mobilePhone ? contact[awsDataId].mobilePhone :'');
                    j$(e).find('.decrypt').html(piInformation);
                    //deloitte-zhj 解密联系人信息 2023-07-05 start
                    //j$(e).find('.decrypt').html(piInformation);
                    console.log('j$(e) = ' + j$(e).find('.decrypt'));
                    j$(e)[0].innerText = contact[awsDataId].lastName
                    //deloitte-zhj 解密联系人信息 2023-07-05 end
                }else{
                    console.log(awsDataId+' not in contact');
                }
@@ -157,6 +163,7 @@
            // createDiv.style.background="#dddddd";
            // createDiv.style.position = "absolute";
            // parentNode.appendChild(createDiv);  
            debugger
            console.log('dataId:'+dataId+'awsDataId Value:'+awsDataId);
            let piInformation = '姓名:'+contact[awsDataId].lastName +'\n' +'电话:'+ (contact[awsDataId].mobilePhone?contact[awsDataId].mobilePhone:'');
            document.getElementById(dataId+'_'+awsDataId).innerText = piInformation;
force-app/main/default/pages/CampaignCreate.page
@@ -1,5 +1,6 @@
<apex:page standardController="Campaign" showHeader="false" sidebar="false" extensions="CampaignCreateController" action="{!init}"  lightningStylesheets="true" >
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <apex:stylesheet value="{!URLFOR($Resource.jquerysuggestcss)}"/>
force-app/main/default/pages/CampaignMember.page
@@ -3,6 +3,7 @@
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<apex:stylesheet value="{!URLFOR($Resource.jquerysuggestcss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquerysuggestjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
<apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
force-app/main/default/pages/DateModify.page
@@ -1,5 +1,6 @@
<apex:page showHeader="false" sidebar="false" controller="DateModifyController" action="{!init}" id="allPage" title="时间修改申请" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
 <apex:form id="allForm">
force-app/main/default/pages/DealerPersonnelInformationImport.page
force-app/main/default/pages/ISO_DemandOperAndDemonsNew.page
@@ -1,6 +1,7 @@
<apex:page standardController="IS_Opportunity_Demand__c" extensions="ISO_DemandOperAndDemonsNewController" showHeader="true" sidebar="true" action="{!init}" id="allPage" title="SI询价-需求表-手术间" lightningStylesheets="true" >
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<!-- <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> -->
@@ -319,6 +320,7 @@
        border-collapse: collapse;
        font-size:105%;
        font-weight:bold;
        padding-left:10px;
    }
    .conTh1{
@@ -606,7 +608,7 @@
                        </td>
                    </tr>
                    <tr>
                        <td rowspan="4" class="tdPrivateKz" style="line-height: 84px;">医疗设备控制</td>
                        <td rowspan="4" class="tdPrivateKz" style="line-height: 84px;padding-left:10px">医疗设备控制</td>
                        <td class="tdPrivate">
                            <apex:inputField value="{!ISOppDemandOper1.Olympus_Camera_Host__c}"/>
                            奥林巴斯摄像机主机
force-app/main/default/pages/InMaintenance.page
force-app/main/default/pages/InitCreateSolutionPage.page
@@ -1,5 +1,6 @@
<apex:page standardController="SolutionProjectRequirements__c" showHeader="false" sidebar="false" lightningStylesheets="true">
<!-- Begin Default Content REMOVE THIS -->
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<script type="text/javascript">
    function init() {
        // url 路径
force-app/main/default/pages/LookupPage.page
force-app/main/default/pages/NewQuoteIrai.page
@@ -9,6 +9,414 @@
    <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
    <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquerydoubletapjs)}"/>
    <style type="text/css">
        div#iframelike {
            height: 300px;
            overflow: auto;
        }
        div#iframelikeheader {
            height: 23px;
            overflow: auto;
        }
        input {
            font-size: 10.5px;
        }
        body {
            font-size: 10.5px;
        }
        .visitorplace_results {
            border: 1px solid gray;
            background-color: white;
            padding: 0;
            margin: 0;
            list-style: none;
            position: absolute;
            z-index: 10000;
            display: none;
            overflow:auto;
            white-space:nowrap;
            width:400px;
            height:250px;
        }
        .visitorplace_results li {
            padding: 2px 5px 2px 0px;
            margin-left : 2px;
            color: #101010;
            text-align: left;
        }
    </style>
    <apex:form id="mainForm">
        <apex:outputText id="hiddenQuoid" value="{!quoid}" style="display:none;"/>
        <apex:inputHidden id="changedAfterPrint" value="{!changedAfterPrint}"/>
        <apex:inputHidden id="productStatusUpdated" value="{!productStatusUpdated}"/>
        <apex:inputHidden id="idHiddenUserStateHospital" value="{!loginUser.State_Hospital__c}" />
        <apex:actionFunction action="{!setProductEntry}" name="setProductEntry" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
            <apex:param assignTo="{!setProduct_text}" name="setProduct_text" value=""/>
        </apex:actionFunction>
        <apex:actionFunction action="{!excelImport}" name="excelImport" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
            <apex:param assignTo="{!excel_text}" name="select_index" value=""/>
        </apex:actionFunction>
        <apex:actionFunction action="{!Save}" name="Save" reRender="mainForm,message1" oncomplete="unblockUI();"/>
        <apex:actionFunction action="{!OppReflection}" name="OppReflection" reRender="mainForm" oncomplete="unblockUI();"/>
        <apex:actionFunction action="{!QuoteIrai}" name="QuoteIrai" reRender="mainForm,message1" oncomplete="unblockUI();"/>
        <apex:pageBlock id="block">
            <apex:inputHidden value="{!quo.CurrencyIsoCode}" id="CurrencyIsoCode"/>
            <apex:inputHidden value="{!baseUrl}" id="baseUrl"/>
            <!--  CHAN-BJQ4VZ 精琢技术 2019/12/10 Start -->
            <apex:inputHidden value="{!qb.Estimation_List_Price}" id="hidden_Estimation"/>
            <apex:inputHidden value="{!qb.QuoteTotal_Page}" id="hidden_quoTotalPrice"/>
            <apex:inputHidden value="{!qb.MultiYearWarrantyTotalPrice}" id="hidden_MultiYearWarrantyTotalPrice_out"/>
            <!--  CHAN-BJQ4VZ 精琢技术 2019/12/10 END -->
            <apex:outputPanel id="message1">
                <apex:messages styleClass="editListError"/>
            </apex:outputPanel>
            <apex:outputPanel rendered="{!errorflg}" >
                <table width="100%">
                    <tr>
                        <td align="left"><div class="errorMsg">{!errorMessage}</div></td>
                    </tr>
                </table>
            </apex:outputPanel>
            <apex:outputPanel rendered="{!Messageflg}" >
                <table width="100%">
                    <tr>
                        <td align="left">{!Message}</td>
                    </tr>
                </table>
            </apex:outputPanel>
            <div style="background:rgb(240 238 238);white-space:nowrap;padding:10px">
                <table border="0">
                    <tr>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiSubject__c.Label}:</th>
                        <td style="text-align:left;width:220px;margin:10px">
                            <div class="requiredInput"><div class="requiredBlock"></div><apex:inputField id="idVisitorPlace" value="{!quo.IraiSubject__c}" onblur="vpClear2_delay();" onfocus="setVisitorPlace();" style="width:210px;"/></div>
                            <apex:inputHidden id="idVisitorPlaceId" value="{!quo.Account__c}"/>
                            <apex:inputHidden id="idVisitorPlaceHidden" value="{!quo.IraiSubject__c}" />
                            <apex:inputHidden id="idVisitorPlaceHiddenId" value="{!quo.Account__c}" />
                        </td>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiName__c.Label}:</th>
                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiName__c}" style="width:220px;"/></td>
                        <th style="text-align:right;width:60px;margin:10px;padding-left:10px">  {!$ObjectType.QuoteIrai__c.fields.IraiComment__c.Label}:</th>
                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiComment__c}" style="width:220px;"/></td>
                        <th style="text-align:right;width:60px;margin:10px;padding-left:10px">{!$ObjectType.QuoteIrai__c.fields.QuoteProportion__c.Label}:</th>
                        <td style="text-align:left;width:60px;margin:10px;"><apex:inputField value="{!quo.QuoteProportion__c}" style="width:70px;text-align:right;"/></td>
                        <th style="text-align:left;width:20px;margin:10px;">%</th>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.QuoteIrai_Status__c.Label}:</th>
                        <td style="text-align:left;width:80px;margin:10px;"><apex:outputField value="{!quo.QuoteIrai_Status__c}" style="width:80px;"/></td>
                    </tr>
                </table>
                 <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 Start -->
                <table border="0">
                    <tr>
                        <td>&nbsp;</td>
                        <!-- <th style="text-align:right">{!IF(displayFlg,'产品标准定价总额','')}</th> -->
                        <th style="text-align:center;width:50px;white-space:nowrap;padding:20px;">产品标准定价总额 :&nbsp;</th>
                        <td style="width:176px;padding:10px;">
                            <apex:outputText id="Estimation_Price"  value="{0, number, ###,##0.00}"
                            style="text-align:right;width:100px;">
                                <apex:param value="{!qb.Estimation_List_Price}" />
                            </apex:outputText>
                        </td>
                        <th style="text-align:right;width:100px;white-space:nowrap;padding:10px;">报价总额 :&nbsp;</th>
                       <!--  <th style="text-align:right;">{!IF(displayFlg,$Label.Total_Price,'')}</th> -->
                        <td style="width:180px;margin:10px;">
                            <apex:outputtext id="quoTotalPrice" value="{0, number, ###,##0.00}"
                            style="text-align:right;width:100px;">
                                <apex:param value="{!qb.QuoteTotal_Page}"/>
                            </apex:outputtext>
                    </td>
                    </tr>
                </table>
                <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 End -->
                <table border="0">
                    <tr>
                        <th style="width:50px;margin:10px;">&nbsp;</th>
                        <!-- 产品配套检索按钮 -->
                        <td style="width:150px;margin:10px;"><apex:commandButton id="SetProduct" onclick="searchSetProduct();return false;" value="{!$Label.Set_Product}" rerender="dummy"/></td>
                        <!-- excel 导出按钮 -->
                        <td style="width:150px;margin:10px;"><apex:commandButton onclick="openQuoteExcelImport(event);return false;" value="{!$Label.Excel_Import}" rerender="dummy"/></td>
                        <td style="text-align:right;width:80px;margin:10px;"><apex:commandButton rerender="dummy" id="Btn_RowDelete" onclick="radioChecker2('del');return false;" value="{!$Label.deleteLabel}" style="width:60px;"/></td>
                        <td style="width:300px;margin:10px;">
                            <apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="{!$Label.Row_Up}" style="width:100px;"/>
                            <apex:commandButton rerender="dummy" id="Btn_RowDown" onclick="radioChecker2('down');return false;" value="{!$Label.Row_Down}" style="width:100px;"/>
                        </td>
                        <th style="text-align:right;width:80px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiUser__c.Label}:</th>
                        <!-- fy 20220512 -->
                        <!-- <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.华东' || loginUser.Salesdepartment_text__c == '6.华南'))}"  > -->
                        <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag)}"  >
                        <td style="width:150px;margin:10px;"><apex:outputPanel id="IraiUserId"><apex:inputField id="IraiUser" value="{!quo.IraiUser__c}"/></apex:outputPanel></td>
                        </apex:variable>
                        <!-- fy 20220512 -->
                        <!-- <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.华东' || loginUser.Salesdepartment_text__c == '6.华南')}"  > -->
                        <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag}"  >
                        <!-- <th style="text-align:right;width:20px;">obsap人员</th> -->
                        <td style="text-align:center;width:20px;margin:10px;"><apex:selectList value="{!quo.IraiUser__c}" size="1" style="width:120px" id="IraiUser" onchange="ObsapUsersChange()"><apex:selectOptions value="{!ObsapUsers}" id="obsapUsersList"/></apex:selectList></td>
                        </apex:variable>
                        <!-- 20230104 lt DB202212427301 start-->
                        <!-- <th style="text-align:right;width:80px;">{!$ObjectType.QuoteIrai__c.fields.LastIraiUser__c.Label}</th>
                        <td style="text-align:center;width:70px;"><apex:outputField id="LastIraiUser" value="{!quo.LastIraiUser__c}"/></td> -->
                        <!-- 20230104 lt DB202212427301 end-->
                        <!-- 20230104 lt DB202212427301 start-->
                        <th style="text-align:right;width:190px;margin:10px;">紧急:</th>
                        <td style="text-align:center;width:10px;margin:10px;"><apex:inputField id="Urgent" value="{!quo.Urgent__c}"/></td>
                        <!-- 20230104 lt DB202212427301 end-->
                        <!-- 2020/02/18  精琢技术  韩部长提出先隐藏 没必要  Start-->
                        <!-- <th style="text-align:right;width:70px;">总计</th>
                        <td style="text-align:right;width:80px;">
                            <apex:outputtext id="Estimation_List_Price" value="{0, number, ###,##0.00}"><apex:param value="{!total_ListPrice}"/></apex:outputtext>
                            <apex:inputHidden id="hidden_Estimation_List" value="{!total_ListPrice}"/>
                        </td> -->
                        <!-- 2020/02/18  精琢技术  韩部长提出先隐藏 没必要  end-->
                    </tr>
                </table>
                <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 Start -->
                <table>
                <tr>
                    <td>&nbsp;&nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right;width:50px;margin:10px;"></td>
                    <th style="text-align:right;width:50px;margin:10px;" rowspan="3">
                       {!$ObjectType.QuoteIrai__c.fields.MultiYearWarrantyTotalPrice__c.Label}
                   :&nbsp;</th>
                   <!-- <td style="width:470px;"> -->
                       <!--obsap 新增经销商1字段 fy start-->
                   <td style="width:100px;" rowspan="3">
                       <!--obsap 新增经销商1字段 fy end-->
                       <apex:outputtext style="width: :100px" id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}"
                       >
                       <!--obsap 新增经销商1字段 fy start-->
                       <!-- style="text-align:right;width:180px;"> -->
                       <!--obsap 新增经销商1字段 fy end-->
                           <apex:param value="{!qb.MultiYearWarrantyTotalPrice}"/>
                       </apex:outputtext>
                   </td>
                   <!--obsap 新增经销商1字段 fy start-->
                   <th style="width:100px;">&nbsp;</th>
                   <td style="text-align:right;width:50px;"></td>
                   <td style="text-align:right;width:50px;"></td>
                   <!--<th colspan="2" style="width:260px;text-align:center;">{!$Label.Sales_Name}??</th>-->
                   <!--obsap 新增经销商1字段 fy end-->
                   <!-- <apex:variable id="contractWarranty" value="{!1}" var="abc" rendered="{!IF(trade   == '内貿',true,false)}">
                   <th style="text-align:right;width:50px;">
                       {!$ObjectType.Quote.fields.MultiYearWarrantyTotalPrice__c.label}
                   :&nbsp;</th>
                   <td style="width:470px;">
                       <apex:outputtext id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}"
                       style="text-align:right;width:180px;">
                           <apex:param value="{!quo.MultiYearWarrantyTotalPrice__c}"/>
                       </apex:outputtext>
                   </td>
                   <th style="text-align:right;width:50px;">
                       {!$ObjectType.Quote.fields.multiYearWarranty__c.label}
                   :&nbsp;</th>
                   <td style="width:200px;"><apex:inputField id="multiYearWarranty" value="{!quo.multiYearWarranty__c}" onchange="callFromCancelgurantee_MD();" style="text-align:right;width:30px;" /></td>
                   </apex:variable> -->
               </tr>
               <!--obsap 新增经销商1字段 fy start-->
               <tr>
                <td ></td>
                <td ></td>
                <td ></td>
                <th style="width:100px;text-align:right;">{!$Label.Sales_Name1}:</th>
                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName1"  value="{!quo.Agency1_entrust__c}"   onChange=""/></td>
                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start -->
                <th style="width:100px;text-align:right;">多年保:</th>
                <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                <td colspan="2" style="text-align:left;"><apex:inputField id="cancelMultiyearInsurance"  value="{!quo.cancelMultiyearInsurance__c}"  onChange="cancelMultiyearInsurancechange()"/></td><!-- onChange="cancelMultiyearInsurancechange()"-->
                <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end -->
                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end -->
                </tr>
                <!--obsap 新增经销商1字段 fy end-->
                <!--DB202302464682【报价委托】报价委托改善224 fy start-->
               <tr>
                <td ></td>
                <td ></td>
                <td ></td>
                <th style="width:100px;text-align:right;margin:10px;">{!$Label.Sales_Name2}:</th>
                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName2"  value="{!quo.Agency2_entrust__c}"   onChange=""/></td>
                <th style="width:100px;text-align:right;margin:10px;"></th>
                <td colspan="2" style="width:120px;text-align:left;margin:10px;"></td>
               </tr>
                <!--DB202302464682【报价委托】报价委托改善224 fy end-->
                <tr>
                    <td>&nbsp;</td>
                </tr>
            </table>
             <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 End -->
            </div>
            <table>
                <tr>
                    <td>&nbsp;</td>
                </tr>
            </table>
            <table style="width:1165px;background:rgb(240 238 238);" border="0">
                <tr>
                    <th style="text-align:center;width:30px;">&nbsp;<input type="checkbox" id="checkAll" onclick="selectAll()" style="height:15px;width:15px;"/></th>
                    <th style="text-align:center;width:15px;">No</th>
                    <th style="text-align:center;width:150px;">{!$Label.Asset_No}</th>
                    <th style="text-align:center;width:100px;">{!$Label.SFDA_Status}</th>
                    <th style="text-align:center;width:300px;">{!$Label.Product_Name}</th>
                    <th style="text-align:center;width:100px;">{!$Label.Quantity}</th>
                    <!-- CHAN-BHNBX6 2019/11/20 START -->
                    <th style="text-align:center;width:50px;">保修年限</th>
                    <!-- CHAN-BHNBX6 2019/11/20 END -->
                    <th style="text-align:center;width:85px;">ListPrice</th>
                    <th style="text-align:center;width:100px;">小计</th>
                    <!-- CHAN-BHNBX6 2019/11/20 START -->
                    <th style="text-align:center;width:100px;">NoDiscount小计</th>
                    <!-- CHAN-BHNBX6 2019/11/20 END -->
                </tr>
            </table>
            <div id="iframelike" style="width:1183px;">
                <input type="hidden" id="ListPriceTotal" value="0" />
                <input type="hidden" id="UnitPriceTotal" value="0" />
                <apex:pageblocktable value="{!activities}" var="s" id="lists" style="width:1165px;text-align:center;">
                    <apex:column style="width:20px;" >
                        <input type="checkbox" name="checklist" value="{!s.lineNo}" style="height:15px;width:15px;"/>
                    </apex:column>
                    <!-- No -->
                    <apex:column style="width:20px;text-align:right;" >
                        <apex:outputLabel id="indexNo" value="{!IF(s.PageObject.Product2__c==null,null,s.lineNo + 1)}" style="width:10px;"/>
                    </apex:column>
                    <!-- 产品编号-->
                    <apex:column style="text-align:center;width:150px;">
                        <apex:inputText id="Assert" style="width:120px;" value="{!s.Asset_Model}" onclick="searchProduct('{!s.lineNo}',this.value)" />
                        <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                        <apex:inputHidden id="CanNotCancelledGurantee__c" value="{!s.CanNotCancelledGurantee}" />
                        <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                    </apex:column>
                    <!-- NMPA状态 -->
                    <apex:column style="width:100px;text-align:center;">
                        <apex:outputField style="width:75px;" id="Status__c" value="{!s.PageObject.SFDA_Status__c}"/>
                        <apex:inputHidden id="SFDA" value="{!s.PageObject.SFDA_Status__c}"/>
                    </apex:column>
                    <!-- 产品名称 -->
                    <apex:column style="width:300px;">
                        <apex:inputHidden id="Name__c" value="{!s.PageObject.Name__c}"/>
                        <apex:inputHidden id="url__c" value="{!s.PageObject.Product2__c}"/>
                    </apex:column>
                    <!-- 数量 -->
                    <apex:column style="text-align:center;width:100px;">
                        <apex:inputField id="Quantity" style="width:50px;text-align:right;" value="{!s.PageObject.Quantity__c}" onclick="show('{!s.PageObject.GuaranteePeriod__c}')" onChange="calPrice('{!s.lineNo}')"/>
                    </apex:column>
                    <!--    2019/11/12 保修年限 CHAN-BHNBX6  start -->
                    <apex:column style="width:50px;text-align:right;" >
                        <apex:outputLabel id="itemGuaranteePeriod" value="{!s.PageObject.GuaranteePeriod__c}" style="width:10px;"/>
                    </apex:column>
                    <!--    2019/11/12 保修年限 CHAN-BHNBX6  end -->
                    <!-- ListPrice-->
                    <apex:column style="width:85px;text-align:center;">
                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <apex:outputText style="width:85px;" id="ListPricetext" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.ListPrice_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="ListPrice" value="{!s.ListPrice_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <span style="width:85px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPricetext">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPrice')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                    </apex:column>
                    <!-- 小计 -->
                    <apex:column style="width:100px;text-align:center;">
                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <apex:outputText style="width:80px;" id="ListPriceTotalText" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.ListPriceTotal_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="ListPriceTotal" value="{!s.ListPriceTotal_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPriceTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPriceTotal')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                        <apex:inputHidden id="Product_Id" value="{!s.PageObject.Product2__c}"/>
                        <apex:inputHidden id="lineNo" value="{!s.lineNo}"/>
                    </apex:column>
                    <!-- CHAN-BHNBX6  NodisCount 小计  2019/11/20 START -->
                    <apex:column style="width:100px;text-align:center;">
                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.NoDiscountTotal_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                            debugger
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                    </apex:column>
                    <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                    <!-- <apex:column style="width:100px;text-align:right;">
                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='要' ||(quo.cancelMultiyearInsurance__c =='不要' && s.CanNotCancelledGurantee == 'true' ),true,false)}" >
                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.NoDiscountTotal_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='不要'&& s.CanNotCancelledGurantee == 'false'  ,true,false)}" >
                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                    </apex:column> -->
                    <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end -->
                    <!-- CHAN-BHNBX6  NodisCount 小计  2019/11/20 END -->
                </apex:pageBlockTable>
            </div>
            <BR></BR>
            <table border="0">
                <tr>
                    <td style="width:550px;" align="right">
                        <apex:inputField value="{!quo.Note__c}" style="width:550px;height:55px;"/>
                    </td>
                    <td>
                        <table border="0">
                            <tr>
                                <th style="width:15px">&nbsp;</th>
                                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start -->
                                <td style="width:100px;" align="right"><apex:commandButton id="QuoteIraiBtn" action="{!checkIraiUser}" reRender="IraiUserId,message1" onclick="blockme();" oncomplete="iraiJs();return false;" value="发送委托邮件" style="width:100px;white-space:nowrap;" disabled="{!Save_button}"/></td>
                                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end -->
                                <td style="width:100px;" align="right"><apex:commandButton action="{!checkIraiUser}" reRender="IraiUserId,hiddenQuoid,message1" onclick="blockme();" oncomplete="save2btn();return false;" value="{!$Label.Save_Button}" style="width:100px;" disabled="{!Save_button}" /></td>
                                <!-- 20230109 lt DB202212427301 start  注释 -->
                                <!-- <td style="width:100px;" align="right"><apex:commandButton onclick="oppReflection2btn();return false;" rerender="hiddenQuoid" value="{!$Label.Opp_Button}" style="width:90px;" disabled="{!Save_button}"/></td>
                                <td style="width:100px;" align="right"><apex:commandButton action="{!Back}" rerender="hiddenQuoid" value="不保存(返回)" style="width:90px;"/></td>
                                <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价OPD" style="width:95px;" onclick="openpdf('OPD');return false;" disabled="{!pdf_button}"/></td>
                                <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价SIS" style="width:95px;" onclick="openpdf('SIS');return false;" disabled="{!pdf_button}"/></td> -->
                                <!-- 20230109 lt DB202212427301 end  注释 -->
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </apex:pageBlock>
    </apex:form>
    <script type="text/javascript">
        var QuoteEntryMaxLine = {!QuoteEntryMaxLine};
        var displayCost = '{!displayCost}';
@@ -202,412 +610,4 @@
            }
        }
    </script>
    <style type="text/css">
        div#iframelike {
            height: 300px;
            overflow: auto;
        }
        div#iframelikeheader {
            height: 23px;
            overflow: auto;
        }
        input {
            font-size: 10.5px;
        }
        body {
            font-size: 10.5px;
        }
        .visitorplace_results {
            border: 1px solid gray;
            background-color: white;
            padding: 0;
            margin: 0;
            list-style: none;
            position: absolute;
            z-index: 10000;
            display: none;
            overflow:auto;
            white-space:nowrap;
            width:400px;
            height:250px;
        }
        .visitorplace_results li {
            padding: 2px 5px 2px 0px;
            margin-left : 2px;
            color: #101010;
            text-align: left;
        }
    </style>
    <apex:form id="mainForm">
        <apex:outputText id="hiddenQuoid" value="{!quoid}" style="display:none;"/>
        <apex:inputHidden id="changedAfterPrint" value="{!changedAfterPrint}"/>
        <apex:inputHidden id="productStatusUpdated" value="{!productStatusUpdated}"/>
        <apex:inputHidden id="idHiddenUserStateHospital" value="{!loginUser.State_Hospital__c}" />
        <apex:actionFunction action="{!setProductEntry}" name="setProductEntry" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
            <apex:param assignTo="{!setProduct_text}" name="setProduct_text" value=""/>
        </apex:actionFunction>
        <apex:actionFunction action="{!excelImport}" name="excelImport" reRender="mainForm" oncomplete="unblockUI();calPriceAll();">
            <apex:param assignTo="{!excel_text}" name="select_index" value=""/>
        </apex:actionFunction>
        <apex:actionFunction action="{!Save}" name="Save" reRender="mainForm,message1" oncomplete="unblockUI();"/>
        <apex:actionFunction action="{!OppReflection}" name="OppReflection" reRender="mainForm" oncomplete="unblockUI();"/>
        <apex:actionFunction action="{!QuoteIrai}" name="QuoteIrai" reRender="mainForm,message1" oncomplete="unblockUI();"/>
        <apex:pageBlock id="block">
            <apex:inputHidden value="{!quo.CurrencyIsoCode}" id="CurrencyIsoCode"/>
            <apex:inputHidden value="{!baseUrl}" id="baseUrl"/>
            <!--  CHAN-BJQ4VZ 精琢技术 2019/12/10 Start -->
            <apex:inputHidden value="{!qb.Estimation_List_Price}" id="hidden_Estimation"/>
            <apex:inputHidden value="{!qb.QuoteTotal_Page}" id="hidden_quoTotalPrice"/>
            <apex:inputHidden value="{!qb.MultiYearWarrantyTotalPrice}" id="hidden_MultiYearWarrantyTotalPrice_out"/>
            <!--  CHAN-BJQ4VZ 精琢技术 2019/12/10 END -->
            <apex:outputPanel id="message1">
                <apex:messages styleClass="editListError"/>
            </apex:outputPanel>
            <apex:outputPanel rendered="{!errorflg}" >
                <table width="100%">
                    <tr>
                        <td align="left"><div class="errorMsg">{!errorMessage}</div></td>
                    </tr>
                </table>
            </apex:outputPanel>
            <apex:outputPanel rendered="{!Messageflg}" >
                <table width="100%">
                    <tr>
                        <td align="left">{!Message}</td>
                    </tr>
                </table>
            </apex:outputPanel>
            <div style="background:rgb(240 238 238);white-space:nowrap;padding:10px">
                <table border="0">
                    <tr>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiSubject__c.Label}</th>
                        <td style="text-align:left;width:220px;margin:10px">
                            <div class="requiredInput"><div class="requiredBlock"></div><apex:inputField id="idVisitorPlace" value="{!quo.IraiSubject__c}" onblur="vpClear2_delay();" onfocus="setVisitorPlace();" style="width:210px;"/></div>
                            <apex:inputHidden id="idVisitorPlaceId" value="{!quo.Account__c}"/>
                            <apex:inputHidden id="idVisitorPlaceHidden" value="{!quo.IraiSubject__c}" />
                            <apex:inputHidden id="idVisitorPlaceHiddenId" value="{!quo.Account__c}" />
                        </td>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiName__c.Label}</th>
                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiName__c}" style="width:220px;"/></td>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiComment__c.Label}</th>
                        <td style="text-align:left;width:220px;margin:10px;"><apex:inputField value="{!quo.IraiComment__c}" style="width:220px;"/></td>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.QuoteProportion__c.Label}</th>
                        <td style="text-align:left;width:60px;margin:10px;"><apex:inputField value="{!quo.QuoteProportion__c}" style="width:70px;text-align:right;"/></td>
                        <th style="text-align:left;width:20px;margin:10px;">%</th>
                        <th style="text-align:right;width:60px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.QuoteIrai_Status__c.Label}</th>
                        <td style="text-align:left;width:80px;margin:10px;"><apex:outputField value="{!quo.QuoteIrai_Status__c}" style="width:80px;"/></td>
                    </tr>
                </table>
                 <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 Start -->
                <table border="0">
                    <tr>
                        <td>&nbsp;</td>
                        <!-- <th style="text-align:right">{!IF(displayFlg,'产品标准定价总额','')}</th> -->
                        <th style="text-align:right;width:50px;white-space:nowrap;padding:20px;">产品标准定价总额 :&nbsp;</th>
                        <td style="width:176px;padding:10px;">
                            <apex:outputText id="Estimation_Price"  value="{0, number, ###,##0.00}"
                            style="text-align:right;width:100px;">
                                <apex:param value="{!qb.Estimation_List_Price}" />
                            </apex:outputText>
                        </td>
                        <th style="text-align:right;width:100px;white-space:nowrap;padding:10px;">报价总额 :&nbsp;</th>
                       <!--  <th style="text-align:right;">{!IF(displayFlg,$Label.Total_Price,'')}</th> -->
                        <td style="width:180px;margin:10px;">
                            <apex:outputtext id="quoTotalPrice" value="{0, number, ###,##0.00}"
                            style="text-align:right;width:100px;">
                                <apex:param value="{!qb.QuoteTotal_Page}"/>
                            </apex:outputtext>
                    </td>
                    </tr>
                </table>
                <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 End -->
                <table border="0">
                    <tr>
                        <th style="width:50px;margin:10px;">&nbsp;</th>
                        <!-- 产品配套检索按钮 -->
                        <td style="width:150px;margin:10px;"><apex:commandButton id="SetProduct" onclick="searchSetProduct();return false;" value="{!$Label.Set_Product}" rerender="dummy"/></td>
                        <!-- excel 导出按钮 -->
                        <td style="width:150px;margin:10px;"><apex:commandButton onclick="openQuoteExcelImport(event);return false;" value="{!$Label.Excel_Import}" rerender="dummy"/></td>
                        <td style="text-align:right;width:80px;margin:10px;"><apex:commandButton rerender="dummy" id="Btn_RowDelete" onclick="radioChecker2('del');return false;" value="{!$Label.deleteLabel}" style="width:60px;"/></td>
                        <td style="width:300px;margin:10px;">
                            <apex:commandButton rerender="dummy" id="Btn_RowUp" onclick="radioChecker2('up');return false;" value="{!$Label.Row_Up}" style="width:100px;"/>
                            <apex:commandButton rerender="dummy" id="Btn_RowDown" onclick="radioChecker2('down');return false;" value="{!$Label.Row_Down}" style="width:100px;"/>
                        </td>
                        <th style="text-align:right;width:80px;margin:10px;">{!$ObjectType.QuoteIrai__c.fields.IraiUser__c.Label}</th>
                        <!-- fy 20220512 -->
                        <!-- <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.华东' || loginUser.Salesdepartment_text__c == '6.华南'))}"  > -->
                        <apex:variable value="identif1" var="identif1" rendered="{!!(loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag)}"  >
                        <td style="width:150px;margin:10px;"><apex:outputPanel id="IraiUserId"><apex:inputField id="IraiUser" value="{!quo.IraiUser__c}"/></apex:outputPanel></td>
                        </apex:variable>
                        <!-- fy 20220512 -->
                        <!-- <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&&(loginUser.Salesdepartment_text__c == '5.华东' || loginUser.Salesdepartment_text__c == '6.华南')}"  > -->
                        <apex:variable value="identif" var="identif" rendered="{!loginUser !=null&&loginUser.Salesdepartment_text__c != null&&loginUser.Salesdepartment_text__c != ''&& obsflag}"  >
                        <!-- <th style="text-align:right;width:20px;">obsap人员</th> -->
                        <td style="text-align:center;width:20px;margin:10px;"><apex:selectList value="{!quo.IraiUser__c}" size="1" style="width:120px" id="IraiUser" onchange="ObsapUsersChange()"><apex:selectOptions value="{!ObsapUsers}" id="obsapUsersList"/></apex:selectList></td>
                        </apex:variable>
                        <!-- 20230104 lt DB202212427301 start-->
                        <!-- <th style="text-align:right;width:80px;">{!$ObjectType.QuoteIrai__c.fields.LastIraiUser__c.Label}</th>
                        <td style="text-align:center;width:70px;"><apex:outputField id="LastIraiUser" value="{!quo.LastIraiUser__c}"/></td> -->
                        <!-- 20230104 lt DB202212427301 end-->
                        <!-- 20230104 lt DB202212427301 start-->
                        <th style="text-align:right;width:190px;margin:10px;">紧急:</th>
                        <td style="text-align:center;width:10px;margin:10px;"><apex:inputField id="Urgent" value="{!quo.Urgent__c}"/></td>
                        <!-- 20230104 lt DB202212427301 end-->
                        <!-- 2020/02/18  精琢技术  韩部长提出先隐藏 没必要  Start-->
                        <!-- <th style="text-align:right;width:70px;">总计</th>
                        <td style="text-align:right;width:80px;">
                            <apex:outputtext id="Estimation_List_Price" value="{0, number, ###,##0.00}"><apex:param value="{!total_ListPrice}"/></apex:outputtext>
                            <apex:inputHidden id="hidden_Estimation_List" value="{!total_ListPrice}"/>
                        </td> -->
                        <!-- 2020/02/18  精琢技术  韩部长提出先隐藏 没必要  end-->
                    </tr>
                </table>
                <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 Start -->
                <table>
                <tr>
                    <td>&nbsp;&nbsp;</td>
                </tr>
                <tr>
                    <td style="text-align:right;width:50px;margin:10px;"></td>
                    <th style="text-align:right;width:50px;margin:10px;" rowspan="3">
                       {!$ObjectType.QuoteIrai__c.fields.MultiYearWarrantyTotalPrice__c.Label}
                   :&nbsp;</th>
                   <!-- <td style="width:470px;"> -->
                       <!--obsap 新增经销商1字段 fy start-->
                   <td style="width:100px;" rowspan="3">
                       <!--obsap 新增经销商1字段 fy end-->
                       <apex:outputtext style="width: :100px" id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}"
                       >
                       <!--obsap 新增经销商1字段 fy start-->
                       <!-- style="text-align:right;width:180px;"> -->
                       <!--obsap 新增经销商1字段 fy end-->
                           <apex:param value="{!qb.MultiYearWarrantyTotalPrice}"/>
                       </apex:outputtext>
                   </td>
                   <!--obsap 新增经销商1字段 fy start-->
                   <th style="width:100px;">&nbsp;</th>
                   <td style="text-align:right;width:50px;"></td>
                   <td style="text-align:right;width:50px;"></td>
                   <th colspan="2" style="width:260px;text-align:center;">{!$Label.Sales_Name}</th>
                   <!--obsap 新增经销商1字段 fy end-->
                   <!-- <apex:variable id="contractWarranty" value="{!1}" var="abc" rendered="{!IF(trade   == '内貿',true,false)}">
                   <th style="text-align:right;width:50px;">
                       {!$ObjectType.Quote.fields.MultiYearWarrantyTotalPrice__c.label}
                   :&nbsp;</th>
                   <td style="width:470px;">
                       <apex:outputtext id="MultiYearWarrantyTotalPrice_out" value="{0, number, ###,##0.00}"
                       style="text-align:right;width:180px;">
                           <apex:param value="{!quo.MultiYearWarrantyTotalPrice__c}"/>
                       </apex:outputtext>
                   </td>
                   <th style="text-align:right;width:50px;">
                       {!$ObjectType.Quote.fields.multiYearWarranty__c.label}
                   :&nbsp;</th>
                   <td style="width:200px;"><apex:inputField id="multiYearWarranty" value="{!quo.multiYearWarranty__c}" onchange="callFromCancelgurantee_MD();" style="text-align:right;width:30px;" /></td>
                   </apex:variable> -->
               </tr>
               <!--obsap 新增经销商1字段 fy start-->
               <tr>
                <td ></td>
                <td ></td>
                <td ></td>
                <th style="width:100px;text-align:right;">{!$Label.Sales_Name1}</th>
                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName1"  value="{!quo.Agency1_entrust__c}"   onChange=""/></td>
                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start -->
                <th style="width:100px;text-align:right;">多年保</th>
                <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                <td colspan="2" style="text-align:left;"><apex:inputField id="cancelMultiyearInsurance"  value="{!quo.cancelMultiyearInsurance__c}"  onChange="cancelMultiyearInsurancechange()"/></td><!-- onChange="cancelMultiyearInsurancechange()"-->
                <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end -->
                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end -->
                </tr>
                <!--obsap 新增经销商1字段 fy end-->
                <!--DB202302464682【报价委托】报价委托改善224 fy start-->
               <tr>
                <td ></td>
                <td ></td>
                <td ></td>
                <th style="width:100px;text-align:right;margin:10px;">{!$Label.Sales_Name2}</th>
                <td colspan="2" style="width:260px;text-align:right;"><apex:inputField style="width:230px;" id="SalesName2"  value="{!quo.Agency2_entrust__c}"   onChange=""/></td>
                <th style="width:100px;text-align:right;margin:10px;"></th>
                <td colspan="2" style="width:120px;text-align:left;margin:10px;"></td>
               </tr>
                <!--DB202302464682【报价委托】报价委托改善224 fy end-->
                <tr>
                    <td>&nbsp;</td>
                </tr>
            </table>
             <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 End -->
            </div>
            <table>
                <tr>
                    <td>&nbsp;</td>
                </tr>
            </table>
            <table style="width:1165px;background:rgb(240 238 238);" border="0">
                <tr>
                    <th style="text-align:center;width:15px;">&nbsp;<input type="checkbox" id="checkAll" onclick="selectAll()" style="width:10px;"/></th>
                    <th style="text-align:center;width:15px;">No</th>
                    <th style="text-align:center;width:150px;">{!$Label.Asset_No}</th>
                    <th style="text-align:center;width:100px;">{!$Label.SFDA_Status}</th>
                    <th style="text-align:center;width:300px;">{!$Label.Product_Name}</th>
                    <th style="text-align:center;width:100px;">{!$Label.Quantity}</th>
                    <!-- CHAN-BHNBX6 2019/11/20 START -->
                    <th style="text-align:center;width:50px;">保修年限</th>
                    <!-- CHAN-BHNBX6 2019/11/20 END -->
                    <th style="text-align:center;width:85px;">ListPrice</th>
                    <th style="text-align:center;width:100px;">小计</th>
                    <!-- CHAN-BHNBX6 2019/11/20 START -->
                    <th style="text-align:center;width:100px;">NoDiscount小计</th>
                    <!-- CHAN-BHNBX6 2019/11/20 END -->
                </tr>
            </table>
            <div id="iframelike" style="width:1183px;">
                <input type="hidden" id="ListPriceTotal" value="0" />
                <input type="hidden" id="UnitPriceTotal" value="0" />
                <apex:pageblocktable value="{!activities}" var="s" id="lists" style="width:1165px;">
                    <apex:column style="width:20px;" >
                        <input type="checkbox" name="checklist" value="{!s.lineNo}" style="width:10px;"/>
                    </apex:column>
                    <!-- No -->
                    <apex:column style="width:20px;text-align:right;" >
                        <apex:outputLabel id="indexNo" value="{!IF(s.PageObject.Product2__c==null,null,s.lineNo + 1)}" style="width:10px;"/>
                    </apex:column>
                    <!-- 产品编号-->
                    <apex:column style="text-align:center;width:150px;">
                        <apex:inputText id="Assert" style="width:120px;" value="{!s.Asset_Model}" onclick="searchProduct('{!s.lineNo}',this.value)" />
                        <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                        <apex:inputHidden id="CanNotCancelledGurantee__c" value="{!s.CanNotCancelledGurantee}" />
                        <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                    </apex:column>
                    <!-- NMPA状态 -->
                    <apex:column style="width:100px;text-align:center;">
                        <apex:outputField style="width:75px;" id="Status__c" value="{!s.PageObject.SFDA_Status__c}"/>
                        <apex:inputHidden id="SFDA" value="{!s.PageObject.SFDA_Status__c}"/>
                    </apex:column>
                    <!-- 产品名称 -->
                    <apex:column style="width:300px;">
                        <div id="Page:mainForm:block:lists:{!s.lineNo}:NameLink">
                            <apex:outputLink style="width:300px;" value="{!baseUrl}/{!s.PageObject.Product2__c}" id="Nametext1" target="_blank">{!s.PageObject.Name__c}</apex:outputLink>
                        </div>
                        <apex:inputHidden id="Name__c" value="{!s.PageObject.Name__c}"/>
                        <apex:inputHidden id="url__c" value="{!s.PageObject.Product2__c}"/>
                    </apex:column>
                    <!-- 数量 -->
                    <apex:column style="text-align:center;width:100px;">
                        <apex:inputField id="Quantity" style="width:50px;text-align:right;" value="{!s.PageObject.Quantity__c}" onclick="show('{!s.PageObject.GuaranteePeriod__c}')" onChange="calPrice('{!s.lineNo}')"/>
                    </apex:column>
                    <!--    2019/11/12 保修年限 CHAN-BHNBX6  start -->
                    <apex:column style="width:50px;text-align:right;" >
                        <apex:outputLabel id="itemGuaranteePeriod" value="{!s.PageObject.GuaranteePeriod__c}" style="width:10px;"/>
                    </apex:column>
                    <!--    2019/11/12 保修年限 CHAN-BHNBX6  end -->
                    <!-- ListPrice-->
                    <apex:column style="width:85px;text-align:center;">
                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <apex:outputText style="width:85px;" id="ListPricetext" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.ListPrice_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="ListPrice" value="{!s.ListPrice_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <span style="width:85px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPricetext">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPrice')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                    </apex:column>
                    <!-- 小计 -->
                    <apex:column style="width:100px;text-align:center;">
                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <apex:outputText style="width:80px;" id="ListPriceTotalText" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.ListPriceTotal_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="ListPriceTotal" value="{!s.ListPriceTotal_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ListPrice__c.accessible}" >
                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:ListPriceTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':ListPriceTotal')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                        <apex:inputHidden id="Product_Id" value="{!s.PageObject.Product2__c}"/>
                        <apex:inputHidden id="lineNo" value="{!s.lineNo}"/>
                    </apex:column>
                    <!-- CHAN-BHNBX6  NodisCount 小计  2019/11/20 START -->
                    <apex:column style="width:100px;text-align:center;">
                        <apex:outputPanel layout="none" rendered="{!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.NoDiscountTotal_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!!$ObjectType.QuoteIraiLineItem__c.fields.ServicePrice__c.accessible}" >
                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                            debugger
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                    </apex:column>
                    <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start -->
                    <!-- <apex:column style="width:100px;text-align:right;">
                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='要' ||(quo.cancelMultiyearInsurance__c =='不要' && s.CanNotCancelledGurantee == 'true' ),true,false)}" >
                            <apex:outputText style="width:80px;" id="NoDiscountTotalText" value="{0, number, ###,##0.00}">
                                <apex:param value="{!s.NoDiscountTotal_Page}" />
                            </apex:outputText>
                        </apex:outputPanel>
                        <apex:inputHidden id="NoDiscountTotal" value="{!s.NoDiscountTotal_Page}"/>
                        <apex:inputHidden id="NoDiscount" value="{!s.NoDiscount_Page}"/>
                        <apex:outputPanel layout="none" rendered="{!IF(quo.cancelMultiyearInsurance__c =='不要'&& s.CanNotCancelledGurantee == 'false'  ,true,false)}" >
                            <span style="width:80px;text-align:right;" id="Page:mainForm:block:lists:{!s.lineNo}:NoDiscountTotalText">{!IF(s.PageObject.Product2__c == null, ' ', 0.00)}</span>
                            <script type="text/javascript">
                                j$(escapeVfId('Page:mainForm:block:lists:'+ {!s.lineNo} + ':NoDiscountTotal')).val(toNum(0));
                            </script>
                        </apex:outputPanel>
                    </apex:column> -->
                    <!-- DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end -->
                    <!-- CHAN-BHNBX6  NodisCount 小计  2019/11/20 END -->
                </apex:pageBlockTable>
            </div>
            <BR></BR>
            <table border="0">
                <tr>
                    <td style="width:550px;" align="right">
                        <apex:inputField value="{!quo.Note__c}" style="width:550px;height:55px;"/>
                    </td>
                    <td>
                        <table border="0">
                            <tr>
                                <th style="width:15px">&nbsp;</th>
                                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy start -->
                                <td style="width:100px;" align="right"><apex:commandButton id="QuoteIraiBtn" action="{!checkIraiUser}" reRender="IraiUserId,message1" onclick="blockme();" oncomplete="iraiJs();return false;" value="发送委托邮件" style="width:100px;white-space:nowrap;" disabled="{!Save_button}"/></td>
                                <!-- SWAG-CKDATG 【委托】【OBSAP-报价委托】报价委托项目改善1 fy end -->
                                <td style="width:100px;" align="right"><apex:commandButton action="{!checkIraiUser}" reRender="IraiUserId,hiddenQuoid,message1" onclick="blockme();" oncomplete="save2btn();return false;" value="{!$Label.Save_Button}" style="width:100px;" disabled="{!Save_button}" /></td>
                                <!-- 20230109 lt DB202212427301 start  注释 -->
                                <!-- <td style="width:100px;" align="right"><apex:commandButton onclick="oppReflection2btn();return false;" rerender="hiddenQuoid" value="{!$Label.Opp_Button}" style="width:90px;" disabled="{!Save_button}"/></td>
                                <td style="width:100px;" align="right"><apex:commandButton action="{!Back}" rerender="hiddenQuoid" value="不保存(返回)" style="width:90px;"/></td>
                                <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价OPD" style="width:95px;" onclick="openpdf('OPD');return false;" disabled="{!pdf_button}"/></td>
                                <td style="width:100px;" align="right"><apex:commandButton value="产品试用评价SIS" style="width:95px;" onclick="openpdf('SIS');return false;" disabled="{!pdf_button}"/></td> -->
                                <!-- 20230109 lt DB202212427301 end  注释 -->
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </apex:pageBlock>
    </apex:form>
</apex:page>
force-app/main/default/pages/OFSHoverView.page
force-app/main/default/pages/SI_Opportunity_Response.page
@@ -1,5 +1,6 @@
<apex:page standardController="Opportunity" extensions="SI_Opportunity_ResponseController" showHeader="false" sidebar="false" action="{!init}" id="allPage" lightningStylesheets="true" >
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<script type="text/javascript">
force-app/main/default/pages/SearchProductIrai.page
@@ -1,5 +1,6 @@
<apex:page id="Page" standardController="Product2" extensions="SearchProductController" sidebar="false" showHeader="false" lightningStylesheets="true" >
    <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
    <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
    <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
    <script>
@@ -200,7 +201,7 @@
        <apex:form id="mainForm">
            <apex:pageBlock id="idSearchSetProduct" title="{!$Label.Product_Search}">
                <apex:inputHidden id="Trade" value="{!Trade}"/>
                <table width="900" border="0" style="background-color:#DCDCDC">
                <table width="1000" border="0" style="background-color:#DCDCDC;">
                    <colgroup>
                        <col width="12" />
                        <col width="50" />  <!-- lighting升级 20230210 lt 名称串行问题  20==50 -->
@@ -231,7 +232,7 @@
                        <td style="border-bottom: 1px solid #888;" colspan="15">&nbsp;</td>
                    </tr>
                </table>
                <table width="900" border="0" style="background-color:#DCDCDC">
                <table width="1000" border="0" style="background-color:#DCDCDC">
                    <tr>
                        <td width="12">&nbsp;</td>
                        <th valign="top">{!$Label.Search_Result}</th>
@@ -240,14 +241,14 @@
                            <table border="0">
                                <tr>
                                    <td>
                                    <div id="iframelike" style="width:800px">
                                    <div id="iframelike" style="width:900px">
                                    <!-- 20221020 ljh SWAG-CJ98AJ start-->
                                    <!-- <apex:pageBlockTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="9" columnsWidth="25px,120px,120px,280px,60px,60px,60px,60px,35px"> -->
                                    <apex:pageBlockTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="10" columnsWidth="25px,120px,120px,280px,60px,60px,60px,60px,35px">
                                    <apex:pageBlockTable id="idRezultVisitor" value="{!cl}" var="c" border="1" columns="10" columnsWidth="40px,120px,120px,280px,80px,80px,80px,80px,80px,40px">
                                    <!-- 20221020 ljh SWAG-CJ98AJ end -->
                                        <apex:column style="width:15px;" >
                                        <apex:column >
                                            <apex:facet name="header">{!$Label.Selected}</apex:facet>
                                            <input type="checkbox" name="checklist" value="" style="width:10px;"/>
                                            <input type="checkbox" name="checklist" value="" style="width:15px;"/>
                                        </apex:column>
                                        <apex:column >
                                            <apex:facet name="header">{!$Label.Asset_No}</apex:facet>
force-app/main/default/pages/UnderConstruction.page
force-app/main/default/pages/genjinbaobiao.page
force-app/main/default/pages/maintenanceContractNotOpen.page
force-app/main/default/pages/taskFeedback.page