超级店铺管理功能
This commit is contained in:
1 parent
d3e404ac2a
commit
fe2d2883db
91 files changed
+4295
-587
No files matched your search
@@ -97,13 +97,13 @@ namespace TemuKJD.KJDForms.ShopOptimizeForms
|
||||
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;
|
||||
@@ -230,7 +230,7 @@ namespace TemuKJD.KJDForms.ShopOptimizeForms
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
public void GetSalesOrVisitor(DouShopLoginInfo shop, bool isSales = true)
|
||||
public void GetSalesOrVisitor(ShopLoginInfo shop, bool isSales = true)
|
||||
{
|
||||
if (webBrowser == null)
|
||||
{
|
||||
@@ -340,7 +340,7 @@ namespace TemuKJD.KJDForms.ShopOptimizeForms
|
||||
}
|
||||
if (webBrowser.Tag != null)
|
||||
{
|
||||
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);
|
||||
var clearForm = tab.Controls[0] as ClearNoVisitorShopForm;
|
||||
|
||||
@@ -440,7 +440,7 @@ namespace TemuKJD.KJDForms.ShopOptimizeForms
|
||||
}
|
||||
if (webBrowser.Tag != null)
|
||||
{
|
||||
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);
|
||||
var clearForm = tab.Controls[0] as ClearNoVisitorShopForm;
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace TemuKJD.KJDForms.ShopOptimizeForms
|
||||
{
|
||||
public partial class ClearNoVisitorShopForm : Form
|
||||
{
|
||||
DouShopLoginInfo shop;
|
||||
ShopLoginInfo shop;
|
||||
public ClearNoVisitorForm clearNoVisitorForm = null;
|
||||
public bool isGetProductSalesSuccess = false;
|
||||
public bool isGetProductVisitorSuccess = false;
|
||||
@@ -29,7 +29,7 @@ namespace TemuKJD.KJDForms.ShopOptimizeForms
|
||||
public List<DouTradeIndexListInfo> productTradeIndexList = new List<DouTradeIndexListInfo>();
|
||||
List<DouProductWithSalesListInfo> productList = new List<DouProductWithSalesListInfo>();
|
||||
|
||||
public ClearNoVisitorShopForm(DouShopLoginInfo _shop)
|
||||
public ClearNoVisitorShopForm(ShopLoginInfo _shop)
|
||||
{
|
||||
InitializeComponent();
|
||||
shop = _shop;
|
||||
|
||||
Reference in new issue
Block a user