force-app/main/default/pages/OpportunityCheckSAPLink.page
@@ -1,4 +1,4 @@ <apex:page standardController="Opportunity" sidebar="false" showHeader="false" > <apex:page standardController="Opportunity" sidebar="false" showHeader="false" lightningStylesheets="true"> <script type="text/javascript"> if ('{!Opportunity.StageName}' == "注残" && '{!Opportunity.SAP_Send_OK__c}' == 'false') { alert("没有SAP上传(WIN) 却是[注残], 请确认[状态1]");