From 74ea3a10ac31f74951d4240d35952ab91bb31b8d Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 25 四月 2024 11:03:35 +0800
Subject: [PATCH] 123
---
force-app/main/default/pages/MaintenanceProductData.page | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/pages/MaintenanceProductData.page b/force-app/main/default/pages/MaintenanceProductData.page
index 2ddcb7b..92a3c0b 100644
--- a/force-app/main/default/pages/MaintenanceProductData.page
+++ b/force-app/main/default/pages/MaintenanceProductData.page
@@ -1673,8 +1673,8 @@
<apex:InputField value="{!mu.mpdrdd.AmountWithheld__c}" id="AmountWithheld" />
</td>
<td>
- <apex:commandButton id="add1" onclick="addJs();" value="娣诲姞" style="position:relative;width:100px;"/>
- <apex:commandButton id="delete1" onclick="deleteJs();" value="鍒犻櫎" style="position:relative;width:100px;"/>
+ <apex:commandButton id="add1" onclick="addJs(this);" value="娣诲姞" style="position:relative;width:100px;"/>
+ <apex:commandButton id="delete1" onclick="deleteJs(this);" value="鍒犻櫎" style="position:relative;width:100px;"/>
</td>
</tr>
</apex:repeat>
@@ -1727,8 +1727,8 @@
</apex:pageblocksection>
<script type="text/javascript">
- function addJs(){
-
+ function addJs(el){
+ console.log(el.id);
}
</script>
<!-- chenjingwu 20240417 end -->
--
Gitblit v1.9.1