From a046b3fe914e46147334d33bbdcb21e2759a3c43 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期四, 13 七月 2023 12:03:33 +0800
Subject: [PATCH] backup0712
---
 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("/soap/ajax/30.0/connection.js")}
-{!RequireScript("/soap/ajax/30.0/apex.js")}
+    <url>{!RequireScript("/soap/ajax/51.0/connection.js")}
+{!RequireScript("/soap/ajax/51.0/apex.js")}
 
 var From= function(){
 window.open( "/apex/StraightBackAddress?id={!Repair__c.Id}",'_self');
@@ -19,8 +18,8 @@
 //00e10000000dzzG  GPI_绯荤粺绠$悊鍛楴ew
 //00e10000000Y3o5  绯荤粺绠$悊鍛�
 //2021/10/19  寮�鍙戞潈闄愮粰鍗庝笢銆佽タ鍖椼�佽タ鍗楀拰cic涓哄ゥ杈変骇鍝�
-//2021/10/29  寮�鏀炬潈闄愮粰鍗庡寳鍜屼笢鍖�
-if("{!Repair__c.Sales_Dept_HP__c}" == "1.鍗庡寳" || "{!Repair__c.Sales_Dept_HP__c}" == "2.涓滃寳" || "{!Repair__c.Sales_Dept_HP__c}" == "3.瑗垮寳" || "{!Repair__c.Sales_Dept_HP__c}" == "4.瑗垮崡" || "{!Repair__c.Sales_Dept_HP__c}" == "5.鍗庝笢" || "{!Repair__c.is_aohui_product__c}" == "1" || "{!$Profile.Id}" == "00e10000000dzzG" || "{!$Profile.Id}" == "00e10000000Y3o5"){
+//2021/10/29   寮�鍙戞潈闄愬崕鍖楀拰涓滃寳
+//if("{!Repair__c.Sales_Dept_HP__c}" == "1.鍗庡寳" || "{!Repair__c.Sales_Dept_HP__c}" == "2.涓滃寳" || "{!Repair__c.Sales_Dept_HP__c}" == "3.瑗垮寳"  || "{!Repair__c.Sales_Dept_HP__c}" == "4.瑗垮崡" || "{!Repair__c.Sales_Dept_HP__c}" == "5.鍗庝笢" || "{!Repair__c.is_aohui_product__c}" == "1" || "{!$Profile.Id}" == "00e10000000dzzG" || "{!$Profile.Id}" == "00e10000000Y3o5"){
     //鍒ゆ柇闆朵欢榻愬瀹屾瘯鏃� 鍜� 11.RC淇悊鍝佽繑閫佹棩   鏄惁涓虹┖
     if("{!Repair__c.part_arrangement_complete__c}" != ""){
         alert('闆朵欢宸查綈澶囧畬姣曪紝鐩磋繑鏀惰揣鍦板潃涓嶈兘淇敼锛�');
@@ -29,7 +28,7 @@
     }else{
         From();
     }
-}else{
-    alert("鐩墠姝ゆ寜閽彧寮�鏀剧粰鍗庝笢銆佸崕鍖椼�佷笢鍖椼�佽タ鍖椼�佽タ鍗楀拰濂ヨ緣浜у搧锛�");
-}</url>
+//}else{
+//    alert("鐩墠姝ゆ寜閽彧寮�鏀剧粰鍗庝笢銆佸崕鍖椼�佷笢鍖椼�佽タ鍖椼�佽タ鍗楀拰濂ヨ緣浜у搧锛�");
+//}</url>
 </WebLink>
--
Gitblit v1.9.1