unknown
2023-08-24 ddb0231ef7c5cf2bad9d3f1afc2f733674ad38a5
force-app/main/default/pages/AccessoryAdd.page
@@ -1,12 +1,32 @@
<!-- <apex:page controller="AccessoryAddController" showHeader="false" sidebar="false" id="allPage" action="{!init}"> -->
<apex:page controller="AccessoryAddController" showHeader="false" sidebar="false" id="allPage" action="{!init}" lightningStylesheets="true">
<head>
<title>附属品追加</title>
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.AccessoryAddCss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/><!-- 20230624 ljh lightning  -->
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
<apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/>
<!-- 20230426 zq add style -->
<style>
    body .bPageBlock .detailList .labelCol {
        width: auto;
    }
    body input.btn {
        /* 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">
var heightAjustment = 120;
var widthAjustment = 30;
@@ -35,19 +55,21 @@
                    <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>
                        <td width="20px"/>
                        <td width="200px">
                        <!--20230426 zq <td width="200px"> -->
                        <td width="220px">
                          <apex:outputLabel for="bieCunFangDi" value="备品存放地" />
                          <!-- <apex:outputText value="{!bieCunFangDi}"/> -->
                          <apex:selectList value="{!bieCunFangDi}" size="1" style="margin-left: 20px; width:110px" id="bieCunFangDi">
@@ -65,9 +87,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>
@@ -75,8 +105,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>