From ddb0231ef7c5cf2bad9d3f1afc2f733674ad38a5 Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期四, 24 八月 2023 14:50:51 +0800
Subject: [PATCH] 再修理按钮

---
 force-app/main/default/pages/AccessoryAdd.page |   55 +++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 49 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/pages/AccessoryAdd.page b/force-app/main/default/pages/AccessoryAdd.page
index cfe06ea..ccb62e1 100644
--- a/force-app/main/default/pages/AccessoryAdd.page
+++ b/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>

--
Gitblit v1.9.1