From 07390e2fcb4adf27c928335bf27ae7939c5a80ad Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期二, 23 五月 2023 11:28:12 +0800
Subject: [PATCH] bakcup20230523
---
force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.js | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.js b/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.js
index 4e41e96..739a642 100644
--- a/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.js
+++ b/force-app/main/default/lwc/lexCustomTableInput/lexCustomTableInput.js
@@ -4,6 +4,9 @@
@api inputValue;
@api recordId;
@api valueType;
+ @api upperLimit;
+ @api lowerLimit;
+ @api allnumber;
get showInputType(){
if(this.valueType == 'Number'){
@@ -25,4 +28,17 @@
}
}));
}
+
+ blurInput(event){
+ console.log('value1:'+event.target.value);
+ console.log('limit:'+this.inputValue+'---'+ this.upperLimit+'---'+this.lowerLimit+'---'+this.allnumber);
+ this.dispatchEvent(new CustomEvent('valueblur', {
+ composed: true,
+ bubbles: true,
+ cancelable: true,
+ detail: {
+ data: { value: this.inputValue, upperLimit: this.upperLimit, lowerLimit: this.lowerLimit, allnumber: this.allnumber }
+ }
+ }));
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1