From f1c3921b08bb22ac6f5db22d620e01d7e8e5c49f Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 30 十二月 2019 13:32:33 +0800 Subject: [PATCH] 2019-12-30-1 --- ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs index 830b743..8925b3c 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/AddMemberByIdForm.cs @@ -49,7 +49,6 @@ var txtCode = new TextInputControl(Application.GetRealWidth(900), rowAccount.Height, false); txtCode.X = ControlCommonResourse.XXLeft; txtCode.PlaceholderText = Language.StringByID(R.MyInternationalizationString.uPleaseInputAddMenberID); - txtCode.PlaceholderTextColor = UserCenterColor.Current.TextTipColor; rowAccount.AddChidren(txtCode, ChidrenBindMode.NotBind); //涓嬩竴姝� @@ -85,12 +84,20 @@ var pra = new AccountInfoPra(); pra.Account = accountId; - string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra); + string result = await UserCenterLogic.GetResponseDataByRequestHttps("ZigbeeUsers/GetSubAccountInfo", false, pra, new System.Collections.Generic.List<string>() { "AccountNoExists" }); //鍏抽棴杩涘害鏉� this.CloseProgressBar(); if (result == null) { + //寮傚父 + return; + } + if (result == string.Empty) + { + //鎴愬憳涓嶅瓨鍦� + var form = new MemberNotEsixtForm(); + form.AddForm(); return; } -- Gitblit v1.8.0