From 6ab4b342810274e5546227ffe0dc1fcc01dc371f Mon Sep 17 00:00:00 2001
From: unknown <sunxia@prec-tech.com>
Date: 星期三, 19 七月 2023 14:48:12 +0800
Subject: [PATCH] page-AssetMaintainDetail

---
 force-app/main/default/pages/AssetMaintainDetail.page |  100 ++++++++++++++++++++++++++++++++++++--------------
 1 files changed, 72 insertions(+), 28 deletions(-)

diff --git a/force-app/main/default/pages/AssetMaintainDetail.page b/force-app/main/default/pages/AssetMaintainDetail.page
index 4c3f15a..f9d39fb 100644
--- a/force-app/main/default/pages/AssetMaintainDetail.page
+++ b/force-app/main/default/pages/AssetMaintainDetail.page
@@ -3,10 +3,67 @@
     <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
     <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
     <apex:includeScript value="{!URLFOR($Resource.RelationListPagingCmpJS)}"/>
+    <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/><!-- 20230619 ljh lightning -->
+    <style>
+        .headStyle td input{
+            width: 150px;
+        }
+
+        .headStyle td input.btn{
+            width: 70px;
+        }
+
+        .headStyle td{
+            padding-left: 30px;
+            padding-bottom: 10px;
+        }
+
+        body .bPageBlock .detailList .dataCol{
+            width: 18%;
+        }
+
+        body .bPageBlock .detailList .labelCol{
+            width: 8%;
+        }
+
+        table.list .col_Asset__r_Id {width:100px;}
+        table.list .col_Asset__r_Internal_asset_location__c{width:100px;}
+        table.list .col_Asset__r_Salesdepartment__c{width:100px;}
+        table.list .col_Asset__r_SalesProvince__c{width:100px;}
+        table.list .col_Asset__r_Fixture_Model_No_F__c{width:100px;}
+        table.list .col_Asset__r_Internal_Asset_number_key__c{width:100px;}
+        table.list .col_Asset__r_Internal_Asset_number__c{width:100px;}
+        table.list .col_Asset__r_SerialNumberLink__c{width:100px;}
+
+        table.list .col_Asset__r_Product_category__c {width:100px;}
+        table.list .col_Asset__r_Equipment_Type__c {width:100px;}
+        table.list .col_Asset__r_Consumable_Guaranteen_end__c {width:100px;}
+        table.list .col_Asset__r_Manage_type__c {width:100px;}
+        table.list .col_Asset__r_Loaner_accsessary__c {width:100px;}
+        table.list .col_Asset__r_EquipmentSet_Managment_Code__c {width:100px;}
+        table.list .col_Asset__r_AssetManageConfirm__c {width:100px;}
+        table.list .col_Asset__r_Fixture_QRCode__c {width:100px;}
+        table.list .col_Asset__r_WH_location__c {width:100px;}
+        table.list .col_MaintainReason__c {width:100px;}
+        table.list .col_MaintainCount__c {width:100px;}
+        table.list .col_AbandonReason__c {width:100px;}
+        table.list .col_AbandonCount__c {width:100px;}
+        table.list .col_Is_OneToOne_Accessory__c {width:100px;}
+        table.list .col_Asset__r_Main_OneToOne__c {width:100px;}
+        table.list .col_DisconnectCount__c {width:100px;}
+        table.list .col_Asset__r_Quantity {width:100px;}
+        table.list .col_Asset__r_You_Xiao_Ku_Cun__c {width:100px;}
+        table.list .col_Asset__r_Frozen_Quantity__c {width:100px;}
+        table.list .col_Asset__r_Ji_Zhong_Guan_Li_Ku_Cun__c {width:100px;}
+        table.list .col_Asset__r_In_wh_Fu_Shu_Pin_You_Xiao_Ku_Cun_Sum__c {width:100px;}
+        table.list .col_Asset__r_Fixture_Status__c {width:100px;}
+
+
+    </style>
     <apex:form id="allForm">
         <apex:actionFunction name="searchOpp" action="{!searchOpp}" rerender="allForm" oncomplete="windowResize();unblockUI();"/>
         <apex:pageBlock id="searchBlock" title="缁存姢鏄庣粏鐢婚潰">
-            <apex:pageBlockSection columns="2">
+            <apex:pageBlockSection columns="4">
                 <apex:outputField value="{!parentObj.Name}"/>
                 <apex:outputField value="{!parentObj.MaintainType__c}"/>
                 <apex:outputField value="{!parentObj.Submit_Time__c}" rendered="{!parentObj.MaintainType__c=='瀹炵墿鎶ュ簾'}"/>
@@ -16,42 +73,29 @@
             </apex:pageBlockSection>
             <apex:pageMessages />
             <table>
-                <tr>
-                    <td>鍏抽敭瀛�</td>
-                    <td>
-                        <apex:inputText value="{!keyword}"/>
-                        <apex:commandButton value="妫�绱�" onclick="blockme();searchOpp(); return false;"/>
-                    </td>
-                    <td>澶囧搧閰嶅鏄庣粏鍨嬪彿</td>
-                    <td><apex:inputText value="{!model}"/></td>
-                    <td>鍥哄畾璧勪骇缂栧彿</td>
-                    <td><apex:inputField value="{!ass.Internal_Asset_number__c}"/></td>
-                    <td>鏈鸿韩缂栫爜</td>
-                    <td><apex:inputField value="{!ass.SerialNumber}"/></td>
-                    <td>璐ф灦鍙�</td>
-                    <td><apex:inputField value="{!ass.WH_location__c}"/></td>
+                <tr class='headStyle'>
+                    <td>鍏抽敭瀛楋細<apex:inputText value="{!keyword}"/></td>
+                    <td>澶囧搧閰嶅鏄庣粏鍨嬪彿锛�<apex:inputText value="{!model}"/></td>
+                    <td>鍥哄畾璧勪骇缂栧彿锛�<apex:inputField value="{!ass.Internal_Asset_number__c}"/></td>
+                    <td>鏈鸿韩缂栫爜锛�<apex:inputField value="{!ass.SerialNumber}"/></td>
+                    <td>璐ф灦鍙凤細<apex:inputField value="{!ass.WH_location__c}"/></td>
+                    <td><apex:commandButton value="妫�绱�" onclick="blockme();searchOpp(); return false;"/></td>
                 </tr>
-                <tr>
-                    <td>澶囧搧瀛樻斁鍦�</td>
-                    <td><apex:inputField value="{!ass.Internal_asset_location__c}"/></td>
-                    <td>涓讳綋/闄勫睘鍝�</td>
-                    <td>
+                <tr class='headStyle'>
+                    <td>澶囧搧瀛樻斁鍦帮細<apex:inputField value="{!ass.Internal_asset_location__c}"/></td>
+                    <td>涓讳綋/闄勫睘鍝侊細
                         <apex:selectList value="{!mainOrAccessory}" size="1">
                             <apex:selectOptions value="{!mainOrAccessoryOptions}"/>
                         </apex:selectList>
                     </td>
-                    <td>鏄惁鍥哄畾璧勪骇</td>
-                    <td>
+                    <td>鏄惁鍥哄畾璧勪骇锛�
                         <apex:selectList value="{!isInternalAsset}" size="1">
                             <apex:selectOptions value="{!isInternalAssetOptions}"/>
                         </apex:selectList>
                     </td>
-                    <td>浜у搧鍒嗙被(GI/SP)</td>
-                    <td><apex:inputField value="{!ass.Product_category__c}"/></td>
-                    <td>澶囧搧鍒嗙被</td>
-                    <td><apex:inputField value="{!ass.Equipment_Type__c}"/></td>
-                    <td>绠$悊绉嶇被</td>
-                    <td><apex:inputField value="{!ass.Manage_type__c}"/></td>
+                    <td>浜у搧鍒嗙被(GI/SP)锛�<apex:inputField value="{!ass.Product_category__c}"/></td>
+                    <td>澶囧搧鍒嗙被锛�<apex:inputField value="{!ass.Equipment_Type__c}"/></td>
+                    <td>绠$悊绉嶇被锛�<apex:inputField value="{!ass.Manage_type__c}"/></td>
                 </tr>
             </table>
         </apex:pageBlock>

--
Gitblit v1.9.1