private void CreateAccount(UserTypeInfo info)
        {
            ClientAccount newClient = CreateClientAcc();
            ClientAccountInfoWindow clientView = new ClientAccountInfoWindow
            {
                POrgList=this.POrgList,
                Owner = Application.Current.MainWindow,
                DataContext = newClient,
                CreateMode = true,
            };

            if (clientView.ShowDialog() == true)
            {
                newClient.AccInfo.UserID = Guid.NewGuid().ToString("n");
                ErrType err = _businessService.AddClientAccount(newClient, info, _loginID);
                if (err == GeneralErr.Success)
                    AddClientAccount(UserBaseInfo.TdUserList, newClient);
                else
                {
                    MessageBox.Show(err.ErrMsg, err.ErrTitle, MessageBoxButton.OK, MessageBoxImage.Warning);
                    CreateClientAccountExecute();
                }

            }
        }
 /// <summary>
 /// 显示客户账户信息
 /// </summary>
 /// <param name="clientAccount">选中的某个客户账户</param>
 public void ShowAccountInfo2(ClientAccount clientAccount)
 {
     clone = (ClientAccount)clientAccount.Clone();
     this.clientAccount = clientAccount;
     clientView = new ClientAccountInfoWindow
     {
         Owner = Application.Current.MainWindow,
         POrgList=this.POrgList,
         DataContext = clone,
         Banks = this.Banks,
     };
     clientView.ComitEvent = ShowAccInfo;
     clientView.ShowDialog();
     
 }
        /// <summary>
        /// 添加客户账户
        /// </summary>
        private void CreatClientAccountEx2()
        {
             newClient = CreateClientAcc();
             clientView = new ClientAccountInfoWindow
            {
                POrgList=this.POrgList,
                Owner = Application.Current.MainWindow,
                DataContext = newClient,
                CreateMode = true,
                Banks=this.Banks
            };
            clientView.ComitEvent = AddClient;
            clientView.ShowDialog();

        }