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/RentalFixtureSetDetilSelect.page |   88 +++++++++++++++++++++++++------------------
 1 files changed, 51 insertions(+), 37 deletions(-)

diff --git a/force-app/main/default/pages/RentalFixtureSetDetilSelect.page b/force-app/main/default/pages/RentalFixtureSetDetilSelect.page
index 3a79f75..059c3b5 100644
--- a/force-app/main/default/pages/RentalFixtureSetDetilSelect.page
+++ b/force-app/main/default/pages/RentalFixtureSetDetilSelect.page
@@ -4,10 +4,15 @@
 <title>鍊熷嚭澶囧搧閰嶅鏄庣粏閫夋嫨</title>
 <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
 <apex:stylesheet value="{!URLFOR($Resource.RentalFixtureSetDetilSelectCss)}"/>
+<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)}"/>
-
+<!-- 20230511 ljh lightning start -->
+<style type="text/css">
+    table.list td  input[type="text"]{width:55%;}
+</style>
+<!-- 20230511 ljh lightning end -->
 <script type="text/javascript">
 var heightAjustment = 120;
 var widthAjustment = 30;
@@ -25,41 +30,46 @@
         </apex:actionFunction>
         <apex:outputPanel id="pageallPanel">
             <apex:pageBlock id="searchBlock" tabStyle="Report">
-                <apex:pageBlockButtons location="bottom">
-                        <!--20230425 zq lightning涓嬩慨鏀规牱寮� <apex:commandButton style="float:left;" action="{!save}" value="纰哄畾" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> 
-                            <apex:commandButton style="float:right;" value="杩斿洖涓婁竴绾�" action="{!goBack}"/>
-                        -->
-
-                        <apex:commandButton action="{!save}" value="纰哄畾" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" />
-                        <apex:commandButton style="float:right;margin: 0 10px;" value="杩斿洖涓婁竴绾�" action="{!goBack}"/>
+                <!-- 20230522 ljh lightning start -->
+                <!-- <apex:pageBlockButtons location="bottom">
+                        <apex:commandButton style="float:left;" action="{!save}" value="纰哄畾" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" />
+                        <apex:commandButton style="float:right;" value="杩斿洖涓婁竴绾�" action="{!goBack}"/>
                         <apex:commandButton style="float:right;" value="杩斿洖鐢宠鍗�" action="{!cancel}"/>
-                </apex:pageBlockButtons>
+                </apex:pageBlockButtons>  
+                <div style="clear:both;"></div>   -->
+                <!-- 20230522 ljh lightning end -->
+                <table>
+                    <tr>
+                        <td style="text-align:right;">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Name.label}锛�</td>
+                        <td style="text-align:left;"><apex:outputText value="{!parentObj.Name}" style="width:100px"/></td>
+                    </tr>
+                    <tr>
+                        <td style="text-align:right;">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Fixture_Set_Idx__c.label}锛�</td>
+                        <td style="text-align:left;"><apex:outputText value="{!parentObj.Fixture_Set_Idx__c}" style="width:100px"/></td>
+                    </tr>
+                    <tr>
+                        <td style="text-align:right;">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_name_F__c.label}锛�</td>
+                        <td style="text-align:left;"><apex:outputText value="{!parentObj.Loaner_name_F__c}" style="width:100px"/></td>
+                    </tr>
+<!--                        <tr>
+                        <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_code__c.label}</td>
+                        <td colspan="3"><apex:outputText value="{!parentObj.Loaner_code__c}" style="width:100px"/></td>
+                    </tr> -->
+                    <!-- <tr>
+                        <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Rental_Num__c.label}</td>
+                        <td colspan="3"><apex:outputText value="{!parentObj.Rental_Num__c}" style="width:100px"/></td>
+                    </tr> -->
+<!--TODO  鍚屼竴闄勫睘鍝侊細銉� -->
+
+                </table>
+                <!-- 20230522 ljh lightning start -->
+                <div style="width:50%;float:right;">
+                        <apex:commandButton style="float:left;" action="{!save}" value="纰哄畾" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" />
+                        <apex:commandButton style="float:right;" value="杩斿洖涓婁竴绾�" action="{!goBack}"/>
+                        <apex:commandButton style="float:right;" value="杩斿洖鐢宠鍗�" action="{!cancel}"/>
                 <div style="clear:both;"></div>
-
-                    <table>
-                        <tr>
-                            <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Name.label}</td>
-                            <td colspan="3"><apex:outputText value="{!parentObj.Name}" style="width:100px"/></td>
-                        </tr>
-                        <tr>
-                            <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Fixture_Set_Idx__c.label}</td>
-                            <td colspan="3"><apex:outputText value="{!parentObj.Fixture_Set_Idx__c}" style="width:100px"/></td>
-                        </tr>
-                        <tr>
-                            <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_name_F__c.label}</td>
-                            <td colspan="3"><apex:outputText value="{!parentObj.Loaner_name_F__c}" style="width:100px"/></td>
-                        </tr>
- <!--                        <tr>
-                            <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Loaner_code__c.label}</td>
-                            <td colspan="3"><apex:outputText value="{!parentObj.Loaner_code__c}" style="width:100px"/></td>
-                        </tr> -->
-                        <!-- <tr>
-                            <td colspan="2">{!$ObjectType.Rental_Apply_Equipment_Set__c.fields.Rental_Num__c.label}</td>
-                            <td colspan="3"><apex:outputText value="{!parentObj.Rental_Num__c}" style="width:100px"/></td>
-                        </tr> -->
- <!--TODO  鍚屼竴闄勫睘鍝侊細銉� -->
-
-                    </table>
+                </div>
+                <!-- 20230522 ljh lightning end -->
             </apex:pageBlock>
             <c:RelationListPagingCmp id="cmpid" pgController="{!this}" hasCheckbox="false" noSort="true"/>
         </apex:outputPanel>
@@ -68,12 +78,16 @@
       <script type="text/javascript">
           // 鏁伴噺娣诲姞鍔犲噺绗﹀彿
           j$(".dataCellBorder1.col_Rental_Num__c").each(function () {
+            //   20230614 ljh lightning start 
               if(!this.firstElementChild.disabled){
-                  j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />');
-              }
+                //   j$(this).append('<input type="button" style="width: auto;" class="inc btn" value="+" /><input type="button" style="width: auto;" class="dec btn" value="-" />');
+                  j$(this).append('<input type="button" style="width:1.5rem;line-height:1.5rem;" class="inc btn" value="+" /><input type="button" style="width:1.5rem;line-height:1.5rem;" class="dec btn" value="-" />');
+                }
               else{
-                  j$(this).append('<input type="button" style="width: auto;" class="dec btn" value="-" />');
+                //   j$(this).append('<input type="button" style="width: auto;" class="dec btn" value="-" />');
+                  j$(this).append('<input type="button" style="width:1.5rem;line-height:1.5rem;" class="dec btn" value="-" />');
               }
+            //   20230614 ljh lightning end 
           });
           j$(".dataCellBorder1.col_Rental_Num__c input[type=button]").on("click", function() {
               var $button = j$(this);

--
Gitblit v1.9.1