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/Rental_Apply_Equipment_Set__c/webLinks/Split_Apply.webLink-meta.xml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/objects/Rental_Apply_Equipment_Set__c/webLinks/Split_Apply.webLink-meta.xml b/force-app/main/default/objects/Rental_Apply_Equipment_Set__c/webLinks/Split_Apply.webLink-meta.xml
index 4553ee8..e5ac42a 100644
--- a/force-app/main/default/objects/Rental_Apply_Equipment_Set__c/webLinks/Split_Apply.webLink-meta.xml
+++ b/force-app/main/default/objects/Rental_Apply_Equipment_Set__c/webLinks/Split_Apply.webLink-meta.xml
@@ -2,6 +2,18 @@
 <WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
     <fullName>Split_Apply</fullName>
     <availability>online</availability>
+    <description>update lxy 2021/6/18
+鍘绘帀浜嗗涓嬮�昏緫
+else { 
+        var raid = &apos;{!Rental_Apply__c.Id}&apos;;
+        var soql = &quot;select RAES_Status__c from Rental_Apply_Equipment_Set__c where Rental_Apply__c=&apos;&quot; 
++ raid + &quot;&apos;&quot;; 
+        var allRecords = sforce.connection.query(soql).getArray(&quot;records&quot;); 
+        var validSize= allRecords .length; 
+        if (validSize==1) {
+            alert(&quot;杩欎釜鐢宠鍗曞彧鏈変竴鏉″�熷嚭澶囧搧涓�瑙堬紝涓嶈兘鍒嗗崟&quot;); 
+        } else if(validSize == records.length) {
+            alert(&quot;涓嶈兘鍏ㄩ�夊�熷嚭澶囧搧涓�瑙堝垎鍗�&quot;);</description>
     <displayType>massActionButton</displayType>
     <linkType>javascript</linkType>
     <masterLabel>鍒嗗崟</masterLabel>
@@ -10,13 +22,11 @@
     <requireRowSelection>true</requireRowSelection>
     <url>{!RequireScript(&quot;/soap/ajax/51.0/connection.js&quot;)}
 {!RequireScript(&quot;/soap/ajax/51.0/apex.js&quot;)}
-//2021-10-21 gwy 鐗堟湰鏇存敼涓�51.0
 var foo = function() {
     var records = {!GETRECORDIDS($ObjectType.Rental_Apply_Equipment_Set__c)};
     if (records.length &lt; 1) { 
         alert(&quot;璇烽�夋嫨鍊熷嚭澶囧搧涓�瑙堣褰�&quot;); 
     } else { 
-        //寮规閫夋嫨 鍒嗗崟鍒板姙浜嬪OR澶囧搧涓績
 		 window.open(&quot;/apex/RentalApplySplit?objId={!URLENCODE(Rental_Apply__c.Id)}&amp;raesIds=&quot;+records, &apos;RentalApplySplit&apos;, &apos;width=600,height=200&apos;);	
     }
 };

--
Gitblit v1.9.1