From 9a0ef802a678ffc421fc1d416f7f867e89e5536a Mon Sep 17 00:00:00 2001 From: D C <chenbangcai@prec-tech.com> Date: 星期五, 26 五月 2023 10:32:04 +0800 Subject: [PATCH] 维修合同 多年保修消费率逻辑更改 --- force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml b/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml index 0b3da26..43ef2a1 100644 --- a/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml +++ b/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml @@ -14,7 +14,13 @@ var ids = {!GETRECORDIDS( $ObjectType.Maintenance_Contract_Estimate__c)}; if (ids.length == 1) { if("{!Maintenance_Contract__c.RecordTypeId}" == "01210000000gTYq"){ - window.open( "/apex/SelectAssetEstimateVM?copyid=" + ids[0], "_top"); + //URF闄愭鍚堝悓2鏈� LY 20220902 start + if("{!Maintenance_Contract__c.URF_Contract__c}"==true){ + window.open( "/apex/SelectAssetEstimateURF?copyid=" + ids[0], "_top"); + }else { + window.open( "/apex/SelectAssetEstimateVM?copyid=" + ids[0], "_top"); + } + //URF闄愭鍚堝悓2鏈� LY 20220902 end }else{ window.open( "/apex/SelectAssetEstimate?copyid=" + ids[0], "_top"); } -- Gitblit v1.9.1