<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddCustomer_Add.aspx.cs"
    Inherits="WorkFlow.CRMManger.AddCustomer_Add" ValidateRequest="false" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>新增客户界面</title>
    <link href="../FlowPage/css/main.css" rel="stylesheet" type="text/css" />
    <link href="../FlowPage/css/ext-all.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .cbStates-list
        {
            width: 298px;
            font: 11px tahoma,arial,helvetica,sans-serif;
        }
        .cbStates-list th
        {
            font-weight: bold;
        }
        .cbStates-list td, .cbStates-list th
        {
            padding: 3px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server" DirectMethodNamespace="DirectMethod">
    </ext:ResourceManager>
    <ext:Viewport ID="Viewport1" runat="server" Layout="border">
        <Items>
            <ext:Panel ID="PList" runat="server" Layout="Fit" Region="Center">
                <Items>
                    <ext:Panel ID="Panel6" runat="server" Border="false" AutoScroll="true">
                        <TopBar>
                            <ext:Toolbar runat="server">
                                <Items>
                                    <ext:Hidden ID="hidAccount" runat="server">
                                    </ext:Hidden>
                                    <ext:Hidden ID="UpdateId" runat="server">
                                    </ext:Hidden>
                                    <ext:Button ID="Button3" runat="server" Text="保存" Icon="Disk" ToolTip="保存客户">
                                        <DirectEvents>
                                            <Click OnEvent="Add_Click">
                                            </Click>
                                        </DirectEvents>
                                    </ext:Button>
                                </Items>
                            </ext:Toolbar>
                        </TopBar>
                        <Items>
                            <ext:Panel ID="Panel8" runat="server" Title="<span style='font-size: 12px;'>基础信息</span>"
                                FormGroup="true" AutoScroll="false">
                                <Content>
                                    <table cellspacing="9">
                                        <tr>
                                            <td>
                                                客户名称：<span style="color: Red">*</span>
                                            </td>
                                            <td>
                                                <table cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td style="padding-top: 2px; padding-bottom: 2px">
                                                            <ext:TextField ID="KHMC" runat="server" Width="215">
                                                            </ext:TextField>
                                                        </td>
                                                        <td>
                                                            &nbsp;
                                                        </td>
                                                        <td>
                                                            <ext:Button ID="Button1" runat="server" Text="检测" ToolTip="检查客户名称是否重复">
                                                                <DirectEvents>
                                                                    <Click OnEvent="CheckKHMC_Click">
                                                                        <EventMask ShowMask="true" Msg="<span style='font-size: 12px;'>正在检查中，请稍后...</span>"
                                                                            MinDelay="10" />
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:Button>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td>
                                                客户编号：
                                            </td>
                                            <td>
                                                <table cellpadding="0" cellspacing="0">
                                                    <tr>
                                                        <td style="padding-top: 2px; padding-bottom: 2px">
                                                            <ext:TextField ID="KHBH" runat="server">
                                                            </ext:TextField>
                                                        </td>
                                                        <td>
                                                            &nbsp;
                                                        </td>
                                                        <td>
                                                            <ext:Button ID="Button2" runat="server" Text="检测" ToolTip="检查客户编号是否重复">
                                                                <DirectEvents>
                                                                    <Click OnEvent="CheckKHBH_Click">
                                                                        <EventMask ShowMask="true" Msg="<span style='font-size: 12px;'>正在检查中，请稍后...</span>"
                                                                            MinDelay="10" />
                                                                    </Click>
                                                                </DirectEvents>
                                                            </ext:Button>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                网站：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="WZ" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                            <td>
                                                上级单位 ：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbSJDW" runat="server" Width="215" DisplayField="KHMC" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="tr.list-item"
                                                    MinChars="1" ListWidth="300" PageSize="10" SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="Store2" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="KHBH" />
                                                                        <ext:RecordField Name="KHMC" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                            <AutoLoadParams>
                                                                <ext:Parameter Name="start" Value="0" Mode="Raw" />
                                                                <ext:Parameter Name="limit" Value="10" Mode="Raw" />
                                                            </AutoLoadParams>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template18" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                        <tpl if="[xindex] == 1">
							                                        <table class="cbStates-list">
								                                        <tr>
									                                        <th>客户编号</th>
									                                        <th>客户名称</th>
								                                        </tr>
						                                        </tpl>
						                                        <tr class="list-item">
							                                        <td style="padding:3px 0px;">{KHBH}</td>
							                                        <td>{KHMC}</td>
						                                        </tr>
						                                        <tpl if="[xcount-xindex]==0">
                                                                </table>
                                                                </tpl> </tpl>
                                                        </Html>
                                                    </Template>
                                                    <Triggers>
                                                        <ext:FieldTrigger Icon="Clear" HideTrigger="true" />
                                                    </Triggers>
                                                    <Listeners>
                                                        <BeforeQuery Handler="this.triggers[0][ this.getRawValue().toString().length == 0 ? 'hide' : 'show']();" />
                                                        <TriggerClick Handler="if (index == 0) { this.focus().clearValue(); trigger.hide();}" />
                                                        <Select Handler="this.triggers[0].show();" />
                                                    </Listeners>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                员工人数：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbYGRS" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SYGRS" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template2" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						<div class="list-item">
							 <h3>{FLName}</h3>							
						</div>
					</tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                客户来源：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbKHLY" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                  SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SKHLY" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template3" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						<div class="list-item">
							 <h3>{FLName}</h3>							
						</div>
					</tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                营业额：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbYYE" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SYYE" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template16" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                客户产品：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbKHCP" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SKHCP" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template17" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                客户级别：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbKHJB" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SKHJB" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template4" runat="server">
                                                        <Html>
                                                        <tpl for=".">
					                                        <div class="list-item">
						                                         <h3>{FLName}</h3>							
					                                        </div>
				                                        </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                客户状态：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbKHZT" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SKHZT" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template5" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                行业：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbHY" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SHY" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template6" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                公司性质：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbGSXZ" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SGSXZ" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template7" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                类型：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbLX" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SLX" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template8" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                负责人：<span style="color: Red">*</span>
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbFZR" runat="server" Width="215" DisplayField="Name" ValueField="LoginAccount"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" EmptyText="选择一个负责人"
                                                    ItemSelector="div.list-item" SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="Store1" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="LoginAccount">
                                                                    <Fields>
                                                                        <ext:RecordField Name="DepartmentName" />
                                                                        <ext:RecordField Name="Name" />
                                                                        <ext:RecordField Name="PostionName" />
                                                                        <ext:RecordField Name="LoginAccount" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template1" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{LoginAccount}{Name}</h3>
							                                     {DepartmentName}, {PostionName}
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                    </table>
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="Panel1" runat="server" Title="<span style='font-size: 12px;'>自定义信息</span>"
                                FormGroup="true" AutoScroll="false">
                                <Content>
                                    <table cellspacing="9">
                                        <tr>
                                            <td>
                                                热点客户：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbRDKH" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SRDKH" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template10" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                热度：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbRD" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SRD" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template11" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                热点分类：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbRDFL" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SRDFL" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template12" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{FLName}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                热点说明：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="RDSM" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                旺旺
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px" colspan="3">
                                                <ext:TextField ID="WW" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                    </table>
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="Panel2" runat="server" Title="<span style='font-size: 12px;'>联系信息</span>"
                                FormGroup="true" AutoScroll="false">
                                <Content>
                                    <table cellspacing="9">
                                        <tr>
                                            <td>
                                                首要联系人：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="SYLXR" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                            <td>
                                                手机：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="SJ" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                电话：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="DH" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                            <td>
                                                QQ ：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="QQ" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                传真：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="CZ" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                            <td>
                                                其它电话：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="QTDH" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                Email
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px" colspan="3">
                                                <ext:TextField ID="Email" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                    </table>
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="Panel3" runat="server" Title="<span style='font-size: 12px;'>地址信息</span>"
                                FormGroup="true" AutoScroll="false">
                                <Content>
                                    <table cellspacing="9">
                                        <tr>
                                            <td>
                                                国家：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbGJ" runat="server" Width="215" DisplayField="Name" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SGJ" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="Name" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template13" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						                                    <div class="list-item">
							                                     <h3>{Name}</h3>							
						                                    </div>
					                                    </tpl>
                                                        </Html>
                                                    </Template>
                                                    <DirectEvents>
                                                        <Change OnEvent="GJ_Change">
                                                            <EventMask ShowMask="true" Msg="正在查询中，请稍后..." />
                                                        </Change>
                                                    </DirectEvents>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                省份：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbSF" runat="server" Width="215" DisplayField="Name" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SSF" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="Name" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template14" runat="server">
                                                        <Html>
                                                        <tpl for=".">
					                                        <div class="list-item">
						                                         <h3>{Name}</h3>							
					                                        </div>
				                                        </tpl>
                                                        </Html>
                                                    </Template>
                                                    <DirectEvents>
                                                        <Change OnEvent="SF_Change">
                                                            <EventMask ShowMask="true" Msg="正在查询中，请稍后..." />
                                                        </Change>
                                                    </DirectEvents>
                                                </ext:ComboBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                城市：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbCS" runat="server" Width="215" DisplayField="Name" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SCS" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="Name" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template15" runat="server">
                                                        <Html>
                                                        <tpl for=".">
					                                        <div class="list-item">
						                                         <h3>{Name}</h3>							
					                                        </div>
				                                        </tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                地址：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="DZ" runat="server" Width="250">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                                邮箱地址
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px" colspan="3">
                                                <ext:TextField ID="YXDZ" runat="server" Width="215">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                    </table>
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="Panel4" runat="server" Title="<span style='font-size: 12px;'>银行财务信息</span>"
                                FormGroup="true" AutoScroll="false">
                                <Content>
                                    <table cellspacing="9">
                                        <tr>
                                            <td>
                                                支付方式：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:ComboBox ID="cbZFFS" runat="server" Width="215" DisplayField="FLName" ValueField="Id"
                                                    TypeAhead="true" Mode="Local" ForceSelection="true" TriggerAction="All" ItemSelector="div.list-item"
                                                    SelectOnFocus="true">
                                                    <Store>
                                                        <ext:Store ID="SZFFS" runat="server">
                                                            <Reader>
                                                                <ext:JsonReader IDProperty="Id">
                                                                    <Fields>
                                                                        <ext:RecordField Name="FLName" />
                                                                        <ext:RecordField Name="Id" />
                                                                    </Fields>
                                                                </ext:JsonReader>
                                                            </Reader>
                                                        </ext:Store>
                                                    </Store>
                                                    <Template ID="Template9" runat="server">
                                                        <Html>
                                                        <tpl for=".">
						<div class="list-item">
							 <h3>{FLName}</h3>							
						</div>
					</tpl>
                                                        </Html>
                                                    </Template>
                                                </ext:ComboBox>
                                            </td>
                                            <td>
                                                开户银行：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:TextField ID="KHYH" runat="server" Width="250">
                                                </ext:TextField>
                                            </td>
                                        </tr>
                                    </table>
                                </Content>
                            </ext:Panel>
                            <ext:Panel ID="Panel5" runat="server" Title="<span style='font-size: 12px;'>描述信息</span>"
                                FormGroup="true" AutoScroll="false">
                                <Content>
                                    <table cellspacing="9">
                                        <tr>
                                            <td>
                                                备注 ：
                                            </td>
                                            <td style="padding-top: 2px; padding-bottom: 2px">
                                                <ext:HtmlEditor ID="BZ" runat="server" Height="140" Width="600">
                                                </ext:HtmlEditor>
                                            </td>
                                        </tr>
                                    </table>
                                </Content>
                            </ext:Panel>
                        </Items>
                    </ext:Panel>
                </Items>
            </ext:Panel>
        </Items>
    </ext:Viewport>
    </form>
</body>
</html>
