From be8dc1e5c21fccf84cf25497d55e5261e93fbb35 Mon Sep 17 00:00:00 2001
From: zhangchunxu <1842059105@qq.com>
Date: 星期三, 02 八月 2023 17:01:29 +0800
Subject: [PATCH] 签收单 验收确认(经销商) 修改
---
force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js
index d0129fc..0a14859 100644
--- a/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js
+++ b/force-app/main/default/lwc/lexFixtureSetManage/lexFixtureSetManage.js
@@ -1,9 +1,28 @@
import { LightningElement, track, wire, api } from 'lwc';
+import { CurrentPageReference,NavigationMixin } from 'lightning/navigation';
export default class lexFixtureSetManage extends LightningElement {
@api recordId;
+ IsLoading = true;
+ @wire(CurrentPageReference)
+ getStateParameters(currentPageReference){
+ if(currentPageReference) {
+ const urlValue = currentPageReference.state.recordId;
+ if(urlValue) {
+ let str = `${urlValue}`;
+ this.recordId = str;
+ }
+ }
+ }
connectedCallback(){
+ this.IsLoading = false;
window.open("/apex/FixtureSetManage?pt_recid=" + this.recordId, "_top");
+ this.closeAction();
}
+
+ closeAction() {
+ //杩斿洖褰撳墠鐨勫鍝佺敵璇�
+ window.open("/"+this.recordId,'_self');
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1