binxie
2024-01-22 102afa21c115e8c8b9333a326c3d1af08fe76faf
force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomNew.webLink-meta.xml
@@ -11,7 +11,7 @@
    <url>if (&quot;{!Maintenance_Contract__c.Status__c}&quot; != &quot;引合中&quot;) {
    alert(&quot;维修合同不是询价中的状态,不能新建报价&quot;);
} else {
    if(&quot;{!Maintenance_Contract__c.RecordTypeId}&quot;  == &quot;012C600000003Iv&quot;){
    if(&quot;{!Maintenance_Contract__c.RecordTypeId}&quot;  == &quot;01210000000gTYq&quot;){
        window.open( &quot;/apex/SelectAssetEstimateVM?mcid={!URLENCODE(Maintenance_Contract__c.Id)}&quot;, &quot;_top&quot;);
    }else{
        window.open( &quot;/apex/SelectAssetEstimate?mcid={!URLENCODE(Maintenance_Contract__c.Id)}&quot;, &quot;_top&quot;);