From 6e454c8c1add1d654334df3089770245f043bb2e Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@prec-tech.com>
Date: 星期二, 18 七月 2023 20:30:38 +0800
Subject: [PATCH] 调拨发货 收货 耗材页面 分单 备品出借 应答沟通:To:备品中心/To:申请者 耗材 应答沟通-To:备品中心/To:申请者 备品出借的应答沟通 耗材申请的应答沟通
---
force-app/main/default/lwc/lexCustomNewMaintenance/lexCustomNewMaintenance.js | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/lwc/lexCustomNewMaintenance/lexCustomNewMaintenance.js b/force-app/main/default/lwc/lexCustomNewMaintenance/lexCustomNewMaintenance.js
index ac46aa5..cbd223a 100644
--- a/force-app/main/default/lwc/lexCustomNewMaintenance/lexCustomNewMaintenance.js
+++ b/force-app/main/default/lwc/lexCustomNewMaintenance/lexCustomNewMaintenance.js
@@ -18,6 +18,7 @@
Id;
StatusC;
RecordTypeDeveloperNameC;
+ msg;
@wire(CurrentPageReference)
getStateParameters(currentPageReference) {
@@ -37,7 +38,6 @@
}).then(result => {
console.log(result);
if (result != null) {
- this.IsLoading = false;
this.Id = result.Id;
this.StatusC = result.StatusC;
this.RecordTypeDeveloperNameC = result.RecordTypeDeveloperNameC;
@@ -53,7 +53,8 @@
// 鏂板缓缁翠慨鍚堝悓鎶ヤ环
CustomNew() {
if (this.StatusC != "寮曞悎涓�") {
- alert("缁翠慨鍚堝悓涓嶆槸璇环涓殑鐘舵�侊紝涓嶈兘鏂板缓鎶ヤ环");
+ this.msg = "缁翠慨鍚堝悓涓嶆槸璇环涓殑鐘舵�侊紝涓嶈兘鏂板缓鎶ヤ环";
+ this.IsLoading = false;
} else {
if (this.RecordTypeDeveloperNameC == "NewMaintenance_Contract") {
window.open("/apex/SelectAssetEstimateVM?mcid=" + this.Id, "_top");
@@ -62,4 +63,8 @@
}
}
}
+
+ closeAction() {
+ window.history.go(-1);
+ }
}
\ No newline at end of file
--
Gitblit v1.9.1