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/LostReportEditAsset.page |   20 ++++++++++++++------
 1 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/force-app/main/default/pages/LostReportEditAsset.page b/force-app/main/default/pages/LostReportEditAsset.page
index 18e18a6..b58a4b0 100644
--- a/force-app/main/default/pages/LostReportEditAsset.page
+++ b/force-app/main/default/pages/LostReportEditAsset.page
@@ -1,9 +1,10 @@
-<apex:page standardController="LostReport__c" extensions="LostReportEditAssetController" showHeader="false" sidebar="false" id="allPage" action="{!init}">
+<apex:page standardController="LostReport__c" extensions="LostReportEditAssetController" showHeader="false" sidebar="false" id="allPage" action="{!init}" lightningStylesheets="true">
 <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
 <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
 <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
 <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
 <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
+<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/><!-- 20230619 ljh lightning --> 
    <style>
         .dateFormat  {
             display: none;
@@ -111,6 +112,12 @@
         .bRelatedList .relatedProcessHistory .extraRow td.actionColumn .actionLink, .bRelatedList .relatedProcessHistory .extraRow td, .bRelatedList .relatedProcessHistory .extraRow th {
             color: gray;
         }
+        .relatedProcessHistory{
+            margin-top: 5px;
+            margin-left: auto;
+            width: 75%;
+            margin-right: auto;
+        }
         .bPageBlock .list {
             width: auto;
         }
@@ -145,6 +152,7 @@
         .topb {border-top: black 1px solid;}
         .bottomb {border-bottom: black 1px solid;}
         .B {font-weight:bold;}
+
 
         td.center {text-align: center;}
         td.right {text-align: right;}
@@ -276,7 +284,7 @@
                     <apex:commandButton styleClass="hiddenPrint" value="杩斿洖" rerender="allForm" onclick="returnjs();return false;"/>
                     <!-- <apex:commandButton value="濉啓閬楀け鎶ュ憡涔�" rerender="allForm" onclick="inventory_lost_report();return false;" /> -->
                     <apex:commandButton styleClass="hiddenPrint" value="淇濆瓨" id="saveData" rendered="{! pBean.islock == false && pBean.hasApprovedFlag == false }" style="float: right;" rerender="allForm" oncomplete="unblockUI();" onclick="blockme()" action="{!saveLR}" />
-                    <apex:commandButton styleClass="hiddenPrint" value="淇濆瓨骞舵彁浜ゅ鎵�" id="saveData1" rendered="{! pBean.islock == false && pBean.hasApprovedFlag == false}" style="float: right;" rerender="allForm, process" oncomplete="unblockUI();" onclick="saveLRjs('1'); return false;" />
+                    <apex:commandButton styleClass="hiddenPrint" value="淇濆瓨骞舵彁浜ゅ鎵�" id="saveData1" rendered="{! pBean.islock == false && pBean.hasApprovedFlag == false}" style="float: right; height: auto; width: auto;" rerender="allForm, process" oncomplete="unblockUI();" onclick="saveLRjs('1'); return false;" />
                     <apex:commandButton styleClass="hiddenPrint" value="鍙栨秷" id="cancel" disabled="{!pBean.lr.Auto_Lost_item_giveupDetailCount__c != 0 || pBean.lr.Status__c == '鍙栨秷'}" style="float: right;" rerender="allForm, process" oncomplete="unblockUI();" onclick="cancelClick(); return false;" />
                     <!-- <apex:commandButton value="淇濆瓨" id="saveData" style="margin-left: 25%;" rerender="allForm" oncomplete="unblockUI();" action="{!saveData}" onclick="unvalid()" /> -->
                     <!-- <apex:commandButton value="鐩稿叧浜哄憳纭" rendered="{!IF(ihObj.InventoryCheck_PIC__c!=$User.Id, false, true)}" rerender="allForm" onclick="relevant_confirm();return false;" /> -->
@@ -474,7 +482,7 @@
                     </tr>
                     <tr>
                         <td >
-                            <apex:inputField id="ownerSys" value="{!pBean.lr.OwnerSys__c}"/>
+                            <apex:inputField id="ownerSys" value="{!pBean.lr.OwnerSys__c}" style="width: 210px;"/>
                             <!-- <apex:outputField rendered="{!pBean.lr.Status__c != '鑽夋涓�'}" value="{!pBean.lr.OwnerSys__c}"/> -->
                             <script>
                                 if( document.getElementById('allPage:allForm:ownerSys_mlktp')){
@@ -483,15 +491,15 @@
                             </script>
                         </td>
                         <td >
-                            <apex:inputField value="{!pBean.lr.AccountSys__c}"/>
+                            <apex:inputField value="{!pBean.lr.AccountSys__c}" style="width: 210px;"/>
                             <!-- <apex:outputField rendered="{!pBean.lr.Status__c != '鑽夋涓�'}" value="{!pBean.lr.AccountSys__c}"/> -->
                         </td>
                         <td >
-                            <apex:inputField value="{!pBean.lr.Bollow_DateSys__c}"/>
+                            <apex:inputField value="{!pBean.lr.Bollow_DateSys__c}" style="width: 210px;"/>
                             <!-- <apex:outputField value="{!pBean.lr.Bollow_DateSys__c}"/> -->
                         </td>
                         <td >
-                            <apex:inputField value="{!pBean.lr.demo_purpose2Sys__c}"/>
+                            <apex:inputField value="{!pBean.lr.demo_purpose2Sys__c}" style="width: 210px;"/>
                             <!-- <apex:selectList size="1" value="{!pBean.lr.demo_purpose2Sys__c}"> -->
                                 <!-- <apex:selectOptions value="{!demo_purpose2SysList}"/> -->
                             <!-- </apex:selectList> -->

--
Gitblit v1.9.1