| | |
| | | strPage = '/apex/Xin_SearchVisitorPlace?r=' + encodeURI(ros); |
| | | options = {minchars:3, minwords:2, resultsClass:'visitorplace_results'}; |
| | | } |
| | | |
| | | else if(vl == '販売店'){ |
| | | strPage = '/apex/Xin_SearchVisitorPlace_Sales?r=' + encodeURI(ros) + '&d=' + j$(escapeVfId('Page:mainForm:idDayEdit:idReportDate')).value(); |
| | | options = {minchars:3, minwords:2, resultsClass:'visitorplace_results'}; |
| | |
| | | else {} |
| | | jQuery(escapeVfId(str)).unbind(); |
| | | if (strPage != null) { |
| | | |
| | | jQuery(escapeVfId(str)).suggest(strPage,options); |
| | | |
| | | } |
| | | }catch(e){ |
| | | alert(e); |
| | |
| | | |
| | | <th>{!$Label.Classification_Visited}</th> |
| | | <td> </td> |
| | | <td><span><div class="requiredInput"><div class="requiredBlock"></div><apex:inputField id="idVisitorDiv" value="{!a.act.Activity_Type2__c}" > |
| | | <td><span><div class="requiredInput"><div class="requiredBlock"></div> |
| | | <apex:inputField id="idVisitorDiv" value="{!a.act.Activity_Type2__c}" > |
| | | <apex:actionSupport event="onchange" onsubmit="blockme();vpClear1({!a.index}); return false;"/> |
| | | <apex:actionSupport event="onclick" onsubmit="vpChack({!a.index});return false;" /> |
| | | <!-- <apex:actionSupport event="onfocus" onsubmit="vpChack({!a.index});return false;" />--> |
| | |
| | | </div></span><apex:inputField id="idVisitorDivBefore" value="{!a.act.Activity_Type2_Before__c}" style="display:none"></apex:inputField></td> |
| | | |
| | | |
| | | <td> </td> |
| | | <td> </td> |
| | | <th><apex:outputLabel value="{!$Label.Visit_Location}" onclick="openVisitorPlace({!a.index});" /></th> |
| | | <td> </td> |
| | | <td colspan="7"><apex:inputField id="idVisitorPlace" value="{!a.act.Location__c}" onblur="vpClear2_delay({!a.index});" onfocus="setVisitorPlace({!a.index});" style="width:97%" /> |
| | | <td colspan="7"> |
| | | <apex:inputField id="idVisitorPlace" value="{!a.act.Location__c}" onblur="vpClear2_delay({!a.index});" onfocus="setVisitorPlace({!a.index});" style="width:97%" /> |
| | | <apex:inputText id="idVisitorPlace2" value="{!a.act.Visitor_Place_Free__c}" style="width:97%; display:none" /> |
| | | <apex:inputHidden id="idVisitorPlaceId" value="{!a.act.whatid__c}" /> |
| | | <apex:inputHidden id="idVisitorPlaceHidden" value="{!a.act.Location__c}" /> |