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/Tender_information__c/fields/status__c.field-meta.xml | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 51 insertions(+), 6 deletions(-) diff --git a/force-app/main/default/objects/Tender_information__c/fields/status__c.field-meta.xml b/force-app/main/default/objects/Tender_information__c/fields/status__c.field-meta.xml index bb8b7af..9988370 100644 --- a/force-app/main/default/objects/Tender_information__c/fields/status__c.field-meta.xml +++ b/force-app/main/default/objects/Tender_information__c/fields/status__c.field-meta.xml @@ -1,7 +1,49 @@ <?xml version="1.0" encoding="UTF-8"?> <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> <fullName>status__c</fullName> - <description>閫昏緫寰呯‘璁�</description> + <description>if (isblank(OpportunityStatus__c) || OpportunityStatus__c ='璺熻繘涓�', + +if (isblank(Text(IsBid__c)), +if(isblank(Text(IsRelateProject__c)), + +'01.寰呯‘璁�', +if (Text(IsRelateProject__c) = '鏄�', +if( OpportunityNum__c > 0, +'05.璇环涓�', +'04.寰呭叧鑱旇浠�' +), +'02.涓嶇浉鍏�' +) +), + + + +if (Text(IsBid__c) = '鍚�', +if(Text(NotBidApprovalStatus__c)='鎵瑰噯', +'03.涓嶅簲鏍�' + +,'04.寰呭叧鑱旇浠�' +), +if (Text(IsBid__c) = '鏄�', + +if( OpportunityNum__c > 0, +'05.璇环涓�', +'04.寰呭叧鑱旇浠�' +), + +'閿欒鏄惁搴旀爣鐘舵�侊細' + Text(IsBid__c) +) +) + +), +if (OpportunityStatus__c = '鎴愪氦', '06.鎴愪氦', + +if (OpportunityStatus__c = '澶卞崟', '08.澶卞崟', + +if (OpportunityStatus__c = '閮ㄥ垎鎴愪氦', '07.閮ㄥ垎鎴愪氦', + +'閿欒璇环鐘舵�侊細' + OpportunityStatus__c +))))</description> <externalId>false</externalId> <formula>if( OpportunityNum__c > 0, if (isblank(OpportunityStatus__c) || OpportunityStatus__c ='璺熻繘涓�', @@ -10,10 +52,13 @@ '06.鎴愪氦', if (OpportunityStatus__c = '澶卞崟', '08.澶卞崟', - if (OpportunityStatus__c = '閮ㄥ垎鎴愪氦', - '07.閮ㄥ垎鎴愪氦', - '閿欒璇环鐘舵�侊細' + OpportunityStatus__c - ) + if (OpportunityStatus__c = '鍙栨秷', + '09.鍙栨秷', + if (OpportunityStatus__c = '閮ㄥ垎鎴愪氦', + '07.閮ㄥ垎鎴愪氦', + '閿欒璇环鐘舵�侊細' + OpportunityStatus__c + ) + ) ) ) ), @@ -31,7 +76,7 @@ ) )</formula> <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> - <label>OLY纭鐘舵��</label> + <label>鍐呴儴纭鐘舵��</label> <required>false</required> <trackHistory>false</trackHistory> <trackTrending>false</trackTrending> -- Gitblit v1.9.1