liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<apex:page Controller="ProductRepairQuoteController" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="产品修理报价预估" lightningStylesheets="true">
<apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/>
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
<style>
    body,body .mainTitle{
        font-size: 15px;
    }
</style>
    <apex:form id="allForm">
        <apex:outputPanel id="allPanel">
            <apex:pageBlock title="产品修理报价预估" id="allBlock">
 
                <apex:outputPanel id="message">
                    <apex:pageMessages />
                </apex:outputPanel>
                <font color="red">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{!msg}</font>
                <apex:pageBlock id="dateBlock" rendered="{!viewFlag}">
                    <table>
                        <colgroup>
                            <col width="120"/>
                            <col width="100"/>
                            <col width="120"/>
                            <col width="100"/>
                        </colgroup>
                        <tr>
                            <!-- lighting升级 20230210 lt 文字串行问题 add  ;width:200px;height:25px; -->
                            <th style="text-align:right ;width:200px;height:25px;">
                                {!$ObjectType.Product2.fields.RepairListPriceLevelA__c.label} :
                            </th>
                            <td align="left">
                                <apex:outputText value="{!repairListPriceLevelA}" />
                            </td>
                            <!-- lighting升级 20230210 lt 文字串行问题 add  ;width:200px;height:25px; -->
                            <th style="text-align:right;width:200px;height:25px;">
                                {!$ObjectType.Product2.fields.Can_Repair__c.label} :
                            </th>
                            <td align="left">
                                <apex:outputText value="{!canRepair}" />
                            </td>
                             
                        </tr>
                        <tr>
                            <th style="text-align:right;width:200px;height:25px;">
                                {!$ObjectType.Product2.fields.RepairListPriceLevelB__c.label} :
                            </th>
                            <td align="left">
                                <apex:outputText value="{!repairListPriceLevelB}" />
                            </td>
                            <!-- lighting升级 20230210 lt 文字串行问题 add  ;height:25px; -->
                            
                            
                            <th style="text-align:right;width:200px;height:25px;">
                                {!$ObjectType.Product2.fields.PartSupplyFinishDate__c.label} :
                            </th>
                            <td align="left">
                                <apex:outputText value="{0,date,yyyy/MM/dd}">
                                    <apex:param value="{!partSupplyFinishDate}" />
                                </apex:outputText>
                            </td>
                           
                            
                            <!-- lighting升级 20230210 lt 文字串行问题 add  ;height:25px; -->
                        </tr>
                        <tr>
                            <th style="text-align:right;width:200px;height:25px;">
                                {!$ObjectType.Product2.fields.RepairListPriceLevelC__c.label} :
                            </th>
                            <td align="left">
                                <apex:outputText value="{!repairListPriceLevelC}" />
                            </td>
                            <th style="text-align:right;width:200px;height:25px;">
                                {!$ObjectType.Product2.fields.PartSupplyFinishDateExp__c.label} :
                            </th>
 
                            <td align="left">
                                <apex:outputText value="{0,date,yyyy/MM/dd}">
                                    <apex:param value="{!partSupplyFinishDateExp}" />
                                </apex:outputText>
                                <!-- <apex:outputText value="{!partSupplyFinishDateExp}"/> -->
                            </td>
                        </tr>
                       
                    </table>
                </apex:pageBlock>
 
 
 
 
 
 
            </apex:pageBlock>
        </apex:outputPanel>
    </apex:form>
</apex:page>