| | |
| | | * @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) |
| | | { |
| | |
| | | } |
| | | return false; |
| | | } |
| | | get isReadOnly(){ |
| | | if(this.readOnly == true){ |
| | | return true; |
| | | }else{ |
| | | return false; |
| | | } |
| | | } |
| | | |
| | | @api |
| | | inputValue() { |