| | |
| | | <protected>false</protected> |
| | | <url>{!REQUIRESCRIPT("/soap/ajax/51.0/connection.js")}; |
| | | {!REQUIRESCRIPT("/soap/ajax/51.0/apex.js")}; |
| | | //2021-10-22 gwy 版本更改为51.0 |
| | | var foo = function() { |
| | | var agoppId ='{!Agency_Opportunity__c.Id}'; |
| | | if ('{!$Profile.Id}' != '00e10000000xnp2') { |
| | |
| | | alert("询价已经确认,不需要重复确认。"); |
| | | return; |
| | | } |
| | | //wangweipeng SWAG-C8CCFP 2021/11/02 start |
| | | //未转换原因 字段不能为空,如果为空,此按钮不能把营业担当确认字段设置未true |
| | | /*if('{!Agency_Opportunity__c.No_Convert_Reason__c}' == null || '{!Agency_Opportunity__c.No_Convert_Reason__c}' == ''){ |
| | | alert('必须填写【未转换原因】,才能进行担当确认!'); |
| | | return; |
| | | }*/ |
| | | //wangweipeng SWAG-C8CCFP 2021/11/02 end |
| | | if (!confirm("请确认是否进行担当确认?")) { |
| | | return; |
| | | } |