From f3a8b609580d160f2d15b0c2fab28784a38cba71 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期二, 04 七月 2023 17:44:48 +0800
Subject: [PATCH] 备品附属品选择 附属品追加

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

diff --git a/force-app/main/default/lwc/lexQISIntakeuniversalcode/lexQISIntakeuniversalcode.js b/force-app/main/default/lwc/lexQISIntakeuniversalcode/lexQISIntakeuniversalcode.js
index 94c87ab..5ec60dc 100644
--- a/force-app/main/default/lwc/lexQISIntakeuniversalcode/lexQISIntakeuniversalcode.js
+++ b/force-app/main/default/lwc/lexQISIntakeuniversalcode/lexQISIntakeuniversalcode.js
@@ -41,11 +41,11 @@
                 	qisReportId: this.qisReportId
            		 }).then(result => {
 	            	if (result!=null) {
-	            		this.paeId = result.PAEid;
-	            		console.log('result='+this.paeId);
+	            		this.paeId = result.pAEid;
+	            		console.log('result2='+this.paeId);           
 	            	}   
 	            	var url = '';
-					if (result!=null&&result.length>0){
+					if (result!=null&& this.paeId!=null){
 						url = "/apex/PAEDecisionRecord?Id="+this.paeId+"&QISReportId="+this.qisReportId +"&RecordTypeIds="+RecordTypeId ;
 					} else {
 						url = "/apex/PAEDecisionRecord?QISReportId="+this.qisReportId +"&RecordTypeIds="+RecordTypeId;

--
Gitblit v1.9.1