子账户显示昵称 客服加入批量登录 客服登录后页面不刷新问题修复
This commit is contained in:
1 parent
b502c6a2ed
commit
8e919b0bd7
22 files changed
+869
-217
No files matched your search
@@ -91,8 +91,14 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.TitleText = "编辑店铺 - " + shop.ShopAccount;
|
||||
this.txtBuyAccount.Text = shop.BuyAccount;
|
||||
this.txtChatAccount.Text = shop.ChatAccount;
|
||||
this.txtUploadAccount.Text = shop.UploadAccount;
|
||||
this.txtChatAccount.Text = shop.SubUserName;
|
||||
if (!string.IsNullOrEmpty( shop.SubUserName))
|
||||
{
|
||||
var subUserNames = shop.SubUserName.Split(',').Where(su => !string.IsNullOrEmpty(su));
|
||||
var subUsers = WXSubAccountShopEditForm.lstAllSubAccount.Where(su => subUserNames.Contains(su.user_name));
|
||||
this.txtChatNick.Text = string.Join(",", subUsers.Select(s => s.nick_name));
|
||||
}
|
||||
this.txtUploadAccount.Text = shop.UploadAccount;
|
||||
this.txtLoginName.Enabled = false;
|
||||
//this.lblAttention.Visible = true;
|
||||
}
|
||||
@@ -103,6 +109,11 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.txtUploadAccount.Enabled = false;
|
||||
this.txtBuyAccount.Text = this.txtChatAccount.Text = this.txtUploadAccount.Text = "请在编辑账户时修改子账户";
|
||||
}
|
||||
if (AllBase.BaseClass.GroupId != 3)
|
||||
{
|
||||
this.txtChatAccount.Enabled = false;
|
||||
//this.cmbGroup.Enabled = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void txtUploadAccount_TextChanged(object sender, EventArgs e)
|
||||
@@ -135,6 +146,14 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
this.txtBuyAccount.Text = shop.BuyAccount;
|
||||
this.txtChatAccount.Text = shop.ChatAccount;
|
||||
this.txtUploadAccount.Text = shop.UploadAccount;
|
||||
|
||||
this.txtChatAccount.Text = shop.SubUserName;
|
||||
if (!string.IsNullOrEmpty(shop.SubUserName))
|
||||
{
|
||||
var subUserNames = shop.SubUserName.Split(',').Where(su => !string.IsNullOrEmpty(su));
|
||||
var subUsers = WXSubAccountShopEditForm.lstAllSubAccount.Where(su => subUserNames.Contains(su.user_name));
|
||||
this.txtChatNick.Text = string.Join(",", subUsers.Select(s => s.nick_name));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user