<apex:page Controller="TydelikeAccController" 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() {
|
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="acc_accName"/>
|
<apex:inputField value="{!acc.FacilityNameD__c}" id="acc_accName" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="SAP编码" for="acc_Account"/>
|
<apex:outputField value="{!acc.ManagementCode_Ext__c}" id="acc_Account"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="英文名称." for="acc_CurrencyIsoCode"/>
|
<apex:inputField value="{!acc.EnglishNameD__c}" id="acc_CurrencyIsoCode"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="部门名称." for="acc_Type"/>
|
<apex:inputField value="{!acc.DivisionName_D__c}" id="acc_Type2" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="科室." for="acc_BudgetAmount"/>
|
<apex:inputField value="{!acc.DepartmentNameD__c}" id="acc_BudgetAmount" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="OCSM 服务担当姓名" for="acc_Amount1"/>
|
<apex:inputField value="{!acc.OCNServiceStaff__c}" id="acc_Amount1"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="全球客户名称 " for="acc_Amount"/>
|
<apex:inputField value="{!acc.GlobalAccountName__c}" id="acc_Amount"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="审批人" for="acc_DealerSelectOwner1"/>
|
<apex:inputField value="{!acc.DealerSelectOwner__c}" id="acc_DealerSelectOwner1" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="是否为OEM客户" for="compo_acc2"/>
|
<apex:inputField value="{!acc.Whether_OEM__c}" id="compo_acc2"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="客户地址信息" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="省" for="acc_accName"/>
|
<apex:inputField value="{!acc.Province__c}" id="acc_accName" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="邮编." for="acc_Account"/>
|
<apex:inputField value="{!acc.PostCodeD__c}" id="acc_Account"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="城市." for="acc_CurrencyIsoCode"/>
|
<apex:inputField value="{!acc.CityD__c}" id="acc_CurrencyIsoCode" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="电话." for="acc_Type"/>
|
<apex:inputField value="{!acc.PhoneD__c}" id="acc_Type"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址1." for="acc_BudgetAmount"/>
|
<apex:inputField value="{!acc.Address1D__c}" id="acc_BudgetAmount" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="传真." for="acc_Amount1"/>
|
<apex:inputField value="{!acc.FaxD__c}" id="acc_Amount1"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="网址." for="acc_Amount"/>
|
<apex:inputField value="{!acc.WebsiteD__c}" id="acc_Amount"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="客户附加信息" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="用户属性" for="acc_accName"/>
|
<apex:inputField value="{!acc.UserType__c}" id="acc_accName" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="关键客户" for="acc_Account"/>
|
<apex:inputField value="{!acc.KeyAccount__c}" id="acc_Account"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="产品分类" for="acc_CurrencyIsoCode"/>
|
<apex:inputField value="{!acc.ProductSegment__c}" id="acc_CurrencyIsoCode" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="出口限制用户" for="acc_Type"/>
|
<apex:inputField value="{!acc.ExportRegulatedCustomer__c}" id="acc_Type"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="市场分类." for="acc_BudgetAmount"/>
|
<apex:inputField value="{!acc.MarketVerticalsD__c}" id="acc_BudgetAmount" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="用途." for="acc_Amount1"/>
|
<apex:inputField value="{!acc.UseD__c}" id="acc_Amount1" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="行业1." for="acc_Amount"/>
|
<apex:inputField value="{!acc.IndustryBD__c}" id="acc_Amount" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Sub Use." for="acc_Amount"/>
|
<apex:outputField value="{!acc.Sub_UseD__c}" id="acc_Amount"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="客户保有BS产品" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Leica." for="acc_accName"/>
|
<apex:inputField value="{!acc.AssetBS3D__c}" id="acc_accName"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Nikon." for="acc_Account"/>
|
<apex:inputField value="{!acc.AssetBS2D__c}" id="acc_Account"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="OLYMPUS." for="acc_CurrencyIsoCode"/>
|
<apex:inputField value="{!acc.AssetBS1D__c}" id="acc_CurrencyIsoCode"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Others." for="acc_Type"/>
|
<apex:inputField value="{!acc.AssetBS5D__c}" id="acc_Type"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="Zeiss." for="acc_BudgetAmount"/>
|
<apex:inputField value="{!acc.AssetBS4D__c}" id="acc_BudgetAmount"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="客户系统信息" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="客户名"/>
|
<apex:inputField value="{!acc.Name}" id="acc_CompetitorProduct3"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="审批状态."/>
|
<apex:outputField value="{!acc.stautesD__c}" id="acc_CompetitorProduct"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="账户状态." for="acc_CompetitorProductCode"/>
|
<apex:inputField value="{!acc.AccountStatusD__c}" id="acc_CompetitorProductCode" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="取消原因." for="acc_CompetitorProduct2"/>
|
<apex:inputField value="{!acc.CancelReasonD__c}" id="acc_CompetitorProduct2"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="全国企业用户." for="acc_CompetitorProduct2"/>
|
<apex:outputField value="{!acc.NationalEnterpriseUser__c}" id="acc_CompetitorProduct2"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:pageBlockSection title="客户备注" columns="2">
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="备注" for="acc_Remark"/>
|
<apex:inputField value="{!acc.Remark__c}" id="acc_Remark" style="width: 75%;"/>
|
</apex:pageBlockSectionItem>
|
</apex:pageBlockSection>
|
|
<apex:outputPanel layout="none" rendered="{!if(tycoId == null || tycoId == '', false,true)}">
|
<apex:pageBlockSection title="联系人信息" columns="2">
|
<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_CurrencyIsoCode" 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_ExpctedOrdrDate"/>
|
<apex:inputField value="{!con.PostcodeD__c}" id="con_ExpectdOrdeDate" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址1." for="con_ExpctedDeliveryDte"/>
|
<apex:inputField value="{!con.Address1D__c}" id="on_ExpctedDeliveyDate" required="true"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址2(其他地址)." for="con_EpectedDeliveryDate"/>
|
<apex:inputField value="{!con.Address2D__c}" id="con_ExpectedDeleryDate"/>
|
</apex:pageBlockSectionItem>
|
<apex:pageBlockSectionItem >
|
<apex:outputLabel value="地址3(其他地址)." for="con_ExpecteDelivryDate"/>
|
<apex:inputField value="{!con.Address3D__c}" id="con_ExpeedDeliveryDate"/>
|
</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:outputPanel>
|
|
<apex:pageBlockButtons location="bottom">
|
<apex:commandButton style="width:50px" value="保存" onclick="saveJs(); return false;"/>
|
<apex:commandButton style="width:50px" value="取消" onclick="cancelJs(); return false;"/>
|
</apex:pageBlockButtons>
|
</apex:pageBlock>
|
</apex:form>
|
</apex:page>
|