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/lexInputPickListCell/lexInputPickListCell.js | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.js b/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.js
index 450758c..b88228d 100644
--- a/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.js
+++ b/force-app/main/default/lwc/lexInputPickListCell/lexInputPickListCell.js
@@ -4,23 +4,23 @@
* @Author: chen jing wu
* @Date: 2023-04-27 11:15:23
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-04-27 13:24:21
+ * @LastEditTime: 2023-05-04 13:47:30
*/
import { LightningElement, track,wire, api } from 'lwc';
import getPickList from '@salesforce/apex/lexPCLLostReportLwcController.getPickList';
export default class LexInputPickListCell extends LightningElement {
@api options=[];
- value;
+ @api value;
@api record;
@api field;
@api fieldType;
@api objectName;
-
- value;
+ @api readOnly;
+ value1;
label;
connectedCallback() {
- this.value = this.record[this.field];
+ this.value1 = this.record[this.field];
this.label = this.field;
if(this.objectName!==undefined && this.isPickList)
{
@@ -55,6 +55,13 @@
}
return false;
}
+ get isReadOnly(){
+ if(this.readOnly == true){
+ return true;
+ }else{
+ return false;
+ }
+ }
@api
inputValue() {
--
Gitblit v1.9.1