| | |
| | | alert('不需要理由不能为空'); |
| | | return; |
| | | } |
| | | if (chance.trim() == '' || chance.trim() == null) { |
| | | alert('不需要理由不能为空'); |
| | | return; |
| | | } |
| | | if ((chance == '已经有询价') && (name1.trim() == null || name1.trim() == "")) { |
| | | alert('已有询价名称不能为空'); |
| | | return; |
| | |
| | | <br /> |
| | | <apex:inputField id="name1" value="{!Inquiryform.Opp_Name_Search__c}" style="width: 150px"/> |
| | | </apex:pageBlockSection> |
| | | <apex:pageblockbuttons > |
| | | <apex:pageblockbuttons location="bottom"> |
| | | <apex:commandbutton onclick="save();return false;" value="保存"></apex:commandbutton> |
| | | </apex:pageblockbuttons> |
| | | </apex:pageBlock> |