From fbd4bea7bd57b4d4a33cb9ed0ebc15d9bf6551c0 Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期三, 12 七月 2023 17:54:54 +0800
Subject: [PATCH] 近日更新按钮,页面以及apex类

---
 force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js b/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js
index f038f63..1caae11 100644
--- a/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js
+++ b/force-app/main/default/lwc/lexNewOpportunityAgency/lexNewOpportunityAgency.js
@@ -217,8 +217,7 @@
                                                 Agency__c: this.agency1Id,
                                                 StageName__c: this.opportunityStage,
                                                 Change_To_Opportunity__c: this.recordId,
-                                                Department_Cateogy__c: this.opportunityCategory,
-                                                RecordTypeId: recTypeId
+                                                Department_Cateogy__c: this.opportunityCategory
                                             });
                                             this[NavigationMixin.Navigate]({
                                                 type: 'standard__objectPage',
@@ -229,6 +228,7 @@
                                                 state: {
                                                     nooverride: '1',
                                                     defaultFieldValues: defaultValues,
+                                                    recordTypeId: recTypeId
                                                 }
                                             });
                                             this.dispatchEvent(new CloseActionScreenEvent());

--
Gitblit v1.9.1