LiJinHuan
2023-06-02 c6ad239fe51b0fcfb0e3ce29f7545af00a48292d
force-app/main/default/pages/AccessoryAdd.page
@@ -14,8 +14,16 @@
                width: auto;
            }
            body input.btn {
                padding: 2px 3px;
        /* padding: 2px 3px; */
                margin-left: 55px;
    }
    /* 20230602 ljh  */
    body .message{
        margin: 0rem 0!important;
    }
    body .pbBottomButtons{
        margin: 0rem 0rem 0;
        width: 99%;
            }
        </style>
        <script type="text/javascript">
@@ -46,14 +54,15 @@
                            <apex:outputText />
                            <apex:outputField value="{!parentObj.Rental_Start_Date__c}"/>
                            <apex:outputField value="{!parentObj.Rental_End_Date__c}"/>
                            <apex:pageBlockSectionItem >
                    <!-- 20230602 ljh start -->
                    <!-- <apex:pageBlockSectionItem >
                                <apex:outputPanel >
                                    <apex:outputText value="关键字" style="width:50px"/>
                                    <apex:inputText value="{!keyword}" style="width:200px;margin-left: 50px;"/>
                                </apex:outputPanel>
                                <apex:commandButton value="检索" action="{!searchOpp}" onclick="blockme();" rerender="allForm" oncomplete="unblockUI();" />
                            </apex:pageBlockSectionItem>
                    </apex:pageBlockSectionItem> -->
                    <!-- 20230602 ljh end -->
                        </apex:pageBlockSection>
                         <table>
                            <tr>
@@ -77,9 +86,17 @@
                                  </apex:selectList>
                                </td>
                                <!-- #OLY_OCM-654 因为MA本部和产品培训本部还是需要检索条件,所以需要别本部的检索条件 End -->
                        <!-- 20230602 ljh start -->
                        <td width="80px" align ="right">关键字:</td>
                        <td width="200px" align ="left">
                            <apex:inputText value="{!keyword}" style="width:200px;"/>
                        </td>
                        <td width="180px"><apex:commandButton value="检索" action="{!searchOpp}" onclick="blockme();" rerender="allForm" oncomplete="unblockUI();" /></td>
                        <!-- 20230602 ljh start -->
                            </tr>
                        </table>
                        <apex:pageBlockButtons location="bottom">
                <!-- 20230602 ljh start  -->
                <!-- <apex:pageBlockButtons location="bottom">
                            <apex:commandButton style="float:left;" action="{!save}" onclick="blockme();" value="保存" rerender="allForm" oncomplete="unblockUI();" />
                            <apex:commandButton style="float:right;" action="{!cancel}" value="返回" rerender="allForm"/>
                        </apex:pageBlockButtons>
@@ -87,8 +104,21 @@
        
                        <apex:outputPanel id="message">
                            <apex:pageMessages />
                        </apex:outputPanel>
                </apex:outputPanel> -->
                <!-- 20230602 ljh end  -->
                    </apex:pageBlock>
            <!-- 20230602 ljh start  -->
            <apex:outputPanel id="message">
                <apex:pageMessages />
            </apex:outputPanel>
            <apex:pageBlock>
            <apex:pageBlockButtons location="bottom" style="margin:0;padding:0;">
                <apex:commandButton style="float:left;" action="{!save}" onclick="blockme();" value="保存" rerender="allForm" oncomplete="unblockUI();" />
                <apex:commandButton style="float:right;" action="{!cancel}" value="返回" rerender="allForm"/>
            </apex:pageBlockButtons>
            <div style="clear:both;"></div>
            </apex:pageBlock>
            <!-- 20230602 ljh end  -->
                    <c:RelationListPagingCmp id="cmpid" pgController="{!this}" hasCheckbox="true" isRadio="true" />
                </apex:outputPanel>
            </apex:form>