From 1312ba82d4c880bdb5357d28e0d4af5b285f610f Mon Sep 17 00:00:00 2001 From: 高章伟 <gaozhangwei@prec-tech.com> Date: 星期四, 10 三月 2022 15:54:39 +0800 Subject: [PATCH] 最近一月修改内容 --- force-app/main/default/pages/EquipmentSetShippmentReceived2.page | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/force-app/main/default/pages/EquipmentSetShippmentReceived2.page b/force-app/main/default/pages/EquipmentSetShippmentReceived2.page index 1c8c51a..8644d9e 100644 --- a/force-app/main/default/pages/EquipmentSetShippmentReceived2.page +++ b/force-app/main/default/pages/EquipmentSetShippmentReceived2.page @@ -310,6 +310,29 @@ <span><apex:outputField id="inspectionResultNg1" value="{!esdInfo.rec.Inspection_result_NG__c}" style="margin:3px;width:75px;"/></span> </apex:outputPanel> </li> + + <li style="{!IF(esdInfo.rec.Inspection_result_NG__c='缁翠慨','','display: none;')}"> + <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Pre_NG_abord_reason__c.label}锛�</span> + <apex:outputPanel layout="none" rendered="{!AND(esdInfo.editable,esdInfo.rec.Inspection_result_NG__c='缁翠慨')}"> + <span> + <apex:inputField id="inspectionResultNG2" value="{!esdInfo.rec.Pre_NG_abord_reason__c}" style="margin:3px;width:90%;float:left;"/> + </span> + <script> + disabledShowNG() { + var inspection_result_NG = '{!esdInfo.rec.Inspection_result_NG__c}'; + if(inspection_result_NG != '搴熷純'){ + j$(escapeVfId('allPage:allForm:esdList:' + ('{!indexloop}' - 1) + ':inspectionResultNG2')).prop("disabled", true); + } + } + </script> + </apex:outputPanel> + <apex:outputPanel layout="none" rendered="{!AND(NOT(esdInfo.editable),esdInfo.rec.Inspection_result_NG__c='缁翠慨')}"> + <span> + <apex:outputField value="{!esdInfo.rec.Inspection_NG_abord_reason__c}" style="margin:3px;width:90%;float:left;"></apex:outputField> + </span> + </apex:outputPanel> + </li> + <li style="{!IF(esdInfo.quickCheck, 'background:#BBFF66;', '')}"> <span>{!$ObjectType.Rental_Apply_Equipment_Set_Detail__c.fields.Pre_Inspection_Comment__c.label}锛� </span> <apex:outputPanel layout="none" rendered="{!(esdInfo.editable)}"> -- Gitblit v1.9.1