From 71b93327e8f3fb3bffffc7c033c1f782e7b6ab32 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 22 五月 2023 17:37:16 +0800
Subject: [PATCH] test

---
 force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html
index 081898f..ee6dc83 100644
--- a/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html
+++ b/force-app/main/default/lwc/lexInputLookupCell/lexInputLookupCell.html
@@ -4,7 +4,7 @@
  * @Author: chen jing wu
  * @Date: 2023-04-27 11:38:36
  * @LastEditors: chen jing wu
- * @LastEditTime: 2023-04-27 11:44:04
+ * @LastEditTime: 2023-05-04 11:52:08
 -->
 <template>
     <template if:true={isLookup}>
@@ -12,7 +12,12 @@
             object-api-name={apiName}
             record-id=''
         >
-            <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden"> </lightning-input-field>
+            <template if:true={isDisable}>
+                <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden" disabled="true"> </lightning-input-field>
+            </template>
+            <template if:false={isDisable}>
+                <lightning-input-field field-name={fieldName} onclick={handleinputChange} variant="label-hidden"> </lightning-input-field>
+            </template>
         </lightning-record-edit-form>
     </template>
 </template>
\ No newline at end of file

--
Gitblit v1.9.1