1.随机地址功能优化
2.商品随机主图遍框实现裂变
This commit is contained in:
1 parent
898a739b65
commit
3f6a91c164
10 files changed
+3523
-214
No files matched your search
@@ -108,6 +108,22 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.label27 = new System.Windows.Forms.Label();
|
||||
this.chkCommission = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnLoginAssistant = new DevComponents.DotNetBar.PanelEx();
|
||||
this.商品裂变 = new System.Windows.Forms.TabPage();
|
||||
this.txtDetailBorderImgCount = new System.Windows.Forms.TextBox();
|
||||
this.label35 = new System.Windows.Forms.Label();
|
||||
this.label36 = new System.Windows.Forms.Label();
|
||||
this.txtMainBorderImgCount = new System.Windows.Forms.TextBox();
|
||||
this.label34 = new System.Windows.Forms.Label();
|
||||
this.label33 = new System.Windows.Forms.Label();
|
||||
this.label32 = new System.Windows.Forms.Label();
|
||||
this.txtAiImgCount = new System.Windows.Forms.TextBox();
|
||||
this.chkAiImage = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkRandomDetailImgOrder = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkRandomMainImgOrder = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.lblFissionTitleCount = new System.Windows.Forms.Label();
|
||||
this.chkFissionGoodsName = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkRandomImgBorder = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.txtFissionTitle = new System.Windows.Forms.TextBox();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.cmbHot = new System.Windows.Forms.ComboBox();
|
||||
this.btnProdDb = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -221,6 +237,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucTabControlMetro1.SuspendLayout();
|
||||
this.上传参数.SuspendLayout();
|
||||
this.佣金上货.SuspendLayout();
|
||||
this.商品裂变.SuspendLayout();
|
||||
this.ucGroupBoxEx4.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbSelectProd)).BeginInit();
|
||||
this.ucGroupBoxEx1.SuspendLayout();
|
||||
@@ -688,6 +705,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.ucTabControlMetro1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(174)))), ((int)(((byte)(157)))));
|
||||
this.ucTabControlMetro1.Controls.Add(this.上传参数);
|
||||
this.ucTabControlMetro1.Controls.Add(this.佣金上货);
|
||||
this.ucTabControlMetro1.Controls.Add(this.商品裂变);
|
||||
this.ucTabControlMetro1.ItemSize = new System.Drawing.Size(72, 24);
|
||||
this.ucTabControlMetro1.Location = new System.Drawing.Point(421, 11);
|
||||
this.ucTabControlMetro1.Name = "ucTabControlMetro1";
|
||||
@@ -1191,6 +1209,192 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnLoginAssistant.Text = "佣金登录";
|
||||
this.btnLoginAssistant.Click += new System.EventHandler(this.btnLoginAssistant_Click);
|
||||
//
|
||||
// 商品裂变
|
||||
//
|
||||
this.商品裂变.Controls.Add(this.txtDetailBorderImgCount);
|
||||
this.商品裂变.Controls.Add(this.label35);
|
||||
this.商品裂变.Controls.Add(this.label36);
|
||||
this.商品裂变.Controls.Add(this.txtMainBorderImgCount);
|
||||
this.商品裂变.Controls.Add(this.label34);
|
||||
this.商品裂变.Controls.Add(this.label33);
|
||||
this.商品裂变.Controls.Add(this.label32);
|
||||
this.商品裂变.Controls.Add(this.txtAiImgCount);
|
||||
this.商品裂变.Controls.Add(this.chkAiImage);
|
||||
this.商品裂变.Controls.Add(this.chkRandomDetailImgOrder);
|
||||
this.商品裂变.Controls.Add(this.chkRandomMainImgOrder);
|
||||
this.商品裂变.Controls.Add(this.lblFissionTitleCount);
|
||||
this.商品裂变.Controls.Add(this.chkFissionGoodsName);
|
||||
this.商品裂变.Controls.Add(this.chkRandomImgBorder);
|
||||
this.商品裂变.Controls.Add(this.txtFissionTitle);
|
||||
this.商品裂变.Location = new System.Drawing.Point(4, 28);
|
||||
this.商品裂变.Name = "商品裂变";
|
||||
this.商品裂变.Padding = new System.Windows.Forms.Padding(3);
|
||||
this.商品裂变.Size = new System.Drawing.Size(531, 118);
|
||||
this.商品裂变.TabIndex = 3;
|
||||
this.商品裂变.Text = "商品裂变";
|
||||
this.商品裂变.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtDetailBorderImgCount
|
||||
//
|
||||
this.txtDetailBorderImgCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtDetailBorderImgCount.Location = new System.Drawing.Point(228, 90);
|
||||
this.txtDetailBorderImgCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtDetailBorderImgCount.Name = "txtDetailBorderImgCount";
|
||||
this.txtDetailBorderImgCount.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtDetailBorderImgCount.TabIndex = 902;
|
||||
this.txtDetailBorderImgCount.Text = "0";
|
||||
//
|
||||
// label35
|
||||
//
|
||||
this.label35.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label35.AutoSize = true;
|
||||
this.label35.Location = new System.Drawing.Point(186, 93);
|
||||
this.label35.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label35.Name = "label35";
|
||||
this.label35.Size = new System.Drawing.Size(44, 17);
|
||||
this.label35.TabIndex = 904;
|
||||
this.label35.Text = "详情图";
|
||||
//
|
||||
// label36
|
||||
//
|
||||
this.label36.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label36.AutoSize = true;
|
||||
this.label36.Location = new System.Drawing.Point(252, 93);
|
||||
this.label36.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label36.Name = "label36";
|
||||
this.label36.Size = new System.Drawing.Size(20, 17);
|
||||
this.label36.TabIndex = 903;
|
||||
this.label36.Text = "张";
|
||||
//
|
||||
// txtMainBorderImgCount
|
||||
//
|
||||
this.txtMainBorderImgCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.txtMainBorderImgCount.Location = new System.Drawing.Point(137, 90);
|
||||
this.txtMainBorderImgCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtMainBorderImgCount.Name = "txtMainBorderImgCount";
|
||||
this.txtMainBorderImgCount.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtMainBorderImgCount.TabIndex = 899;
|
||||
this.txtMainBorderImgCount.Text = "9";
|
||||
//
|
||||
// label34
|
||||
//
|
||||
this.label34.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label34.AutoSize = true;
|
||||
this.label34.Location = new System.Drawing.Point(106, 93);
|
||||
this.label34.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label34.Name = "label34";
|
||||
this.label34.Size = new System.Drawing.Size(32, 17);
|
||||
this.label34.TabIndex = 901;
|
||||
this.label34.Text = "主图";
|
||||
//
|
||||
// label33
|
||||
//
|
||||
this.label33.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.label33.AutoSize = true;
|
||||
this.label33.Location = new System.Drawing.Point(162, 93);
|
||||
this.label33.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label33.Name = "label33";
|
||||
this.label33.Size = new System.Drawing.Size(20, 17);
|
||||
this.label33.TabIndex = 900;
|
||||
this.label33.Text = "张";
|
||||
//
|
||||
// label32
|
||||
//
|
||||
this.label32.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.label32.AutoSize = true;
|
||||
this.label32.Location = new System.Drawing.Point(497, 57);
|
||||
this.label32.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label32.Name = "label32";
|
||||
this.label32.Size = new System.Drawing.Size(20, 17);
|
||||
this.label32.TabIndex = 898;
|
||||
this.label32.Text = "张";
|
||||
this.label32.Visible = false;
|
||||
//
|
||||
// txtAiImgCount
|
||||
//
|
||||
this.txtAiImgCount.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtAiImgCount.Location = new System.Drawing.Point(472, 54);
|
||||
this.txtAiImgCount.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
|
||||
this.txtAiImgCount.Name = "txtAiImgCount";
|
||||
this.txtAiImgCount.Size = new System.Drawing.Size(24, 23);
|
||||
this.txtAiImgCount.TabIndex = 897;
|
||||
this.txtAiImgCount.Text = "1";
|
||||
this.txtAiImgCount.Visible = false;
|
||||
//
|
||||
// chkAiImage
|
||||
//
|
||||
this.chkAiImage.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.chkAiImage.AutoSize = true;
|
||||
this.chkAiImage.Location = new System.Drawing.Point(403, 55);
|
||||
this.chkAiImage.Name = "chkAiImage";
|
||||
this.chkAiImage.Size = new System.Drawing.Size(74, 21);
|
||||
this.chkAiImage.TabIndex = 892;
|
||||
this.chkAiImage.Text = "Ai生主图";
|
||||
this.chkAiImage.UseVisualStyleBackColor = true;
|
||||
this.chkAiImage.Visible = false;
|
||||
//
|
||||
// chkRandomDetailImgOrder
|
||||
//
|
||||
this.chkRandomDetailImgOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkRandomDetailImgOrder.Location = new System.Drawing.Point(385, 91);
|
||||
this.chkRandomDetailImgOrder.Name = "chkRandomDetailImgOrder";
|
||||
this.chkRandomDetailImgOrder.Size = new System.Drawing.Size(107, 21);
|
||||
this.chkRandomDetailImgOrder.TabIndex = 896;
|
||||
this.chkRandomDetailImgOrder.Text = "随机详情图顺序";
|
||||
this.chkRandomDetailImgOrder.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkRandomMainImgOrder
|
||||
//
|
||||
this.chkRandomMainImgOrder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkRandomMainImgOrder.Location = new System.Drawing.Point(283, 91);
|
||||
this.chkRandomMainImgOrder.Name = "chkRandomMainImgOrder";
|
||||
this.chkRandomMainImgOrder.Size = new System.Drawing.Size(94, 21);
|
||||
this.chkRandomMainImgOrder.TabIndex = 895;
|
||||
this.chkRandomMainImgOrder.Text = "随机主图顺序";
|
||||
this.chkRandomMainImgOrder.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// lblFissionTitleCount
|
||||
//
|
||||
this.lblFissionTitleCount.ForeColor = System.Drawing.Color.Gray;
|
||||
this.lblFissionTitleCount.Location = new System.Drawing.Point(-10, 32);
|
||||
this.lblFissionTitleCount.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.lblFissionTitleCount.Name = "lblFissionTitleCount";
|
||||
this.lblFissionTitleCount.Size = new System.Drawing.Size(88, 17);
|
||||
this.lblFissionTitleCount.TabIndex = 894;
|
||||
this.lblFissionTitleCount.Text = "标题数:0";
|
||||
this.lblFissionTitleCount.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// chkFissionGoodsName
|
||||
//
|
||||
this.chkFissionGoodsName.Location = new System.Drawing.Point(10, 7);
|
||||
this.chkFissionGoodsName.Name = "chkFissionGoodsName";
|
||||
this.chkFissionGoodsName.Size = new System.Drawing.Size(68, 21);
|
||||
this.chkFissionGoodsName.TabIndex = 893;
|
||||
this.chkFissionGoodsName.Text = "裂变标题";
|
||||
this.chkFissionGoodsName.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkRandomImgBorder
|
||||
//
|
||||
this.chkRandomImgBorder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.chkRandomImgBorder.Location = new System.Drawing.Point(10, 91);
|
||||
this.chkRandomImgBorder.Name = "chkRandomImgBorder";
|
||||
this.chkRandomImgBorder.Size = new System.Drawing.Size(94, 21);
|
||||
this.chkRandomImgBorder.TabIndex = 890;
|
||||
this.chkRandomImgBorder.Text = "随机图片边框";
|
||||
this.chkRandomImgBorder.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// txtFissionTitle
|
||||
//
|
||||
this.txtFissionTitle.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.txtFissionTitle.Location = new System.Drawing.Point(81, 7);
|
||||
this.txtFissionTitle.Multiline = true;
|
||||
this.txtFissionTitle.Name = "txtFissionTitle";
|
||||
this.txtFissionTitle.Size = new System.Drawing.Size(444, 79);
|
||||
this.txtFissionTitle.TabIndex = 0;
|
||||
this.txtFissionTitle.TextChanged += new System.EventHandler(this.txtFissionTitle_TextChanged);
|
||||
//
|
||||
// ucGroupBoxEx4
|
||||
//
|
||||
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -2663,6 +2867,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.上传参数.PerformLayout();
|
||||
this.佣金上货.ResumeLayout(false);
|
||||
this.佣金上货.PerformLayout();
|
||||
this.商品裂变.ResumeLayout(false);
|
||||
this.商品裂变.PerformLayout();
|
||||
this.ucGroupBoxEx4.ResumeLayout(false);
|
||||
this.ucGroupBoxEx4.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbSelectProd)).EndInit();
|
||||
@@ -2862,5 +3068,21 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.ComboBox cmbCommissionAddOrReduce;
|
||||
private System.Windows.Forms.Label label29;
|
||||
private System.Windows.Forms.Label label31;
|
||||
private System.Windows.Forms.TabPage 商品裂变;
|
||||
private System.Windows.Forms.TextBox txtFissionTitle;
|
||||
private UserComponent.UcCheckBox chkRandomImgBorder;
|
||||
private UserComponent.UcCheckBox chkAiImage;
|
||||
private UserComponent.UcCheckBox chkFissionGoodsName;
|
||||
private System.Windows.Forms.Label lblFissionTitleCount;
|
||||
private UserComponent.UcCheckBox chkRandomDetailImgOrder;
|
||||
private UserComponent.UcCheckBox chkRandomMainImgOrder;
|
||||
private System.Windows.Forms.Label label32;
|
||||
private System.Windows.Forms.TextBox txtAiImgCount;
|
||||
private System.Windows.Forms.TextBox txtDetailBorderImgCount;
|
||||
private System.Windows.Forms.Label label35;
|
||||
private System.Windows.Forms.Label label36;
|
||||
private System.Windows.Forms.TextBox txtMainBorderImgCount;
|
||||
private System.Windows.Forms.Label label34;
|
||||
private System.Windows.Forms.Label label33;
|
||||
}
|
||||
}
|
||||
@@ -36,25 +36,34 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
public partial class WXDBProdUploadForm : BaseForm
|
||||
{
|
||||
public static WXDBProdUploadForm Instance { get; set; } = null;
|
||||
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
||||
public bool IsWxNotUseSoftwareDefaultAddressOnce { get; set; } = false;
|
||||
public bool IsLoadComplate { get; set; } = false;
|
||||
|
||||
public ConcurrentList<TemuDBProductSelect> lstTemuDBProductSelect = new ConcurrentList<TemuDBProductSelect>();
|
||||
ConcurrentList<WXShopTokenInfo> lstWXShopTokenInfo = new ConcurrentList<WXShopTokenInfo>();
|
||||
ConcurrentList<AddPriceRule> lstAddPriceRule = new ConcurrentList<AddPriceRule>();
|
||||
|
||||
bool isInit = false;
|
||||
CheckBox chkSelectAll = null;
|
||||
ConcurrentList<WXShopTokenInfo> lstWXShopTokenInfo = new ConcurrentList<WXShopTokenInfo>();
|
||||
ConcurrentList<TemuDBProductSelect> lstTemuDBProductSelect = new ConcurrentList<TemuDBProductSelect>();
|
||||
ConcurrentList<AddPriceRule> lstAddPriceRule = new ConcurrentList<AddPriceRule>();
|
||||
|
||||
AddPriceRule defaultAddPriceRule = null;
|
||||
WXUploadRule wxUploadRule = null;
|
||||
|
||||
public Dictionary<string, bool> dicCheckedShopId = new Dictionary<string, bool>();
|
||||
|
||||
public string pdd_product_cates = "";
|
||||
|
||||
public List<string> forceFilteKeyWords = new List<string>()
|
||||
{
|
||||
"顶级", "之王", "二手", "亏本", "冲量", "白菜价", "跳楼价", "xxx", "xx", "最大", "最小", "低价", "降价", "成本", "赔钱", "甩卖",
|
||||
"真丝", "蚕丝", "香云纱", "羊绒", "羊毛", "羊羔绒", "羊羔毛", "羽绒", "皮草"
|
||||
};
|
||||
|
||||
string DefaultAdultBrandId = "";
|
||||
|
||||
// 微信带货助手cookie
|
||||
List<Cookie> lstWxSaleAssistantCookie = new List<Cookie>();
|
||||
|
||||
@@ -65,6 +74,8 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
|
||||
private void UserSelectDbProductForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
Instance = this;
|
||||
|
||||
if (!BaseClass.UserAuthority.Contains("佣金上货"))
|
||||
this.ucTabControlMetro1.TabPages.Remove(佣金上货);
|
||||
else
|
||||
@@ -131,6 +142,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
{
|
||||
defaultAddPriceRule = new AddPriceRule() { AddPriceTimes = 1.3m, AddMorePrice = 1, SinglePriceAdd = 1 };
|
||||
}
|
||||
|
||||
//this.txtFissionTitle.Text = NaiBa.Util.Helper.ConfigHelper.LoadConfig<string>("wx_prod_fission_title").ParseToString();
|
||||
try
|
||||
{
|
||||
if (File.Exists("data\\config\\wx_prod_fission_title"))
|
||||
this.txtFissionTitle.Text = File.ReadAllText("data\\config\\wx_prod_fission_title");
|
||||
}
|
||||
catch { }
|
||||
|
||||
txtAddTimes.TextChanged -= txtAddPrice_TextChanged;
|
||||
txtAddMorePrice.TextChanged -= txtAddPrice_TextChanged;
|
||||
txtSinglePriceAdd.TextChanged -= txtAddPrice_TextChanged;
|
||||
@@ -155,6 +175,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
chkAddMorePriceFirst.CheckedChanged += chkAddMorePriceFirst_CheckedChanged;
|
||||
chkStepAddPrice.CheckedChanged += chkStepAddPrice_CheckedChanged;
|
||||
|
||||
|
||||
wxUploadRule = NaiBa.Util.Helper.ConfigHelper.LoadConfig<WXUploadRule>("wx_upload_rule");
|
||||
if (wxUploadRule == null)
|
||||
wxUploadRule = new WXUploadRule();
|
||||
@@ -335,6 +356,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
cmbSourceType.Items.Insert(1, "1688商品");
|
||||
cmbSourceType.Items.Insert(1, "多多商品");
|
||||
}
|
||||
if (!BaseClass.UserAuthority.Contains("商品裂变"))
|
||||
{
|
||||
ucTabControlMetro1.TabPages.Remove(商品裂变);
|
||||
}
|
||||
//#endif
|
||||
if (BaseClass.SaLevel == 1)
|
||||
{
|
||||
@@ -1935,8 +1960,33 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (token == null || token.isExpire || string.IsNullOrEmpty(token.accessToken))
|
||||
token = new WxApiBLL().GetRandomWxToken();
|
||||
|
||||
#region 设置标题
|
||||
#region 设置标题
|
||||
string prodTitle = dbProd.product_name.IsNullOrEmpty() ? prodInfo.detail.goods_name : dbProd.product_name;
|
||||
|
||||
// 裂变标题
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变") && chkFissionGoodsName.Checked)
|
||||
{
|
||||
bool isFinish = false;
|
||||
Invoke(new Action(() => {
|
||||
var titles = txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
if (titles.Count == 0)
|
||||
{
|
||||
cancellationTokenSource.Cancel();
|
||||
if (cell != null)
|
||||
cell.Value = "裂变标题数量不足,将暂停上传";
|
||||
BaseMsgForm.ShowError("裂变标题数量不足,将暂停上传");
|
||||
isFinish = true;
|
||||
}
|
||||
prodTitle = titles[0];
|
||||
titles.RemoveAt(0);
|
||||
txtFissionTitle.Text = string.Join("\r\n", titles);
|
||||
}));
|
||||
if (isFinish)
|
||||
{
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"裂变标题数量不足,将暂停上传\"}";
|
||||
}
|
||||
}
|
||||
|
||||
upProdInitParam.product.info.title = prodTitle;
|
||||
upProdParam.product.info.title = prodTitle;
|
||||
upProdParam.sessionInfo.sessionId = upProdInitParam.product.sessionId;
|
||||
@@ -2422,7 +2472,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
#endregion
|
||||
|
||||
#region ai短标题 // ai获取短标题
|
||||
if (wxUploadRule.IsAiShortTitle)
|
||||
if (wxUploadRule.IsAiShortTitle || chkAiImage.Checked)
|
||||
{
|
||||
if (cell != null)
|
||||
{
|
||||
@@ -4129,6 +4179,249 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region AI生成图片,用于商品裂变
|
||||
if (chkAiImage.Checked)
|
||||
{
|
||||
int imgCount = 1;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (cell != null)
|
||||
cell.Value = "正在Ai生图";
|
||||
imgCount = txtAiImgCount.Text.Trim().ParseToInt();
|
||||
if (imgCount == 0)
|
||||
imgCount = 1;
|
||||
}));
|
||||
|
||||
List<Task> tList = new List<Task>();
|
||||
List<string> errStrLst = new List<string>();
|
||||
for (int n = 0; n < upProdParam.product.info.headImg.Count && n < imgCount; n++)
|
||||
{
|
||||
while (tList.Count >= 10)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
tList.RemoveAll(t => t.IsCanceled || t.IsFaulted || t.IsCompleted);
|
||||
}
|
||||
var tt = Task.Run(() =>
|
||||
{
|
||||
var imgUrl = GetAiImg(upProdParam.product.info.headImg[n], upProdParam.product.info.shortTitle);
|
||||
if (imgUrl.StartsWith("生成Ai图片错误"))
|
||||
{
|
||||
errStrLst.Add(imgUrl);
|
||||
return;
|
||||
//return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"" + imgUrl + "\"}";
|
||||
}
|
||||
|
||||
// api上传图片文件 Ai主图
|
||||
if (1 == 1)
|
||||
{
|
||||
try
|
||||
{
|
||||
string errMsg = "";
|
||||
//var imgBase64 = GetImgBase64ForApi(out errMsg, imgUrl, needAddRandomBlock, wantAddRandomBlock, 800, 800);
|
||||
var imgBase64 = GetImgBase64ForApi(out errMsg, imgUrl, false, false, 800, 800);
|
||||
if (!string.IsNullOrEmpty(errMsg))
|
||||
{
|
||||
errStrLst.Add(errMsg);
|
||||
return;
|
||||
//return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
//if (needAddRandomBlock || wantAddRandomBlock)
|
||||
// upDate += "&random_code=true";
|
||||
upDate += "&img_url=" + imgUrl;
|
||||
upDate += "&img_base64=" + imgBase64;
|
||||
|
||||
var sTime = DateTime.Now;
|
||||
var apiUpImgFileRst = GetHtml.PostUtf8(urlImg, upDate);
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cell.Value = "正在上传Ai主图文件 " + (DateTime.Now - sTime).TotalMilliseconds.ParseToInt();
|
||||
}));
|
||||
}
|
||||
|
||||
for (int i = 0; i < 5 && apiUpImgFileRst.Contains("access_token expired"); i++)
|
||||
{
|
||||
token.mdyTime = DateTime.Now.AddDays(-100);
|
||||
token = new WxApiBLL().GetRandomWxToken();
|
||||
apiUpImgFileRst = GetHtml.PostUtf8(urlImg, upDate);
|
||||
}
|
||||
var upImgUrl = BaseRegex.GetStringJson(ref apiUpImgFileRst, "img_url");
|
||||
if (apiUpImgFileRst.Contains("\"errcode\":0") && !string.IsNullOrEmpty(upImgUrl))
|
||||
{
|
||||
upProdParam.product.info.headImg[n] = upImgUrl;
|
||||
//if (n == 0)
|
||||
// upProdParam.product.info.detail.detailImg.Insert(0, upImgUrl);
|
||||
}
|
||||
else
|
||||
{
|
||||
string upImgErrMsg = BaseRegex.GetStringJsonByRegs(ref apiUpImgFileRst, apiUpImgFileRst, "msg", "errMsg", "errorMsg", "err_msg", "error_msg");
|
||||
errStrLst.Add("上传Ai图失败 " + upImgErrMsg);
|
||||
return;
|
||||
//return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"上传Ai图失败 " + upImgErrMsg + "\"}";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
errStrLst.Add("上传Ai图失败 " + ex.Message);
|
||||
return;
|
||||
//return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"上传Ai图失败 " + ex.Message + "\"}";
|
||||
}
|
||||
}
|
||||
});
|
||||
tList.Add(tt);
|
||||
}
|
||||
while (tList.Count > 0)
|
||||
{
|
||||
Thread.Sleep(500);
|
||||
tList.RemoveAll(t => t.IsCanceled || t.IsFaulted || t.IsCompleted);
|
||||
}
|
||||
// 错误超过一定数量直接报错返回
|
||||
if (errStrLst.Count > 0 && errStrLst.Count >= imgCount / 3)
|
||||
{
|
||||
return string.Join(",", errStrLst);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 添加图片随机外框,用于商品裂变
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变") && chkRandomImgBorder.Checked)
|
||||
{
|
||||
int mainCount = 9;
|
||||
int detailCount = 1;
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
mainCount = txtMainBorderImgCount.Text.Trim().ParseToInt();
|
||||
detailCount = txtDetailBorderImgCount.Text.Trim().ParseToInt();
|
||||
}));
|
||||
// api上传图片文件 边框主图
|
||||
if (1 == 1)
|
||||
{
|
||||
if (chkRandomMainImgOrder.Checked)
|
||||
upProdParam.product.info.headImg = upProdParam.product.info.headImg.OrderBy(x => Guid.NewGuid()).Take(100).ToList();
|
||||
for (int n = 0; n < upProdParam.product.info.headImg.Count && n < mainCount; n++)
|
||||
{
|
||||
var imgUrl = upProdParam.product.info.headImg[n];
|
||||
try
|
||||
{
|
||||
string errMsg = "";
|
||||
//var imgBase64 = GetImgBase64ForApi(out errMsg, imgUrl, needAddRandomBlock, wantAddRandomBlock, 800, 800);
|
||||
var imgBase64 = GetImgBase64ForApi(out errMsg, imgUrl, false, false, 800, 800, true);
|
||||
if (!string.IsNullOrEmpty(errMsg))
|
||||
{
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
//if (needAddRandomBlock || wantAddRandomBlock)
|
||||
// upDate += "&random_code=true";
|
||||
upDate += "&img_url=" + imgUrl;
|
||||
upDate += "&img_base64=" + imgBase64;
|
||||
|
||||
var sTime = DateTime.Now;
|
||||
var apiUpImgFileRst = GetHtml.PostUtf8(urlImg, upDate);
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cell.Value = "正在优化主图文件 " + (DateTime.Now - sTime).TotalMilliseconds.ParseToInt();
|
||||
}));
|
||||
}
|
||||
|
||||
for (int i = 0; i < 5 && apiUpImgFileRst.Contains("access_token expired"); i++)
|
||||
{
|
||||
token.mdyTime = DateTime.Now.AddDays(-100);
|
||||
token = new WxApiBLL().GetRandomWxToken();
|
||||
apiUpImgFileRst = GetHtml.PostUtf8(urlImg, upDate);
|
||||
}
|
||||
var upImgUrl = BaseRegex.GetStringJson(ref apiUpImgFileRst, "img_url");
|
||||
if (apiUpImgFileRst.Contains("\"errcode\":0") && !string.IsNullOrEmpty(upImgUrl))
|
||||
{
|
||||
upProdParam.product.info.headImg[n] = upImgUrl;
|
||||
}
|
||||
else
|
||||
{
|
||||
string upImgErrMsg = BaseRegex.GetStringJsonByRegs(ref apiUpImgFileRst, apiUpImgFileRst, "msg", "errMsg", "errorMsg", "err_msg", "error_msg");
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"优化主图失败 " + upImgErrMsg + "\"}";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"优化主图失败 " + ex.Message + "\"}";
|
||||
}
|
||||
}
|
||||
}
|
||||
// api上传图片文件 边框详情图
|
||||
if (1 == 1)
|
||||
{
|
||||
if (chkRandomDetailImgOrder.Checked)
|
||||
upProdParam.product.info.detail.detailImg = upProdParam.product.info.detail.detailImg.OrderBy(x => Guid.NewGuid()).Take(100).ToList();
|
||||
for (int n = 0; n < upProdParam.product.info.detail.detailImg.Count && n < detailCount; n++)
|
||||
{
|
||||
var imgUrl = upProdParam.product.info.detail.detailImg[n];
|
||||
try
|
||||
{
|
||||
string errMsg = "";
|
||||
//var imgBase64 = GetImgBase64ForApi(out errMsg, imgUrl, needAddRandomBlock, wantAddRandomBlock, 800, 800);
|
||||
var imgBase64 = GetImgBase64ForApi(out errMsg, imgUrl, false, false, 800, 800, true);
|
||||
if (!string.IsNullOrEmpty(errMsg))
|
||||
{
|
||||
return errMsg;
|
||||
}
|
||||
|
||||
var urlImg = BaseClass.BuildPDDObjString("product/wx_api_upload_image");
|
||||
var upDate = UserLogin.GetSignaturex();
|
||||
upDate += "&token=" + token.accessToken;
|
||||
//upDate += "&is_file=true";
|
||||
//if (needAddRandomBlock || wantAddRandomBlock)
|
||||
// upDate += "&random_code=true";
|
||||
upDate += "&img_url=" + imgUrl;
|
||||
upDate += "&img_base64=" + imgBase64;
|
||||
|
||||
var sTime = DateTime.Now;
|
||||
var apiUpImgFileRst = GetHtml.PostUtf8(urlImg, upDate);
|
||||
if (cell != null)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
cell.Value = "正在优化详情图文件 " + (DateTime.Now - sTime).TotalMilliseconds.ParseToInt();
|
||||
}));
|
||||
}
|
||||
|
||||
for (int i = 0; i < 5 && apiUpImgFileRst.Contains("access_token expired"); i++)
|
||||
{
|
||||
token.mdyTime = DateTime.Now.AddDays(-100);
|
||||
token = new WxApiBLL().GetRandomWxToken();
|
||||
apiUpImgFileRst = GetHtml.PostUtf8(urlImg, upDate);
|
||||
}
|
||||
var upImgUrl = BaseRegex.GetStringJson(ref apiUpImgFileRst, "img_url");
|
||||
if (apiUpImgFileRst.Contains("\"errcode\":0") && !string.IsNullOrEmpty(upImgUrl))
|
||||
{
|
||||
upProdParam.product.info.detail.detailImg[n] = upImgUrl;
|
||||
}
|
||||
else
|
||||
{
|
||||
string upImgErrMsg = BaseRegex.GetStringJsonByRegs(ref apiUpImgFileRst, apiUpImgFileRst, "msg", "errMsg", "errorMsg", "err_msg", "error_msg");
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"优化详情图失败 " + upImgErrMsg + "\"}";
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "{\"success\":false,\"draftId\":0,\"status\":\"未上传\",\"errMsg\":\"优化详情图失败 " + ex.Message + "\"}";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
// 直接使用微信回采情趣商品品牌
|
||||
if (BaseClass.UserAuthority.ParseToString().Contains("微信回采") && chkUseWXComplateProd.Checked &&
|
||||
upProdParam.product.info.category.FirstOrDefault()?.name == "成人用品" && upProdParam.product.info.category[1].name != "情趣内衣")
|
||||
@@ -4426,14 +4719,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
|
||||
|
||||
public static string GetImgBase64ForApi(out string errorMsg, string img_url, bool needAddRandomBlock, bool wantAddRandomBlock, int imgWidth = 0, int imgHeight = 0)
|
||||
public static string GetImgBase64ForApi(out string errorMsg, string img_url, bool needAddRandomBlock, bool wantAddRandomBlock, int imgWidth = 0, int imgHeight = 0, bool wantAddRandomBorder = false)
|
||||
{
|
||||
errorMsg = "";
|
||||
string imgBase64 = "";
|
||||
//-------------------------------------------------------------------------------------------------------------------------------------
|
||||
//生成主图base64字符串
|
||||
string getImgError;
|
||||
if (!img_url.Contains("wst.wxapp.tc.qq.com"))
|
||||
if (!img_url.Contains("wst.wxapp.tc.qq.com") && !img_url.Contains("mmecimage.cn"))
|
||||
img_url = img_url.Replace("https://", "http://");
|
||||
var image = GetHtml.GetUrlImg(img_url, out getImgError);
|
||||
if (image == null)
|
||||
@@ -4459,6 +4752,14 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
g.FillRectangle(new SolidBrush(Color.FromArgb(Randomx.GetId(256), Randomx.GetId(256), Randomx.GetId(256))),
|
||||
new Rectangle(Randomx.GetId(imageBg.Width - 30), Randomx.GetId(imageBg.Height - 30), 30, 30));
|
||||
}
|
||||
if (wantAddRandomBorder)
|
||||
{
|
||||
var borderColor = Color.FromArgb(Randomx.GetId(256), Randomx.GetId(256), Randomx.GetId(256));
|
||||
g.FillRectangle(new SolidBrush(borderColor), new Rectangle(0, 0, imageBg.Width, 20));
|
||||
g.FillRectangle(new SolidBrush(borderColor), new Rectangle(0, imageBg.Height - 20, imageBg.Width, 20));
|
||||
g.FillRectangle(new SolidBrush(borderColor), new Rectangle(0, 0, 20, imageBg.Height));
|
||||
g.FillRectangle(new SolidBrush(borderColor), new Rectangle(imageBg.Width - 20, 0, 20, imageBg.Height));
|
||||
}
|
||||
}
|
||||
using (MemoryStream memoryStream = new MemoryStream())
|
||||
{
|
||||
@@ -4504,7 +4805,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
|
||||
|
||||
|
||||
public string UploadImg(ShopLoginInfo shop, Bitmap img, DataGridViewCell cell = null)
|
||||
{
|
||||
var upImgAuthRst = WXUpload.getUploadTempImgAuth(shop);
|
||||
@@ -4586,6 +4886,24 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}));
|
||||
});
|
||||
|
||||
if (BaseClass.UserAuthority.Contains("商品裂变") && chkFissionGoodsName.Checked)
|
||||
{
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
var titles = txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
txtAddCount.Text = "" + titles.Count;
|
||||
if (titles.Count == 0)
|
||||
{
|
||||
BaseMsgForm.ShowError("裂变标题数量不足");
|
||||
return;
|
||||
}
|
||||
|
||||
this.lstTemuDBProductSelect.Clear();
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_db_prod_upload_list", this.lstTemuDBProductSelect);
|
||||
lblWaitToUp.Text = "待上传 " + lstTemuDBProductSelect.Count + " 件";
|
||||
}));
|
||||
}
|
||||
|
||||
pbSelectProd.Visible = true;
|
||||
int addCount = txtAddCount.Text.Trim().ParseToInt();
|
||||
if (getProdTokenSource != null)
|
||||
@@ -4866,6 +5184,36 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}
|
||||
}
|
||||
|
||||
public string GetAiImg(string imgUrl, string imgWord)
|
||||
{
|
||||
string image_url = imgUrl;
|
||||
string word = imgWord;
|
||||
string secret = "sadhjufhe15c4fbvFBvcvds+5sdfds@#%$xsc";
|
||||
string time = BaseClass.DateTimeToTimestampSeconds(DateTime.Now).ToString();
|
||||
string code = BaseClass.GetMd5(secret + time).ToLower();
|
||||
|
||||
try
|
||||
{
|
||||
//string url = "http://ai-bs.jiaotian.vip:" + Randomx.GetId(20010, 20021) + "/index.php?obj=public/image";
|
||||
//http://svn.jiaotian.vip:20010-20020/index.php?obj=public/image
|
||||
string url = "http://svn.jiaotian.vip:" + Randomx.GetId(20010, 20021) + "/index.php?obj=public/image";
|
||||
string data = "time=" + time + "&code=" + code + "&image_url=" + image_url + "&word=" + word;
|
||||
string html = GetHtml.PostUtf8(url, data, "", 120);
|
||||
if (!string.IsNullOrEmpty(html) && !html.Contains("error"))
|
||||
{
|
||||
return html;
|
||||
}
|
||||
else
|
||||
{
|
||||
return "生成Ai图片错误 " + html;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
return "生成Ai图片错误 " + ex.Message;
|
||||
}
|
||||
}
|
||||
|
||||
private void btnClearUpload_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (BaseMsgForm.ShowConfirm("确定清空待上传商品吗?清空后不可恢复!").DialogResult == DialogResult.Cancel)
|
||||
@@ -5532,7 +5880,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
WXUserProdListForm.Instance.BringToFront();
|
||||
}
|
||||
|
||||
private void dbProdList_SaveComplete(object obj)
|
||||
public void dbProdList_SaveComplete(object obj)
|
||||
{
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_db_prod_upload_list", this.lstTemuDBProductSelect);
|
||||
Invoke(new Action(() =>
|
||||
@@ -5565,6 +5913,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
if (lstWxSaleAssistantCookie == null)
|
||||
lstWxSaleAssistantCookie = new List<Cookie>();
|
||||
}
|
||||
|
||||
private void txtFissionTitle_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (this.IsLoadComplate)
|
||||
NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_prod_fission_title", txtFissionTitle.Text);
|
||||
lblFissionTitleCount.Text = "标题数:" + txtFissionTitle.Text.Split(new string[] { "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList().Count();
|
||||
}
|
||||
}
|
||||
|
||||
public class WXUpload
|
||||
|
||||
+120
-92
@@ -49,14 +49,15 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WXUserCollectAuthProdListForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnSelect = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnStopStop = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnGetProdWxCate = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.txtCatBoundLessThan = new System.Windows.Forms.TextBox();
|
||||
this.chkCatBoundLessThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtSPU = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.cmbWxCat = new System.Windows.Forms.ComboBox();
|
||||
@@ -158,7 +159,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSelect);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSearch);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnStopStop);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnEmpty);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnGetProdWxCate);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
@@ -170,15 +174,65 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.splitContainer1.SplitterDistance = 74;
|
||||
this.splitContainer1.TabIndex = 1;
|
||||
//
|
||||
// btnSelect
|
||||
//
|
||||
this.btnSelect.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSelect.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSelect.Location = new System.Drawing.Point(1060, 44);
|
||||
this.btnSelect.Name = "btnSelect";
|
||||
this.btnSelect.Size = new System.Drawing.Size(95, 25);
|
||||
this.btnSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSelect.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSelect.Style.GradientAngle = 90;
|
||||
this.btnSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSelect.TabIndex = 894;
|
||||
this.btnSelect.Text = "批量添加上传";
|
||||
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
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(1060, 9);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearch.Style.GradientAngle = 90;
|
||||
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 643;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// btnStopStop
|
||||
//
|
||||
this.btnStopStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
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(1209, 42);
|
||||
this.btnStopStop.Location = new System.Drawing.Point(1263, 9);
|
||||
this.btnStopStop.Name = "btnStopStop";
|
||||
this.btnStopStop.Size = new System.Drawing.Size(84, 25);
|
||||
this.btnStopStop.Size = new System.Drawing.Size(63, 25);
|
||||
this.btnStopStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnStopStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnStopStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -195,6 +249,31 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnStopStop.Text = "停止操作";
|
||||
this.btnStopStop.Click += new System.EventHandler(this.btnStopStop_Click);
|
||||
//
|
||||
// btnEmpty
|
||||
//
|
||||
this.btnEmpty.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1109, 9);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnEmpty.Style.GradientAngle = 90;
|
||||
this.btnEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnEmpty.TabIndex = 431;
|
||||
this.btnEmpty.Text = "清空";
|
||||
this.btnEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// btnGetProdWxCate
|
||||
//
|
||||
this.btnGetProdWxCate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -202,7 +281,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnGetProdWxCate.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnGetProdWxCate.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnGetProdWxCate.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnGetProdWxCate.Location = new System.Drawing.Point(1209, 9);
|
||||
this.btnGetProdWxCate.Location = new System.Drawing.Point(1176, 9);
|
||||
this.btnGetProdWxCate.Name = "btnGetProdWxCate";
|
||||
this.btnGetProdWxCate.Size = new System.Drawing.Size(84, 25);
|
||||
this.btnGetProdWxCate.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -251,13 +330,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.ColumnCount = 14;
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66817F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66817F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66318F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66716F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16.66667F));
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
@@ -266,8 +345,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtCatBoundLessThan, 9, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkCatBoundLessThan, 8, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 12, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnEmpty, 13, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtSPU, 1, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label5, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbWxCat, 11, 0);
|
||||
@@ -294,23 +371,23 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33444F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33445F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33.33112F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1199, 105);
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1050, 105);
|
||||
this.tableLayoutPanel1.TabIndex = 679;
|
||||
//
|
||||
// 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(791, 41);
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(763, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(116, 23);
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
//
|
||||
// chkCatBoundLessThan
|
||||
//
|
||||
this.chkCatBoundLessThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(724, 42);
|
||||
this.chkCatBoundLessThan.Location = new System.Drawing.Point(696, 42);
|
||||
this.chkCatBoundLessThan.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkCatBoundLessThan.Name = "chkCatBoundLessThan";
|
||||
this.chkCatBoundLessThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -319,63 +396,13 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.chkCatBoundLessThan.UseVisualStyleBackColor = true;
|
||||
this.chkCatBoundLessThan.CheckedChanged += new System.EventHandler(this.chkCatBoundLessThan_CheckedChanged);
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
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(1095, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearch.Style.GradientAngle = 90;
|
||||
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 643;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// btnEmpty
|
||||
//
|
||||
this.btnEmpty.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1147, 5);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(46, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnEmpty.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnEmpty.Style.GradientAngle = 90;
|
||||
this.btnEmpty.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnEmpty.TabIndex = 431;
|
||||
this.btnEmpty.Text = "清空";
|
||||
this.btnEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// txtSPU
|
||||
//
|
||||
this.txtSPU.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtSPU.Location = new System.Drawing.Point(52, 6);
|
||||
this.txtSPU.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtSPU.Name = "txtSPU";
|
||||
this.txtSPU.Size = new System.Drawing.Size(116, 23);
|
||||
this.txtSPU.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtSPU.TabIndex = 434;
|
||||
//
|
||||
// label5
|
||||
@@ -397,27 +424,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"是",
|
||||
"否"});
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(973, 7);
|
||||
this.cmbWxCat.Location = new System.Drawing.Point(938, 5);
|
||||
this.cmbWxCat.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxCat.Name = "cmbWxCat";
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(116, 25);
|
||||
this.cmbWxCat.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbWxCat.TabIndex = 802;
|
||||
//
|
||||
// txtProdName
|
||||
//
|
||||
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.tableLayoutPanel1.SetColumnSpan(this.txtProdName, 3);
|
||||
this.txtProdName.Location = new System.Drawing.Point(234, 6);
|
||||
this.txtProdName.Location = new System.Drawing.Point(227, 6);
|
||||
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtProdName.Name = "txtProdName";
|
||||
this.txtProdName.Size = new System.Drawing.Size(281, 23);
|
||||
this.txtProdName.Size = new System.Drawing.Size(267, 23);
|
||||
this.txtProdName.TabIndex = 427;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(913, 9);
|
||||
this.label12.Location = new System.Drawing.Point(878, 9);
|
||||
this.label12.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -428,7 +455,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label3.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(174, 9);
|
||||
this.label3.Location = new System.Drawing.Point(167, 9);
|
||||
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -454,10 +481,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 42);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(52, 40);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(116, 25);
|
||||
this.cmbCat1.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat1.TabIndex = 805;
|
||||
this.cmbCat1.Text = "全部";
|
||||
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
|
||||
@@ -466,17 +493,17 @@ 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(595, 41);
|
||||
this.txtCatBoundMoreThan.Location = new System.Drawing.Point(574, 41);
|
||||
this.txtCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundMoreThan.Name = "txtCatBoundMoreThan";
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(116, 23);
|
||||
this.txtCatBoundMoreThan.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtCatBoundMoreThan.TabIndex = 882;
|
||||
this.txtCatBoundMoreThan.Text = "1000";
|
||||
//
|
||||
// chkCatBoundMoreThan
|
||||
//
|
||||
this.chkCatBoundMoreThan.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(528, 42);
|
||||
this.chkCatBoundMoreThan.Location = new System.Drawing.Point(507, 42);
|
||||
this.chkCatBoundMoreThan.Margin = new System.Windows.Forms.Padding(10, 3, 3, 3);
|
||||
this.chkCatBoundMoreThan.Name = "chkCatBoundMoreThan";
|
||||
this.chkCatBoundMoreThan.Size = new System.Drawing.Size(64, 21);
|
||||
@@ -489,7 +516,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(191, 44);
|
||||
this.label14.Location = new System.Drawing.Point(184, 44);
|
||||
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -504,10 +531,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.DropDownWidth = 1;
|
||||
this.cmbCat2.FormattingEnabled = true;
|
||||
this.cmbCat2.IntegralHeight = false;
|
||||
this.cmbCat2.Location = new System.Drawing.Point(234, 42);
|
||||
this.cmbCat2.Location = new System.Drawing.Point(227, 40);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(116, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
@@ -517,7 +544,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(356, 44);
|
||||
this.label17.Location = new System.Drawing.Point(342, 44);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(43, 17);
|
||||
@@ -532,10 +559,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(399, 42);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(385, 40);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(116, 25);
|
||||
this.cmbCat3.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbCat3.TabIndex = 811;
|
||||
this.cmbCat3.Text = "全部";
|
||||
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
|
||||
@@ -545,7 +572,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.lblWxSafe.AutoSize = true;
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(913, 44);
|
||||
this.lblWxSafe.Location = new System.Drawing.Point(878, 44);
|
||||
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblWxSafe.Name = "lblWxSafe";
|
||||
this.lblWxSafe.Size = new System.Drawing.Size(60, 17);
|
||||
@@ -561,27 +588,27 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"安全+未校验",
|
||||
"安全商品",
|
||||
"未校验"});
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(973, 42);
|
||||
this.cmbWxSafe.Location = new System.Drawing.Point(938, 40);
|
||||
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbWxSafe.Name = "cmbWxSafe";
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(116, 25);
|
||||
this.cmbWxSafe.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbWxSafe.TabIndex = 676;
|
||||
this.cmbWxSafe.Text = "安全+未校验";
|
||||
//
|
||||
// txtNotes
|
||||
//
|
||||
this.txtNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtNotes.Location = new System.Drawing.Point(791, 6);
|
||||
this.txtNotes.Location = new System.Drawing.Point(763, 6);
|
||||
this.txtNotes.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtNotes.Name = "txtNotes";
|
||||
this.txtNotes.Size = new System.Drawing.Size(116, 23);
|
||||
this.txtNotes.Size = new System.Drawing.Size(109, 23);
|
||||
this.txtNotes.TabIndex = 439;
|
||||
//
|
||||
// lblNotes
|
||||
//
|
||||
this.lblNotes.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblNotes.AutoSize = true;
|
||||
this.lblNotes.Location = new System.Drawing.Point(755, 9);
|
||||
this.lblNotes.Location = new System.Drawing.Point(727, 9);
|
||||
this.lblNotes.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblNotes.Name = "lblNotes";
|
||||
this.lblNotes.Size = new System.Drawing.Size(36, 17);
|
||||
@@ -596,10 +623,10 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"多多商品",
|
||||
"1688商品"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(595, 7);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(574, 5);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(116, 25);
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(109, 25);
|
||||
this.cmbSourceType.TabIndex = 654;
|
||||
this.cmbSourceType.SelectedIndexChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
this.cmbSourceType.TextChanged += new System.EventHandler(this.cmbSourceType_SelectedIndexChanged);
|
||||
@@ -608,7 +635,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(551, 9);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(530, 9);
|
||||
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);
|
||||
@@ -1381,5 +1408,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_edit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_delete;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn col_select_product;
|
||||
private DevComponents.DotNetBar.PanelEx btnSelect;
|
||||
}
|
||||
}
|
||||
@@ -744,10 +744,6 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
}, cancellationTokenSource.Token);
|
||||
}
|
||||
|
||||
void SelectProduct(KJDDBProduct[] prodList)
|
||||
{
|
||||
}
|
||||
|
||||
private void dgvDbProduct_Scroll(object sender, ScrollEventArgs e)
|
||||
{
|
||||
ShowDgvImg();
|
||||
@@ -982,5 +978,49 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
Thread.Sleep(1000);
|
||||
}
|
||||
}
|
||||
|
||||
private void btnSelect_Click(object sender, EventArgs e)
|
||||
{
|
||||
var lstProdId = dgvDbProduct.Rows.Cast<DataGridViewRow>().Where(row
|
||||
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["col_spu_id"]?.Value.ToString()).ToList();
|
||||
var prodList = this.lstTemuDbProduct.Where(p => lstProdId.Contains(p.spu_id)).ToArray();
|
||||
|
||||
if (prodList.Count() > 0)
|
||||
{
|
||||
this.btnSelect.Enabled = false;
|
||||
Task.Run(() =>
|
||||
{
|
||||
SelectProduct(prodList);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
this.btnSelect.Enabled = true;
|
||||
BaseMsgForm.ShowInfo("添加成功");
|
||||
}));
|
||||
});
|
||||
}
|
||||
else
|
||||
{
|
||||
BaseMsgForm.ShowError("请选择商品!");
|
||||
}
|
||||
}
|
||||
|
||||
void SelectProduct(KJDDBProduct[] prodList)
|
||||
{
|
||||
if (WXDBProdUploadForm.Instance != null)
|
||||
{
|
||||
foreach (var prod in prodList)
|
||||
{
|
||||
var selectProd = JsonHelper.DeserializeJsonToObject<TemuDBProductSelect>(JsonHelper.SerializeObject(prod));
|
||||
selectProd.out_product_Id = prod.id.ToString();
|
||||
selectProd.id = 1;
|
||||
if (WXDBProdUploadForm.Instance.lstTemuDBProductSelect.Count > 0)
|
||||
selectProd.id = WXDBProdUploadForm.Instance.lstTemuDBProductSelect.Max(p => p.id) + 1;
|
||||
//if (!string.IsNullOrEmpty(lblSetShop.Tag.ParseToString()))
|
||||
// selectProd.shop_id = lblSetShop.Tag.ParseToString();
|
||||
WXDBProdUploadForm.Instance.lstTemuDBProductSelect.Add(selectProd);
|
||||
}
|
||||
WXDBProdUploadForm.Instance.dbProdList_SaveComplete(WXDBProdUploadForm.Instance.lstTemuDBProductSelect);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
+18
-18
@@ -330,16 +330,16 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
// txtViewUvMin
|
||||
//
|
||||
this.txtViewUvMin.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1133, 41);
|
||||
this.txtViewUvMin.Location = new System.Drawing.Point(1132, 41);
|
||||
this.txtViewUvMin.Name = "txtViewUvMin";
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(57, 23);
|
||||
this.txtViewUvMin.Size = new System.Drawing.Size(58, 23);
|
||||
this.txtViewUvMin.TabIndex = 882;
|
||||
this.txtViewUvMin.Visible = false;
|
||||
//
|
||||
// chkViewUvMin
|
||||
//
|
||||
this.chkViewUvMin.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1079, 42);
|
||||
this.chkViewUvMin.Location = new System.Drawing.Point(1078, 42);
|
||||
this.chkViewUvMin.Margin = new System.Windows.Forms.Padding(6, 3, 3, 3);
|
||||
this.chkViewUvMin.Name = "chkViewUvMin";
|
||||
this.chkViewUvMin.Size = new System.Drawing.Size(48, 21);
|
||||
@@ -356,7 +356,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"",
|
||||
"爆款数据",
|
||||
"普通商品"});
|
||||
this.cmbHot.Location = new System.Drawing.Point(922, 7);
|
||||
this.cmbHot.Location = new System.Drawing.Point(921, 7);
|
||||
this.cmbHot.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbHot.Name = "cmbHot";
|
||||
this.cmbHot.Size = new System.Drawing.Size(148, 25);
|
||||
@@ -369,7 +369,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblHot.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblHot.AutoSize = true;
|
||||
this.lblHot.Location = new System.Drawing.Point(878, 9);
|
||||
this.lblHot.Location = new System.Drawing.Point(877, 9);
|
||||
this.lblHot.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblHot.Name = "lblHot";
|
||||
this.lblHot.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -384,7 +384,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(1076, 5);
|
||||
this.btnSearch.Location = new System.Drawing.Point(1075, 5);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(51, 25);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -408,9 +408,9 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.btnEmpty.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnEmpty.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1133, 5);
|
||||
this.btnEmpty.Location = new System.Drawing.Point(1132, 5);
|
||||
this.btnEmpty.Name = "btnEmpty";
|
||||
this.btnEmpty.Size = new System.Drawing.Size(57, 25);
|
||||
this.btnEmpty.Size = new System.Drawing.Size(58, 25);
|
||||
this.btnEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnEmpty.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnEmpty.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
@@ -435,7 +435,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat3.DropDownWidth = 1;
|
||||
this.cmbCat3.FormattingEnabled = true;
|
||||
this.cmbCat3.IntegralHeight = false;
|
||||
this.cmbCat3.Location = new System.Drawing.Point(724, 7);
|
||||
this.cmbCat3.Location = new System.Drawing.Point(723, 7);
|
||||
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat3.Name = "cmbCat3";
|
||||
this.cmbCat3.Size = new System.Drawing.Size(148, 25);
|
||||
@@ -448,7 +448,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(673, 9);
|
||||
this.label17.Location = new System.Drawing.Point(672, 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);
|
||||
@@ -466,7 +466,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat2.Location = new System.Drawing.Point(519, 7);
|
||||
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat2.Name = "cmbCat2";
|
||||
this.cmbCat2.Size = new System.Drawing.Size(148, 25);
|
||||
this.cmbCat2.Size = new System.Drawing.Size(147, 25);
|
||||
this.cmbCat2.TabIndex = 804;
|
||||
this.cmbCat2.Text = "全部";
|
||||
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
|
||||
@@ -491,7 +491,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.cmbCat1.DropDownWidth = 1;
|
||||
this.cmbCat1.FormattingEnabled = true;
|
||||
this.cmbCat1.IntegralHeight = false;
|
||||
this.cmbCat1.Location = new System.Drawing.Point(295, 7);
|
||||
this.cmbCat1.Location = new System.Drawing.Point(295, 5);
|
||||
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbCat1.Name = "cmbCat1";
|
||||
this.cmbCat1.Size = new System.Drawing.Size(148, 25);
|
||||
@@ -551,7 +551,7 @@ 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(148, 25);
|
||||
@@ -599,7 +599,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
this.txtCatBoundLessThan.Location = new System.Drawing.Point(519, 41);
|
||||
this.txtCatBoundLessThan.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.txtCatBoundLessThan.Name = "txtCatBoundLessThan";
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(148, 23);
|
||||
this.txtCatBoundLessThan.Size = new System.Drawing.Size(147, 23);
|
||||
this.txtCatBoundLessThan.TabIndex = 883;
|
||||
this.txtCatBoundLessThan.Text = "100000";
|
||||
this.txtCatBoundLessThan.Visible = false;
|
||||
@@ -608,7 +608,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
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(922, 42);
|
||||
this.cmbGroupFilter.Location = new System.Drawing.Point(921, 42);
|
||||
this.cmbGroupFilter.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbGroupFilter.Name = "cmbGroupFilter";
|
||||
this.cmbGroupFilter.Size = new System.Drawing.Size(148, 25);
|
||||
@@ -620,7 +620,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblSourceType.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblSourceType.AutoSize = true;
|
||||
this.lblSourceType.Location = new System.Drawing.Point(680, 44);
|
||||
this.lblSourceType.Location = new System.Drawing.Point(679, 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);
|
||||
@@ -632,7 +632,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
//
|
||||
this.lblGroupFilter.Anchor = System.Windows.Forms.AnchorStyles.Right;
|
||||
this.lblGroupFilter.AutoSize = true;
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(878, 44);
|
||||
this.lblGroupFilter.Location = new System.Drawing.Point(877, 44);
|
||||
this.lblGroupFilter.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
|
||||
this.lblGroupFilter.Name = "lblGroupFilter";
|
||||
this.lblGroupFilter.Size = new System.Drawing.Size(44, 17);
|
||||
@@ -655,7 +655,7 @@ namespace TemuKJD.WXForms.ProductForms
|
||||
"机会商品",
|
||||
"以图搜品",
|
||||
"外部数据"});
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(724, 42);
|
||||
this.cmbSourceType.Location = new System.Drawing.Point(723, 42);
|
||||
this.cmbSourceType.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
|
||||
this.cmbSourceType.Name = "cmbSourceType";
|
||||
this.cmbSourceType.Size = new System.Drawing.Size(148, 25);
|
||||
|
||||
Reference in new issue
Block a user