From 1941179bde85ea75f56ea5b141dabea826227acd Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期四, 25 四月 2024 19:42:44 +0800
Subject: [PATCH] 123
---
force-app/main/default/pages/MaintenanceProductData.page | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/MaintenanceProductData.page b/force-app/main/default/pages/MaintenanceProductData.page
index 78bdb78..a7debd1 100644
--- a/force-app/main/default/pages/MaintenanceProductData.page
+++ b/force-app/main/default/pages/MaintenanceProductData.page
@@ -1660,6 +1660,7 @@
<apex:InputField value="{!exmpdDetailsRecordsMap[mp.mpded.ProductsID__c][0].mpdrdd.AmountWithheld__c}" id="AmountWithheld" />
</td>
<td>
+ <apex:image id="plusicon" value="{!$Resource.plusicon}" onclick="addJs({!mp.mpded.ProductsID__c});" />
<apex:commandButton title="{!mp.mpded.ProductsID__c}" id="add" onclick="addJs(this);" value="娣诲姞" style="position:relative;width:100px;"/>
<apex:commandButton title="{!mp.mpded.ProductsID__c}" id="delete" onclick="deleteJs(this);" value="鍒犻櫎" style="position:relative;width:100px;"/>
</td>
@@ -1731,14 +1732,17 @@
</apex:pageblocksection>
<script type="text/javascript">
function addJs(el){
- console.log(el.title);
- addEx(el.title);
+ blockme();
+ console.log(el);
+ addEx(el);
}
function add1Js(el){
+ blockme();
console.log(el.title);
addEx(el.title);
}
function delJs(el){
+ blockme();
console.log(el.title);
deleteEx(el.title,0);
--
Gitblit v1.9.1