From df5aa8087c2c7328dc4188f05d762c8df1f0b07a Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 18 七月 2023 09:19:12 +0800
Subject: [PATCH] changeorg

---
 force-app/main/default/objects/Repair__c/webLinks/Address.webLink-meta.xml |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 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 c676946..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
@@ -2,14 +2,13 @@
 <WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
     <fullName>Address</fullName>
     <availability>online</availability>
-    <description>鐩磋繑鏀惰揣鍦板潃</description>
     <displayType>button</displayType>
     <linkType>javascript</linkType>
     <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;);
@@ -19,8 +18,8 @@
 //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;){
+//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;);
@@ -29,7 +28,7 @@
     }else{
         From();
     }
-}else{
-    alert(&quot;鐩墠姝ゆ寜閽彧寮�鏀剧粰鍗庝笢銆佸崕鍖椼�佷笢鍖椼�佽タ鍖椼�佽タ鍗楀拰濂ヨ緣浜у搧锛�&quot;);
-}</url>
+//}else{
+//    alert(&quot;鐩墠姝ゆ寜閽彧寮�鏀剧粰鍗庝笢銆佸崕鍖椼�佷笢鍖椼�佽タ鍖椼�佽タ鍗楀拰濂ヨ緣浜у搧锛�&quot;);
+//}</url>
 </WebLink>

--
Gitblit v1.9.1