From f3a8b609580d160f2d15b0c2fab28784a38cba71 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期二, 04 七月 2023 17:44:48 +0800
Subject: [PATCH] 备品附属品选择 附属品追加
---
force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html | 42 ++++++++++++++++++++++++++++++++++++++++--
1 files changed, 40 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html b/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html
index d1061c7..edcca5c 100644
--- a/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html
+++ b/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.html
@@ -1,11 +1,49 @@
+<!--
+ * @Description:
+ * @version:
+ * @Author: chen jing wu
+ * @Date: 2023-04-27 11:15:23
+ * @LastEditors: chen jing wu
+ * @LastEditTime: 2023-05-08 11:04:56
+-->
<template>
<template if:true={isPickList}>
- <lightning-combobox
+ <!-- <template if:true={isReadOnly}>
+ <lightning-combobox
name="progress"
variant="label-hidden"
value={value}
- placeholder="Select Values"
+ placeholder={value}
+ options={options}
+ onchange={handleChange} readonly="true"></lightning-combobox>
+ </template>
+ <template if:false={isReadOnly}>
+ <lightning-combobox
+ name="progress"
+ variant="label-hidden"
+ value={value}
+ 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>
</template>
\ No newline at end of file
--
Gitblit v1.9.1