From 4350f8d56983401a073e3033c6c64f7bf4c39f4f Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 25 四月 2024 11:05:21 +0800
Subject: [PATCH] 123
---
force-app/main/default/pages/MaintenanceProductData.page | 11 +++++------
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/force-app/main/default/pages/MaintenanceProductData.page b/force-app/main/default/pages/MaintenanceProductData.page
index c820dde..b32ae2d 100644
--- a/force-app/main/default/pages/MaintenanceProductData.page
+++ b/force-app/main/default/pages/MaintenanceProductData.page
@@ -1657,8 +1657,8 @@
<apex:InputField value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c][0].mpdrdd.AmountWithheld__c}" id="AmountWithheld" />
</td>
<td>
- <apex:commandButton onclick="addJs();" value="娣诲姞" style="position:relative;width:100px;"/>
- <apex:commandButton onclick="deleteJs();" value="鍒犻櫎" style="position:relative;width:100px;"/>
+ <apex:commandButton id="add" onclick="addJs();" value="娣诲姞" style="position:relative;width:100px;"/>
+ <apex:commandButton id="delete" onclick="deleteJs();" value="鍒犻櫎" style="position:relative;width:100px;"/>
</td>
</tr>
<apex:repeat value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c]}" var="mu" id="bb1" first="1">
@@ -1673,8 +1673,8 @@
<apex:InputField value="{!mu.mpdrdd.AmountWithheld__c}" id="AmountWithheld" />
</td>
<td>
- <apex:commandButton onclick="addJs();" value="娣诲姞" style="position:relative;width:100px;"/>
- <apex:commandButton 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,7 @@
</apex:pageblocksection>
<script type="text/javascript">
- function ageLimitChange(el){
- console.log('el');
+ function addJs(el){
console.log(el);
}
</script>
--
Gitblit v1.9.1