sku文字特效尝试

This commit is contained in:
wule committed 2026-04-05 14:52:49 +08:00
1 parent b62deb2e99
commit cd0e96918b
28 files changed
+1587 -550

No files matched your search

@@ -81,7 +81,7 @@ namespace TemuKJD.WXForms.ProductForms
if (lstTemuDBProductSelect == null)
lstTemuDBProductSelect = new NaiBa.Util.ConcurrentList<TemuDBProductSelect>();
lstAddPriceRule = NaiBa.Util.Helper.ConfigHelper.LoadConfig<NaiBa.Util.ConcurrentList<AddPriceRule>>("wx_add_price_rules");
lstAddPriceRule = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ConcurrentList<AddPriceRule>>("wx_add_price_rules");
if (lstAddPriceRule == null)
{
lstAddPriceRule = new NaiBa.Util.ConcurrentList<AddPriceRule>();
@@ -824,88 +824,54 @@ namespace TemuKJD.WXForms.ProductForms
int randomComProdInterval = Math.Max(1, BaseRegex.GetIntJson(ref html, "product_interval"));
string randomComProdGroup = BaseRegex.GetStringJson(ref html, "product_group");
int waitCompanyProdCnt = 0;
List<TemuDBProductSelect> CompanyProdLst = new List<TemuDBProductSelect>();
ConcurrentList<TemuDBProductSelect> CompanyProdLst = new ConcurrentList<TemuDBProductSelect>();
NaiBa.Util.ConcurrentList<ShopLoginInfo> currentShopList = new NaiBa.Util.ConcurrentList<ShopLoginInfo>();
ConcurrentList<ShopLoginInfo> currentShopList = new ConcurrentList<ShopLoginInfo>();
while (lstTemuDBProductSelect.Count > 0)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
Invoke(new Action(() =>
{
shopIdLst = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
}));
while (shopIdLst.Count <= 0)
shopIdLst = dgvShop.Rows.Cast<DataGridViewRow>().Where(row => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
if (shopIdLst.Count <= 0)
{
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "请至少勾选一个店铺";
shopIdLst = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
}));
Thread.Sleep(1000);
if (cancellationTokenSource.IsCancellationRequested)
break;
Thread.Sleep(500);
continue;
}
var randomShopLst = new NaiBa.Util.ConcurrentList<ShopLoginInfo>();
var randomShopLst = new ConcurrentList<ShopLoginInfo>();
randomShopLst.AddRange(GlobalConfig.ShopLoginList.Where(s => shopIdLst.Contains(s.ShopId) && s.LoginStatus == "登录成功"));
while (randomShopLst.Count <= 0)
if (randomShopLst.Count <= 0)
{
Thread.Sleep(1000);
Invoke(new Action(() =>
{
shopIdLst = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
}));
Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "所有店铺都已掉线,请登录店铺";
randomShopLst.Clear();
randomShopLst.AddRange(GlobalConfig.ShopLoginList.Where(s => shopIdLst.Contains(s.ShopId) && s.LoginStatus == "登录成功"));
}));
if (cancellationTokenSource.IsCancellationRequested)
break;
}
if (cancellationTokenSource.IsCancellationRequested)
break;
while (currentShopList.Count >= 20) // 最多20店同传
{
Thread.Sleep(100);
}
if (cancellationTokenSource.IsCancellationRequested)
break;
var randomShop = randomShopLst[Randomx.GetId(randomShopLst.Count)];
while (currentShopList.Any(s => s.ShopId == randomShop.ShopId))
{
Thread.Sleep(500);
var randomShopTmpLst = randomShopLst.Where(s => !currentShopList.Contains(s)).ToList();
if (randomShopTmpLst.Count == 0)
continue;
randomShop = randomShopTmpLst[Randomx.GetId(randomShopTmpLst.Count)];
}
currentShopList.Add(randomShop);
if (cancellationTokenSource.IsCancellationRequested)
break;
// 商品已全部上传,退出
if (lstTemuDBProductSelect.Count <= 0)
{
currentShopList.Remove(randomShop);
break;
}
if (randomShop == null)
{
currentShopList.Remove(randomShop);
continue;
}
if (currentShopList.Count >= 20) // 最多20店同传
{
Thread.Sleep(500);
continue;
}
var randomShop = randomShopLst.Where(s => !currentShopList.Contains(s)).ToList().OrderBy(x => Randomx.GetId(999999)).FirstOrDefault();
if (randomShop == null)
{
Thread.Sleep(500);
continue;
}
currentShopList.Add(randomShop);
if (cancellationTokenSource.IsCancellationRequested)
break;
// 每次挑选列表第一件商品
var selectProd = lstTemuDBProductSelect[0];
var selectProd = lstTemuDBProductSelect.FirstOrDefault();
selectProd.shop_id = randomShop.ShopId;
selectProd.shop_account = randomShop.ShopAccount;
@@ -935,7 +901,7 @@ namespace TemuKJD.WXForms.ProductForms
}
else
{
lstTemuDBProductSelect.RemoveAt(0);
lstTemuDBProductSelect.Remove(selectProd);
}
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_db_prod_upload_list", this.lstTemuDBProductSelect);
@@ -963,16 +929,12 @@ namespace TemuKJD.WXForms.ProductForms
// 过滤标题
var lstTitleReplaceText = new List<string>();
lstTitleReplaceText.Clear();
if (!txtReplaceText.Text.Trim().IsNullOrEmpty())
lstTitleReplaceText.AddRange(txtReplaceText.Text.Trim().Split(new string[] { ",", ",", " ", "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries));
// 过滤标题内指定词语
if (lstTitleReplaceText.Count > 0)
foreach (var txt in lstTitleReplaceText)
{
foreach (var txt in lstTitleReplaceText)
{
selectProd.product_name = selectProd.product_name.Replace(txt, "");
}
selectProd.product_name = selectProd.product_name.Replace(txt, "");
}
Invoke(new Action(() =>
@@ -1106,19 +1068,6 @@ namespace TemuKJD.WXForms.ProductForms
result = UploadProduct(shop, kjdDbProdTmp, selectProd, row.Cells["colOpResult"], startTime);
}
// 拼多多的虚拟图,微信不需要
//Invoke(new Action(() =>
//{
// row.Cells["colSkuFakeImgUrl"].Value = kjdDbProd.sku_img_replace_url;
// if (row.Displayed)
// {
// string getImgError = "";
// Image img = GetHtml.GetUrlImg(kjdDbProd.sku_img_replace_url.Replace("https://", "http://"), out getImgError);
// if (string.IsNullOrEmpty(getImgError))
// row.Cells["colSkuFakeImg"].Value = img;
// }
//}));
if (!result.Contains("success"))
{
WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
@@ -1387,7 +1336,7 @@ namespace TemuKJD.WXForms.ProductForms
if (dbProd.product_get_type_text == "厂商直采" && dbProd.sku_secret_json != null && dbProd.sku_secret_json.Contains("goodsId"))
{
string convertRst = "";
var ob = new PDDProdFormConverter().JstPddProdToPddConvert(out convertRst, dbProd);
var pInfo = new PDDProdFormConverter().JstPddProdToPddConvert(out convertRst, dbProd);
if (!string.IsNullOrEmpty(convertRst))
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
}
@@ -1397,7 +1346,7 @@ namespace TemuKJD.WXForms.ProductForms
if (dbProd.product_get_type_text == "微信店采")
{
string convertRst = "";
var ob = new PDDProdFormConverter().WXProdToPddConvert(out convertRst, dbProd);
var pInfo = new PDDProdFormConverter().WXProdToPddConvert(out convertRst, dbProd);
if (!string.IsNullOrEmpty(convertRst))
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
}
@@ -1407,7 +1356,7 @@ namespace TemuKJD.WXForms.ProductForms
if (dbProd.product_get_type_text == "1688厂家")
{
string convertRst = "";
var ob = new PDDProdFormConverter()._1688ClientToPddConvert(out convertRst, dbProd);
var pInfo = new PDDProdFormConverter()._1688ClientToPddConvert(out convertRst, dbProd);
if (!string.IsNullOrEmpty(convertRst))
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
}
@@ -1417,7 +1366,7 @@ namespace TemuKJD.WXForms.ProductForms
if (dbProd.product_get_type_text == "微信小店")
{
string convertRst = "";
var ob = new PDDProdFormConverter().WXClientToPddConvert(out convertRst, dbProd);
var pInfo = new PDDProdFormConverter().WXClientToPddConvert(out convertRst, dbProd);
if (!string.IsNullOrEmpty(convertRst))
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"商品查询错误 " + convertRst + "\"}";
}
@@ -1430,7 +1379,6 @@ namespace TemuKJD.WXForms.ProductForms
prodJObj = JObject.Parse(dbProd.product_json);
var lstTitleReplaceText = new List<string>();
lstTitleReplaceText.Clear();
if (!txtReplaceText.Text.Trim().IsNullOrEmpty())
lstTitleReplaceText.AddRange(txtReplaceText.Text.Trim().Split(new string[] { ",", ",", " ", "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries));
// 过滤标题敏感词
@@ -1690,12 +1638,12 @@ namespace TemuKJD.WXForms.ProductForms
prodInfo.detail.cats.FirstOrDefault() == "书籍/杂志/报纸" || dbProd.main_cat_name == "图书" || dbProd.main_cat_name == "书籍/杂志/报纸");
{
List<gallery_item> galls = new List<gallery_item>();
foreach (var gall in prodInfo.detail.galleries.Where(g => g.type == 1))
foreach (var gall in prodInfo.detail.galleries.Where(g => g.type == 1).ToList())
{
if (!galls.Any(g => g.url == gall.url)/* && !prodInfo.detail.sku.Any(s => s.thumb_url == gall.url)*/)
galls.Add(gall);
}
foreach (var gall in prodInfo.detail.galleries.Where(g => g.type == 2))
foreach (var gall in prodInfo.detail.galleries.Where(g => g.type == 2).ToList())
{
if (!galls.Any(g => g.url == gall.url)/* && !prodInfo.detail.sku.Any(s => s.thumb_url == gall.url)*/)
galls.Add(gall);
@@ -1793,7 +1741,8 @@ namespace TemuKJD.WXForms.ProductForms
}));
}
Thread.Sleep(Randomx.GetId(100, 300));
foreach (var gallery_item in prodInfo.detail.galleries.Where(g => g.type == 1).Take(9)) // 9张主图
var mainGalleries = prodInfo.detail.galleries.Where(g => g.type == 1).Take(9).ToList();
foreach (var gallery_item in mainGalleries) // 9张主图
{
try
{
@@ -2043,7 +1992,8 @@ namespace TemuKJD.WXForms.ProductForms
List<string> tempImgFullPathLst = new List<string>();
//-------------------------------------------------------------------------------------------------------------------------------------
// 生成ai识别类目所需图片
foreach (var gallery_item in prodInfo.detail.galleries.Where(g => g.type == 1).Take(3)) // 9张主图
var aiGalleries = prodInfo.detail.galleries.Where(g => g.type == 1).Take(3).ToList();
foreach (var gallery_item in aiGalleries) // 9张主图
{
string getImgError;
var image = GetHtml.GetUrlImg(gallery_item.url.Replace("https://", "http://"), out getImgError);
@@ -2522,6 +2472,7 @@ namespace TemuKJD.WXForms.ProductForms
}
catch (Exception ex)
{
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"运费模板解析失败 " + ex.Message + "\"}";
}
}
@@ -3825,7 +3776,7 @@ namespace TemuKJD.WXForms.ProductForms
string prodName = (upProdParam.product.info.category.Count > 2 ? upProdParam.product.info.category[2].name : upProdParam.product.info.category.LastOrDefault()?.name);
var baseImg = TemuKJD.Properties.Resources.qingxu;
var baseImg = TemuKJD.Properties.Resources.qingqu;
var newImg = new Bitmap(baseImg.Width, baseImg.Height);
using (Graphics g = Graphics.FromImage(newImg))
{
@@ -4078,7 +4029,7 @@ namespace TemuKJD.WXForms.ProductForms
//add_secret_spu_id_shop_id_map //测试id "2017522348787531778" FC4C8B7F3C6E4B029AD2A12D4D323B41
if (!string.IsNullOrEmpty(dbProd.secret_spu_id))
{
var url = BaseClass.BuildObjString("product/add_secret_spu_id_shop_id_map");
var url = BaseClass.BuildObjString("product/wx_add_secret_id_up_map");
var data = "";
Invoke(new Action(() =>
{
@@ -4086,7 +4037,9 @@ namespace TemuKJD.WXForms.ProductForms
data += "&up_secret_spu_id=" + dbProd.secret_spu_id;
data += "&up_spu_id=" + dbProd.spu_id;
data += "&shop_id=" + shop.ShopId;
data += "&index=" + dbProd.secret_spu_id.ParseToLong() % 1024;
data += "&index=" + Math.Abs(dbProd.secret_spu_id.GetHashCode()) % 1024;
data += "&price_max=" + upProdParam.product.productSkus.Max(s => s.productSkuInfo.salePrice);
data += "&price_min=" + upProdParam.product.productSkus.Min(s => s.productSkuInfo.salePrice);
}));
var html = GetHtml.PostUtf8(url, data);
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
@@ -4106,7 +4059,7 @@ namespace TemuKJD.WXForms.ProductForms
dicShopUpload[shop.ShopId].DicDayUploadCount[day] = 0;
dicShopUpload[shop.ShopId].DicDayUploadCount[day] += 1;
// 删除45天前的记录
var removeKeys = dicShopUpload[shop.ShopId].DicDayUploadCount.Keys.Where(s => s < DateTime.Now.AddDays(-45).ToString("yyyyMMdd").ParseToInt());
var removeKeys = dicShopUpload[shop.ShopId].DicDayUploadCount.Keys.Where(s => s < DateTime.Now.AddDays(-45).ToString("yyyyMMdd").ParseToInt()).ToList();
foreach (var key in removeKeys)
{
dicShopUpload[shop.ShopId].DicDayUploadCount.Remove(key);
+59 -61
View File
@@ -71,6 +71,8 @@ namespace TemuKJD.WXForms.ProductForms
this.label3 = new System.Windows.Forms.Label();
this.lblWxSafe = new System.Windows.Forms.Label();
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
this.lblGroup = new System.Windows.Forms.Label();
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
this.cmbSourceType = new System.Windows.Forms.ComboBox();
this.lblSourceType = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
@@ -104,9 +106,7 @@ namespace TemuKJD.WXForms.ProductForms
this.txtSecretStyleCode = new System.Windows.Forms.TextBox();
this.label1 = new System.Windows.Forms.Label();
this.chkWXComplateProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.lblGroup = new System.Windows.Forms.Label();
this.lblNotes = new System.Windows.Forms.Label();
this.cmbGroupFilter = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.txtNotes = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
@@ -258,27 +258,25 @@ namespace TemuKJD.WXForms.ProductForms
//
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel1.ColumnCount = 10;
this.tableLayoutPanel1.ColumnCount = 12;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.00225F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.0018F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.00225F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.0018F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 24.99475F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.99581F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25.00074F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20.00059F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundLessThan, 5, 1);
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundMoreThan, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundLessThan, 4, 1);
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundMoreThan, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 8, 0);
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 9, 0);
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 10, 0);
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 11, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbCat3, 7, 0);
this.tableLayoutPanel1.Controls.Add(this.label17, 6, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbCat2, 5, 0);
@@ -289,6 +287,8 @@ namespace TemuKJD.WXForms.ProductForms
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.lblGroup, 8, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbGroupFilter, 9, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbSourceType, 7, 1);
this.tableLayoutPanel1.Controls.Add(this.lblSourceType, 6, 1);
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
@@ -303,10 +303,10 @@ namespace TemuKJD.WXForms.ProductForms
// txtCatBoundLessThan
//
this.txtCatBoundLessThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtCatBoundLessThan.Location = new System.Drawing.Point(625, 41);
this.txtCatBoundLessThan.Location = new System.Drawing.Point(525, 41);
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
this.txtCatBoundLessThan.Size = new System.Drawing.Size(201, 23);
this.txtCatBoundLessThan.Size = new System.Drawing.Size(151, 23);
this.txtCatBoundLessThan.TabIndex = 883;
this.txtCatBoundLessThan.Text = "100000";
this.txtCatBoundLessThan.Visible = false;
@@ -314,10 +314,10 @@ namespace TemuKJD.WXForms.ProductForms
// txtCatBoundMoreThan
//
this.txtCatBoundMoreThan.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(348, 41);
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(298, 41);
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(201, 23);
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(151, 23);
this.txtCatBoundMoreThan.TabIndex = 882;
this.txtCatBoundMoreThan.Text = "1000";
this.txtCatBoundMoreThan.Visible = false;
@@ -325,7 +325,7 @@ namespace TemuKJD.WXForms.ProductForms
// chkCatBoundLessThan
//
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkCatBoundLessThan.Location = new System.Drawing.Point(558, 42);
this.chkCatBoundLessThan.Location = new System.Drawing.Point(458, 42);
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
@@ -337,7 +337,7 @@ namespace TemuKJD.WXForms.ProductForms
// chkCatBoundMoreThan
//
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(281, 42);
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(231, 42);
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
@@ -353,7 +353,7 @@ namespace TemuKJD.WXForms.ProductForms
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearch.Location = new System.Drawing.Point(1090, 5);
this.btnSearch.Location = new System.Drawing.Point(1091, 5);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(46, 25);
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -377,7 +377,7 @@ namespace TemuKJD.WXForms.ProductForms
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlEmpty.Location = new System.Drawing.Point(1142, 5);
this.pnlEmpty.Location = new System.Drawing.Point(1143, 5);
this.pnlEmpty.Name = "pnlEmpty";
this.pnlEmpty.Size = new System.Drawing.Size(46, 25);
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -404,10 +404,10 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat3.DropDownWidth = 1;
this.cmbCat3.FormattingEnabled = true;
this.cmbCat3.IntegralHeight = false;
this.cmbCat3.Location = new System.Drawing.Point(883, 7);
this.cmbCat3.Location = new System.Drawing.Point(733, 5);
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat3.Name = "cmbCat3";
this.cmbCat3.Size = new System.Drawing.Size(201, 25);
this.cmbCat3.Size = new System.Drawing.Size(151, 25);
this.cmbCat3.TabIndex = 811;
this.cmbCat3.Text = "全部";
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
@@ -417,7 +417,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(832, 9);
this.label17.Location = new System.Drawing.Point(682, 9);
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(51, 17);
@@ -432,10 +432,10 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat2.DropDownWidth = 1;
this.cmbCat2.FormattingEnabled = true;
this.cmbCat2.IntegralHeight = false;
this.cmbCat2.Location = new System.Drawing.Point(625, 7);
this.cmbCat2.Location = new System.Drawing.Point(525, 5);
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat2.Name = "cmbCat2";
this.cmbCat2.Size = new System.Drawing.Size(201, 25);
this.cmbCat2.Size = new System.Drawing.Size(151, 25);
this.cmbCat2.TabIndex = 804;
this.cmbCat2.Text = "全部";
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
@@ -445,7 +445,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(574, 9);
this.label14.Location = new System.Drawing.Point(474, 9);
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(51, 17);
@@ -460,10 +460,10 @@ namespace TemuKJD.WXForms.ProductForms
this.cmbCat1.DropDownWidth = 1;
this.cmbCat1.FormattingEnabled = true;
this.cmbCat1.IntegralHeight = false;
this.cmbCat1.Location = new System.Drawing.Point(348, 7);
this.cmbCat1.Location = new System.Drawing.Point(298, 5);
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat1.Name = "cmbCat1";
this.cmbCat1.Size = new System.Drawing.Size(201, 25);
this.cmbCat1.Size = new System.Drawing.Size(151, 25);
this.cmbCat1.TabIndex = 805;
this.cmbCat1.Text = "全部";
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
@@ -473,7 +473,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(297, 9);
this.label2.Location = new System.Drawing.Point(247, 9);
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(51, 17);
@@ -486,7 +486,7 @@ namespace TemuKJD.WXForms.ProductForms
this.txtProdName.Location = new System.Drawing.Point(71, 6);
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtProdName.Name = "txtProdName";
this.txtProdName.Size = new System.Drawing.Size(201, 23);
this.txtProdName.Size = new System.Drawing.Size(151, 23);
this.txtProdName.TabIndex = 427;
//
// label3
@@ -520,13 +520,36 @@ namespace TemuKJD.WXForms.ProductForms
"安全+未校验",
"安全商品",
"未校验"});
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
this.cmbWxSafe.Location = new System.Drawing.Point(71, 40);
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(201, 25);
this.cmbWxSafe.Size = new System.Drawing.Size(151, 25);
this.cmbWxSafe.TabIndex = 676;
this.cmbWxSafe.Text = "安全+未校验";
//
// lblGroup
//
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblGroup.AutoSize = true;
this.lblGroup.Location = new System.Drawing.Point(890, 9);
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblGroup.Name = "lblGroup";
this.lblGroup.Size = new System.Drawing.Size(44, 17);
this.lblGroup.TabIndex = 641;
this.lblGroup.Text = "分组:";
this.lblGroup.Visible = false;
//
// cmbGroupFilter
//
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(934, 7);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(151, 25);
this.cmbGroupFilter.TabIndex = 653;
this.cmbGroupFilter.Visible = false;
//
// cmbSourceType
//
this.cmbSourceType.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
@@ -541,10 +564,10 @@ namespace TemuKJD.WXForms.ProductForms
"机会商品",
"以图搜品",
"外部数据"});
this.cmbSourceType.Location = new System.Drawing.Point(883, 42);
this.cmbSourceType.Location = new System.Drawing.Point(733, 40);
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbSourceType.Name = "cmbSourceType";
this.cmbSourceType.Size = new System.Drawing.Size(201, 25);
this.cmbSourceType.Size = new System.Drawing.Size(151, 25);
this.cmbSourceType.TabIndex = 654;
this.cmbSourceType.Text = "厂商直采";
this.cmbSourceType.Visible = false;
@@ -555,7 +578,7 @@ namespace TemuKJD.WXForms.ProductForms
//
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblSourceType.AutoSize = true;
this.lblSourceType.Location = new System.Drawing.Point(839, 44);
this.lblSourceType.Location = new System.Drawing.Point(689, 44);
this.lblSourceType.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblSourceType.Name = "lblSourceType";
this.lblSourceType.Size = new System.Drawing.Size(44, 17);
@@ -586,9 +609,7 @@ namespace TemuKJD.WXForms.ProductForms
this.splitContainer2.Panel1.Controls.Add(this.txtSecretStyleCode);
this.splitContainer2.Panel1.Controls.Add(this.label1);
this.splitContainer2.Panel1.Controls.Add(this.chkWXComplateProd);
this.splitContainer2.Panel1.Controls.Add(this.lblGroup);
this.splitContainer2.Panel1.Controls.Add(this.lblNotes);
this.splitContainer2.Panel1.Controls.Add(this.cmbGroupFilter);
this.splitContainer2.Panel1.Controls.Add(this.label5);
this.splitContainer2.Panel1.Controls.Add(this.txtNotes);
this.splitContainer2.Panel1.Controls.Add(this.label15);
@@ -1013,18 +1034,6 @@ namespace TemuKJD.WXForms.ProductForms
this.chkWXComplateProd.UseVisualStyleBackColor = true;
this.chkWXComplateProd.Visible = false;
//
// lblGroup
//
this.lblGroup.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.lblGroup.AutoSize = true;
this.lblGroup.Location = new System.Drawing.Point(44, 327);
this.lblGroup.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblGroup.Name = "lblGroup";
this.lblGroup.Size = new System.Drawing.Size(44, 17);
this.lblGroup.TabIndex = 641;
this.lblGroup.Text = "分组:";
this.lblGroup.Visible = false;
//
// lblNotes
//
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Right;
@@ -1037,17 +1046,6 @@ namespace TemuKJD.WXForms.ProductForms
this.lblNotes.Text = "备注:";
this.lblNotes.Visible = false;
//
// cmbGroupFilter
//
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(88, 325);
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbGroupFilter.Name = "cmbGroupFilter";
this.cmbGroupFilter.Size = new System.Drawing.Size(133, 25);
this.cmbGroupFilter.TabIndex = 653;
this.cmbGroupFilter.Visible = false;
//
// label5
//
this.label5.Anchor = System.Windows.Forms.AnchorStyles.Left;
@@ -118,6 +118,14 @@ namespace TemuKJD.WXForms.ProductForms
{
lblSourceType.Visible = true;
cmbSourceType.Visible = true;
lblGroup.Visible = true;
cmbGroupFilter.Visible = true;
tableLayoutPanel1.ColumnStyles[9].SizeType = SizeType.Percent;
tableLayoutPanel1.ColumnStyles[9].Width = 20;
}
else
{
tableLayoutPanel1.ColumnStyles[9].SizeType = SizeType.AutoSize;
}
}