1688商品采集
This commit is contained in:
1 parent
53736cff6e
commit
c489c30bf1
35 files changed
+4095
-254
No files matched your search
@@ -56,24 +56,14 @@ namespace TemuKJD.WXForms.ShopForms
|
||||
shop.Notes = this.txtNotes.Text;
|
||||
shop.CompanyName = AllBase.BaseClass.CompanyName;
|
||||
|
||||
// 同一个登录账号下的店铺使用同样的groupName和Notes
|
||||
var shopLst = GlobalConfig.ShopLoginList.Where(s => s.LoginName == shop.LoginName && s.ShopId != shop.ShopId).ToList();
|
||||
foreach (var shop in shopLst)
|
||||
{
|
||||
shop.GroupName = shop.GroupName;
|
||||
shop.Notes = shop.Notes;
|
||||
}
|
||||
|
||||
var shopSubAccountLstTmp = shop.ShopSubAccountList;
|
||||
foreach (var sp in lstShopLoginInfo)
|
||||
{
|
||||
sp.GroupName = this.cmbGroup.Text;
|
||||
sp.Notes = this.txtNotes.Text;
|
||||
sp.CompanyName = AllBase.BaseClass.CompanyName;
|
||||
sp.ShopSubAccountList.Clear();
|
||||
sp.ShopSubAccountList.AddRange(shopSubAccountLstTmp);
|
||||
sp.SubUserName = shop.SubUserName;
|
||||
}
|
||||
|
||||
|
||||
this.OnSaveComplete(lstShopLoginInfo, isAdd);
|
||||
this.Close();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user