From 732eb46d129e9eee4306d29f47e5da389a6c28cd Mon Sep 17 00:00:00 2001
From: chenjingwu <chenjingwu@prec-tech.com>
Date: 星期五, 26 四月 2024 11:16:51 +0800
Subject: [PATCH] 123

---
 force-app/main/default/pages/MaintenanceProductData.page |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/force-app/main/default/pages/MaintenanceProductData.page b/force-app/main/default/pages/MaintenanceProductData.page
index 55cfffd..54c6968 100644
--- a/force-app/main/default/pages/MaintenanceProductData.page
+++ b/force-app/main/default/pages/MaintenanceProductData.page
@@ -1661,6 +1661,7 @@
                                             </td>
                                             <td>
                                                 <input name="{!mp.mpded.ProductsID__c}" type="button" value="娣诲姞" style="width: 100px;" onclick="addJs(this);return false;" class="btn"/>
+                                                <input id="delete" name="{!mp.mpded.ProductsID__c}" type="button" value="鍒犻櫎" style="width: 100px;" onclick="deleteJs(this);return false;" class="btn"/>
                                                 <!-- <apex:image title="{!mp.mpded.ProductsID__c}" id="plusicon" value="{!$Resource.plusicon}" onclick="addJs(this);" />
                                                 <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;"/> -->
@@ -1678,8 +1679,9 @@
                                                     <apex:InputField value="{!mu.mpdrdd.AmountWithheld__c}" id="AmountWithheld" />
                                                 </td>
                                                 <td>
-                                                    <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="add1" onclick="add1Js(this);" value="娣诲姞" style="position:relative;width:100px;"/>  
-                                                    <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="delete1" onclick="delete1Js(this);" value="鍒犻櫎" style="position:relative;width:100px;"/>
+                                                    <input name="{!mp.mpded.ProductsID__c}" type="button" value="娣诲姞" style="width: 100px;" onclick="addJs(this);return false;" class="btn"/>
+                                                    <!-- <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="add1" onclick="add1Js(this);" value="娣诲姞" style="position:relative;width:100px;"/>  
+                                                    <apex:commandButton title="{!mp.mpded.ProductsID__c}" id="delete1" onclick="delete1Js(this);" value="鍒犻櫎" style="position:relative;width:100px;"/> -->
                                                 </td>
                                             </tr>
                                         </apex:repeat>
@@ -1736,11 +1738,6 @@
                         blockme();
                         console.log(el.name);
                         addEx(el.name);
-                    }
-                    function add1Js(el){
-                        blockme();
-                        console.log(el.title);
-                        addEx(el.title);
                     }
                     function delJs(el){
                         blockme();

--
Gitblit v1.9.1