| | |
| | | <url>if ("{!Maintenance_Contract__c.Status__c}" != "引合中") { |
| | | alert("维修合同不是询价中的状态,不能新建报价"); |
| | | } else { |
| | | if("{!Maintenance_Contract__c.RecordTypeId}" == "012C600000003Iv"){ |
| | | if("{!Maintenance_Contract__c.RecordTypeId}" == "01210000000gTYq"){ |
| | | window.open( "/apex/SelectAssetEstimateVM?mcid={!URLENCODE(Maintenance_Contract__c.Id)}", "_top"); |
| | | }else{ |
| | | window.open( "/apex/SelectAssetEstimate?mcid={!URLENCODE(Maintenance_Contract__c.Id)}", "_top"); |