From 52e2a7c15275d7fabd88cce119dec6da18ad26c4 Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期二, 18 七月 2023 17:32:17 +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