| | |
| | | <apex:page standardController="PAE_DecisionRecord__c" extensions="RepPAEDecisionRecordController" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="PAE判定记录"> |
| | | <apex:page standardController="PAE_DecisionRecord__c" extensions="RepPAEDecisionRecordController" showHeader="false" sidebar="false" id="allPage" action="{!init}" title="PAE判定记录" lightningStylesheets="true"> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/> |
| | |
| | | blockme(); |
| | | InsertMoreRows(productIdx); |
| | | |
| | | } |
| | | var selectedSize = 0; |
| | | var pageLimit = {!pageLimit}; |
| | | function CheckSize(j){ |
| | | var a = j.id; |
| | | var productCount = j$(escapeVfId(a)).attr('checked'); |
| | | if (productCount == 'checked') { |
| | | if(selectedSize >= pageLimit){ |
| | | window.alert("页面所选数据不能超过500条"); |
| | | j$(escapeVfId(a)).attr('checked',false); |
| | | return; |
| | | } |
| | | selectedSize ++; |
| | | } else { |
| | | selectedSize --; |
| | | } |
| | | //alert(selectedSize); |
| | | } |
| | | // 2021-12-08 zxk 精琢科技 手动赋值逻辑 start |
| | | function checkBoxTf() { |
| | |
| | | <apex:pageBlock title="{!IF(RecordTypeName = 'ASRCDecision' , 'Intake universal code 编辑画面', 'Final universal code 编辑画面')}" id="unEditable" rendered="{!editAble}"> |
| | | <table cellspacing="10"> |
| | | <colgroup> |
| | | <col width="7%"/> |
| | | <col width="10%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="7%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="5%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <col width="15%"/> |
| | | <apex:outputPanel layout="none" rendered="{!IF(RecordTypeName = 'ASACDecision' , true, false)}"> |
| | | <col width="15%"/> |
| | | <col width="10%"/> |
| | | <col width="15%"/> |
| | | </apex:outputPanel> |
| | | </colgroup> |
| | | <tr> |
| | |
| | | <!-- 2020/07/28 taoqz end --> |
| | | <apex:outputPanel layout="none" rendered="{!IF(RecordTypeName = 'ASRCDecision' , true, false)}"> |
| | | <!-- <th>AS-RC</th> --> |
| | | <td align="right" > {!$ObjectType.Report__c.fields.Repair_ConfirmationDate__c.label}:</td> |
| | | <td ><span> {!$ObjectType.Report__c.fields.Repair_ConfirmationDate__c.label}:</span></td> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel layout="none" rendered="{!IF(RecordTypeName = 'ASACDecision' , true, false)}"> |
| | | <td align="right" > {!$ObjectType.Report__c.fields.OCSM_RC_CordingDate__c.label}:</td> |
| | | <td align="right"> {!$ObjectType.Report__c.fields.OCSM_RC_CordingDate__c.label}:</td> |
| | | </apex:outputPanel> |
| | | <td align="left" ><apex:outputField value="{!rdRecord.PAE_ConfirmationDate__c}"/></td> |
| | | <apex:outputPanel layout="none" rendered="{!IF(RecordTypeName = 'ASRCDecision' , true, false)}"> |
| | |
| | | <apex:commandButton rendered="{!IF((OCSM_QARA == '1' && RecordTypeName = 'ASRCDecision' && repa != null) || (RecordTypeName = 'ASRCDecision' && ReportId != null),true,false)}" value="确定并关闭" disabled="{!editFlag}" style="margin-left:30px;width:100px;float:right" onclick="SaveAndCloses(2);return false;" rerender="unEditable,message" oncomplete="unblockUI();" /> |
| | | |
| | | <!-- update by rentx 2020-10-26 start --> |
| | | <apex:commandButton value="插入行" disabled="{!IF((RecordTypeName = 'ASRCDecision' && OCSM_QARA = '0') && ((RecordTypeName='ASACDecision'&&OCSM_Cording='0')||(editFlag)),true,false)}" style="margin-left:30px;width:60px;float:right" onclick="InsertRows();return false;" rerender="unEditable,message" oncomplete="unblockUI();"/> |
| | | <apex:commandButton value="取消行" disabled="{!IF((RecordTypeName = 'ASRCDecision' && OCSM_QARA = '0') && ((RecordTypeName='ASACDecision'&&OCSM_Cording='0')||(editFlag)),true,false)}" style="margin-left:30px;width:60px;float:right" onclick="SaveAndCloses(3);return false;" rerender="unEditable,message" oncomplete="unblockUI();"/> |
| | | <apex:commandButton value="插入行" disabled="{!IF((RecordTypeName = 'ASRCDecision' && OCSM_QARA = '0') && ((RecordTypeName='ASACDecision'&&OCSM_Cording='0')||(editFlag)),true,false)}" style="margin-left:30px;width:100px;float:right" onclick="InsertRows();return false;" rerender="unEditable,message" oncomplete="unblockUI();"/> |
| | | <apex:commandButton value="取消行" disabled="{!IF((RecordTypeName = 'ASRCDecision' && OCSM_QARA = '0') && ((RecordTypeName='ASACDecision'&&OCSM_Cording='0')||(editFlag)),true,false)}" style="margin-left:30px;width:100px;float:right" onclick="SaveAndCloses(3);return false;" rerender="unEditable,message" oncomplete="unblockUI();"/> |
| | | <!-- update by rentx 2020-10-26 end --> |
| | | |
| | | </td> |
| | |
| | | </table> |
| | | </apex:outputPanel> |
| | | <apex:outputPanel layout="none" rendered="{!IF(RecordTypeName = 'ASACDecision'&& rdRecord.PAE_reappear_confirm__c = '未确认',true , false)}"> |
| | | <p style="text-align: right;padding-bottom: 10px;width:100%;font-weight: 800;">再现结果未确认,请点击Intake universal code 编辑 按钮前去确认</p> |
| | | <p style="text-align: center;padding-bottom: 10px;width:100%;font-weight: 800;">再现结果未确认,请点击Intake universal code 编辑 按钮前去确认</p> |
| | | </apex:outputPanel> |
| | | |
| | | <apex:outputPanel id="message"> |