<apex:page Controller="TydelikeConController" sidebar="false" action="{!init}" id="Page">
|
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
|
<apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}"/>
|
<script>
|
function saveJs() {
|
/*var MobilePhoneD = j$(escapeVfId('Page:mainForm:saamvoegCon:' + ':con_CursoCode')).value();
|
if (MobilePhoneD == '') {
|
alert('手机号码不能为空');
|
}else{*/
|
blockme();
|
save();
|
/*}*/
|
|
}
|
function cancelJs() {
|
var baseUrl = '{!baseUrl}';
|
url =baseUrl + '/apex/TydelikeAC';
|
window.top.location.href = url;
|
}
|
</script>
|
|
<apex:form id="mainForm">
|
<apex:actionFunction action="{!save}" name="save" reRender="mainForm,message" oncomplete="unblockUI();"/>
|
|
<apex:outputPanel id="message">
|
<apex:messages styleClass="editListError"/>
|
</apex:outputPanel>
|
<apex:inputHidden id="baseUrl" value="{!baseUrl}"/>
|
|
<apex:pageBlock id="saamvoegCon" title="合并联系人" tabStyle="Contact">
|
<apex:pageBlockButtons location="top">
|
<apex:commandButton style="width:50px" value="保存" onclick="saveJs(); return false;"/>
|
<apex:commandButton style="width:50px" value="取消" onclick="cancelJs(); return false;"/>
|
</apex:pageBlockButtons>
|
|
<apex:pageBlockSection title="联系人信息" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="客户名" for="con_accName"/>
|
<apex:inputField value="{!con.AccountId}" id="con_accName" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="科室" for="con_Account"/>
|
<apex:inputField value="{!con.Department}" id="con_Account"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="手机." for="con_CurrencyIsoCode"/>
|
<apex:inputField value="{!con.MobilePhoneD__c}" id="con_CursoCode" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="职务." for="con_Type"/>
|
<apex:inputField value="{!con.TitleD__c}" id="con_Type"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="电话." for="con_BudgetAmount"/>
|
<apex:inputField value="{!con.PhoneD__c}" id="con_BudgetAmount"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="称谓" for="con_Amount1"/>
|
<apex:inputField value="{!con.Salutation}" id="con_Amount1"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="传真." for="con_Amount"/>
|
<apex:inputField value="{!con.FaxD__c}" id="con_Amount"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="姓氏" for="con_DealerSelectOwner1"/>
|
<apex:inputField value="{!con.lastname}" id="con_DealerSelectOwner1" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="其他电话." for="compo_con2"/>
|
<apex:inputField value="{!con.OtherPhoneD__c}" id="compo_con2"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="名字" for="con_DealerSelectOwner"/>
|
<apex:inputField value="{!con.firstname}" id="con_DealerSelectOwner"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="电子邮件." for="compo_con1"/>
|
<apex:inputField value="{!con.EmailD__c}" id="compo_con1"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="英文名" for="co123o_con1"/>
|
<apex:inputField value="{!con.ContactEnglishName__c}" id="yingwen_con1"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="地址信息" columns="1">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="邮政编码." for="con_ExpectedOrderDate"/>
|
<apex:inputField value="{!con.PostcodeD__c}" id="con_ExpectedOrderDate" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址1." for="con_ExpectedDeiveryDae"/>
|
<apex:inputField value="{!con.Address1D__c}" id="cn_xpectedeliveryDate" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址2(其他地址)." for="con_ExpectedDeliverate"/>
|
<apex:inputField value="{!con.Address2D__c}" id="con_ExpectedliveryDate"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址3(其他地址)." for="con_ExpecteDeliveryDate"/>
|
<apex:inputField value="{!con.Address3D__c}" id="con_ExpectedDeliveryate"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="英文地址" for="con_yingeliveryDate"/>
|
<apex:inputField value="{!con.EnglishAddress__c}" id="con_eliveryDate"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="产品部分" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="BS" for="con_LeadSource"/>
|
<apex:inputField value="{!con.ProductSegmentBS__c}" id="con_LeadSource" />
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="RVI" for="con_TradeType"/>
|
<apex:inputField value="{!con.ProductSegmentRVI__c}" id="con_TradeType" />
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="IE" for="con_SalesChannel"/>
|
<apex:inputField value="{!con.ProductSegmentIE__c}" id="con_SalesChannel" />
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="NDT" for="con_SalesChannel"/>
|
<apex:inputField value="{!con.ProductSegmentNDT__c}" id="con_SalesChannel" />
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="ANI" for="con_SalesChannel"/>
|
<apex:inputField value="{!con.ProductSegmentANI__c}" id="con_SalesChannel" />
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="系统信息" columns="1">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="审批状态."/>
|
<apex:outputField value="{!con.StatusD__c}" id="con_CompetitorProduct"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="状态" for="con_CompetitorProductCode"/>
|
<apex:inputField value="{!con.ContactStatus__c}" id="con_CompetitorProductCode" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="取消原因." for="con_CompetitorProduct2"/>
|
<apex:inputField value="{!con.CancelReasonD__c}" id="con_CompetitorProduct2"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="备注" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="备注" for="con_Remark"/>
|
<apex:inputField value="{!con.Remark__c}" id="con_Remark" style="width: 75%;"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
</apex:pageBlock>
|
</apex:form>
|
</apex:page>
|