新增营销工具设置三种优惠券
This commit is contained in:
1 parent
19af531572
commit
0210b76c45
28 files changed
+4697
-557
No files matched your search
@@ -648,16 +648,19 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
else
|
||||
{
|
||||
foreach (var box in boxs)
|
||||
MainForm.instance.Invoke(new Action(() =>
|
||||
{
|
||||
box.Items.Clear();
|
||||
var groups = BaseRegex.GetStringJson(ref html, "data");
|
||||
foreach (var item in groups.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
|
||||
foreach (var box in boxs)
|
||||
{
|
||||
box.Items.Add(item);
|
||||
box.Items.Clear();
|
||||
var groups = BaseRegex.GetStringJson(ref html, "data");
|
||||
foreach (var item in groups.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
|
||||
{
|
||||
box.Items.Add(item);
|
||||
}
|
||||
box.Items.Add("");
|
||||
}
|
||||
box.Items.Add("");
|
||||
}
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -196,9 +196,12 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
|
||||
private void RefreshDbProd()
|
||||
{
|
||||
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter); // 同时刷新下商品分组
|
||||
Task.Run(() =>
|
||||
{
|
||||
PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter); // 同时刷新下商品分组
|
||||
|
||||
GetPddProductCate();
|
||||
GetPddProductCate();
|
||||
});
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -219,13 +222,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
|
||||
}
|
||||
else
|
||||
{
|
||||
cmbCateFilter.Items.Clear();
|
||||
var groups = BaseRegex.GetStringJson(ref html, "data");
|
||||
foreach (var item in groups.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cmbCateFilter.Items.Add(item);
|
||||
}
|
||||
cmbCateFilter.Items.Add("");
|
||||
cmbCateFilter.Items.Clear();
|
||||
var groups = BaseRegex.GetStringJson(ref html, "data");
|
||||
foreach (var item in groups.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
|
||||
{
|
||||
cmbCateFilter.Items.Add(item);
|
||||
}
|
||||
cmbCateFilter.Items.Add("");
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user