From f66abb6dad1b8caa18aca9d65dceb34a34c022b6 Mon Sep 17 00:00:00 2001
From: KKbes <1620284052@qq.com>
Date: 星期五, 11 八月 2023 11:42:16 +0800
Subject: [PATCH] review

---
 force-app/main/default/lwc/lexProductRepairQuoteProduct/lexProductRepairQuoteProduct.js |   16 ++++++----------
 1 files changed, 6 insertions(+), 10 deletions(-)

diff --git a/force-app/main/default/lwc/lexProductRepairQuoteProduct/lexProductRepairQuoteProduct.js b/force-app/main/default/lwc/lexProductRepairQuoteProduct/lexProductRepairQuoteProduct.js
index 658051d..afb81c3 100644
--- a/force-app/main/default/lwc/lexProductRepairQuoteProduct/lexProductRepairQuoteProduct.js
+++ b/force-app/main/default/lwc/lexProductRepairQuoteProduct/lexProductRepairQuoteProduct.js
@@ -7,16 +7,14 @@
 export default class lexProductRepairQuoteProduct extends LightningElement {
 
 	@api recordId;
-	IsLoading;
+	IsLoading=true;
 
 	@wire(CurrentPageReference)
     getStateParameters(currentPageReference) {
         if (currentPageReference) {
           const urlValue = currentPageReference.state.recordId;
-          console.log(currentPageReference);
           if (urlValue) {
             let str = `${urlValue}`;
-            console.log(str);
             this.recordId = str;
 
           }
@@ -25,20 +23,18 @@
 
 
     connectedCallback(){
-        this.productRepairQuoteProduct().then(res=>{
-			this.IsLoading=false;
-			this.dispatchEvent(new CloseActionScreenEvent());
+      this.productRepairQuoteProduct().then(res=>{
+			  this.IsLoading=false;
+			  this.dispatchEvent(new CloseActionScreenEvent());
 		});
 
     }
 
 
 
-    async productRepairQuoteProduct(){
-    	
+    async productRepairQuoteProduct(){  	
     	window.open ('/apex/ProductRepairQuote?productid=' + this.recordId +
-    		'&flag=productsearch', '', 'height=500, width=1200, top=300, left=350,location=no');
-    
+    		'&flag=productsearch', '', 'height=380, width=680, top=300, left=350,location=no');   
     }
 
 

--
Gitblit v1.9.1