From 80b91b46594e6a9501a6dcc410d928a4ea5b9bce Mon Sep 17 00:00:00 2001
From: zz <1842059105@qq.com>
Date: 星期四, 11 五月 2023 18:13:38 +0800
Subject: [PATCH] 招标项目 关联已有询价 修改

---
 force-app/main/default/lwc/lexTenderingLostButton/lexTenderingLostButton.js |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/force-app/main/default/lwc/lexTenderingLostButton/lexTenderingLostButton.js b/force-app/main/default/lwc/lexTenderingLostButton/lexTenderingLostButton.js
index 1d901d0..be9daf2 100644
--- a/force-app/main/default/lwc/lexTenderingLostButton/lexTenderingLostButton.js
+++ b/force-app/main/default/lwc/lexTenderingLostButton/lexTenderingLostButton.js
@@ -9,8 +9,8 @@
     status;//鐘舵��
     profileId;//profileId id
     systemProfileId;
-    SalesManagerId;
-    SalesHospitalId;
+    TwoS1_Sales_Hospital;
+    TwoS4_Sales_Manager;
     IsLoading = true;
 
     @wire(CurrentPageReference)
@@ -33,8 +33,8 @@
                 this.status = result.status;
                 this.profileId = result.profileId;
                 this.systemProfileId = result.systemProfileId;
-                this.SalesManagerId = result.SalesManagerId;
-                this.SalesHospitalId = result.SalesHospitalId;
+                this.TwoS1_Sales_Hospital = result.TwoS1_Sales_Hospital;
+                this.TwoS4_Sales_Manager = result.TwoS4_Sales_Manager;
                 this.LoseButton();
                 this.dispatchEvent(new CloseActionScreenEvent());
         })        
@@ -44,7 +44,7 @@
     LoseButton(){
         sqlResult({id: this.recordId}).then(result=>{
             //绠�妗f潈闄� 2S1_閿�鍞尰闄㈡媴褰� 2S4_閿�鍞鐞嗚�� 绯荤粺绠$悊鍛�
-            if (this.profileId != this.SalesManagerId  && this.profileId != this.SalesHospitalId && this.profileId != this.systemProfileId) {
+            if (this.profileId != this.TwoS1_Sales_Hospital  && this.profileId != this.TwoS4_Sales_Manager && this.profileId != this.systemProfileId) {
                 this.showToast("鎮ㄦ病鏈夋潈闄愶紝鏃犳硶鍒涘缓璇环鎻愪氦澶卞崟銆�","error");
                 return;
             }

--
Gitblit v1.9.1