123
chenjingwu
2024-04-25 9b9f30383a8d1c86bed550eba7d696aba9d7636b
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 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;"/>
                                            </td>
@@ -1731,14 +1732,17 @@
                </apex:pageblocksection>
                <script type="text/javascript">
                    function addJs(el){
                        blockme();
                        console.log(el.title);
                        addEx(el.title);
                    }
                    function add1Js(el){
                        blockme();
                        console.log(el.title);
                        addEx(el.title);
                    }
                    function delJs(el){
                        blockme();
                        console.log(el.title);
                        deleteEx(el.title,0);