优惠券,大人推广相关内容
This commit is contained in:
1 parent
4038b0390a
commit
7b06707a40
15 files changed
+4426
-379
No files matched your search
@@ -187,8 +187,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.lblWaitToUp.Text = "待上传 " + lstTemuDBProductSelect.Count + " 件";
|
||||
|
||||
int prodCount = 0;
|
||||
var list = GetRandomProductList(out prodCount, 1, 1);
|
||||
lblGoodsCount.Text = "产品库 " + prodCount + " 件";
|
||||
pbSelectProd.Visible = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
GetRandomProductList(out prodCount, 1, 1);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pbSelectProd.Visible = false;
|
||||
lblGoodsCount.Text = "产品库 " + prodCount + " 件";
|
||||
}));
|
||||
});
|
||||
|
||||
this.panel1.SendToBack();
|
||||
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
|
||||
@@ -379,17 +387,17 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private void btnRefreshShop_Click(object sender, EventArgs e)
|
||||
{
|
||||
pbLoadingShop.Visible = true;
|
||||
RefreshDbProd();
|
||||
RefreshShopAuth();
|
||||
RefreshDbProdGroupAndCate();
|
||||
RefreshShopLogin();
|
||||
}
|
||||
|
||||
private void UserSelectDbProductForm_VisibleChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (Visible == true)
|
||||
{
|
||||
RefreshShopAuth();
|
||||
RefreshShopLogin();
|
||||
updateAuthor();
|
||||
RefreshDbProd();
|
||||
RefreshDbProdGroupAndCate();
|
||||
|
||||
if (!isInit)
|
||||
{
|
||||
@@ -414,7 +422,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
private void RefreshDbProd()
|
||||
private void RefreshDbProdGroupAndCate()
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
@@ -488,7 +496,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
private void RefreshShopAuth()
|
||||
private void RefreshShopLogin()
|
||||
{
|
||||
// 店铺Id
|
||||
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
|
||||
@@ -629,7 +637,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
shopLoginForm.openType = EnumOpenType.login;
|
||||
shopLoginForm.ShowDialog();
|
||||
RefreshShopAuth();
|
||||
RefreshShopLogin();
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -683,7 +691,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//shopLoginForm.prodUserSelectForm = this;
|
||||
shopLoginForm.openType = EnumOpenType.login;
|
||||
shopLoginForm.ShowDialog();
|
||||
RefreshShopAuth();
|
||||
RefreshShopLogin();
|
||||
}
|
||||
break;
|
||||
case "进店":
|
||||
@@ -3617,9 +3625,18 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbCateFilter1.Text = "";
|
||||
cmbWxSafe.Text = "安全+未校验";
|
||||
cmbSourceType.Text = "厂商直采";
|
||||
|
||||
int prodCount;
|
||||
GetRandomProductList(out prodCount, 1, 1);
|
||||
lblGoodsCount.Text = "产品库 " + prodCount + " 件";
|
||||
pbSelectProd.Visible = true;
|
||||
Task.Run(() =>
|
||||
{
|
||||
GetRandomProductList(out prodCount, 1, 1);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
pbSelectProd.Visible = false;
|
||||
lblGoodsCount.Text = "产品库 " + prodCount + " 件";
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
private void 并发上传_Click(object sender, EventArgs e)
|
||||
|
||||
Reference in new issue
Block a user