From aafa9e617c42aa0a51e7a171cca72c9c752cb8ed Mon Sep 17 00:00:00 2001
From: LiJinHuan <lijinhuan@prec-tech.com>
Date: 星期五, 26 五月 2023 16:36:05 +0800
Subject: [PATCH] 备品分配附属品页面
---
force-app/main/default/staticresources/AccessorySelectCss.css | 16 ++++++++++++++++
force-app/main/default/pages/AccessorySelect.page | 24 +++++++++++++++---------
2 files changed, 31 insertions(+), 9 deletions(-)
diff --git a/force-app/main/default/pages/AccessorySelect.page b/force-app/main/default/pages/AccessorySelect.page
index 4c67261..9d0eff7 100644
--- a/force-app/main/default/pages/AccessorySelect.page
+++ b/force-app/main/default/pages/AccessorySelect.page
@@ -1,4 +1,7 @@
-<apex:page controller="AccessorySelectController" showHeader="false" sidebar="false" id="allPage" action="{!init}">
+<!-- 20230526 ljh lightning -->
+<!-- <apex:page controller="AccessorySelectController" showHeader="false" sidebar="false" id="allPage" action="{!init}"> -->
+<apex:page controller="AccessorySelectController" showHeader="false" sidebar="false" id="allPage" action="{!init}" lightningStylesheets="true">
+
<head>
<title>闄勫睘鍝侀�夋嫨</title>
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
@@ -140,14 +143,17 @@
</script>
</apex:outputPanel>
<!-- </apex:pageBlockSectionItem> -->
-
- <apex:pageBlockButtons location="bottom">
- <!-- <apex:commandButton style="float:left;" value="妫�绱�" action="{!searchOpp}" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> -->
- <apex:commandButton style="float:left;" action="{!save}" value="淇濆瓨" onclick="blockme();" rerender="allForm,checEventFrame" oncomplete="unblockUI();" />
- <apex:commandButton style="float:left;" value="鍙栨秷鍒嗛厤" onclick="unassign(); return false;" rerender="allForm,checEventFrame"/>
- <apex:commandButton style="float:left;" value="鍙栨秷" onclick="clickCancel(); return false;" />
- <apex:commandButton style="float:right;" action="{!turnback}" value="杩斿洖" rerender="allForm,checEventFrame"/>
- </apex:pageBlockButtons>
+ <!-- 20230526 ljh lightning start outputPanel 鏂板姞 pageBlockButtons娉ㄩ噴-->
+ <apex:outputPanel style="float:left;">
+ <!-- <apex:pageBlockButtons location="bottom"> -->
+ <!-- <apex:commandButton style="float:left;" value="妫�绱�" action="{!searchOpp}" onclick="blockme();" rerender="allForm, checEventFrame" oncomplete="unblockUI();" /> -->
+ <apex:commandButton style="float:left;" action="{!save}" value="淇濆瓨" onclick="blockme();" rerender="allForm,checEventFrame" oncomplete="unblockUI();" />
+ <apex:commandButton style="float:left;" value="鍙栨秷鍒嗛厤" onclick="unassign(); return false;" rerender="allForm,checEventFrame"/>
+ <apex:commandButton style="float:left;" value="鍙栨秷" onclick="clickCancel(); return false;" />
+ <apex:commandButton style="float:right;" action="{!turnback}" value="杩斿洖" rerender="allForm,checEventFrame"/>
+ <!-- </apex:pageBlockButtons> -->
+ </apex:outputPanel>
+ <!-- 20230526 ljh lightning end-->
<div style="clear:both;"></div>
<apex:outputPanel id="message">
diff --git a/force-app/main/default/staticresources/AccessorySelectCss.css b/force-app/main/default/staticresources/AccessorySelectCss.css
index e69de29..612737b 100644
--- a/force-app/main/default/staticresources/AccessorySelectCss.css
+++ b/force-app/main/default/staticresources/AccessorySelectCss.css
@@ -0,0 +1,16 @@
+/* 20230526 ljh start lightning */
+table.list .col_IndexFromUniqueKey_Text__c{width:90px;}
+table.list .col_Fixture_Model_No__c{width:120px;}
+table.list .col_Fixture_Name__c{width:100px;}
+table.list .col_Canceled_Flag__c{width:90px;}
+table.list .col_FSD_Is_Optional__c{width:50px;}
+table.list .col_Substitute_flag__c{width:70px;}
+table.list .col_Fu_Shu_Pin_Fen_Pei_Jia__c{width:100px;}
+table.list .col_Asset__r_SerialNumber{width:90px;}
+table.list .col_Asset__r_Salesdepartment__c{width:100px;}
+table.list .col_Asset__r_Internal_asset_location__c{width:100px;}
+table.list .col_Asset__r_You_Xiao_Ku_Cun__c{width:90px;}
+table.list .col_FSD_Is_OneToOne__c{width:70px;}
+table.list .col_Cancel_Reason__c{width:100px;}
+table.list .col_Loaner_cancel_reason__c{width:100px;}
+table.list .col_Loaner_cancel_Remarks__c{width:100px;}
\ No newline at end of file
--
Gitblit v1.9.1