From d8dc84a3d56df839895f1c417a4d9cbee763d262 Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期五, 03 三月 2023 14:50:59 +0800
Subject: [PATCH] gzw 测试环境代码更新

---
 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(&quot;{!Maintenance_Contract__c.RecordTypeId}&quot;  == &quot;01210000000gTYq&quot;){
-             window.open( &quot;/apex/SelectAssetEstimateVM?copyid=&quot; + ids[0], &quot;_top&quot;);
+             //URF闄愭鍚堝悓2鏈� LY 20220902 start
+             if(&quot;{!Maintenance_Contract__c.URF_Contract__c}&quot;==true){
+                 window.open( &quot;/apex/SelectAssetEstimateURF?copyid=&quot; + ids[0], &quot;_top&quot;);
+             }else {
+                 window.open( &quot;/apex/SelectAssetEstimateVM?copyid=&quot; + ids[0], &quot;_top&quot;);
+             }
+             //URF闄愭鍚堝悓2鏈� LY 20220902 end
         }else{
              window.open( &quot;/apex/SelectAssetEstimate?copyid=&quot; + ids[0], &quot;_top&quot;);
         }

--
Gitblit v1.9.1