From 4f200849487fc6f914e237d5af3ecefd6d802457 Mon Sep 17 00:00:00 2001
From: buli <137736985@qq.com>
Date: 星期一, 10 七月 2023 09:52:59 +0800
Subject: [PATCH] backup1007
---
force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js | 36 +++++++++++++++---------------------
1 files changed, 15 insertions(+), 21 deletions(-)
diff --git a/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js b/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js
index 81d837e..84d7bf9 100644
--- a/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js
+++ b/force-app/main/default/lwc/lexReturnGoodCusInput/lexReturnGoodCusInput.js
@@ -1,37 +1,31 @@
-import { LightningElement, api, track } from 'lwc';
+import { LightningElement,api,track } from 'lwc';
export default class LexReturnGoodCusInput extends LightningElement {
@api boxPrice;
@api inputValue;
@api recordId;
- get showInputOrText() {
- if (this.boxPrice == '鐩�') {
+ get showInputOrText(){
+ if(this.boxPrice == '鐩�'){
return false;
- } else {
+ }else{
return true;
}
}
- connectedCallback() {
- console.log('inputValue:' + this.inputValue + this.boxPrice);
+ connectedCallback(){
+ console.log('inputValue:'+this.inputValue+this.boxPrice);
}
- changeInputValue(event) {
+ changeInputValue(event){
this.inputValue = event.detail.value;
- this.dispatchEvent(
- new CustomEvent('changereturncount', {
- composed: true,
- bubbles: true,
- cancelable: true,
- detail: {
- data: {
- value: this.inputValue,
- boxPrice: this.boxPrice,
- recordId: this.recordId
- }
- }
- })
- );
+ this.dispatchEvent(new CustomEvent('changereturncount', {
+ composed: true,
+ bubbles: true,
+ cancelable: true,
+ detail: {
+ data: { value: this.inputValue, boxPrice: this.boxPrice, recordId:this.recordId}
+ }
+ }));
}
}
\ No newline at end of file
--
Gitblit v1.9.1