From d533f39b6fa798e238810d17e928dee75d5b1af7 Mon Sep 17 00:00:00 2001
From: yumenghui <953181891@qq.com>
Date: 星期五, 11 八月 2023 16:02:17 +0800
Subject: [PATCH] 备注添加改造
---
force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html b/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html
index 30d170f..edcca5c 100644
--- a/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html
+++ b/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html
@@ -4,11 +4,11 @@
* @Author: chen jing wu
* @Date: 2023-04-27 11:15:23
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-05-04 13:55:39
+ * @LastEditTime: 2023-05-08 11:04:56
-->
<template>
<template if:true={isPickList}>
- <template if:true={isReadOnly}>
+ <!-- <template if:true={isReadOnly}>
<lightning-combobox
name="progress"
variant="label-hidden"
@@ -25,6 +25,24 @@
placeholder="--鏃�--"
options={options}
onchange={handleChange} ></lightning-combobox>
+ </template> -->
+ <template if:true={isRequired}>
+ <lightning-combobox
+ name="progress"
+ variant="label-hidden"
+ value={value}
+ placeholder="--鏃�--"
+ options={options}
+ onchange={handleChange} readonly={isReadOnly} required></lightning-combobox>
+ </template>
+ <template if:false={isRequired}>
+ <lightning-combobox
+ name="progress"
+ variant="label-hidden"
+ value={value}
+ placeholder="--鏃�--"
+ options={options}
+ onchange={handleChange} readonly={isReadOnly}></lightning-combobox>
</template>
</template>
--
Gitblit v1.9.1