diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs
index 82d6a23..dcabae4 100644
--- a/AllBase/BaseClass.cs
+++ b/AllBase/BaseClass.cs
@@ -27,7 +27,7 @@ namespace AllBase
///
/// 版本ID
///
- public static int VersionCount = 1028;
+ public static int VersionCount = 1029;
//public static int VersionCount = 613;
///
diff --git a/KJDService/KJD_WebService/BLL/BXX/BXXProductManage.cs b/KJDService/KJD_WebService/BLL/BXX/BXXProductManage.cs
index 0bdbae8..ff6cd34 100644
--- a/KJDService/KJD_WebService/BLL/BXX/BXXProductManage.cs
+++ b/KJDService/KJD_WebService/BLL/BXX/BXXProductManage.cs
@@ -51,6 +51,7 @@ namespace KJD_Web.BLL.BXX
string product_json = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "product_json"));
string size_json = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "size_json"));
string main_img = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "main_img"))?.Replace("'", "\\'");
+ string group = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "group"))?.Replace("'", "\\'");
string notes = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "notes"))?.Replace("'", "\\'");
string product_get_type = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "product_get_type"))?.Replace("'", "\\'");
string sale_count = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "sale_count"))?.Replace("'", "\\'");
@@ -59,6 +60,7 @@ namespace KJD_Web.BLL.BXX
string special_prod_type = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "special_prod_type"))?.Replace("'", "\\'");
if (special_prod_type == null)
special_prod_type = "普通商品";
+ string add_user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "add_user_name"))?.Replace("'", "\\'");
if (string.IsNullOrEmpty(product_get_type))
{
@@ -95,17 +97,28 @@ namespace KJD_Web.BLL.BXX
}
}
- sql = "insert into ";
- sql += "bxx.product ";
- sql += "(from_shop_id,from_shop_name,offline_supplier_id,offline_supplier_name,spu_id,skc_id,real_coid,real_spu_id,main_cat_id,main_cat_name,cat_id," +
- "cat_name,price_text,product_name,ext_code,main_img,product_json,size_json,notes,product_get_type,sale_count,sale_count_text,special_prod_type," +
- "distribution_set,ban_wx,ban_pdd,add_time,mdy_time) " +
- "values ('" + from_shop_id + "','" + from_shop_name + "','" + offline_supplier_id + "','" + offline_supplier_name + "','" + spu_id + "','" +
- skc_id + "','" + real_coid + "','" + real_spu_id + "','" + main_cat_id + "','" + main_cat_name + "','" + cat_id + "','" + cat_name + "','" +
- price_text + "','" + product_name + "','" + ext_code + "','" + main_img + "',@product_json,@size_json,'" + notes + "','" + product_get_type + "','" +
- sale_count + "','" + sale_count_text + "','" + special_prod_type + "'," + distribution_set.ParseToInt() + "," + ban_wx + "," + ban_pdd + ",'" +
- DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "','" +
- DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "');";
+ sql = "INSERT INTO bxx.product(";
+ sql += "from_shop_id,from_shop_name,offline_supplier_id,offline_supplier_name,spu_id,skc_id,real_coid,real_spu_id,main_cat_id,main_cat_name,cat_id,";
+ sql += "cat_name,price_text,product_name,ext_code,main_img,product_json,size_json,notes,product_get_type,sale_count,sale_count_text,special_prod_type,";
+ sql += "distribution_set,ban_wx,ban_pdd,add_time,mdy_time,";
+ if (add_user_name != null)
+ sql += "add_user_name,";
+ if (group != null)
+ sql += "`group`,";
+ sql = sql.TrimEnd(',');
+ sql += ") ";
+ sql += "values ('" + from_shop_id + "','" + from_shop_name + "','" + offline_supplier_id + "','" + offline_supplier_name + "','" + spu_id + "','" +
+ skc_id + "','" + real_coid + "','" + real_spu_id + "','" + main_cat_id + "','" + main_cat_name + "','" + cat_id + "','" + cat_name + "','" +
+ price_text + "','" + product_name + "','" + ext_code + "','" + main_img + "',@product_json,@size_json,'" + notes + "','" + product_get_type + "','" +
+ sale_count + "','" + sale_count_text + "','" + special_prod_type + "'," + distribution_set.ParseToInt() + "," + ban_wx + "," + ban_pdd + ",";
+ sql += "'" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "',";
+ sql += "'" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "',";
+ if (add_user_name != null)
+ sql += "'" + add_user_name + "',";
+ if (group != null)
+ sql += "'" + group + "',";
+ sql = sql.TrimEnd(',');
+ sql += ");";
List paramLst = new List();
paramLst.Add(new MySqlParameter() { DbType = DbType.String, ParameterName = "product_json", Value = product_json, });
@@ -502,6 +515,7 @@ namespace KJD_Web.BLL.BXX
var end_time = RegexUtils.GetStringQuery(ref inputData, "end_time")?.Replace("'", "\\'");
var ban_wx = RegexUtils.GetStringQuery(ref inputData, "ban_wx")?.Replace("'", "\\'");
var ban_pdd = RegexUtils.GetStringQuery(ref inputData, "ban_pdd")?.Replace("'", "\\'");
+ var add_user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "add_user_name"))?.Replace("'", "\\'");
int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt();
int page_size= RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50);
@@ -658,6 +672,11 @@ namespace KJD_Web.BLL.BXX
{
where += " and p.ban_pdd=" + ban_pdd;
}
+ if (!string.IsNullOrEmpty(add_user_name))
+ {
+ add_user_name = "'" + string.Join("','", add_user_name.Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries)) + "'";
+ where += " and p.add_user_name in (" + add_user_name + ")";
+ }
sql += where;
var count = 0;
@@ -1155,6 +1174,7 @@ namespace KJD_Web.BLL.BXX
int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt();
int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(200);
var product_get_type = RegexUtils.GetStringQuery(ref inputData, "product_get_type")?.Replace("'", "\\'");
+ var add_user_name = RegexUtils.GetStringQuery(ref inputData, "add_user_name")?.Replace("'", "\\'");
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
MysqlUtils mySql = new MysqlUtils(conn);
@@ -1164,6 +1184,11 @@ namespace KJD_Web.BLL.BXX
string where = "";
if (!string.IsNullOrEmpty(product_get_type))
where += " and p.product_get_type ='" + product_get_type + "'";
+ if (!string.IsNullOrEmpty(add_user_name))
+ {
+ add_user_name = "'" + string.Join("','", add_user_name.Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries)) + "'";
+ where += " and p.add_user_name in (" + add_user_name + ")";
+ }
sql += where;
var dt = mySql.ExecuteDataTable(sql);
@@ -1432,6 +1457,7 @@ namespace KJD_Web.BLL.BXX
var is_relation = RegexUtils.GetStringQuery(ref inputData, "is_relation").ParseToNullableInt();
var ban_wx = RegexUtils.GetStringQuery(ref inputData, "ban_wx")?.Replace("'", "\\'");
var ban_pdd = RegexUtils.GetStringQuery(ref inputData, "ban_pdd")?.Replace("'", "\\'");
+ var add_user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "add_user_name"))?.Replace("'", "\\'");
int page = RegexUtils.GetStringQuery(ref inputData, "page").ParseToInt();
int page_size = RegexUtils.GetStringQuery(ref inputData, "page_size").ParseToInt(50);
@@ -1522,6 +1548,11 @@ namespace KJD_Web.BLL.BXX
{
where += " and p.ban_pdd=" + ban_pdd;
}
+ if (!string.IsNullOrEmpty(add_user_name))
+ {
+ add_user_name = "'" + string.Join("','", add_user_name.Split(new string[] { ",", ",", " " }, StringSplitOptions.RemoveEmptyEntries)) + "'";
+ where += " and p.add_user_name in (" + add_user_name + ")";
+ }
sql += where;
int count = prod_count;
diff --git a/KJDService/KJD_WebService/KJD_WebService.csproj.user b/KJDService/KJD_WebService/KJD_WebService.csproj.user
index 4bcdc04..1b87364 100644
--- a/KJDService/KJD_WebService/KJD_WebService.csproj.user
+++ b/KJDService/KJD_WebService/KJD_WebService.csproj.user
@@ -8,7 +8,7 @@
- Release|Any CPU
+ Debug|Any CPU
ShowAllFiles
diff --git a/TEMUKJD/BLL/VDian/VDianUpProdMappingBLL.cs b/TEMUKJD/BLL/VDian/VDianUpProdMappingBLL.cs
index ffda937..032ed5f 100644
--- a/TEMUKJD/BLL/VDian/VDianUpProdMappingBLL.cs
+++ b/TEMUKJD/BLL/VDian/VDianUpProdMappingBLL.cs
@@ -354,8 +354,8 @@ namespace TemuKJD.BLL.VDian
wdAttr.attr_values = new List();
foreach (var propValue in prop.Values)
{
- if (propValue.name.Contains("收藏"))
- continue;
+ //if (propValue.name.Contains("收藏"))
+ // continue;
var propValue_name = propValue.name.Replace("少先队", "SXD").Replace("共产党", "GCD").Replace("烟酒", "YJ").Replace("口罩", "KZ").Replace("*", "").Replace("收藏", "S-C").Replace("新品", "XP").Replace("推荐", "TJ");
//propValue_name = propValue_name.Replace("/", "-");
var attrValue = new VDianParam.VDianAttrValue()
diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj
index 488517c..077d6a7 100644
--- a/TEMUKJD/KJD.csproj
+++ b/TEMUKJD/KJD.csproj
@@ -274,6 +274,12 @@
WXWaybillManageForm.cs
+
+ Form
+
+
+ WXUserCollectAuthProdListForm.cs
+
Form
@@ -1328,6 +1334,9 @@
WXWaybillManageForm.cs
+
+ WXUserCollectAuthProdListForm.cs
+
WXUserProdListForm.cs
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs
index 4769fb1..e795718 100644
--- a/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.Designer.cs
@@ -31,18 +31,19 @@
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("超级店铺管理");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("超级用户管理");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("产品数据库");
- System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("SKU替换图");
- System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("机会商品采集");
- System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("以图搜品采集");
- System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("厂家商品采集");
- System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("选品加价管理");
- System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("认领待上传");
- System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("库存上传");
- System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("商品核价");
- System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("随机厂商商品");
- System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("商品导入");
- System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("微店管理");
- System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
+ System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("设置禁售");
+ System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("SKU替换图");
+ System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("机会商品采集");
+ System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("以图搜品采集");
+ System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("厂家商品采集");
+ System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("选品加价管理");
+ System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("认领待上传");
+ System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("库存上传");
+ System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("商品核价");
+ System.Windows.Forms.TreeNode treeNode13 = new System.Windows.Forms.TreeNode("随机厂商商品");
+ System.Windows.Forms.TreeNode treeNode14 = new System.Windows.Forms.TreeNode("商品导入");
+ System.Windows.Forms.TreeNode treeNode15 = new System.Windows.Forms.TreeNode("微店管理");
+ System.Windows.Forms.TreeNode treeNode16 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
@@ -56,7 +57,8 @@
treeNode11,
treeNode12,
treeNode13,
- treeNode14});
+ treeNode14,
+ treeNode15});
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
@@ -79,7 +81,7 @@
this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel1.Location = new System.Drawing.Point(0, 0);
this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(792, 446);
+ this.panel1.Size = new System.Drawing.Size(792, 574);
this.panel1.TabIndex = 2;
//
// panel3
@@ -87,7 +89,7 @@
this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel3.Location = new System.Drawing.Point(0, 28);
this.panel3.Name = "panel3";
- this.panel3.Size = new System.Drawing.Size(792, 418);
+ this.panel3.Size = new System.Drawing.Size(792, 546);
this.panel3.TabIndex = 1;
//
// panel2
@@ -124,7 +126,7 @@
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.panel1);
- this.splitContainer1.Size = new System.Drawing.Size(933, 446);
+ this.splitContainer1.Size = new System.Drawing.Size(933, 574);
this.splitContainer1.SplitterDistance = 140;
this.splitContainer1.SplitterWidth = 1;
this.splitContainer1.TabIndex = 3;
@@ -153,41 +155,43 @@
treeNode2.Text = "超级用户管理";
treeNode3.Name = "产品数据库";
treeNode3.Text = "产品数据库";
- treeNode4.Name = "SKU替换图";
- treeNode4.Text = "SKU替换图";
- treeNode5.Name = "机会商品采集";
- treeNode5.Text = "机会商品采集";
- treeNode6.Name = "以图搜品采集";
- treeNode6.Text = "以图搜品采集";
- treeNode7.Name = "厂家商品采集";
- treeNode7.Text = "厂家商品采集";
- treeNode8.Name = "选品加价管理";
- treeNode8.Text = "选品加价管理";
- treeNode9.Name = "认领待上传";
- treeNode9.Text = "认领待上传";
- treeNode10.Name = "库存上传";
- treeNode10.Text = "库存上传";
- treeNode11.Name = "商品核价";
- treeNode11.Text = "商品核价";
- treeNode12.Name = "随机厂商商品";
- treeNode12.Text = "随机厂商商品";
- treeNode13.Name = "商品导入";
- treeNode13.Text = "商品导入";
- treeNode14.Name = "微店管理";
- treeNode14.Text = "微店管理";
- treeNode15.Name = "超级权限管理";
- treeNode15.Text = "超级权限管理";
+ treeNode4.Name = "设置禁售";
+ treeNode4.Text = "设置禁售";
+ treeNode5.Name = "SKU替换图";
+ treeNode5.Text = "SKU替换图";
+ treeNode6.Name = "机会商品采集";
+ treeNode6.Text = "机会商品采集";
+ treeNode7.Name = "以图搜品采集";
+ treeNode7.Text = "以图搜品采集";
+ treeNode8.Name = "厂家商品采集";
+ treeNode8.Text = "厂家商品采集";
+ treeNode9.Name = "选品加价管理";
+ treeNode9.Text = "选品加价管理";
+ treeNode10.Name = "认领待上传";
+ treeNode10.Text = "认领待上传";
+ treeNode11.Name = "库存上传";
+ treeNode11.Text = "库存上传";
+ treeNode12.Name = "商品核价";
+ treeNode12.Text = "商品核价";
+ treeNode13.Name = "随机厂商商品";
+ treeNode13.Text = "随机厂商商品";
+ treeNode14.Name = "商品导入";
+ treeNode14.Text = "商品导入";
+ treeNode15.Name = "微店管理";
+ treeNode15.Text = "微店管理";
+ treeNode16.Name = "超级权限管理";
+ treeNode16.Text = "超级权限管理";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode15});
+ treeNode16});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
- this.tv.Size = new System.Drawing.Size(140, 446);
+ this.tv.Size = new System.Drawing.Size(140, 574);
this.tv.TabIndex = 1;
this.tv.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.tv_AfterSelect);
//
// PDDAdminForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
- this.ClientSize = new System.Drawing.Size(933, 446);
+ this.ClientSize = new System.Drawing.Size(933, 574);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
diff --git a/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs
index de5be43..a0fe956 100644
--- a/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs
+++ b/TEMUKJD/PDDForms/AdminForms/PDDAdminForm.cs
@@ -24,6 +24,7 @@ namespace TemuKJD.PDDForms.AdminForms
public Lazy adminAccountForm = new Lazy();
public Lazy adminShopForm = new Lazy();
public Lazy dbProdListForm = new Lazy();
+ public Lazy banPlatformForm = new Lazy();
public Lazy dbProdImgListForm = new Lazy();
public Lazy getChanceProdForm = new Lazy();
public Lazy getChanceProdByImgForm = new Lazy();
@@ -95,6 +96,11 @@ namespace TemuKJD.PDDForms.AdminForms
case "产品数据库":
SetForm(dbProdListForm.Value);
break;
+
+ case "设置禁售":
+ SetForm(banPlatformForm.Value);
+ break;
+
case "SKU替换图":
SetForm(dbProdImgListForm.Value);
break;
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs
index ccfd99b..d59a893 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.Designer.cs
@@ -772,7 +772,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"",
"是",
"否"});
- this.cmbPddRelation.Location = new System.Drawing.Point(743, 5);
+ this.cmbPddRelation.Location = new System.Drawing.Point(743, 7);
this.cmbPddRelation.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbPddRelation.Name = "cmbPddRelation";
this.cmbPddRelation.Size = new System.Drawing.Size(47, 25);
@@ -827,7 +827,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
//
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat2.FormattingEnabled = true;
- this.cmbCat2.Location = new System.Drawing.Point(278, 77);
+ this.cmbCat2.Location = new System.Drawing.Point(278, 75);
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat2.Name = "cmbCat2";
this.cmbCat2.Size = new System.Drawing.Size(46, 25);
@@ -912,7 +912,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"机会商品",
"以图搜品",
"外部数据"});
- this.cmbSourceType.Location = new System.Drawing.Point(278, 42);
+ this.cmbSourceType.Location = new System.Drawing.Point(278, 40);
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSourceType.Name = "cmbSourceType";
this.cmbSourceType.Size = new System.Drawing.Size(46, 25);
@@ -958,7 +958,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"",
"是",
"否"});
- this.cmbWxCat.Location = new System.Drawing.Point(622, 7);
+ this.cmbWxCat.Location = new System.Drawing.Point(622, 5);
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxCat.Name = "cmbWxCat";
this.cmbWxCat.Size = new System.Drawing.Size(47, 25);
@@ -980,7 +980,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.cmbSort.Items.AddRange(new object[] {
"入库时间",
"认领总数"});
- this.cmbSort.Location = new System.Drawing.Point(381, 42);
+ this.cmbSort.Location = new System.Drawing.Point(381, 40);
this.cmbSort.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSort.Name = "cmbSort";
this.cmbSort.Size = new System.Drawing.Size(46, 25);
@@ -1056,7 +1056,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
//
this.cmbGroupFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbGroupFilter.FormattingEnabled = true;
- this.cmbGroupFilter.Location = new System.Drawing.Point(175, 42);
+ this.cmbGroupFilter.Location = new System.Drawing.Point(175, 40);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(46, 25);
@@ -1071,7 +1071,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"是",
"否",
"导出未拉回"});
- this.cmbExportToOutServer.Location = new System.Drawing.Point(622, 42);
+ this.cmbExportToOutServer.Location = new System.Drawing.Point(622, 40);
this.cmbExportToOutServer.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbExportToOutServer.Name = "cmbExportToOutServer";
this.cmbExportToOutServer.Size = new System.Drawing.Size(47, 25);
@@ -1107,7 +1107,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"安全商品",
"违规商品",
"未校验"});
- this.cmbWxSafe.Location = new System.Drawing.Point(501, 42);
+ this.cmbWxSafe.Location = new System.Drawing.Point(501, 40);
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(47, 25);
@@ -1149,7 +1149,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
//
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat1.FormattingEnabled = true;
- this.cmbCat1.Location = new System.Drawing.Point(175, 77);
+ this.cmbCat1.Location = new System.Drawing.Point(175, 75);
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat1.Name = "cmbCat1";
this.cmbCat1.Size = new System.Drawing.Size(46, 25);
@@ -1171,7 +1171,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
//
this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat3.FormattingEnabled = true;
- this.cmbCat3.Location = new System.Drawing.Point(381, 77);
+ this.cmbCat3.Location = new System.Drawing.Point(381, 75);
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat3.Name = "cmbCat3";
this.cmbCat3.Size = new System.Drawing.Size(46, 25);
@@ -1268,7 +1268,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
"是",
"否",
"修复回传未拉回"});
- this.cmbHasReturn.Location = new System.Drawing.Point(743, 42);
+ this.cmbHasReturn.Location = new System.Drawing.Point(743, 40);
this.cmbHasReturn.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbHasReturn.Name = "cmbHasReturn";
this.cmbHasReturn.Size = new System.Drawing.Size(47, 25);
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs
index 78a7ff5..6f52d1e 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdListForm.cs
@@ -775,21 +775,23 @@ namespace TemuKJD.PDDForms.ProductSelectForms
}
}
- GetPDDProductGroup(new List { cmbGroup });
+ GetPDDProductGroup(new List { cmbGroup }, "", "无分组");
GetPDDProductGroup(new List { cmbGroupFilter }, "", "无分组");
}
- public static void GetPDDProductGroup(ComboBox box, string get_type = "", string addItems = "")
+ public static void GetPDDProductGroup(ComboBox box, string product_get_type = "", string addMoreItems = "", string group_add_user_name = "")
{
- GetPDDProductGroup(new List { box }, get_type, addItems);
+ GetPDDProductGroup(new List { box }, product_get_type, addMoreItems, group_add_user_name);
}
- public static void GetPDDProductGroup(List boxs, string get_type = "", string addItems = "")
+ public static void GetPDDProductGroup(List boxs, string product_get_type = "", string addMoreItems = "", string group_add_user_name = "")
{
var url = BaseClass.BuildPDDObjString("product/get_product_groups");
var data = UserLogin.GetSignaturex();
- if (!string.IsNullOrWhiteSpace(get_type))
- data += "&product_get_type=" + get_type;
+ if (!string.IsNullOrWhiteSpace(product_get_type))
+ data += "&product_get_type=" + product_get_type;
+ if (!string.IsNullOrWhiteSpace(group_add_user_name))
+ data += "&add_user_name=" + group_add_user_name;
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
html = GetHtml.PostUtf8(url, data);
@@ -808,9 +810,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
box.Items.Clear();
var groups = BaseRegex.GetStringJson(ref html, "data");
box.Items.Add("");
- if (!string.IsNullOrEmpty(addItems))
+ if (!string.IsNullOrEmpty(addMoreItems))
{
- foreach (var item in addItems.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
+ foreach (var item in addMoreItems.Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries))
{
box.Items.Add(item);
}
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs
index 316aca0..7ad6b7f 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDDBProdUserSelectForm.cs
@@ -280,9 +280,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
private void RefreshDbProd()
{
Task.Run(() =>
- {
+ {
// 同时刷新下商品分组
- PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter);
+ PDDDBProdListForm.GetPDDProductGroup(cmbGroupFilter, "", "", BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
// 刷新类目信息
GetPddProductCate();
@@ -6197,6 +6197,8 @@ Content-Type: image/jpeg
data += "&in_spu_ids=" + txtIdFilter.Text;
data += "&in_groups=" + cmbGroupFilter.Text;
+ data += "&add_user_name=" + (BaseClass.UserAuthority.Contains("机会商品采集") ? ("admin," + BaseClass.UserName) : "admin");
+
if (cmbSourceType.Text != "厂商直采" && cmbSourceType.Text != "1688厂家" && cmbSourceType.Text != "微信店采" && cmbSourceType.Text != "微信小店")
{
data += "&in_cates=" + (cmbCateFilter1.Text == "全部" ? "" : cmbCateFilter1.Text);
diff --git a/TEMUKJD/PDDForms/ProductSelectForms/PDDGetChanceProdForm.Designer.cs b/TEMUKJD/PDDForms/ProductSelectForms/PDDGetChanceProdForm.Designer.cs
index 1a69994..463d0b2 100644
--- a/TEMUKJD/PDDForms/ProductSelectForms/PDDGetChanceProdForm.Designer.cs
+++ b/TEMUKJD/PDDForms/ProductSelectForms/PDDGetChanceProdForm.Designer.cs
@@ -30,20 +30,16 @@ namespace TemuKJD.PDDForms.ProductSelectForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
- this.splitContainer2 = new System.Windows.Forms.SplitContainer();
- this.splitContainer3 = new System.Windows.Forms.SplitContainer();
- this.pbShopLoading = new System.Windows.Forms.PictureBox();
- this.pbLoading = new System.Windows.Forms.PictureBox();
- this.panel2 = new System.Windows.Forms.Panel();
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
+ this.btnShowMyCollect = new DevComponents.DotNetBar.PanelEx();
this.btnSelectNotGetDetail = new DevComponents.DotNetBar.PanelEx();
this.cmbFilterType = new System.Windows.Forms.ComboBox();
this.btnFilter = new DevComponents.DotNetBar.PanelEx();
@@ -82,6 +78,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.chkOverride = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.label6 = new System.Windows.Forms.Label();
this.txtMinPrice = new System.Windows.Forms.TextBox();
+ this.splitContainer2 = new System.Windows.Forms.SplitContainer();
+ this.splitContainer3 = new System.Windows.Forms.SplitContainer();
+ this.pbShopLoading = new System.Windows.Forms.PictureBox();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colUserName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -92,10 +91,9 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.pbLoading = new System.Windows.Forms.PictureBox();
+ this.panel2 = new System.Windows.Forms.Panel();
this.dgvChanceProduct = new TemuKJD.UserComponent.DataGridViewEx();
- this.chk = new TemuKJD.UserComponent.UcCheckBox(this.components);
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colChanceId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -106,10 +104,14 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colCate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.chk = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
+ this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
+ this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
@@ -119,9 +121,8 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
- this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvChanceProduct)).BeginInit();
this.SuspendLayout();
//
@@ -145,82 +146,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.splitContainer1.SplitterDistance = 140;
this.splitContainer1.TabIndex = 4;
//
- // splitContainer2
- //
- this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer2.Location = new System.Drawing.Point(0, 0);
- this.splitContainer2.Name = "splitContainer2";
- this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
- //
- // splitContainer2.Panel1
- //
- this.splitContainer2.Panel1.Controls.Add(this.splitContainer3);
- this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
- //
- // splitContainer2.Panel2
- //
- this.splitContainer2.Panel2.Controls.Add(this.chk);
- this.splitContainer2.Panel2.Controls.Add(this.statusBar);
- this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
- this.splitContainer2.Size = new System.Drawing.Size(1424, 491);
- this.splitContainer2.SplitterDistance = 462;
- this.splitContainer2.TabIndex = 0;
- //
- // splitContainer3
- //
- this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
- this.splitContainer3.Location = new System.Drawing.Point(4, 0);
- this.splitContainer3.Name = "splitContainer3";
- //
- // splitContainer3.Panel1
- //
- this.splitContainer3.Panel1.Controls.Add(this.pbShopLoading);
- this.splitContainer3.Panel1.Controls.Add(this.dgvShop);
- //
- // splitContainer3.Panel2
- //
- this.splitContainer3.Panel2.Controls.Add(this.pbLoading);
- this.splitContainer3.Panel2.Controls.Add(this.panel2);
- this.splitContainer3.Panel2.Controls.Add(this.dgvChanceProduct);
- this.splitContainer3.Size = new System.Drawing.Size(1416, 462);
- this.splitContainer3.SplitterDistance = 290;
- this.splitContainer3.TabIndex = 9;
- //
- // pbShopLoading
- //
- this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
- this.pbShopLoading.Location = new System.Drawing.Point(120, 206);
- this.pbShopLoading.Name = "pbShopLoading";
- this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
- this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pbShopLoading.TabIndex = 8;
- this.pbShopLoading.TabStop = false;
- //
- // pbLoading
- //
- this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
- this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
- this.pbLoading.Location = new System.Drawing.Point(536, 206);
- this.pbLoading.Name = "pbLoading";
- this.pbLoading.Size = new System.Drawing.Size(50, 50);
- this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
- this.pbLoading.TabIndex = 7;
- this.pbLoading.TabStop = false;
- this.pbLoading.Visible = false;
- //
- // panel2
- //
- this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
- | System.Windows.Forms.AnchorStyles.Left)
- | System.Windows.Forms.AnchorStyles.Right)));
- this.panel2.Location = new System.Drawing.Point(409, 355);
- this.panel2.Name = "panel2";
- this.panel2.Size = new System.Drawing.Size(690, 87);
- this.panel2.TabIndex = 8;
- //
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
@@ -228,6 +153,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
| System.Windows.Forms.AnchorStyles.Right)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
+ this.ucGroupBoxEx1.Controls.Add(this.btnShowMyCollect);
this.ucGroupBoxEx1.Controls.Add(this.btnSelectNotGetDetail);
this.ucGroupBoxEx1.Controls.Add(this.cmbFilterType);
this.ucGroupBoxEx1.Controls.Add(this.btnFilter);
@@ -273,6 +199,31 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "操作";
//
+ // btnShowMyCollect
+ //
+ this.btnShowMyCollect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnShowMyCollect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnShowMyCollect.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnShowMyCollect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnShowMyCollect.Location = new System.Drawing.Point(287, 103);
+ this.btnShowMyCollect.Name = "btnShowMyCollect";
+ this.btnShowMyCollect.Size = new System.Drawing.Size(100, 25);
+ this.btnShowMyCollect.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnShowMyCollect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnShowMyCollect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnShowMyCollect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnShowMyCollect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnShowMyCollect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnShowMyCollect.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnShowMyCollect.Style.GradientAngle = 90;
+ this.btnShowMyCollect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnShowMyCollect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnShowMyCollect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnShowMyCollect.TabIndex = 1049;
+ this.btnShowMyCollect.Text = "查看我的采集";
+ this.btnShowMyCollect.Visible = false;
+ this.btnShowMyCollect.Click += new System.EventHandler(this.btnGetMyCollect_Click);
+ //
// btnSelectNotGetDetail
//
this.btnSelectNotGetDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -399,7 +350,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnClear.CanvasColor = System.Drawing.SystemColors.Control;
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnClear.Location = new System.Drawing.Point(287, 88);
+ this.btnClear.Location = new System.Drawing.Point(287, 75);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(100, 25);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -477,7 +428,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnStop.Location = new System.Drawing.Point(287, 26);
+ this.btnStop.Location = new System.Drawing.Point(287, 19);
this.btnStop.Name = "btnStop";
this.btnStop.Size = new System.Drawing.Size(100, 25);
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -510,7 +461,7 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.btnStopStop.CanvasColor = System.Drawing.SystemColors.Control;
this.btnStopStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnStopStop.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnStopStop.Location = new System.Drawing.Point(287, 57);
+ this.btnStopStop.Location = new System.Drawing.Point(287, 47);
this.btnStopStop.Name = "btnStopStop";
this.btnStopStop.Size = new System.Drawing.Size(100, 25);
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -804,23 +755,77 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.txtMinPrice.TabIndex = 842;
this.txtMinPrice.Text = "10";
//
+ // splitContainer2
+ //
+ this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer2.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer2.Name = "splitContainer2";
+ this.splitContainer2.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer2.Panel1
+ //
+ this.splitContainer2.Panel1.Controls.Add(this.splitContainer3);
+ this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
+ //
+ // splitContainer2.Panel2
+ //
+ this.splitContainer2.Panel2.Controls.Add(this.chk);
+ this.splitContainer2.Panel2.Controls.Add(this.statusBar);
+ this.splitContainer2.Panel2.Controls.Add(this.ucSplitPage1);
+ this.splitContainer2.Size = new System.Drawing.Size(1424, 491);
+ this.splitContainer2.SplitterDistance = 462;
+ this.splitContainer2.TabIndex = 0;
+ //
+ // splitContainer3
+ //
+ this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer3.Location = new System.Drawing.Point(4, 0);
+ this.splitContainer3.Name = "splitContainer3";
+ //
+ // splitContainer3.Panel1
+ //
+ this.splitContainer3.Panel1.Controls.Add(this.pbShopLoading);
+ this.splitContainer3.Panel1.Controls.Add(this.dgvShop);
+ //
+ // splitContainer3.Panel2
+ //
+ this.splitContainer3.Panel2.Controls.Add(this.pbLoading);
+ this.splitContainer3.Panel2.Controls.Add(this.panel2);
+ this.splitContainer3.Panel2.Controls.Add(this.dgvChanceProduct);
+ this.splitContainer3.Size = new System.Drawing.Size(1416, 462);
+ this.splitContainer3.SplitterDistance = 290;
+ this.splitContainer3.TabIndex = 9;
+ //
+ // pbShopLoading
+ //
+ this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pbShopLoading.Location = new System.Drawing.Point(120, 206);
+ this.pbShopLoading.Name = "pbShopLoading";
+ this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
+ this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pbShopLoading.TabIndex = 8;
+ this.pbShopLoading.TabStop = false;
+ //
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+ dataGridViewCellStyle8.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle8;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle9;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -915,24 +920,46 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
//
+ // pbLoading
+ //
+ this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pbLoading.Location = new System.Drawing.Point(536, 206);
+ this.pbLoading.Name = "pbLoading";
+ this.pbLoading.Size = new System.Drawing.Size(50, 50);
+ this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pbLoading.TabIndex = 7;
+ this.pbLoading.TabStop = false;
+ this.pbLoading.Visible = false;
+ //
+ // panel2
+ //
+ this.panel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.panel2.Location = new System.Drawing.Point(409, 355);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(690, 87);
+ this.panel2.TabIndex = 8;
+ //
// dgvChanceProduct
//
this.dgvChanceProduct.AllowUserToAddRows = false;
this.dgvChanceProduct.AllowUserToDeleteRows = false;
- dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvChanceProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
+ dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvChanceProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
this.dgvChanceProduct.AutoRowNumber = true;
this.dgvChanceProduct.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
this.dgvChanceProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvChanceProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvChanceProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvChanceProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
this.dgvChanceProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvChanceProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -955,46 +982,6 @@ namespace TemuKJD.PDDForms.ProductSelectForms
this.dgvChanceProduct.TabIndex = 6;
this.dgvChanceProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvChanceProduct_CellContentClick);
//
- // chk
- //
- this.chk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.chk.AutoSize = true;
- this.chk.Checked = true;
- this.chk.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chk.Location = new System.Drawing.Point(1357, 3);
- this.chk.Name = "chk";
- this.chk.Size = new System.Drawing.Size(63, 21);
- this.chk.TabIndex = 671;
- this.chk.Text = "多选框";
- this.chk.UseVisualStyleBackColor = true;
- this.chk.Visible = false;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Left;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(296, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(743, 25);
- this.statusBar.TabIndex = 5;
- //
- // ucSplitPage1
- //
- this.ucSplitPage1.CurrentPage = 1;
- this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Left;
- this.ucSplitPage1.IsShowPageSize = false;
- this.ucSplitPage1.Location = new System.Drawing.Point(0, 0);
- this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
- this.ucSplitPage1.Name = "ucSplitPage1";
- this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
- this.ucSplitPage1.PageSize = 50;
- this.ucSplitPage1.Size = new System.Drawing.Size(296, 25);
- this.ucSplitPage1.TabIndex = 6;
- this.ucSplitPage1.TotalPage = 1;
- this.ucSplitPage1.PageChange += new System.Action