123
chenjingwu
2024-04-26 732eb46d129e9eee4306d29f47e5da389a6c28cd
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();