force-app/main/default/classes/AssetModifyBelongsController.cls
@@ -105,7 +105,7 @@ soql = this.makeSoql1('', ''); assetListed = Database.query(soql); assetListed = noSubmittedList(assetListed); if (assetListed.size() > 0) { ambc.rawAccount__c = assetListed[0].Account.Id; } @@ -180,7 +180,8 @@ Map<String, AssetModifyBelongsChangeDetailInfo> MidMap = new Map<String, AssetModifyBelongsChangeDetailInfo>(); List<Asset> asListed = new List<Asset>(); soql = this.makeSoql1(text1, val1); asListed = Database.query(soql); System.debug('soql:'+soql); asListed = Database.query(soql); asListed = noSubmittedList(asListed); for (AssetModifyBelongsChangeDetailInfo bss : assetModifyBelongsChangeDetailRecordsview) { if (bss.check == true) { @@ -224,10 +225,10 @@ Map<String,String> submittedMap = new Map<String,String>(); List<AssetModifyBelongsChangeDetail__c> changeDetailList = new List<AssetModifyBelongsChangeDetail__c>(); // 查找 保有设备所属变更明细 changeDetailList = [select Id, Name, Asset__c,Asset__r.Id changeDetailList = [select Id, Name, Asset__c,Asset__r.Id from AssetModifyBelongsChangeDetail__c where ChangeAndChangeDetail__c In:ambcIdList]; if (changeDetailList.size() > 0) { for(AssetModifyBelongsChangeDetail__c ambcDetail:changeDetailList){ submittedMap.put(ambcDetail.Asset__r.Id, ambcDetail.Asset__r.Id); @@ -239,9 +240,9 @@ } } } } else { noSubmittedList = asListed; noSubmittedList = asListed; } if (noSubmittedList.size() > 200) { @@ -254,13 +255,13 @@ } else{ break; } } } else { asListed = noSubmittedList; } } return asListed; // WLIG-BYZ9UF XHL 20210311 End @@ -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; } @@ -353,7 +357,7 @@ public PageReference uploadingAttachmentLightning() { //PageReference ref = new Pagereference('/p/attach/NoteAttach?pid=' + Id + '&retURL=%2Fapex/AssetModifyBelongs?Id=' + Id); PageReference ref = new Pagereference('/lightning/n/lightning?backgroundContext=%2Flightning%2Fr%2FAssetModifyBelongsChange__c%2F'+Id+'%2Fedit%3Fcount%3D1&0.recordId='+Id+''); ref.setRedirect(true); return ref; } @@ -386,7 +390,7 @@ //提交之前验证保有设备是否在原客户下,不在报错。 List<AssetModifyBelongsChangeDetail__c> getAmBdList = new List<AssetModifyBelongsChangeDetail__c>(); getAmBdList = [SELECT Id, Name,Asset__r.SerialNumber,AssetNotAccount__c,Asset__r.Account.Name,ChangeAndChangeDetail__r.rawAccount__r.Name FROM AssetModifyBelongsChangeDetail__c FROM AssetModifyBelongsChangeDetail__c WHERE ChangeAndChangeDetail__c = : Id AND AssetNotAccount__c = true]; if (getAmBdList.size() > 0) { for (AssetModifyBelongsChangeDetail__c ambcd: getAmBdList ) { @@ -394,11 +398,11 @@ String rawAccountName = ' 不在客户 【 ' + ambcd.ChangeAndChangeDetail__r.rawAccount__r.Name +' 】 下,'; String accountName = ' 在客户 【 ' +ambcd.Asset__r.Account.Name +' 】 下,'; ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, serialNumber+rawAccountName+accountName+' 无法提交,请确认')); } return null; } try { Approval.ProcessSubmitRequest psr = new Approval.ProcessSubmitRequest(); psr.setObjectId(Id); @@ -628,4 +632,4 @@ } } } } 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
@@ -17,29 +17,29 @@ textOpts.add(new SelectOption('SerialNumber' , Schema.SObjectType.Asset.fields.SerialNumber.label)); //textOpts.add(new SelectOption('Installation_Site__c', Schema.SObjectType.Asset.fields.Installation_Site__c.label)); //textOpts.add(new SelectOption('Department_Name__c' , Schema.SObjectType.Asset.fields.Department_Name__c.label)); changeReasonOpts = new List<SelectOption>(); changeReasonOpts.add(new SelectOption('' , '-无-')); changeReasonOpts.add(new SelectOption('集中采购,未分配到医院' , '集中采购,未分配到医院')); changeReasonOpts.add(new SelectOption('其他' , '其他')); } /*****************画面初始化用********************************/ public Boolean editAble {get;set;} public Boolean spoLinkFlag {get;set;} public String statusEdit {get;set;} /*****************画面表示Bean******************/ private List<GuaranteePeriodAlterationDetailInfo> guaranteePeriodAlterationDetailRecords = new List<GuaranteePeriodAlterationDetailInfo>(); public List<GuaranteePeriodAlterationDetailInfo> guaranteePeriodAlterationDetaiRecordsview { get; set; } public Integer ConsumableorderdetailsCount { public Integer ConsumableorderdetailsCount { get { return guaranteePeriodAlterationDetailRecords == null ? 0 : guaranteePeriodAlterationDetailRecords.size(); } } public Integer ConsumableorderdetailsviewCount { public Integer ConsumableorderdetailsviewCount { get { return guaranteePeriodAlterationDetaiRecordsview == null ? 0 : guaranteePeriodAlterationDetaiRecordsview.size(); } @@ -48,11 +48,11 @@ 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;} public GuaranteePeriodAlterationController(ApexPages.StandardController stdController) { isShow = false; Statu_AchievementsId = ApexPages.currentPage().getParameters().get('Statu_AchievementsId'); @@ -80,7 +80,7 @@ // 画面初始化 public void init() { if(Id!=null&&Id!=''&&statusEdit==''&&statusEdit==null){ editAble = false; }else if((Id == null||Id=='')&&(statusEdit==''||statusEdit==null)){ @@ -92,16 +92,16 @@ guaranteePeriodAlterationDetailRecords = new List<GuaranteePeriodAlterationDetailInfo>(); List<Asset> assetListed = new List<Asset>(); Map<String,GuaranteePeriodAlterationDetailInfo> MidMap = new Map<String,GuaranteePeriodAlterationDetailInfo>(); if(Id== NULL || Id==''){ List<Statu_Achievements__c> statuAchievements = [select Id,InstallDate__c from Statu_Achievements__c where Id = :Statu_AchievementsId]; List<Statu_Achievements__c> statuAchievements = [select Id,InstallDate__c from Statu_Achievements__c where Id = :Statu_AchievementsId]; ambc.WarrantyStartDate__c = statuAchievements[0].InstallDate__c; soql = this.makeSoql1('',''); assetListed = Database.query(soql); for (Integer i = 0; i < assetListed.size(); i++) { guaranteePeriodAlterationDetailRecords.add(new GuaranteePeriodAlterationDetailInfo(assetListed[i])); MidMap.put(assetListed[i].Id, new GuaranteePeriodAlterationDetailInfo(assetListed[i])); } @@ -111,7 +111,7 @@ }else{ List<GuaranteePeriodAlterationDetail__c> changeDetailList = new List<GuaranteePeriodAlterationDetail__c>(); List<GuaranteePeriodAlterationApplication__c> assetChangeList = new List<GuaranteePeriodAlterationApplication__c>(); assetChangeList = [select Id, Name,Change_status__c, ChangeReason__c,WarrantyStartDate__c, ChangeReason_text__c,GpaaStatu_Achievements__c @@ -139,7 +139,7 @@ for(GuaranteePeriodAlterationDetailInfo ass:MidMap.values()){ guaranteePeriodAlterationDetailRecords.add(ass); } for(GuaranteePeriodAlterationDetailInfo ass : guaranteePeriodAlterationDetailRecords){ @@ -149,17 +149,17 @@ guaranteePeriodAlterationDetaiRecordsview.add(ass); } } } isShow = true; attachments = seekAttachment(); } } } // 检索 public void searchConsumableorderdetails() { Map<String,GuaranteePeriodAlterationDetailInfo> MidMap = new Map<String,GuaranteePeriodAlterationDetailInfo>(); List<Asset> asListed = new List<Asset>(); soql = this.makeSoql1(text1,val1); @@ -174,7 +174,7 @@ if(!MidMap.containsKey(asListed[i].Id)){ MidMap.put(asListed[i].Id, new GuaranteePeriodAlterationDetailInfo(asListed[i])); } } @@ -224,14 +224,14 @@ //删除按钮 public PageReference DelConsumable(){ GuaranteePeriodAlterationApplication__c ambc = new GuaranteePeriodAlterationApplication__c(Id = Id); List<GuaranteePeriodAlterationDetail__c> changeDetailList = [Select Id,GuaranteePeriodAlteration__r.GpaaStatu_Achievements__c from GuaranteePeriodAlterationDetail__c where GuaranteePeriodAlteration__c = :Id]; String rawAccountIded = ''; List<GuaranteePeriodAlterationDetail__c> changeDetailList = [Select Id,GuaranteePeriodAlteration__r.GpaaStatu_Achievements__c from GuaranteePeriodAlterationDetail__c where GuaranteePeriodAlteration__c = :Id]; String rawAccountIded = ''; if(changeDetailList.size()> 0){ rawAccountIded = changeDetailList[0].GuaranteePeriodAlteration__r.GpaaStatu_Achievements__c; } try { delete changeDetailList; delete ambc; @@ -240,7 +240,7 @@ } catch (Exception e) { ApexPages.addMessages(e); return null; } } //return null; } @@ -250,7 +250,7 @@ ref.setRedirect(true); return ref; } //查找当前"保修期限变更申请"所有的附件 public List<Attachment> seekAttachment() { return [select Id, ParentId, Name, OwnerId, CreatedDate, BodyLength FROM Attachment where ParentId = :Id]; @@ -281,7 +281,7 @@ if (repairList.size() > 0 || qIS_ReportList.size() > 0 || assets.size() > 0) { if (repairList.size() > 0) { for (Repair__c repair :repairList) { assetIdMap.put(repair.Delivered_Product__c,repair.Delivered_Product__r.SerialNumber+'(含修理)'); } @@ -302,7 +302,7 @@ } return true; } } return false; } @@ -316,9 +316,9 @@ agAlteration.Id = Id; attachments = seekAttachment(); if (ambc.ChangeReason__c == '集中采购,未分配到医院' && attachments.size() == 0) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请上传标书')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请上传标书')); return null; } } try{ @@ -331,32 +331,32 @@ Approval.ProcessSubmitRequest psr = new Approval.ProcessSubmitRequest(); psr.setObjectId(Id); Approval.ProcessResult submitResult = Approval.process(psr); return ref; return ref; } catch (Exception e) { //ApexPages.addmessages(e); Database.rollback(sp); return null; return null; } //return null; //return UnabletoEdit(); //return UnabletoEdit(); } //验证字段 public Boolean warning() { if (String.isBlank(ambc.ChangeReason__c)) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请输入变更原因')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请输入变更原因')); return true; } else if (ambc.ChangeReason__c == '其他' && String.isBlank(ambc.ChangeReason_text__c)) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '变更原因为"其他"时,请输入"变更原因其他"')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '变更原因为"其他"时,请输入"变更原因其他"')); return true; } else if (ambc.WarrantyStartDate__c == null) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请输入保修开始日')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请输入保修开始日')); return true; } @@ -370,7 +370,7 @@ } if (Count == FLG) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请选择要修改的保有设备')); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '请选择要修改的保有设备')); return true; } @@ -381,10 +381,10 @@ // 保存按钮 public PageReference save() { //return null; GuaranteePeriodAlterationApplication__c agAlteration = new GuaranteePeriodAlterationApplication__c (); List<GuaranteePeriodAlterationDetail__c> Ins = New List<GuaranteePeriodAlterationDetail__c>(); //新建变更单时 Savepoint sp = Database.setSavepoint(); try { @@ -392,11 +392,11 @@ agAlteration.ChangeReason_text__c = ambc.ChangeReason_text__c; agAlteration.WarrantyStartDate__c = ambc.WarrantyStartDate__c; agAlteration.ChangeReason__c = ambc.ChangeReason__c; if (warning()) { return null; } } if (String.isBlank(Id)) { @@ -411,23 +411,23 @@ ApexPages.addMessages(e); } Map<String,String> assetGuaranteeTimeMap = new Map<String,String>(); List<GuaranteePeriodAlterationApplication__c> saveGpaApplicationList = [SELECT Id,Name,WarrantyStartDate__c FROM GuaranteePeriodAlterationApplication__c List<GuaranteePeriodAlterationApplication__c> saveGpaApplicationList = [SELECT Id,Name,WarrantyStartDate__c FROM GuaranteePeriodAlterationApplication__c WHERE id = :agAlteration.id]; if ( saveGpaApplicationList.size() > 0) { List<Asset> assetList = [Select Id,Guarantee_period_for_products__c,guarantee_period__c,RepairQuantity__c,SerialNumber from Asset where Backorder__c = :Statu_AchievementsId]; Map<String,Integer> assetMap = new Map<String,Integer>(); Map<String,Integer> assetMap = new Map<String,Integer>(); for (Asset ass :assetList) { assetMap.put(ass.Id,Integer.valueOf(ass.guarantee_period__c)); } } List<String> assetIds = new List<String>(); @@ -443,23 +443,23 @@ gpaDetail.Name = saveGpaApplicationList[0].Name + '-'+ str; gpaDetail.GuaranteePeriodAlteration__c = saveGpaApplicationList[0].Id; gpaDetail.Asset__c = ass.ast.Id; gpaDetail.GuaranteeTime__c = saveGpaApplicationList[0].WarrantyStartDate__c.addDays(assetMap.get(ass.ast.Id)); gpaDetail.GuaranteeTime__c = saveGpaApplicationList[0].WarrantyStartDate__c.addDays(assetMap.get(ass.ast.Id)); i++; Ins.add(gpaDetail); assetIds.add(ass.ast.Id); } } if (find_QIS_Repair(assetIds)) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '以下保有设备含有"QIS"或"修理"或"保修期限变更过"不适合变更"保修期限"' + assetIdMap.values())); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '以下保有设备含有"QIS"或"修理"或"保修期限变更过"不适合变更"保修期限"' + assetIdMap.values())); return null; } } //update saveGpaApplicationList; } } Id = agAlteration.id; @@ -469,26 +469,26 @@ } } //修改之后 保存订单 else if(!String.isBlank(Id)){ else if(!String.isBlank(Id)){ agAlteration.Id = Id; agAlteration.GpaaStatu_Achievements__c = ambc.GpaaStatu_Achievements__c; agAlteration.GpaaStatu_Achievements__c = ambc.GpaaStatu_Achievements__c; update agAlteration; List<GuaranteePeriodAlterationDetail__c> delIns = List<GuaranteePeriodAlterationDetail__c> delIns = [select Id from GuaranteePeriodAlterationDetail__c where GuaranteePeriodAlteration__r.Id = :Id]; if(delIns.size()>0){ delete delIns; } Integer i = 1; List<GuaranteePeriodAlterationApplication__c> saveGpaApplicationList = [SELECT Id,Name FROM GuaranteePeriodAlterationApplication__c List<GuaranteePeriodAlterationApplication__c> saveGpaApplicationList = [SELECT Id,Name FROM GuaranteePeriodAlterationApplication__c WHERE id =:agAlteration.id]; List<String> assetIds = new List<String>(); @@ -498,15 +498,15 @@ GuaranteePeriodAlterationDetail__c gpaDetail = new GuaranteePeriodAlterationDetail__c(); String str = string.valueOf(i); if(str.length() == 1){ str = '0' + str; } gpaDetail.Name = saveGpaApplicationList[0].Name + '-'+ str; gpaDetail.GuaranteePeriodAlteration__c = saveGpaApplicationList[0].Id; gpaDetail.Asset__c = ass.ast.Id; gpaDetail.Asset__c = ass.ast.Id; i++; Ins.add(gpaDetail); assetIds.add(ass.ast.Id); @@ -515,10 +515,10 @@ if (find_QIS_Repair(assetIds)) { ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '以下保有设备含有"QIS"或"修理"或"保修期限变更过"不适合变更"保修期限"' + assetIdMap.values())); ApexPages.addmessage(new ApexPages.message(ApexPages.severity.Error, '以下保有设备含有"QIS"或"修理"或"保修期限变更过"不适合变更"保修期限"' + assetIdMap.values())); return null; } if(Ins.size()>0){ insert Ins; @@ -569,6 +569,6 @@ ast = e; canSelect = true; } } } } 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('医院信息发生变化,请重新申请医院资质审批!'); } @@ -12,4 +11,4 @@ </script> <body onload="init()"> </body> </apex:page> </apex:page> force-app/main/default/pages/AssetGuaranteePeriodAlteration.page
@@ -10,7 +10,7 @@ blockme(); document.getElementById("allPage:allForm:allBlock:searchBlock:text1").value = ""; document.getElementById("allPage:allForm:allBlock:searchBlock:val1").value = ""; searchConsumableorderdetails(); } var selectedSize = 0; @@ -154,14 +154,14 @@ <apex:pageBlock id="EDCline_1" > <apex:commandButton style="display:none"/> <apex:commandButton onclick="EditConsumable();" value="编辑" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!!(editAble)}" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准'||ambc.Change_status__c='驳回',true,false)}"/> <apex:commandButton onclick="SorderJs();" value="提交申请" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!!(editAble )}" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准',true,false)}"/> <apex:commandButton onclick="saveJs();" value="保存变更申请单" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!IF((editAble) && ambc.Change_status__c !='驳回',true,false)}" /> <apex:commandButton onclick="saveJs();" value="保存变更申请单" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!IF(ambc.Change_status__c='驳回' && editAble,true,false)}" /> <apex:commandButton onclick="DeleteConsumable();" value="删除" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!!(editAble)}" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准'||ambc.Change_status__c='驳回',true,false)}"/> <apex:commandButton onclick="backOrderJs();" value="再申请" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!IF(ambc.Change_status__c='驳回' && !editAble,true,false)}" /> </apex:pageBlock> <apex:pageBlock title="变更申请单信息" id="unEditable" rendered="{!!(editAble)}"> <table> <colgroup> @@ -181,9 +181,9 @@ <td align="right" >状 态:</td> <td align="left" ><apex:outputField id="OrderStatus_out" value="{!ambc.Change_status__c}" style="width:100px"/></td> <!-- <td/> --> </tr> </tr> <tr> <!-- <td/> --> <td align="right">变更原因:</td> <td align="left"> @@ -219,7 +219,7 @@ <col width="180px"/> <col width="60px"/> <col width="60px"/> </colgroup> <tr> <td align="right"></td> @@ -229,7 +229,7 @@ <td> <apex:selectList value="{!text1}" id="text1" size="1" style="width:90px"><apex:selectOptions value="{!textOpts}"/> </apex:selectList> </td> </td> <td> <apex:inputText value="{!val1}" id="val1" style="width:100px"/> @@ -245,14 +245,14 @@ <tr > <td colspan="3"/> <td colspan="4" style="height:50px"> 变更原因:<!-- <apex:selectList value="{!ambc.ChangeReason__c}" id="changeReason01" size="1" style="width:204px" onchange="ChangeReasonjs('{!ambc.ChangeReason__c}');"><apex:selectOptions value="{!changeReasonOpts}" /> --> <!-- </apex:selectList> --> <apex:inputField value="{!ambc.ChangeReason__c}" style="width:200px"></apex:inputField> </td> <td colspan="4">变更原因其他:<apex:inputText value="{!ambc.ChangeReason_text__c}" style="width:200px"/></td> <!-- <td colspan="4">保修天数:<apex:inputText value="{!ambc.WarrantyDays__c}" style="width:200px"/></td> --> </tr> <!-- <tr></tr> --> <tr> @@ -263,7 +263,7 @@ <!-- <td colspan="4"> 保修天数:<apex:inputText value="{!ambc.WarrantyDays__c}" style="width:200px"/></td> --> <!-- <td colspan="4"/> --> </tr> </table> </apex:pageBlock> <apex:outputPanel id="message"> @@ -311,14 +311,14 @@ </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" > <apex:column headerValue="标题" style="width: 33%"> <apex:outputField value="{!attachment.Title}"/> </apex:column> @@ -337,4 +337,4 @@ </apex:form> <script> </script> </apex:page> </apex:page> force-app/main/default/pages/AssetModifyBelongs.page
@@ -158,7 +158,7 @@ <apex:commandButton onclick="DeleteConsumable();" value="删除" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!!(editAble)}" disabled="{!IF(ambc.Change_status__c='已提交'||ambc.Change_status__c='批准'||ambc.Change_status__c='驳回',true,false)}"/> <apex:commandButton onclick="backOrderJs();" value="再申请" style="margin-left:30px;width:180px" rerender="dummy" rendered="{!IF(ambc.Change_status__c='驳回' && !editAble,true,false)}" /> </apex:pageBlock> <apex:pageBlock title="变更申请单信息" id="unEditable" rendered="{!!(editAble)}"> <table> <colgroup> @@ -186,8 +186,8 @@ <td align="right" >目标客户:</td> <td align="left" ><apex:outputField value="{!ambc.AccountField__r.Name}"/></td> <td/> </tr> </tr> <tr style='line-height: 25px;'> <apex:outputPanel rendered="{!checkUser}"> <td align="right" >SPO表单号:</td> @@ -236,7 +236,7 @@ <col width="180px"/> <col width="60px"/> <col width="60px"/> </colgroup> <tr> <td align="right"></td> @@ -246,7 +246,7 @@ <td> <apex:selectList value="{!text1}" id="text1" size="1" style="width:90px"><apex:selectOptions value="{!textOpts}"/> </apex:selectList> </td> </td> <td> <apex:inputText value="{!val1}" id="val1" style="width:200px"/> @@ -264,7 +264,7 @@ <td colspan="4" style="height:50px;"> 原客户:<apex:outputField value="{!ambc.rawAccount__c}"/></td> <td colspan="4">目标客户:<apex:inputField id="OEC" value="{!ambc.AccountField__c}" style="height:25px;width:200px"/></td> </tr> <tr > <apex:outputPanel rendered="{!checkUser}"> <td colspan="3"/> @@ -275,11 +275,11 @@ <!-- </apex:selectList> --> </td> <!-- CHAN-B9B68N Stop --> </tr> <tr> <td colspan="3"/> <td colspan="4" style="height:50px;"> 备注:<apex:inputText value="{!ambc.remark__c}" style="width:200px"/></td> <!-- LZHU-BPJ8DF 20200513 Start --> @@ -342,17 +342,17 @@ </table> </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" > <apex:column headerValue="标题" style="width: 33%"> <apex:outputField value="{!attachment.Title}"/> </apex:column> @@ -372,4 +372,4 @@ <script> </script> </apex:page> </apex:page> force-app/main/default/pages/BandwidthExceeded.page
@@ -12,6 +12,6 @@ <apex:param value="mailto:{!$Site.AdminEmailAddress}"/> <apex:param value="{!$Label.site.email_us}"/> </apex:outputText> </apex:define> </apex:define> </apex:composition> </apex:page> </apex:page> force-app/main/default/pages/BidAnnounceIframe.page
@@ -12,4 +12,4 @@ <script type="text/javascript"> showIframePage(); </script> </apex:page> </apex: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
@@ -4,7 +4,7 @@ <script> $Lightning.use("c:DealerPersonnelInformationImportApp", function() { $Lightning.createComponent("c:DealerPersonnelInformationImport", { { }, "TaskManageAppOutContainer", function(cmp) { @@ -12,4 +12,4 @@ }); }); </script> </apex:page> </apex: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
@@ -16,4 +16,4 @@ </apex:outputText> </apex:define> </apex:composition> </apex:page> </apex:page> force-app/main/default/pages/InitCreateSolutionPage.page
@@ -1,18 +1,19 @@ <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() { function init() { // url 路径 var str = '/a3k/e?Name=*&nooverride=1'; // 跳转页面 window.open(str,'_self'); } </script> <body onload="init()"> </body> <!-- End Default Content REMOVE THIS --> </apex:page> </apex:page> force-app/main/default/pages/LookupPage.page
@@ -77,7 +77,7 @@ border-color: #c4c4c4; color: #909090; } </style> <!-- form 表单 --> <apex:form id="formId"> @@ -114,7 +114,7 @@ <!-- table 表格列 精琢技术 wql 2021/04/01 start--> <apex:pageblock id="searchResults"> <!-- PleaseJudge 下次调用时,需判断 --> <apex:outputpanel rendered="{!IF(SObjectName == 'ModelLendingProduct__c', true, false)}"> <apex:pageblocktable id="tblResults" value="{!ModelCode}" var="a"> @@ -212,7 +212,7 @@ //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 if(j$(escapeVfId('pg:formId:FirstPage'))[0].className.indexOf('btn')==0){ j$(escapeVfId('pg:formId:FirstPage'))[0].classList.remove("btn"); } } } //上一页 @@ -227,7 +227,7 @@ //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 if(j$(escapeVfId('pg:formId:previous'))[0].className.indexOf('btn')==0){ j$(escapeVfId('pg:formId:previous'))[0].classList.remove("btn"); } } } //下一页 if(j$(escapeVfId('pg:formId:next'))[0]){ @@ -241,7 +241,7 @@ //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 if(j$(escapeVfId('pg:formId:next'))[0].className.indexOf('btn')==0){ j$(escapeVfId('pg:formId:next'))[0].classList.remove("btn"); } } } //尾页 if(j$(escapeVfId('pg:formId:LastPage'))[0]){ @@ -255,7 +255,7 @@ //如果按钮不是disabled 则去掉默认样式 添加新的disabled样式 if(j$(escapeVfId('pg:formId:LastPage'))[0].className.indexOf('btn')==0){ j$(escapeVfId('pg:formId:LastPage'))[0].classList.remove("btn"); } } } } @@ -269,7 +269,7 @@ if(window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingProductCodeId"))){ window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingProductCodeId")).val(id); } //赋值到无报告页面 if(window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingCodeId"))){ window.opener.j$(escapeVfId("allPage:allForm:allBlock:tableListQ:SectionItem1:ModelLendingCodeId")).val(modelId); @@ -280,4 +280,4 @@ //初始化去掉默认样式 removeButtonStyle(); </script> </apex:page> </apex:page> force-app/main/default/pages/NewQuoteIrai.page
@@ -9,7 +9,415 @@ <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> <apex:includeScript value="{!URLFOR($Resource.jquerydoubletapjs)}"/> <script type="text/javascript"> <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> </td> <!-- <th style="text-align:right">{!IF(displayFlg,'产品标准定价总额','')}</th> --> <th style="text-align:center;width:50px;white-space:nowrap;padding:20px;">产品标准定价总额 : </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;">报价总额 : </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;"> </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> </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} : </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;"> </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} : </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} : </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> </td> </tr> </table> <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 End --> </div> <table> <tr> <td> </td> </tr> </table> <table style="width:1165px;background:rgb(240 238 238);" border="0"> <tr> <th style="text-align:center;width:30px;"> <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"> </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}'; var quoid = '{!quoid}'; @@ -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> </td> <!-- <th style="text-align:right">{!IF(displayFlg,'产品标准定价总额','')}</th> --> <th style="text-align:right;width:50px;white-space:nowrap;padding:20px;">产品标准定价总额 : </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;">报价总额 : </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;"> </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> </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} : </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;"> </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} : </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} : </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> </td> </tr> </table> <!-- CHAN-BJQ4VZ 精琢技术 2019/12/10 End --> </div> <table> <tr> <td> </td> </tr> </table> <table style="width:1165px;background:rgb(240 238 238);" border="0"> <tr> <th style="text-align:center;width:15px;"> <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"> </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
@@ -15,4 +15,4 @@ <div id="mydiv" class="individualPalette lookupHoverDetail lookupHoverDetailOverridable" style="visibility: visible;"> </div> </body> </html> </apex:page> </apex: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> @@ -53,22 +54,22 @@ var CanNotCancelledGurantee__c = j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":CanNotCancelledGurantee__c")).val(); //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end //CHAN-BHNBX6 2019/11/20 START var GuaranteePeriod = j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":GuaranteePeriod")).value(); //CHAN-BHNBX6 2019/11/20 START var GuaranteePeriod = j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":GuaranteePeriod")).value(); //nodiscount 小计 var Intra_Trade_Service_RMB =j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":Intra_Trade_Service_RMB")).value(); var Intra_Trade_Service_RMB =j$(escapeVfId("Page:mainForm:idSearchSetProduct:idRezultVisitor:"+ i +":Intra_Trade_Service_RMB")).value(); //CHAN-BHNBX6 2019/11/20 END //No window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":indexNo")).text(parseInt(lineno)+1); //製品型番 window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Assert")).val(Asset_Model_No__c); //Status__c window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Status__c")).text(SFDA_Status__c); //SFDA hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":SFDA")).val(SFDA_Status__c); //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start //取消市场多年保 window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":CanNotCancelledGurantee__c")).val(CanNotCancelledGurantee__c); @@ -85,9 +86,9 @@ //ListPrice var ListPrice = 0; var Cost_c = 0; //CHAN-BHNBX6 2019/11/20 START //CHAN-BHNBX6 2019/11/20 START var NoDiscount = 0; if(trade == "CNY") { ListPrice = Intra_Trade_List_RMB__c; Cost_c = Intra_Trade_Cost_RMB__c; @@ -106,10 +107,10 @@ //CHAN-BHNBX6 NoDiscount 2019/11/20 START window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NoDiscount")).val(NoDiscount); //CHAN-BHNBX6 NoDiscount 2019/11/20 END //数量 //数量 window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Quantity")).val(1); //CHAN-BHNBX6 保修年限 2019/11/20 START //CHAN-BHNBX6 保修年限 2019/11/20 START window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":itemGuaranteePeriod")).text(GuaranteePeriod); window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":itemGuaranteePeriod")).val(GuaranteePeriod); //CHAN-BHNBX6 保修年限 2019/11/20 END @@ -118,20 +119,20 @@ //単位 window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Qty")).text(); //小計 主画面ID变更,逻辑不变设值ID变更 // window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":TotalPrice")).text(top.window.opener.toNumComma(ListPrice)); //Subtotal__c hidden // window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Subtotal__c")).val(ListPrice); //小計lw window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":ListPriceTotalText")).text(top.window.opener.toNumComma(ListPrice)); //ListPriceTotal hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":ListPriceTotal")).val(ListPrice); //CHAN-BHNBX6 nodiscount 小计 2019/11/20 START //CHAN-BHNBX6 nodiscount 小计 2019/11/20 START //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy start // var cancelMultiyearInsurance = top.window.opener.j$(escapeVfId("Page:mainForm:block:cancelMultiyearInsurance")).val(); // var NoDiscount1; @@ -144,50 +145,50 @@ //DB202212304166 【紧急-报价委托与购买意向】请将最后操作的报价委托状态放到购买意向中 fy end window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NoDiscountTotalText")).text(top.window.opener.toNumComma(NoDiscount)); //CHAN-BHNBX6 nodiscount 小计 2019/11/20 END //CHAN-BHNBX6 nodiscount 小计 2019/11/20 END // window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NoDiscountTotal")).val(Intra_Trade_Service_RMB); //NameCode hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":NameCode")).val(NameCode); //Product_Name hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_Name")).val(name); //Product_SFDA hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_SFDA")).val(SFDA_Status__c); //Sales_Possibility hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Sales_Possibility")).val(Sales_Possibility); //Product_ListPrice hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_ListPrice")).val(ListPrice); //Product_Cost hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_Cost")).val(Cost_c); //Cost hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Cost")).val(Cost_c); //CostSubTotal hidden Cost_c * Quantity; window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":CostSubTotal")).val(Cost_c); //Bsscategory hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Bsscategory")).val(Bsscategory); //Product_Id hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":Product_Id")).val(Product2Id); //PricebookEntryId hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":PricebookEntryId")).val(PricebookEntryId); //lineNo hidden window.opener.j$(escapeVfId("Page:mainForm:block:lists:"+ lineno +":lineNo")).val(parseInt(lineno)); } </script> <style type="text/css"> div#iframelike { height: 300px; overflow-y: auto; overflow-x: hidden; @@ -198,9 +199,9 @@ <apex:messages styleClass="editListError"/> </apex:outputPanel> <apex:form id="mainForm"> <apex:pageBlock id="idSearchSetProduct" title="{!$Label.Product_Search}"> <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"> </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"> </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> @@ -319,4 +320,4 @@ var trade = window.opener.j$(escapeVfId("Page:mainForm:block:CurrencyIsoCode")).val(); j$(escapeVfId("Page:mainForm:idSearchSetProduct:Trade")).val(trade); </script> </apex:page> </apex:page> force-app/main/default/pages/UnderConstruction.page
@@ -1,4 +1,4 @@ <apex:page showHeader="false" title="{!$Label.site.site_under_construction}" lightningStylesheets="true"> <apex:page showHeader="false" title="{!$Label.site.site_under_construction}" lightningStylesheets="true"> <apex:composition template="StdExceptionTemplate"> <apex:define name="icon"> <apex:image url="{!URLFOR($Resource.SiteSamples, 'img/tools.gif')}"/> @@ -16,4 +16,4 @@ </apex:outputText> </apex:define> </apex:composition> </apex:page> </apex:page> force-app/main/default/pages/genjinbaobiao.page
@@ -4,7 +4,7 @@ 【重要】跟进报表 <BR/><BR/> <A href="{!$Label.Url_Head_Standard}/00O100000027APj" target="_blank">002-0:询价跟进报表</A> <BR/><BR/> <A href="{!$Label.Url_Head_Standard}/00O100000027AWV" target="_blank">002-1:注残跟进报表 <A href="{!$Label.Url_Head_Standard}/00O100000027AWV" target="_blank">002-1:注残跟进报表 </A> <BR/><BR/> @@ -20,4 +20,4 @@ <BR/> </DIV> </apex:page> </apex:page> force-app/main/default/pages/maintenanceContractNotOpen.page
@@ -12,4 +12,4 @@ }); </script> </apex:page> </apex:page> force-app/main/default/pages/taskFeedback.page
@@ -14,4 +14,4 @@ }); }); </script> </apex:page> </apex:page>