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/Repair__c/webLinks/Address.webLink-meta.xml |   16 ++++++++++++----
 1 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/force-app/main/default/objects/Repair__c/webLinks/Address.webLink-meta.xml b/force-app/main/default/objects/Repair__c/webLinks/Address.webLink-meta.xml
index d79f0cb..54101fe 100644
--- a/force-app/main/default/objects/Repair__c/webLinks/Address.webLink-meta.xml
+++ b/force-app/main/default/objects/Repair__c/webLinks/Address.webLink-meta.xml
@@ -7,14 +7,19 @@
     <masterLabel>鐩磋繑鏀惰揣鍦板潃</masterLabel>
     <openType>onClickJavaScript</openType>
     <protected>false</protected>
-    <url>{!RequireScript(&quot;/soap/ajax/30.0/connection.js&quot;)}
-{!RequireScript(&quot;/soap/ajax/30.0/apex.js&quot;)}
+    <url>{!RequireScript(&quot;/soap/ajax/51.0/connection.js&quot;)}
+{!RequireScript(&quot;/soap/ajax/51.0/apex.js&quot;)}
 
 var From= function(){
 window.open( &quot;/apex/StraightBackAddress?id={!Repair__c.Id}&quot;,&apos;_self&apos;);
 }
 
-
+//鍒ゆ柇鏄惁鏄崕涓�
+//00e10000000dzzG  GPI_绯荤粺绠$悊鍛楴ew
+//00e10000000Y3o5  绯荤粺绠$悊鍛�
+//2021/10/19  寮�鍙戞潈闄愮粰鍗庝笢銆佽タ鍖椼�佽タ鍗楀拰cic涓哄ゥ杈変骇鍝�
+//2021/10/29   寮�鍙戞潈闄愬崕鍖楀拰涓滃寳
+//if(&quot;{!Repair__c.Sales_Dept_HP__c}&quot; == &quot;1.鍗庡寳&quot; || &quot;{!Repair__c.Sales_Dept_HP__c}&quot; == &quot;2.涓滃寳&quot; || &quot;{!Repair__c.Sales_Dept_HP__c}&quot; == &quot;3.瑗垮寳&quot;  || &quot;{!Repair__c.Sales_Dept_HP__c}&quot; == &quot;4.瑗垮崡&quot; || &quot;{!Repair__c.Sales_Dept_HP__c}&quot; == &quot;5.鍗庝笢&quot; || &quot;{!Repair__c.is_aohui_product__c}&quot; == &quot;1&quot; || &quot;{!$Profile.Id}&quot; == &quot;00e10000000dzzG&quot; || &quot;{!$Profile.Id}&quot; == &quot;00e10000000Y3o5&quot;){
     //鍒ゆ柇闆朵欢榻愬瀹屾瘯鏃� 鍜� 11.RC淇悊鍝佽繑閫佹棩   鏄惁涓虹┖
     if(&quot;{!Repair__c.part_arrangement_complete__c}&quot; != &quot;&quot;){
         alert(&apos;闆朵欢宸查綈澶囧畬姣曪紝鐩磋繑鏀惰揣鍦板潃涓嶈兘淇敼锛�&apos;);
@@ -22,5 +27,8 @@
         alert(&apos;RC淇悊鍝佸凡杩旈�侊紝鐩磋繑鏀惰揣鍦板潃涓嶈兘淇敼锛�&apos;);
     }else{
         From();
-    }</url>
+    }
+//}else{
+//    alert(&quot;鐩墠姝ゆ寜閽彧寮�鏀剧粰鍗庝笢銆佸崕鍖椼�佷笢鍖椼�佽タ鍖椼�佽タ鍗楀拰濂ヨ緣浜у搧锛�&quot;);
+//}</url>
 </WebLink>

--
Gitblit v1.9.1