<apex:page controller="RepairAgainAnPDFController" showHeader="false" sidebar="false" renderAs="pdf" action="{!init}" applyHtmlTag="false">
|
<html>
|
<head>
|
<style>
|
@page {
|
size: A4 portrait;
|
margin: 5mm 12mm 5mm 12mm;
|
}
|
|
table {border-collapse: collapse;}
|
td.title {text-align: center; font-weight: bold; background-color: #BDBDBD; height: 23px;}
|
td.middle {text-align: center; font-size:120%;}
|
td.label {padding-left: 10px; height: 23px; font-weight: bold;}
|
</style>
|
</head>
|
<body style="font-family: Arial Unicode MS;">
|
<table width="100%" border="0">
|
<tr>
|
<td width="15%">
|
<table width="100%" border="1" cellspacing="0" style="border-color: red;">
|
<tr><td colspan="2" style="font-size: 7px; font-weight: bold; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;">OLYMPUS</td></tr>
|
<tr>
|
<td style="font-size: 7px; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;" width="80%" >CONFIDENTIAL</td>
|
<td style="font-size: 7px; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;">㊙</td>
|
</tr>
|
</table>
|
<table width="100%" cellspacing="0">
|
<tr>
|
<td style="font-size: 10pt; text-align: left; padding: 0px 0px 0px 0px;">管理号:</td>
|
<td style="font-size: 10pt; text-align: left; padding: 0px 0px 0px 0px;"></td>
|
</tr>
|
</table>
|
</td>
|
<td style="text-align: center;"><span style="font-size: 14pt;">再修理返品分析报告</span></td>
|
<td width="12%" style="text-align: right; vertical-align: bottom; font-size: 10pt;">
|
<apex:outputText value="{0, date, yyyyMMdd}">
|
<apex:param value="{!TODAY()}" />
|
</apex:outputText>
|
</td>
|
</tr>
|
</table>
|
<div style="height:2px;"></div>
|
<table width="100%" border="1" cellspacing="2" style="font-size: 8pt;">
|
<tr>
|
<td>
|
<table width="100%" border="1" cellspacing="0">
|
<tr>
|
<td colspan="4" class="title">返品信息</td>
|
<td colspan="4" class="title">本次报价检测信息</td>
|
</tr>
|
<tr>
|
<td width="10%" class="label">机型</td>
|
<td width="15%" class="middle"><c:PDFWbr targetStr="{!ra.Asset_Model_No__c}"/></td>
|
<td width="10%" class="label">机身号</td>
|
<td width="15%" class="middle">{!ra.SerialNumber__c}</td>
|
<td width="10%" class="label">受理日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.AcceptDate__c}"/></td>
|
<td width="15%" class="label">距离上次返回</td>
|
<td width="10%" class="middle">{!ra.LastDateCnt__c} 天</td>
|
</tr>
|
<tr>
|
<td class="label">SAP号</td>
|
<td colspan="3" class="middle">{!ra.SAP_Service_Repair_No__c}</td>
|
<td class="label">报价</td>
|
<td colspan="3" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c == 'A(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c <> 'A(W)'}">□</apex:outputPanel>A(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c == 'B(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c <> 'B(W)'}">□</apex:outputPanel>B(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c == 'C(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c <> 'C(W)'}">□</apex:outputPanel>C(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c == 'E( )'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank__c <> 'E( )'}">□</apex:outputPanel>E( )
|
</td>
|
</tr>
|
<tr >
|
<td class="label">医院</td>
|
<td colspan="3" class="middle">{!ra.Hospital__c}</td>
|
<td rowspan="7" class="label">报价检测确认</td>
|
<td rowspan="7" colspan="3" class="middle" style="height:161px; font-size:120%; font-weight: bold;">
|
<c:PDFWbr targetStr="{!ra.InspectionComment__c}" />
|
</td>
|
</tr>
|
<tr>
|
<td rowspan="1" class="label">故障现象</td>
|
<td rowspan="1" colspan="3" class="middle" style="height:46px; font-size:120%; font-weight: bold;">
|
<c:PDFWbr targetStr="{!ra.PhenomenonName__c}" />
|
</td>
|
</tr>
|
<tr>
|
<td class="label">使用频率</td>
|
<td colspan="3" class="middle">{!ra.Usage_Frequence__c}</td>
|
</tr>
|
<tr>
|
<td rowspan="4" class="label" style="height:69px;">清洗消毒方法</td>
|
</tr>
|
<tr>
|
<td class="label">清洗</td>
|
<td colspan="2" class="middle">{!ra.Cleanning__c}</td>
|
</tr>
|
<tr>
|
<td class="label">消毒</td>
|
<td colspan="2" class="middle">{!ra.Disinfect__c}</td>
|
</tr>
|
<tr>
|
<td class="label">灭菌</td>
|
<td colspan="2" class="middle">{!ra.Sterilization__c}</td>
|
</tr>
|
<tr>
|
<td width="10%" class="label" height="23px">报告者</td>
|
<td width="15%" class="middle">{!ra.Reporter__r.Name}</td>
|
<td width="10%" class="label">确认者</td>
|
<td width="15%" class="middle">{!ra.FSE_Confirmer__r.Name}</td>
|
<td width="10%" class="label">报告日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.Report_Date__c}"/></td>
|
<td width="10%" class="label">附图片</td>
|
<td width="15%" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.Dectect_Picture1_URL__c != null || ra.Dectect_Picture2_URL__c != null}">✔</apex:outputPanel>
|
<apex:outputPanel layout="none" rendered="{!ra.Dectect_Picture1_URL__c == null && ra.Dectect_Picture2_URL__c == null}">□</apex:outputPanel>有
|
|
<apex:outputPanel layout="none" rendered="{!ra.Dectect_Picture1_URL__c == null && ra.Dectect_Picture2_URL__c == null}">✔</apex:outputPanel>
|
<apex:outputPanel layout="none" rendered="{!ra.Dectect_Picture1_URL__c != null || ra.Dectect_Picture2_URL__c != null}">□</apex:outputPanel>无
|
</td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td colspan="6" class="title">上次修理信息</td></tr>
|
<tr>
|
<td width="10%" class="label">SAP号</td>
|
<td width="15%" class="middle">{!ra.SAP_Service_Repair_No_Last__c}</td>
|
<td width="10%" class="label">受理日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.AcceptDateLast__c}"/></td>
|
<td width="10%" class="label">报价</td>
|
<td width="40%" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'A(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'A(W)'}">□</apex:outputPanel>A(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'B(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'B(W)'}">□</apex:outputPanel>B(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'C(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'C(W)'}">□</apex:outputPanel>C(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'E( )'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'E( )'}">□</apex:outputPanel>E( )
|
</td>
|
</tr>
|
<tr>
|
<td width="10%" class="label">再修理</td>
|
<td width="15%" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.IFRepairAgain__c == '是'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.IFRepairAgain__c <> '是'}">□</apex:outputPanel>是
|
|
<apex:outputPanel layout="none" rendered="{!ra.IFRepairAgain__c == '否'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.IFRepairAgain__c <> '否'}">□</apex:outputPanel>否
|
</td>
|
<td width="10%" class="label">返还日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.Repair_Returned_Last__c}"/></td>
|
<td width="10%" class="label">修理</td>
|
<td width="40%" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'A(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'A(W)'}">□</apex:outputPanel>A(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'B(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'B(W)'}">□</apex:outputPanel>B(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'C(W)'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'C(W)'}">□</apex:outputPanel>C(W)
|
|
<apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c == 'E( )'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.Repair_Rank_Last__c <> 'E( )'}">□</apex:outputPanel>E( )
|
</td>
|
</tr>
|
<tr>
|
<td width="10%" class="label">上次故障维修信息</td>
|
<td colspan="5" class="middle" style="height:69px; font-size:120%; font-weight: bold;">
|
<c:PDFWbr targetStr="{!ra.InspectionFailureCause_Last__c}" />
|
</td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr>
|
<td colspan="8" class="title">技术检测分析(OSH医疗品质保障部填写)</td>
|
</tr>
|
<tr>
|
<td colspan="8" style="height:18px; padding-top: 0px; padding-bottom: 0px; padding-left: 10px; font-weight: bold">技术检测/分析详述</td>
|
</tr>
|
<tr>
|
<td colspan="8" class="middle" style="height:138px; border-top-color: white; font-size:120%; font-weight: bold; vertical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisOSH__c}" /></td>
|
</tr>
|
<tr>
|
<td colspan="8" style="height:18px; padding-top: 0px; padding-bottom: 0px; padding-left: 10px;">原因</td>
|
</tr>
|
<tr>
|
<td colspan="8" class="middle" style="height:69px; border-top-color: white; font-size:120%; font-weight: bold; vertical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisReasonOSH__c}" /></td>
|
</tr>
|
<tr>
|
<td class="label">结论</td>
|
<td colspan="7" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '质量原因'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '质量原因'}">□</apex:outputPanel>质量原因
|
|
<apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '非质量原因'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '非质量原因'}">□</apex:outputPanel>非质量原因
|
|
<apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c == '故障未再现'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.JudgementOSH__c <> '故障未再现'}">□</apex:outputPanel>故障未再现
|
</td>
|
</tr>
|
<tr>
|
<td class="label">技术对应</td>
|
<td colspan="7" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '无偿维修'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '无偿维修'}">□</apex:outputPanel>无偿维修
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '有偿维修'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '有偿维修'}">□</apex:outputPanel>有偿维修
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '送回'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '送回'}">□</apex:outputPanel>送回
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c == '继续观察'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOSH__c <> '继续观察'}">□</apex:outputPanel>继续观察
|
</td>
|
</tr>
|
<tr>
|
<td width="10%" class="label">检测者</td>
|
<td width="15%" class="middle">{!ra.OSH_Detector__r.Name}</td>
|
<td width="10%" class="label">确认者</td>
|
<td width="15%" class="middle">{!ra.OSH_Confirmer__r.Name}</td>
|
<td width="10%" class="label">确认日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.OSH_Confirmation_Date__c}"/></td>
|
<td width="10%" class="label">附图片</td>
|
<td width="15%" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c != null || ra.OSH_Dectect_Picture2_URL__c != null || ra.OSH_Dectect_Picture3_URL__c != null || ra.OSH_Dectect_Picture4_URL__c != null}">✔</apex:outputPanel>
|
<apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c == null && ra.OSH_Dectect_Picture2_URL__c == null && ra.OSH_Dectect_Picture3_URL__c == null && ra.OSH_Dectect_Picture4_URL__c == null}">□</apex:outputPanel>有
|
|
<apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c == null && ra.OSH_Dectect_Picture2_URL__c == null && ra.OSH_Dectect_Picture3_URL__c == null && ra.OSH_Dectect_Picture4_URL__c == null}">✔</apex:outputPanel>
|
<apex:outputPanel layout="none" rendered="{!ra.OSH_Dectect_Picture1_URL__c != null || ra.OSH_Dectect_Picture2_URL__c != null || ra.OSH_Dectect_Picture3_URL__c != null || ra.OSH_Dectect_Picture4_URL__c != null}">□</apex:outputPanel>无
|
</td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr>
|
<td colspan="6" class="title">客户对应(OCM服务本部填写)</td>
|
</tr>
|
<tr>
|
<td colspan="6" class="middle" style="height:92px; border-top-color: white; font-size:120%; font-weight: bold; vertical-align: top;"><c:PDFWbr targetStr="{!ra.AnalysisOCM__c}" /></td>
|
</tr>
|
<tr>
|
<td class="label">客户对应</td>
|
<td colspan="5" class="label">
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c == '无偿维修'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c <> '无偿维修'}">□</apex:outputPanel>无偿维修
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c == '有偿维修'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c <> '有偿维修'}">□</apex:outputPanel>有偿维修
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c == '送回'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c <> '送回'}">□</apex:outputPanel>送回
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c == '继续观察'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c <> '继续观察'}">□</apex:outputPanel>继续观察
|
|
<apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c == '特别对应'}">✔</apex:outputPanel><apex:outputPanel layout="none" rendered="{!ra.ActionOCM__c <> '特别对应'}">□</apex:outputPanel>特别对应
|
</td>
|
</tr>
|
<tr>
|
<td width="10%" class="label" height="23px">技术担当</td>
|
<td width="15%" class="middle">{!ra.Technical_Responsibility__r.Name}</td>
|
<td width="10%" class="label">确认者</td>
|
<td width="15%" class="middle">{!ra.OCM_Confirmer__r.Name}</td>
|
<td width="10%" class="label">确认日</td>
|
<td width="40%" class="middle"><apex:outputField value="{!ra.OCM_Confirmation_Date__c}"/></td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
</table>
|
<!-- 在元素后插入分页符 -->
|
<div style="page-break-after: always;"></div>
|
<table width="100%" border="0">
|
<tr>
|
<td width="15%">
|
<table width="100%" border="1" cellspacing="0" style="border-color: red;">
|
<tr><td colspan="2" style="font-size: 6px; font-weight: bold; color: red; text-align: center; padding: 0px 0px 0px 0px;">OLYMPUS</td></tr>
|
<tr>
|
<td style="font-size: 7px; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;" width="80%" >CONFIDENTIAL</td>
|
<td style="font-size: 7px; color: red; text-align: center; padding: 0px 0px 0px 0px; border-color: red;">㊙</td>
|
</tr>
|
</table>
|
|
</td>
|
<td style="text-align: center;"><span style="font-size: 14pt;">再修理返品分析报告</span></td>
|
<td width="12%" style="text-align: right; vertical-align: bottom; font-size: 10pt;">
|
<table width="100%" cellspacing="0">
|
<tr>
|
<td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;">管理号:</td>
|
<td style="font-size: 10px; text-align: left; padding: 0px 0px 0px 0px;"></td>
|
</tr>
|
</table>
|
</td>
|
</tr>
|
</table>
|
<div style="height:3px;"></div>
|
<table width="100%" border="1" cellspacing="2" style="font-size: 8pt;">
|
<tr>
|
<td width="10%" class="label" height="23px">机型</td>
|
<td width="15%" class="middle"><c:PDFWbr targetStr="{!ra.Asset_Model_No__c}"/></td>
|
<td width="10%" class="label">机身号</td>
|
<td width="15%" class="middle">{!ra.SerialNumber__c}</td>
|
<td width="10%" class="label">受理日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.AcceptDate__c}"/></td>
|
<td width="10%" class="label">报告日</td>
|
<td width="15%" class="middle"><apex:outputField value="{!ra.Report_Date__c}"/></td>
|
</tr>
|
<tr>
|
<td colspan="8" style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td class="title">本次报价检测图片</td></tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="4" style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.Dectect_Picture1_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.Dectect_Picture1_URL__c))}" /></td></tr>
|
<tr><td style="height:40px;"></td></tr>
|
</table>
|
</td>
|
<td colspan="4" style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.Dectect_Picture2_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.Dectect_Picture2_URL__c))}" /></td></tr>
|
<tr><td style="height:40px;"></td></tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="8" style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td class="title">OSH医疗品质保障部技术检测图片</td></tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="4" style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture1_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture1_URL__c))}" /></td></tr>
|
<tr><td style="height:40px;"></td></tr>
|
</table>
|
</td>
|
<td colspan="4" style="border-left-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture2_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture2_URL__c))}" /></td></tr>
|
<tr><td style="height:40px;"></td></tr>
|
</table>
|
</td>
|
</tr>
|
<tr>
|
<td colspan="4" style="border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture3_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture3_URL__c))}" /></td></tr>
|
<tr><td style="height:40px;"></td></tr>
|
</table>
|
</td>
|
<td colspan="4" style="border-left-color: white; border-top-color: white;">
|
<table width="100%" border="1" cellspacing="0">
|
<tr><td style="height:250px; text-align: center;"><apex:image value="{!ra.OSH_Dectect_Picture4_URL__c}" height="90%" width="80%" rendered="{!NOT(ISBLANK(ra.OSH_Dectect_Picture4_URL__c))}" /></td></tr>
|
<tr><td style="height:40px;"></td></tr>
|
</table>
|
</td>
|
</tr>
|
</table>
|
</body>
|
|
</html>
|
</apex:page>
|