超级店铺管理功能
This commit is contained in:
1 parent
d3e404ac2a
commit
fe2d2883db
91 files changed
+4295
-587
No files matched your search
@@ -133,13 +133,13 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
dgvShop.Rows.Remove(row);
|
||||
}
|
||||
// 绑定其他店铺(含新导入的店铺)
|
||||
foreach (DouShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
|
||||
{
|
||||
BindShop(shopEntity);
|
||||
}
|
||||
}
|
||||
|
||||
private void BindShop(DouShopLoginInfo shopEntity)
|
||||
private void BindShop(ShopLoginInfo shopEntity)
|
||||
{
|
||||
if (shopEntity == null)
|
||||
return;
|
||||
@@ -323,7 +323,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
public void GetSales(DouShopLoginInfo shop, bool isSales = true)
|
||||
public void GetSales(ShopLoginInfo shop, bool isSales = true)
|
||||
{
|
||||
if (webBrowser == null)
|
||||
{
|
||||
@@ -413,7 +413,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
Thread.Sleep(3000);
|
||||
}
|
||||
|
||||
public void GetProductByCef(DouShopLoginInfo shop)
|
||||
public void GetProductByCef(ShopLoginInfo shop)
|
||||
{
|
||||
if (webBrowser == null)
|
||||
{
|
||||
@@ -487,7 +487,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
GroupBuyShopForm salesForm = null;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
var shop = webBrowser.Tag as DouShopLoginInfo;
|
||||
var shop = webBrowser.Tag as ShopLoginInfo;
|
||||
var tab = this.ucTabControl1.TabPages.Cast<TabPage>().FirstOrDefault(t => t.Text == shop.ShopAccount && t.Name == "tab" + shop.ShopId);
|
||||
salesForm = tab.Controls[0] as GroupBuyShopForm;
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user