From bc1b2596e2621e00af4a388ee17f24a2c41cc4a0 Mon Sep 17 00:00:00 2001
From: twysparks <twysparks@163.com>
Date: 星期五, 19 五月 2023 09:34:07 +0800
Subject: [PATCH] tt

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

diff --git a/force-app/main/default/lwc/lexCustomNewMCMaintenance/lexCustomNewMCMaintenance.js b/force-app/main/default/lwc/lexCustomNewMCMaintenance/lexCustomNewMCMaintenance.js
index 9adcd42..7fe37a2 100644
--- a/force-app/main/default/lwc/lexCustomNewMCMaintenance/lexCustomNewMCMaintenance.js
+++ b/force-app/main/default/lwc/lexCustomNewMCMaintenance/lexCustomNewMCMaintenance.js
@@ -45,7 +45,7 @@
                 this.IsRecognitionModelC = result.IsRecognitionModelC;
                 this.RecordTypeId = result.RecordTypeId;
                 this.URFContractC = result.URFContractC;
-
+                this.RecordTypeId1 = result.RecordTypeId1;
                 this.CustomNewMC();
                 this.dispatchEvent(new CloseActionScreenEvent());
             }
@@ -66,7 +66,7 @@
                 }
             }
             //缁翠慨鍚堝悓鏂板缓鎶ヤ环鏃讹紝濡傛灉鏄厛娆惧璞★紝寮瑰嚭瀵硅瘽妗嗘彁绀� thh 20220304 end
-            if (this.RecordTypeId == "01210000000gTYq") {
+            if (this.RecordTypeId == this.RecordTypeId1) {
                 if (this.URFContractC == "0") {
                     window.open("/apex/SelectAssetEstimateVM?mcid=" + this.Id, "_top");
                 } else {

--
Gitblit v1.9.1