123
chenjingwu
2024-04-19 7b40ab296979b6e3ea98eaae51749d559e1a6380
force-app/main/default/pages/MaintenanceProductData.page
@@ -1625,7 +1625,46 @@
                </apex:pageBlock>
                <!-- chenjingwu 20240417 start -->
                <apex:pageblocksection title="{!IF(editAble,'延保信息维护','延保信息维护(蓝色为新值)')}" id="exmpdDetails" rendered="{!IF(mpdDetailsRecordsCount >0,true,false)}" html-style="width: 100%;max-height:210px;;overflow:auto;">
                    <table class="list" border="0" cellpadding="0" cellspacing="0">
                        <tr class="headerRow">
                            <th>产品名称</th>
                            <!-- <apex:variable var="v" value="" rendered="{!IF(editAble&&RecordTypeName='GuranteeMain'&&mpd.Status__c='服务填写',true,false)}">
                                <th>选择</th>
                            </apex:variable> -->
                            <th>延保年限</th>
                            <th>延保金额</th>
                            <th>计提金额</th>
                            <th>操作</th>
                        </tr>
                        <apex:repeat value="{!mpdDetailsRecords}" var="aa" id="bb">
                            <tr>
                            <td rowspan="{!muMap.get(aa.ProductsID__c).size()}">
                                <apex:outputText value="{!aa.mpded.ProductsID__r.Name}"/>
                            </td>
                            <td>
                                <apex:outputText value="{!muMap.get(aa.ProductsID__c)[0].AgeLimit__c}"/>
                            </td>
                            <td>
                                <apex:outputText value="{!muMap.get(aa.ProductsID__c)[0].MultiOneYearWarrantyPrice__c}"/>
                            </td>
                            <td>
                                <apex:outputText value="{!muMap.get(aa.ProductsID__c)[0].AmountWithheld__c}"/>
                            </td>
                            <td>
                            </td>
                            <apex:repeat value="{!muMap.get(aa.ProductsID__c)}" var = "mu" id="cc" first="1">
                                <td>
                                    <apex:outputText value="{!mu.AgeLimit__c}"/>
                                </td>
                                <td>
                                    <apex:outputText value="{!mu.MultiOneYearWarrantyPrice__c}"/>
                                </td>
                                <td>
                                    <apex:outputText value="{!mu.AmountWithheld__c}"/>
                                </td>
                            </apex:repeat>
                        </apex:repeat>
                    </table>
                </apex:pageblocksection>
                <!-- chenjingwu 20240417 end -->
            </apex:pageBlock>