From bebea4a8b5c80ff7562bfb47d8f3069a975eebf0 Mon Sep 17 00:00:00 2001
From: LiJinHuan <lijinhuan@prec-tech.com>
Date: 星期五, 07 七月 2023 09:58:06 +0800
Subject: [PATCH] 调拨新建默认优化
---
force-app/main/default/lwc/lexSelectProduct2CIC/lexSelectProduct2CIC.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexSelectProduct2CIC/lexSelectProduct2CIC.js b/force-app/main/default/lwc/lexSelectProduct2CIC/lexSelectProduct2CIC.js
index 8eec3a3..6b1b1a0 100644
--- a/force-app/main/default/lwc/lexSelectProduct2CIC/lexSelectProduct2CIC.js
+++ b/force-app/main/default/lwc/lexSelectProduct2CIC/lexSelectProduct2CIC.js
@@ -37,7 +37,7 @@
this.IsLoading = false;
this.Id = result.Id;
- this.QuarterlyReport();
+ this.SelectProduct2CIC();
this.dispatchEvent(new CloseActionScreenEvent());
}
}).catch(error => {
@@ -47,7 +47,7 @@
// 鏂板缓CIC/浜у搧
SelectProduct2CIC() {
- var pathnames = window.self.location.pathname.split('/');
+ var pathnames = window.location.pathname.split("/");
if (pathnames[1] == "emptyHtmlDoc.html") {
window.open("/apex/SelectProduct2CIC?cicid=" + this.Id, "_parent");
} else {
--
Gitblit v1.9.1