| | |
| | | //全选功能 |
| | | function checkAll() { |
| | | var cnt = j$(escapeVfId('raCnt')).val(); |
| | | if (j$(escapeVfId('Page:Form:Block:j_id53:checkAll')).attr('checked') == 'checked') { |
| | | if (j$(escapeVfId('Page:allForm:allBlock:j_id56:checkAll')).attr('checked') == 'checked') { |
| | | for (var i = 0; i < cnt; i++) { |
| | | j$(escapeVfId('Page:Form:Block:j_id53:records:' + i + ':checklist')).attr('checked',true); |
| | | j$(escapeVfId('Page:allForm:allBlock:j_id56:records:' + i + ':checklist')).attr('checked',true); |
| | | } |
| | | } else { |
| | | for (var i = 0; i < cnt; i++) { |
| | | j$(escapeVfId('Page:Form:Block:j_id53:records:' + i + ':checklist')).attr('checked',false); |
| | | j$(escapeVfId('Page:allForm:allBlock:j_id56:records:' + i + ':checklist')).attr('checked',false); |
| | | } |
| | | } |
| | | } |
| | |
| | | <apex:pageBlock title="检索列" id="Editable"> |
| | | <table> |
| | | <tr><td style="text-align: left;padding-right: 100px;"> </td></tr> |
| | | <apex:repeat value="{!RevalInfoList}" var="reval" id="RevalInfoList"> |
| | | <tr> |
| | | <!-- <td style="text-align: left;padding-right: 100px;"> </td> --> |
| | | <td style="text-align: right; width:200px;"> |
| | | <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="状态2"/> |
| | | </td> |
| | | <td style="text-align: left;"> |
| | | <apex:inputText id="Status2" value="{!reval.Status2}"/> |
| | | <apex:inputText id="Status2" value="{!RevalInfo.Status2}"/> |
| | | </td> |
| | | <td style="text-align: right; width:200px;"> |
| | | <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="RS修理单号"/> |
| | | </td> |
| | | <td style="text-align: left;"> |
| | | <apex:inputText id="RepairName" value="{!reval.RepairName}"/> |
| | | <apex:inputText id="RepairName" value="{!RevalInfo.RepairName}"/> |
| | | </td> |
| | | <td style="text-align: right; width:150px;"> |
| | | <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="SAP修理单号"/> |
| | | </td> |
| | | <td style="text-align: left;padding-right: 100px;"> |
| | | <apex:inputText id="SAPRepairNo" value="{!reval.SAPRepairNo}"/> |
| | | <apex:inputText id="SAPRepairNo" value="{!RevalInfo.SAPRepairNo}"/> |
| | | </td> |
| | | </tr> |
| | | <tr><td style="text-align: left;padding-right: 100px;"> </td></tr> |
| | |
| | | <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="机身编码"/> |
| | | </td> |
| | | <td style="text-align: left;"> |
| | | <apex:inputText id="SerialNumber" value="{!reval.SerialNumber}"/> |
| | | <apex:inputText id="SerialNumber" value="{!RevalInfo.SerialNumber}"/> |
| | | </td> |
| | | <td style="text-align: right; width:200px;"> |
| | | <apex:outputLabel style="font-weight: bold; " value="修理委托者"/> |
| | | </td> |
| | | <td style="text-align: left;"> |
| | | <apex:inputField id="InchargeStaffName" value="{!reval.repair.Incharge_Staff__c}"/> |
| | | <apex:inputField id="InchargeStaffName" value="{!RevalInfo.repair.Incharge_Staff__c}"/> |
| | | </td> |
| | | <td style="text-align: right; width:150px;"> |
| | | <apex:outputLabel style="font-weight: bold; padding-right: 5px;" value="FSE申请日"/> |
| | | </td> |
| | | <td style="text-align: left;padding-right: 80px;"> |
| | | <apex:inputField id="FSE_ApplyForRepair_Day" value="{!reval.repair.Final_complete_day__c}"/> |
| | | <apex:inputField id="FSE_ApplyForRepair_Day" value="{!RevalInfo.repair.Final_complete_day__c}"/> |
| | | </td> |
| | | </tr> |
| | | </apex:repeat> |
| | | <tr><td style="text-align: left;padding-right: 100px;"> </td></tr> |
| | | <tr> |
| | | <td style="text-align: center;" colspan="6"> |
| | |
| | | <th style="text-align:left; width:6%">状态1</th> |
| | | <th style="text-align:left; width:6%">状态2</th> |
| | | <th style="text-align:left; width:7%">RS修理单号</th> |
| | | <th style="text-align:left; width:10%">SAP修理单号</th> |
| | | <th style="text-align:left; width:8%">SAP修理单号</th> |
| | | <th style="text-align:left; width:10%">型号</th> |
| | | <th style="text-align:left; width:5%">机身编号</th> |
| | | <th style="text-align:left; width:8%">医院名称</th> |
| | | <th style="text-align:left; width:9%">医院名称</th> |
| | | <th style="text-align:left; width:5%">省份</th> |
| | | <th style="text-align:left; width:5%">修理委托者</th> |
| | | <th style="text-align:left; width:8%">FSE申请日期</th> |
| | | <th style="text-align:left; width:5%">维修中心</th> |
| | | <th style="text-align:left; width:6%">维修中心</th> |
| | | <th style="text-align:left; width:5%">服务方式</th> |
| | | <th style="text-align:left; width:8%">有无维修合同对象</th> |
| | | <th style="text-align:left; width:8%">无偿区别标志</th> |
| | |
| | | <td align="left" width="7%"> |
| | | <apex:outputField id="OTCode" value="{!ra.repair.Name}"/> |
| | | </td> |
| | | <td align="left" width="10%"> |
| | | <td align="left" width="8%"> |
| | | <apex:outputField id="SAP_Service_Repair_No" value="{!ra.repair.SAP_Service_Repair_No__c}"/> |
| | | </td> |
| | | <td align="left" width="10%"> |
| | | <apex:outputField id="Delivered_Product" value="{!ra.repair.Delivered_Product__c}"/> |
| | | </td> |
| | | <td align="left" width="5%"> |
| | | <td align="left" width="5%" style="word-wrap:break-word;word-break:break-all;"> |
| | | <apex:outputField id="SerialNumber" value="{!ra.repair.SerialNumber__c}"/> |
| | | </td> |
| | | <td align="left" width="8%"> |
| | | <td align="left" width="9%"> |
| | | <apex:outputField id="HP_Name" value="{!ra.repair.HP_Name__c}"/> |
| | | </td> |
| | | <td align="left" width="5%"> |
| | |
| | | <td align="left" width="8%"> |
| | | <apex:outputField id="FSE_ApplyForRepair_Day" value="{!ra.repair.FSE_ApplyForRepair_Day__c}"/> |
| | | </td> |
| | | <td align="left" width="5%"> |
| | | <td align="left" width="6%"> |
| | | <apex:outputField id="work_location_select" value="{!ra.repair.work_location_select__c}"/> |
| | | </td> |
| | | <td align="left" width="5%"> |