店铺活动报名--店铺活动列表查询初步

This commit is contained in:
wule committed 2025-08-04 18:53:24 +08:00
1 parent 7ea35b6866
commit cc1bc3123f
69 files changed
+1729 -134

No files matched your search

+1
View File
@@ -193,6 +193,7 @@
<Compile Include="Model\Param\ShopManage\DouShopSettingParam.cs" />
<Compile Include="Model\Param\TemuProductManage\TemuProductWords.cs" />
<Compile Include="Model\Param\TemuProductManage\TemuSizeSpecParam.cs" />
<Compile Include="Model\Result\TemuActivityInfo.cs" />
<Compile Include="Model\Result\TemuDBProductSelect.cs" />
<Compile Include="Model\Result\TemuPriceAdjustInfo.cs" />
<Compile Include="Model\Result\TemuProductInfo.cs" />
+2 -2
View File
@@ -27,8 +27,8 @@ namespace AllBase
/// <summary>
/// 版本ID
/// </summary>
public static int VersionCount = 397;
//public static int VersionCount = 397;
public static int VersionCount = 398;
//public static int VersionCount = 398;
/// <summary>
/// 版本号
+60
View File
@@ -0,0 +1,60 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AllBase.Model.Result
{
public class TemuActivityInfo
{
public string activityLabelDesc { get; set; }
public string activityContent { get; set; }
public long? sessionEndTime { get; set; }
public string activityLabelTag { get; set; }
public long? sessionStartTime { get; set; }
public string activityName { get; set; } //大促进阶-限时活动
public List<TemuActivityThematicInfo> thematicList { get; set; }
public long? autoAssignEndTime { get; set; }
public long? autoAssignStartTime { get; set; }
public List<string> benefitLabelName { get; set; }
public object sessionList { get; set; }
public int? sessionAssignType { get; set; }
public object sessionAggList { get; set; }
public int activityType { get; set; }
}
public class TemuActivityThematicInfo
{
public object canEnrollTotal { get; set; }
public string activityLabelDesc { get; set; }
public long? enrollDeadLine { get; set; }
public string activityLabelTag { get; set; }
public List<TemuActivitySiteInfo> sites { get; set; }
public string activityThematicContent { get; set; }
public long? activityThematicId { get; set; }
public int? durationDays { get; set; }
public List<string> benefitLabelName { get; set; }
public int? enrollSource { get; set; }
public string salePromotionLabel { get; set; }
public int? enrolledCount { get; set; }
public long? enrollStartAt { get; set; }
public long? startTime { get; set; }
public long? endTime { get; set; }
public List<TemuActivityLabelInfo> activityLabelList { get; set; }
public string activityThematicName { get; set; }
public string discount { get; set; } = "-";
}
public class TemuActivitySiteInfo
{
public string siteName { get; set; }
public int? siteId { get; set; }
}
public class TemuActivityLabelInfo
{
public string value { get; set; }
public int? key { get; set; }
}
}
+3 -3
View File
@@ -50,7 +50,7 @@ namespace KJD_Web.BLL
if (isAdmin)
where += " and (cookie='' or shop_id!='')";
if (!isAdmin)
where += " and (user_name='" + user_name + "' or sub_user_name='" + user_name + "')";
where += " and (user_name='" + user_name + "' or sub_user_name like '%" + user_name + "%')";
if (!string.IsNullOrWhiteSpace(operate_sub_sa_name))
where += " and operate_sub_sa_name='" + operate_sub_sa_name + "'";
if (!string.IsNullOrWhiteSpace(search_user_name))
@@ -309,7 +309,7 @@ namespace KJD_Web.BLL
user_name = RegexUtils.GetStringQuery(ref inputData, "shop_user_name");
string login_name = RegexUtils.GetStringQuery(ref inputData, "login_name");
string login_pass = RegexUtils.GetStringQuery(ref inputData, "login_pass");
string sub_user_name = RegexUtils.GetStringQuery(ref inputData, "sub_user_name");
string sub_user_name = HtmlUtils.UrlDecodeUtf8(RegexUtils.GetStringQuery(ref inputData, "sub_user_name"));
string cookie = RegexUtils.GetStringQuery(ref inputData, "cookie");
string cookie2 = RegexUtils.GetStringQuery(ref inputData, "cookie2");
string new_shop_id = RegexUtils.GetStringQuery(ref inputData, "new_shop_id");
@@ -353,7 +353,7 @@ namespace KJD_Web.BLL
if (login_status != null)
sql += " login_status='" + login_status + "',";
sql = sql.TrimEnd(',');
sql += " where login_name='" + login_name + "' and (user_name='" + user_name + "' or sub_user_name='" + user_name + "')";
sql += " where login_name='" + login_name + "' and (user_name='" + user_name + "' or sub_user_name like '%" + user_name + "%')";
if (!string.IsNullOrEmpty(old_shop_id))
sql += " and shop_id='" + old_shop_id + "'";
+2 -1
View File
@@ -51,7 +51,8 @@ namespace TemuKJD.Extension
public static CheckBox AddHeaderCheckBox(this DataGridViewColumn column, HorizontalAlignment align = HorizontalAlignment.Center, int leftBorderOffset = 0, int rightBorderOffset = 0, Func<object, bool> getValue = null, Action<object, bool> setValue = null, bool isSetCheckedChangedEvent = true, CheckBox checkBox = null, bool isClearHeaderText = false)
{
if (column.DataGridView == null) throw new ArgumentNullException("First you need to add the column to grid.");
if (column?.DataGridView == null) //throw new ArgumentNullException("First you need to add the column to grid.");
MessageBox.Show("DataGridView中没有对应的CheckBox列");
// Creating checkbox without panel
if (checkBox == null)
+60 -51
View File
@@ -331,100 +331,106 @@
<Compile Include="KJDForms\ProductThirdSelectForms\UserSelectThirdProductForm.Designer.cs">
<DependentUpon>UserSelectThirdProductForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\FullMinusActiveForm.cs">
<Compile Include="KJDForms\SalesCenterForms\MarketingActivityForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\FullMinusActiveForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\MarketingActivityForm.Designer.cs">
<DependentUpon>MarketingActivityForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusActiveForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusActiveForm.Designer.cs">
<DependentUpon>FullMinusActiveForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\FullMinusForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\FullMinusForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusForm.Designer.cs">
<DependentUpon>FullMinusForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\FullMinusShopForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\FullMinusShopForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\FullMinusShopForm.Designer.cs">
<DependentUpon>FullMinusShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyMonitorForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyMonitorForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyMonitorForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyMonitorForm.Designer.cs">
<DependentUpon>GroupBuyMonitorForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\LimitedSalesActivityNameForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesActivityNameForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\LimitedSalesActivityNameForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesActivityNameForm.Designer.cs">
<DependentUpon>LimitedSalesActivityNameForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyCustomActivityNameForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyCustomActivityNameForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyCustomActivityNameForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyCustomActivityNameForm.Designer.cs">
<DependentUpon>GroupBuyCustomActivityNameForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyForm.Designer.cs">
<DependentUpon>GroupBuyForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyShopForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\GroupBuyShopForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\GroupBuyShopForm.Designer.cs">
<DependentUpon>GroupBuyShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\LimitedSalesManagerActiveForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesManagerActiveForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\LimitedSalesManagerActiveForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\LimitedSalesManagerActiveForm.Designer.cs">
<DependentUpon>LimitedSalesManagerActiveForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\UcCouponAddParam.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\UcCouponAddParam.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\UcCouponAddParam.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\UcCouponAddParam.Designer.cs">
<DependentUpon>UcCouponAddParam.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\CouponForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\CouponForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\CouponForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\CouponForm.Designer.cs">
<DependentUpon>CouponForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\CouponMulitAddForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\CouponMulitAddForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\CouponMulitAddForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\CouponMulitAddForm.Designer.cs">
<DependentUpon>CouponMulitAddForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\CouponShopForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\CouponShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\CouponShopForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\CouponShopForm.Designer.cs">
<DependentUpon>CouponShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\DouProductPromotionListSkuInfoEditForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductPromotionListSkuInfoEditForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\DouProductPromotionListSkuInfoEditForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductPromotionListSkuInfoEditForm.Designer.cs">
<DependentUpon>DouProductPromotionListSkuInfoEditForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\DouProductProPromotionListSkuInfoForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductProPromotionListSkuInfoForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\DouProductProPromotionListSkuInfoForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\DouProductProPromotionListSkuInfoForm.Designer.cs">
<DependentUpon>DouProductProPromotionListSkuInfoForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\SeckillingAndLimitedSalesForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\SeckillingAndLimitedSalesForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesForm.Designer.cs">
<DependentUpon>SeckillingAndLimitedSalesForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\SalesCenterForm.cs">
@@ -433,10 +439,10 @@
<Compile Include="KJDForms\SalesCenterForms\SalesCenterForm.Designer.cs">
<DependentUpon>SalesCenterForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\SeckillingAndLimitedSalesShopForm.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesShopForm.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="KJDForms\SalesCenterForms\SeckillingAndLimitedSalesShopForm.Designer.cs">
<Compile Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesShopForm.Designer.cs">
<DependentUpon>SeckillingAndLimitedSalesShopForm.cs</DependentUpon>
</Compile>
<Compile Include="KJDForms\ShopForms\Old\FreightTemplateForm.cs">
@@ -936,58 +942,61 @@
<EmbeddedResource Include="KJDForms\ProductThirdSelectForms\UserSelectThirdProductForm.resx">
<DependentUpon>UserSelectThirdProductForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\FullMinusActiveForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\MarketingActivityForm.resx">
<DependentUpon>MarketingActivityForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\FullMinusActiveForm.resx">
<DependentUpon>FullMinusActiveForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\FullMinusForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\FullMinusForm.resx">
<DependentUpon>FullMinusForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\FullMinusShopForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\FullMinusShopForm.resx">
<DependentUpon>FullMinusShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\GroupBuyMonitorForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyMonitorForm.resx">
<DependentUpon>GroupBuyMonitorForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\LimitedSalesActivityNameForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\LimitedSalesActivityNameForm.resx">
<DependentUpon>LimitedSalesActivityNameForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\GroupBuyCustomActivityNameForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyCustomActivityNameForm.resx">
<DependentUpon>GroupBuyCustomActivityNameForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\GroupBuyForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyForm.resx">
<DependentUpon>GroupBuyForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\GroupBuyShopForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\GroupBuyShopForm.resx">
<DependentUpon>GroupBuyShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\LimitedSalesManagerActiveForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\LimitedSalesManagerActiveForm.resx">
<DependentUpon>LimitedSalesManagerActiveForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\UcCouponAddParam.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\UcCouponAddParam.resx">
<DependentUpon>UcCouponAddParam.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\CouponForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\CouponForm.resx">
<DependentUpon>CouponForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\CouponMulitAddForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\CouponMulitAddForm.resx">
<DependentUpon>CouponMulitAddForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\CouponShopForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\CouponShopForm.resx">
<DependentUpon>CouponShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\DouProductPromotionListSkuInfoEditForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\DouProductPromotionListSkuInfoEditForm.resx">
<DependentUpon>DouProductPromotionListSkuInfoEditForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\DouProductProPromotionListSkuInfoForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\DouProductProPromotionListSkuInfoForm.resx">
<DependentUpon>DouProductProPromotionListSkuInfoForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\SalesCenterForm.resx">
<DependentUpon>SalesCenterForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\SeckillingAndLimitedSalesForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesForm.resx">
<DependentUpon>SeckillingAndLimitedSalesForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\SalesCenterForms\SeckillingAndLimitedSalesShopForm.resx">
<EmbeddedResource Include="KJDForms\SalesCenterForms\Old\SeckillingAndLimitedSalesShopForm.resx">
<DependentUpon>SeckillingAndLimitedSalesShopForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="KJDForms\ShopForms\Old\FreightTemplateForm.resx">
+18 -18
View File
@@ -35,7 +35,7 @@ namespace TemuKJD.KJDForms.ProductForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.txtScale1 = new System.Windows.Forms.TextBox();
this.label10 = new System.Windows.Forms.Label();
this.btnStartStockUp = new DevComponents.DotNetBar.PanelEx();
@@ -79,7 +79,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx4.SuspendLayout();
this.ucGroupBoxEx3.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
@@ -108,7 +108,7 @@ namespace TemuKJD.KJDForms.ProductForms
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx4);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
//
@@ -121,20 +121,20 @@ namespace TemuKJD.KJDForms.ProductForms
//
// ucGroupBoxEx4
//
this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.ucGroupBoxEx3.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.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx4.Controls.Add(this.txtScale1);
this.ucGroupBoxEx4.Controls.Add(this.label10);
this.ucGroupBoxEx4.Controls.Add(this.btnStartStockUp);
this.ucGroupBoxEx4.Location = new System.Drawing.Point(272, 2);
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
this.ucGroupBoxEx4.Size = new System.Drawing.Size(836, 120);
this.ucGroupBoxEx4.TabIndex = 666;
this.ucGroupBoxEx4.TabStop = false;
this.ucGroupBoxEx4.Text = "拒绝跟价";
this.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx3.Controls.Add(this.txtScale1);
this.ucGroupBoxEx3.Controls.Add(this.label10);
this.ucGroupBoxEx3.Controls.Add(this.btnStartStockUp);
this.ucGroupBoxEx3.Location = new System.Drawing.Point(272, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx4";
this.ucGroupBoxEx3.Size = new System.Drawing.Size(836, 120);
this.ucGroupBoxEx3.TabIndex = 666;
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "拒绝跟价";
//
// txtScale1
//
@@ -656,8 +656,8 @@ namespace TemuKJD.KJDForms.ProductForms
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx4.ResumeLayout(false);
this.ucGroupBoxEx4.PerformLayout();
this.ucGroupBoxEx3.ResumeLayout(false);
this.ucGroupBoxEx3.PerformLayout();
this.ucGroupBoxEx2.ResumeLayout(false);
this.ucGroupBoxEx2.PerformLayout();
this.ucGroupBoxEx1.ResumeLayout(false);
@@ -682,7 +682,7 @@ namespace TemuKJD.KJDForms.ProductForms
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx4;
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
private DevComponents.DotNetBar.PanelEx btnStartStockUp;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private DevComponents.DotNetBar.PanelEx btnSearchPrice;
@@ -40,6 +40,7 @@ namespace TemuKJD.KJDForms.ProductForms
this.dgvAdjust.AddSelectorColumn("colCheck");
}
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
@@ -131,7 +132,10 @@ namespace TemuKJD.KJDForms.ProductForms
case "colSelect":
dgvShop.CellContentClick -= dgvShop_CellContentClick;
dgvShop_CellContentClick(sender, e);
//dgvShop.CellContentClick += dgvShop_CellContentClick;
break;
default:
dgvShop.CellContentClick -= dgvShop_CellContentClick;
dgvShop.CellContentClick += dgvShop_CellContentClick;
break;
}
}
@@ -201,7 +205,7 @@ namespace TemuKJD.KJDForms.ProductForms
}
ucGroupBoxEx2.Enabled = false;
ucGroupBoxEx4.Enabled = false;
ucGroupBoxEx3.Enabled = false;
cancellationTokenSource = new CancellationTokenSource();
Task.Run(() =>
@@ -375,7 +379,7 @@ namespace TemuKJD.KJDForms.ProductForms
{
chkHasSuccess.Enabled = true;
ucGroupBoxEx2.Enabled = true;
ucGroupBoxEx4.Enabled = true;
ucGroupBoxEx3.Enabled = true;
string sRst = "查询结束!";
if (cancellationTokenSource.IsCancellationRequested)
sRst = "已取消查询!";
@@ -423,7 +427,7 @@ namespace TemuKJD.KJDForms.ProductForms
Invoke(new Action(() =>
{
ucGroupBoxEx2.Enabled = true;
ucGroupBoxEx4.Enabled = true;
ucGroupBoxEx3.Enabled = true;
}));
});
}
@@ -446,7 +450,7 @@ namespace TemuKJD.KJDForms.ProductForms
}
ucGroupBoxEx2.Enabled = false;
ucGroupBoxEx4.Enabled = false;
ucGroupBoxEx3.Enabled = false;
cancellationTokenSource = new CancellationTokenSource();
Task.Run(() =>
@@ -542,7 +546,7 @@ namespace TemuKJD.KJDForms.ProductForms
Invoke(new Action(() =>
{
ucGroupBoxEx2.Enabled = true;
ucGroupBoxEx4.Enabled = true;
ucGroupBoxEx3.Enabled = true;
string sRst = "操作结束(拒绝跟价)!";
if (cancellationTokenSource.IsCancellationRequested)
sRst = "已取消操作(拒绝跟价)!";
@@ -66,8 +66,6 @@
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -93,6 +91,8 @@
this.colEditNotes = new System.Windows.Forms.DataGridViewLinkColumn();
this.colDelete = new System.Windows.Forms.DataGridViewLinkColumn();
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -546,29 +546,6 @@
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
this.dgvSelectProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvSelectProduct_Scroll);
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.Location = new System.Drawing.Point(1076, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
this.ucSplitPage1.TabIndex = 6;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1438, 25);
this.statusBar.TabIndex = 5;
//
// colSelect
//
this.colSelect.HeaderText = "选择";
@@ -772,6 +749,29 @@
this.colOpResult.ReadOnly = true;
this.colOpResult.Width = 150;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.Location = new System.Drawing.Point(1076, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
this.ucSplitPage1.TabIndex = 6;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1438, 25);
this.statusBar.TabIndex = 5;
//
// DbProductSelectListManageForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -0,0 +1,779 @@
namespace TemuKJD.KJDForms.SalesCenterForms
{
partial class MarketingActivityForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnSearchActivity = new DevComponents.DotNetBar.PanelEx();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
this.colSelect = new TemuKJD.UserComponent.UcDataGridViewCheckBoxColumn(this.components);
this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colLoginStatus = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer5 = new System.Windows.Forms.SplitContainer();
this.dgvActivity = new TemuKJD.UserComponent.DataGridViewEx();
this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheckProduct = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPic = new System.Windows.Forms.DataGridViewImageColumn();
this.colProdName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSpuId = new System.Windows.Forms.DataGridViewLinkColumn();
this.coSkcId = new System.Windows.Forms.DataGridViewLinkColumn();
this.colExtCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRecommendPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRecommendInventory = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPrcie = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colInventory = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.chkFullShop = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.chkNoSaleProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.colCheckActivity = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colActivityId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSignUpTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
this.splitContainer1.SuspendLayout();
this.ucGroupBoxEx1.SuspendLayout();
this.ucGroupBoxEx2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
this.splitContainer3.Panel1.SuspendLayout();
this.splitContainer3.Panel2.SuspendLayout();
this.splitContainer3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
this.splitContainer2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
this.splitContainer5.Panel1.SuspendLayout();
this.splitContainer5.Panel2.SuspendLayout();
this.splitContainer5.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvActivity)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
this.splitContainer4.Panel1.SuspendLayout();
this.splitContainer4.Panel2.SuspendLayout();
this.splitContainer4.SuspendLayout();
this.SuspendLayout();
//
// splitContainer1
//
this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer1.Location = new System.Drawing.Point(0, 0);
this.splitContainer1.Name = "splitContainer1";
this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx3);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx2);
//
// splitContainer1.Panel2
//
this.splitContainer1.Panel2.Controls.Add(this.splitContainer3);
this.splitContainer1.Size = new System.Drawing.Size(978, 544);
this.splitContainer1.SplitterDistance = 120;
this.splitContainer1.TabIndex = 11;
//
// ucGroupBoxEx3
//
this.ucGroupBoxEx3.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.ucGroupBoxEx3.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx3.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx3.Location = new System.Drawing.Point(272, 2);
this.ucGroupBoxEx3.Name = "ucGroupBoxEx3";
this.ucGroupBoxEx3.Size = new System.Drawing.Size(704, 120);
this.ucGroupBoxEx3.TabIndex = 666;
this.ucGroupBoxEx3.TabStop = false;
this.ucGroupBoxEx3.Text = "活动设置";
//
// ucGroupBoxEx1
//
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
this.ucGroupBoxEx1.Location = new System.Drawing.Point(3, 2);
this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
this.ucGroupBoxEx1.Size = new System.Drawing.Size(144, 120);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
this.ucGroupBoxEx1.Text = "基础";
//
// btnRefreshShop
//
this.btnRefreshShop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnRefreshShop.Location = new System.Drawing.Point(17, 31);
this.btnRefreshShop.Name = "btnRefreshShop";
this.btnRefreshShop.Size = new System.Drawing.Size(110, 24);
this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnRefreshShop.Style.GradientAngle = 90;
this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnRefreshShop.TabIndex = 431;
this.btnRefreshShop.Text = "刷新店铺";
this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
//
// ucGroupBoxEx2
//
this.ucGroupBoxEx2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)));
this.ucGroupBoxEx2.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucGroupBoxEx2.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
this.ucGroupBoxEx2.Controls.Add(this.btnSearchActivity);
this.ucGroupBoxEx2.Location = new System.Drawing.Point(147, 2);
this.ucGroupBoxEx2.Name = "ucGroupBoxEx2";
this.ucGroupBoxEx2.Size = new System.Drawing.Size(125, 120);
this.ucGroupBoxEx2.TabIndex = 469;
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "读取活动";
//
// btnSearchActivity
//
this.btnSearchActivity.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnSearchActivity.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnSearchActivity.DisabledBackColor = System.Drawing.Color.Empty;
this.btnSearchActivity.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnSearchActivity.Location = new System.Drawing.Point(25, 32);
this.btnSearchActivity.Name = "btnSearchActivity";
this.btnSearchActivity.Size = new System.Drawing.Size(70, 23);
this.btnSearchActivity.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchActivity.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchActivity.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearchActivity.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnSearchActivity.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnSearchActivity.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnSearchActivity.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnSearchActivity.Style.GradientAngle = 90;
this.btnSearchActivity.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearchActivity.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchActivity.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearchActivity.TabIndex = 427;
this.btnSearchActivity.Text = "读取活动";
this.btnSearchActivity.Click += new System.EventHandler(this.btnSearchActivity_Click);
//
// splitContainer3
//
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer3.Location = new System.Drawing.Point(0, 0);
this.splitContainer3.Name = "splitContainer3";
this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer3.Panel1
//
this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
//
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
this.splitContainer3.Size = new System.Drawing.Size(978, 420);
this.splitContainer3.SplitterDistance = 390;
this.splitContainer3.TabIndex = 1;
//
// splitContainer2
//
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
this.splitContainer2.Location = new System.Drawing.Point(0, 0);
this.splitContainer2.Name = "splitContainer2";
//
// splitContainer2.Panel1
//
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 0, 0);
//
// splitContainer2.Panel2
//
this.splitContainer2.Panel2.Controls.Add(this.splitContainer5);
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
this.splitContainer2.Size = new System.Drawing.Size(978, 390);
this.splitContainer2.SplitterDistance = 270;
this.splitContainer2.TabIndex = 0;
//
// dgvShop
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.colShopLoginName,
this.colShopId,
this.colShopName,
this.colLoginStatus,
this.colCanUse,
this.colMessage});
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvShop.Location = new System.Drawing.Point(4, 0);
this.dgvShop.Name = "dgvShop";
this.dgvShop.ReadOnly = true;
this.dgvShop.RowHeadersWidth = 30;
this.dgvShop.RowTemplate.Height = 23;
this.dgvShop.Size = new System.Drawing.Size(266, 390);
this.dgvShop.TabIndex = 7;
this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick);
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
//
// colSelect
//
this.colSelect.HeaderText = "全选";
this.colSelect.Name = "colSelect";
this.colSelect.ReadOnly = true;
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSelect.Width = 28;
//
// colShopLoginName
//
this.colShopLoginName.HeaderText = "店铺登录名";
this.colShopLoginName.Name = "colShopLoginName";
this.colShopLoginName.ReadOnly = true;
this.colShopLoginName.Visible = false;
//
// colShopId
//
this.colShopId.HeaderText = "店铺Id";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Visible = false;
this.colShopId.Width = 55;
//
// colShopName
//
this.colShopName.FillWeight = 150F;
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colShopName.Width = 75;
//
// colLoginStatus
//
this.colLoginStatus.HeaderText = "登录状态";
this.colLoginStatus.Name = "colLoginStatus";
this.colLoginStatus.ReadOnly = true;
this.colLoginStatus.Width = 65;
//
// colCanUse
//
this.colCanUse.HeaderText = "可用";
this.colCanUse.Name = "colCanUse";
this.colCanUse.ReadOnly = true;
this.colCanUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCanUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCanUse.Width = 28;
//
// colMessage
//
this.colMessage.HeaderText = "消息";
this.colMessage.Name = "colMessage";
this.colMessage.ReadOnly = true;
this.colMessage.Width = 120;
//
// splitContainer5
//
this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer5.Location = new System.Drawing.Point(0, 0);
this.splitContainer5.Name = "splitContainer5";
this.splitContainer5.Orientation = System.Windows.Forms.Orientation.Horizontal;
//
// splitContainer5.Panel1
//
this.splitContainer5.Panel1.Controls.Add(this.dgvActivity);
//
// splitContainer5.Panel2
//
this.splitContainer5.Panel2.Controls.Add(this.dgvProduct);
this.splitContainer5.Size = new System.Drawing.Size(700, 390);
this.splitContainer5.SplitterDistance = 134;
this.splitContainer5.TabIndex = 0;
//
// dgvActivity
//
this.dgvActivity.AllowUserToAddRows = false;
this.dgvActivity.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvActivity.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvActivity.BackgroundColor = System.Drawing.Color.White;
this.dgvActivity.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvActivity.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvActivity.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvActivity.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheckActivity,
this.colActivityId,
this.colActivityName,
this.colActivityTime,
this.colSignUpTime,
this.colDiscount,
this.dataGridViewTextBoxColumn9});
this.dgvActivity.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvActivity.Location = new System.Drawing.Point(0, 0);
this.dgvActivity.Name = "dgvActivity";
this.dgvActivity.ReadOnly = true;
this.dgvActivity.RowTemplate.Height = 23;
this.dgvActivity.Size = new System.Drawing.Size(700, 134);
this.dgvActivity.TabIndex = 189;
//
// dgvProduct
//
this.dgvProduct.AllowUserToAddRows = false;
this.dgvProduct.AllowUserToDeleteRows = false;
dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
this.dgvProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheckProduct,
this.colSupplierId,
this.colSupplierName,
this.colPic,
this.colProdName,
this.colSpuId,
this.coSkcId,
this.colExtCode,
this.colRecommendPrice,
this.colRecommendInventory,
this.colPrcie,
this.colInventory,
this.colMsg});
this.dgvProduct.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvProduct.Location = new System.Drawing.Point(0, 0);
this.dgvProduct.Name = "dgvProduct";
this.dgvProduct.ReadOnly = true;
this.dgvProduct.RowTemplate.Height = 23;
this.dgvProduct.Size = new System.Drawing.Size(700, 252);
this.dgvProduct.TabIndex = 188;
//
// colCheckProduct
//
this.colCheckProduct.HeaderText = "选择";
this.colCheckProduct.Name = "colCheckProduct";
this.colCheckProduct.ReadOnly = true;
this.colCheckProduct.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckProduct.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCheckProduct.Width = 30;
//
// colSupplierId
//
this.colSupplierId.HeaderText = "店铺Id";
this.colSupplierId.Name = "colSupplierId";
this.colSupplierId.ReadOnly = true;
//
// colSupplierName
//
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
this.colSupplierName.ReadOnly = true;
this.colSupplierName.Width = 110;
//
// colPic
//
this.colPic.HeaderText = "图片";
this.colPic.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.colPic.Name = "colPic";
this.colPic.ReadOnly = true;
this.colPic.Visible = false;
this.colPic.Width = 60;
//
// colProdName
//
this.colProdName.HeaderText = "标题";
this.colProdName.Name = "colProdName";
this.colProdName.ReadOnly = true;
this.colProdName.Width = 150;
//
// colSpuId
//
this.colSpuId.HeaderText = "商品SPU";
this.colSpuId.Name = "colSpuId";
this.colSpuId.ReadOnly = true;
this.colSpuId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSpuId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// coSkcId
//
this.coSkcId.FillWeight = 150F;
this.coSkcId.HeaderText = "商品SKC";
this.coSkcId.Name = "coSkcId";
this.coSkcId.ReadOnly = true;
this.coSkcId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.coSkcId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.coSkcId.Width = 80;
//
// colExtCode
//
this.colExtCode.HeaderText = "货号";
this.colExtCode.Name = "colExtCode";
this.colExtCode.ReadOnly = true;
this.colExtCode.Width = 90;
//
// colRecommendPrice
//
this.colRecommendPrice.HeaderText = "推荐价格(折扣)";
this.colRecommendPrice.Name = "colRecommendPrice";
this.colRecommendPrice.ReadOnly = true;
this.colRecommendPrice.Width = 70;
//
// colRecommendInventory
//
this.colRecommendInventory.HeaderText = "推荐库存";
this.colRecommendInventory.Name = "colRecommendInventory";
this.colRecommendInventory.ReadOnly = true;
this.colRecommendInventory.Width = 65;
//
// colPrcie
//
this.colPrcie.HeaderText = "申报价格";
this.colPrcie.Name = "colPrcie";
this.colPrcie.ReadOnly = true;
this.colPrcie.Width = 90;
//
// colInventory
//
this.colInventory.HeaderText = "活动库存";
this.colInventory.Name = "colInventory";
this.colInventory.ReadOnly = true;
//
// colMsg
//
this.colMsg.HeaderText = "状态";
this.colMsg.Name = "colMsg";
this.colMsg.ReadOnly = true;
this.colMsg.Width = 400;
//
// splitContainer4
//
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
this.splitContainer4.Name = "splitContainer4";
//
// splitContainer4.Panel1
//
this.splitContainer4.Panel1.Controls.Add(this.statusBar);
//
// splitContainer4.Panel2
//
this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
this.splitContainer4.Panel2.Controls.Add(this.btnClear);
this.splitContainer4.Size = new System.Drawing.Size(978, 26);
this.splitContainer4.SplitterDistance = 700;
this.splitContainer4.TabIndex = 3;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(700, 26);
this.statusBar.TabIndex = 2;
//
// panelEx1
//
this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
this.panelEx1.Location = new System.Drawing.Point(155, 0);
this.panelEx1.Name = "panelEx1";
this.panelEx1.Size = new System.Drawing.Size(115, 21);
this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
this.panelEx1.Style.GradientAngle = 90;
this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.panelEx1.TabIndex = 668;
this.panelEx1.Text = "停止当前操作";
//
// btnClear
//
this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.btnClear.Location = new System.Drawing.Point(47, 0);
this.btnClear.Name = "btnClear";
this.btnClear.Size = new System.Drawing.Size(90, 21);
this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.Style.GradientAngle = 90;
this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
this.btnClear.TabIndex = 440;
this.btnClear.Text = "清空结果";
this.btnClear.Visible = false;
//
// chkFullShop
//
this.chkFullShop.AutoSize = true;
this.chkFullShop.Location = new System.Drawing.Point(18, 22);
this.chkFullShop.Name = "chkFullShop";
this.chkFullShop.Size = new System.Drawing.Size(96, 16);
this.chkFullShop.TabIndex = 684;
this.chkFullShop.Text = "报名全店活动";
this.chkFullShop.UseVisualStyleBackColor = true;
this.chkFullShop.CheckedChanged += new System.EventHandler(this.chkFullShop_CheckedChanged);
//
// chkNoSaleProd
//
this.chkNoSaleProd.AutoSize = true;
this.chkNoSaleProd.Location = new System.Drawing.Point(18, 44);
this.chkNoSaleProd.Name = "chkNoSaleProd";
this.chkNoSaleProd.Size = new System.Drawing.Size(96, 16);
this.chkNoSaleProd.TabIndex = 685;
this.chkNoSaleProd.Text = "算法报名活动";
this.chkNoSaleProd.UseVisualStyleBackColor = true;
this.chkNoSaleProd.CheckedChanged += new System.EventHandler(this.chkNoSaleProd_CheckedChanged);
//
// colCheckActivity
//
this.colCheckActivity.HeaderText = "选择";
this.colCheckActivity.Name = "colCheckActivity";
this.colCheckActivity.ReadOnly = true;
this.colCheckActivity.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckActivity.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCheckActivity.Width = 30;
//
// colActivityId
//
this.colActivityId.HeaderText = "活动编号";
this.colActivityId.Name = "colActivityId";
this.colActivityId.ReadOnly = true;
this.colActivityId.Visible = false;
//
// colActivityName
//
this.colActivityName.HeaderText = "活动主题";
this.colActivityName.Name = "colActivityName";
this.colActivityName.ReadOnly = true;
this.colActivityName.Width = 280;
//
// colActivityTime
//
this.colActivityTime.HeaderText = "活动时间";
this.colActivityTime.Name = "colActivityTime";
this.colActivityTime.ReadOnly = true;
this.colActivityTime.Width = 320;
//
// colSignUpTime
//
this.colSignUpTime.HeaderText = "报名截止";
this.colSignUpTime.Name = "colSignUpTime";
this.colSignUpTime.ReadOnly = true;
this.colSignUpTime.Width = 110;
//
// colDiscount
//
this.colDiscount.HeaderText = "活动折扣";
this.colDiscount.Name = "colDiscount";
this.colDiscount.ReadOnly = true;
//
// dataGridViewTextBoxColumn9
//
this.dataGridViewTextBoxColumn9.HeaderText = "状态";
this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
this.dataGridViewTextBoxColumn9.ReadOnly = true;
this.dataGridViewTextBoxColumn9.Width = 400;
//
// MarketingActivityForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.BackColor = System.Drawing.Color.White;
this.ClientSize = new System.Drawing.Size(978, 544);
this.Controls.Add(this.splitContainer1);
this.Name = "MarketingActivityForm";
this.Text = "店铺优化";
this.Load += new System.EventHandler(this.MarketingActivityForm_Load);
this.VisibleChanged += new System.EventHandler(this.MarketingActivityForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
this.splitContainer1.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
this.splitContainer1.ResumeLayout(false);
this.ucGroupBoxEx1.ResumeLayout(false);
this.ucGroupBoxEx2.ResumeLayout(false);
this.splitContainer3.Panel1.ResumeLayout(false);
this.splitContainer3.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
this.splitContainer3.ResumeLayout(false);
this.splitContainer2.Panel1.ResumeLayout(false);
this.splitContainer2.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
this.splitContainer2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
this.splitContainer5.Panel1.ResumeLayout(false);
this.splitContainer5.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
this.splitContainer5.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvActivity)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dgvProduct)).EndInit();
this.splitContainer4.Panel1.ResumeLayout(false);
this.splitContainer4.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
this.splitContainer4.ResumeLayout(false);
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.SplitContainer splitContainer1;
private UserComponent.UcGroupBoxEx ucGroupBoxEx3;
private DevComponents.DotNetBar.PanelEx btnSearchActivity;
private DevComponents.DotNetBar.PanelEx btnRefreshShop;
private System.Windows.Forms.SplitContainer splitContainer2;
private System.Windows.Forms.SplitContainer splitContainer3;
private System.Windows.Forms.SplitContainer splitContainer4;
private UserControls.StatusBarUserControl statusBar;
private DevComponents.DotNetBar.PanelEx panelEx1;
private DevComponents.DotNetBar.PanelEx btnClear;
private UserComponent.UcCheckBox chkNoSaleProd;
private UserComponent.UcCheckBox chkFullShop;
private UserComponent.UcGroupBoxEx ucGroupBoxEx2;
private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
private System.Windows.Forms.SplitContainer splitContainer5;
private UserComponent.DataGridViewEx dgvShop;
private UserComponent.UcDataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private UserComponent.DataGridViewEx dgvProduct;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheckProduct;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName;
private System.Windows.Forms.DataGridViewImageColumn colPic;
private System.Windows.Forms.DataGridViewTextBoxColumn colProdName;
private System.Windows.Forms.DataGridViewLinkColumn colSpuId;
private System.Windows.Forms.DataGridViewLinkColumn coSkcId;
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCode;
private System.Windows.Forms.DataGridViewTextBoxColumn colRecommendPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colRecommendInventory;
private System.Windows.Forms.DataGridViewTextBoxColumn colPrcie;
private System.Windows.Forms.DataGridViewTextBoxColumn colInventory;
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
private UserComponent.DataGridViewEx dgvActivity;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheckActivity;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityId;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityName;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colSignUpTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colDiscount;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
}
}
@@ -0,0 +1,536 @@
using AllBase;
using AllBase.Helper;
using AllBase.Model.Result;
using NaiBa.Util.Extension;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using TemuKJD.Extension;
using TemuKJD.KJDForms.BaseForms;
using TemuKJD.KJDForms.ShopForms;
namespace TemuKJD.KJDForms.SalesCenterForms
{
public partial class MarketingActivityForm : Form
{
private CheckBox chkSelectAll = null;
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
public List<TemuActivityThematicInfo> lstActivityThematic { get; set; } = new List<TemuActivityThematicInfo>();
public MarketingActivityForm()
{
InitializeComponent();
}
private void MarketingActivityForm_Load(object sender, EventArgs e)
{
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
dgvShop.Columns["colSelect"].HeaderText = "";
chkSelectAll.Width = chkSelectAll.Height = 13;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
this.dgvActivity.AddSelectorColumn("colCheckActivity");
this.dgvProduct.AddSelectorColumn("colCheckProduct");
}
private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
{
if (!chkSelectAll.Checked)
{
foreach (DataGridViewRow row in dgvShop.Rows)
{
row.Cells["colSelect"].Value = false;
}
}
else
{
var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus2 == "国际版在线").Select(ss => ss.ShopId);
foreach (DataGridViewRow row in dgvShop.Rows)
{
if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
row.Cells["colSelect"].Value = true;
}
}
}
private void MarketingActivityForm_VisibleChanged(object sender, EventArgs e)
{
if (this.Visible)
RefreshShop();
}
private void btnRefreshShop_Click(object sender, EventArgs e)
{
RefreshShop();
}
private void RefreshShop()
{
// 店铺Id
var selectIds = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
// 获取被删除的店铺
List<DataGridViewRow> dgvRowList = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
// 更新被删除的店铺列表
foreach (var row in dgvRowList)
{
dgvShop.Rows.Remove(row);
}
// 绑定其他店铺(含新导入的店铺)
foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
{
if (!string.IsNullOrEmpty(shopEntity.ShopId))
BindShop(shopEntity, selectIds);
}
}
private void BindShop(ShopLoginInfo shopEntity, List<string> selectShopId = null)
{
if (shopEntity == null)
return;
if (selectShopId == null)
selectShopId = new List<string>();
bool canUse = shopEntity.LoginStatus2 == "国际版在线";
var row = dgvShop.Rows.Cast<DataGridViewRow>().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
if (row == null)
{
this.dgvShop.Rows.Add(
selectShopId.Contains(shopEntity.ShopId) && canUse,
shopEntity.LoginName,
shopEntity.ShopId,
shopEntity.ShopAccount,
shopEntity.LoginStatus2 == "国际版在线" ? "在线" : "未登录",
canUse,
string.Empty
);
}
else
{
row.Cells["colSelect"].Value = selectShopId.Contains(shopEntity.ShopId) && canUse;
row.Cells["colShopLoginName"].Value = shopEntity.LoginName;
row.Cells["colShopName"].Value = shopEntity.ShopAccount;
row.Cells["colLoginStatus"].Value = shopEntity.LoginStatus2 == "国际版在线" ? "在线" : "未登录";
row.Cells["colCanUse"].Value = canUse;
}
}
private void dgvShop_CellClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
switch (columnName)
{
case "colSelect":
dgvShop.CellContentClick -= dgvShop_CellContentClick;
dgvShop_CellContentClick(sender, e);
break;
default:
dgvShop.CellContentClick -= dgvShop_CellContentClick;
dgvShop.CellContentClick += dgvShop_CellContentClick;
break;
}
}
private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (e.ColumnIndex < 0 || e.RowIndex < 0)
return;
string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
string columnName = dgvShop.Columns[e.ColumnIndex].Name;
long shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToLong();
string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
var row = dgvShop.Rows[e.RowIndex];
switch (columnName)
{
case "colSelect":
if (row.Cells["colCanUse"].Value.ParseToBool())
{
row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
chkSelectAll.CheckedChanged -= chkSelectAll_CheckedChanged;
if (dgvShop.Rows.Cast<DataGridViewRow>().All(r => r.Cells["colSelect"].Value.ParseToBool()))
chkSelectAll.Checked = true;
else
chkSelectAll.Checked = false;
chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
}
else
{
BaseMsgForm.ShowInfo("店铺国际版未登录!");
}
break;
}
}
private void chkFullShop_CheckedChanged(object sender, EventArgs e)
{
}
private void chkNoSaleProd_CheckedChanged(object sender, EventArgs e)
{
}
private void btnSearchActivity_Click(object sender, EventArgs e)
{
var lstShopId = dgvShop.Rows.Cast<DataGridViewRow>().Where(row
=> row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
if (lstShopId.Count == 0)
{
BaseMsgForm.ShowInfo("请选择店铺!");
return;
}
#region 重置控件
lstActivityThematic.Clear();
dgvActivity.Rows.Clear();
var dgvRows = this.dgvShop.Rows.Cast<DataGridViewRow>();
foreach (var row in dgvRows)
{
row.Cells["colMessage"].Value = "";
}
ucGroupBoxEx2.Enabled = false;
ucGroupBoxEx3.Enabled = false;
cancellationTokenSource = new CancellationTokenSource();
#endregion
Task.Run(() =>
{
var lstShopIdTemp = new List<string>();
lstShopIdTemp.AddRange(lstShopId);
int i = 0;
foreach (var shopId in lstShopIdTemp)
{
if (lstActivityThematic.Count > 0)
break;
this.Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "正在查询活动...";
this.statusBar.pgbTaskProgress.Maximum = lstShopIdTemp.Count;
this.statusBar.UpdateProgressBar(i + 1);
i++;
}));
if (cancellationTokenSource.IsCancellationRequested)
break;
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
if (shop == null)
continue;
#region 检测登录
if (shop.LoginStatus2 != "国际版在线")
{
continue;
}
if (ShopListForm.Instance == null)
ShopListForm.Instance = new ShopListForm();
ShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
if (shop.LoginStatus2 != "国际版在线")
{
Invoke(new Action(() =>
{
var rows = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colShopLoginName"].Value.ToString() == shop.LoginName);
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "店铺掉线";
row.Cells["colLoginStatus"].Value = "国际版未登录";
row.Cells["colCanUse"].Value = false;
}
}));
continue;
}
#endregion
Invoke(new Action(() =>
{
var rows = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "正在查询";
}
}));
int page = 1;
int totalPage = 1;
bool isError = false;
string errMsg = "";
while (page <= totalPage)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
int tryCount = 0;
tryAgain:
Thread.Sleep(100 + Randomx.GetId(200));
string jsonStr = GetActivityList(shop);
if (jsonStr.Contains("指定的值含有无效的控制字符"))
{
Invoke(new Action(() =>
{
var rows = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colShopLoginName"].Value.ToString() == shop.LoginName);
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "店铺掉线";
row.Cells["colLoginStatus"].Value = "国际版未登录";
row.Cells["colCanUse"].Value = false;
}
}));
errMsg = "店铺可能已掉线,指定的值含有无效的控制字符";
isError = true;
break;
}
if (jsonStr.Contains("当前操作人数太多,请稍后重试") && tryCount < 5)
{
tryCount++;
goto tryAgain;
}
if (!jsonStr.Contains("\"success\":true"))
{
isError = true;
string sErr = BaseRegex.GetStringJson(ref jsonStr, "errorMsg");
if (!string.IsNullOrWhiteSpace(sErr) && !errMsg.Contains(sErr))
errMsg += sErr + " ";
page++;
continue;
}
if (jsonStr.Contains("\"success\":true"))
{
var jArr = new JArray();
try
{
var jObj = JObject.Parse(jsonStr);
jArr = jObj["result"]?["activityList"] as JArray;
if (jArr == null)
jArr = new JArray();
}
catch (Exception ex) { BaseMsgForm.ShowError(ex.Message); }
foreach (var item in jArr)
{
string sItem = item.ToString();
TemuActivityInfo pActivity = JsonHelper.DeserializeJsonToObject<TemuActivityInfo>(sItem); // 反序列化得到类
if (pActivity == null || pActivity.activityName != "大促进阶-限时活动")
continue;
foreach (var pInfo in pActivity.thematicList)
{
lstActivityThematic.Add(pInfo);
string name = pInfo.activityThematicName;
pInfo.discount = BaseRegex.GetMatchRegexString(ref name, "(\\d{1,3}折)");
pInfo.discount = string.IsNullOrWhiteSpace(pInfo.discount) ? "-" : pInfo.discount;
}
}
int total = BaseRegex.GetStringJson(ref jsonStr, "total").ParseToInt();
totalPage = Math.Ceiling(total / 10.0).ParseToInt();
}
page++;
}
Invoke(new Action(() =>
{
var rows = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colShopId"].Value.ToString() == shop.ShopId);
if (!isError)
{
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "已查询";
}
}
else
{
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "查询失败 " + errMsg;
}
}
}));
}
foreach (var shopId in lstShopIdTemp)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
if (shop == null)
continue;
shop.LastRefreshDate = "";
}
i = 0;
// 查询所有活动是否有店铺可以报名,可报名的才显示
foreach (var pInfo in lstActivityThematic)
{
this.Invoke(new Action(() =>
{
this.statusBar.lblTaskStatus.Text = "正在查询活动" + (i + 1) + "...";
this.statusBar.pgbTaskProgress.Maximum = lstActivityThematic.Count;
this.statusBar.UpdateProgressBar(i + 1);
i++;
}));
foreach (var shopId in lstShopIdTemp)
{
if (cancellationTokenSource.IsCancellationRequested)
break;
var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
if (shop == null)
continue;
#region 检测登录
if (shop.LoginStatus2 != "国际版在线")
{
continue;
}
if (ShopListForm.Instance == null)
ShopListForm.Instance = new ShopListForm();
if (shop.LastRefreshDate == "")
ShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
if (shop.LoginStatus2 != "国际版在线")
{
Invoke(new Action(() =>
{
var rows = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colShopLoginName"].Value.ToString() == shop.LoginName);
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "店铺掉线";
row.Cells["colLoginStatus"].Value = "国际版未登录";
row.Cells["colCanUse"].Value = false;
}
}));
continue;
}
#endregion
int tryCount = 0;
tryAgain:
Thread.Sleep(100 + Randomx.GetId(200));
string jsonStr = GetActivityMatch(shop, pInfo.activityThematicId.ParseToLong());
if (jsonStr.Contains("指定的值含有无效的控制字符"))
{
Invoke(new Action(() =>
{
var rows = this.dgvShop.Rows.Cast<DataGridViewRow>().Where(r => r.Cells["colShopLoginName"].Value.ToString() == shop.LoginName);
foreach (var row in rows)
{
row.Cells["colMessage"].Value = "店铺掉线";
row.Cells["colLoginStatus"].Value = "国际版未登录";
row.Cells["colCanUse"].Value = false;
}
}));
continue;
}
if (jsonStr.Contains("当前操作人数太多,请稍后重试") && tryCount < 5)
{
tryCount++;
goto tryAgain;
}
if (jsonStr.Contains("当前操作人数太多,请稍后重试"))
{
}
if (!jsonStr.Contains("\"success\":true"))
{
//isError = true;
//string sErr = BaseRegex.GetStringJson(ref jsonStr, "errorMsg");
//if (!string.IsNullOrWhiteSpace(sErr) && !errMsg.Contains(sErr))
// errMsg += sErr + " ";
//page++;
continue;
}
if (jsonStr.Contains("\"success\":true"))
{
//var jArr = new JArray();
//try
//{
// var jObj = JObject.Parse(jsonStr);
// jArr = jObj["result"]?["activityList"] as JArray;
// if (jArr == null)
// jArr = new JArray();
//}
//catch (Exception ex) { BaseMsgForm.ShowError(ex.Message); }
//foreach (var item in jArr)
//{
//}
break;
}
}
Invoke(new Action(() =>
{
int rowId = this.dgvActivity.Rows.Add(
false,
pInfo.activityThematicId,
pInfo.activityThematicName,
BaseClass.StampToDateTime((int)(pInfo.startTime.ParseToLong() / 1000)).ToString("yyyy/MM/dd HH:mm:ss") + "~" +
BaseClass.StampToDateTime((int)(pInfo.endTime.ParseToLong() / 1000)).ToString("yyyy/MM/dd HH:mm:ss") + "(" +
pInfo.durationDays + "天)",
(BaseClass.StampToDateTime((int)(pInfo.enrollDeadLine.ParseToLong() / 1000)) - DateTime.Now).Days + "天后截止",
pInfo.discount
);
dgvActivity.Rows[rowId].Height = 40;
}));
}
Invoke(new Action(() =>
{
ucGroupBoxEx2.Enabled = true;
ucGroupBoxEx3.Enabled = true;
string sRst = "查询结束!";
if (cancellationTokenSource.IsCancellationRequested)
sRst = "已取消查询!";
BaseMsgForm.ShowInfo(sRst);
this.statusBar.lblTaskStatus.Text = sRst;
}));
}, cancellationTokenSource.Token);
}
/// <summary>
/// 获取活动列表
/// </summary>
/// <param name="shop"></param>
/// <returns></returns>
private string GetActivityList(ShopLoginInfo shop)
{
string url = "https://agentseller.temu.com/api/kiana/gamblers/marketing/enroll/activity/list";
string body;
body = @"{""needCanEnrollCnt"":true}";
string refere = "https://agentseller.temu.com/activity/marketing-activity";
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
}
/// <summary>
/// 获取符合店铺的活动
/// </summary>
/// <param name="shop"></param>
/// <returns></returns>
private string GetActivityMatch(ShopLoginInfo shop, long? thematicId)
{
string url = "https://agentseller.temu.com/api/kiana/gamblers/marketing/enroll/scroll/match";
string body;
body = @"{""activityType"":13,""activityThematicId"":" + thematicId + @",""rowCount"":50}";
string refere = "https://agentseller.temu.com/activity/marketing-activity/detail-new?type=13&thematicId=" + thematicId;
return KJDHttpResponse.PostResponse2(shop, url, body, refere);
}
}
}
@@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopLoginName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colLoginStatus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCanUse.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMessage.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCheckActivity.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colActivityId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colActivityName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colActivityTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSignUpTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colDiscount.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colCheckProduct.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSupplierId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSupplierName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colPic.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colProdName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSpuId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colExtCode.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colRecommendPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colRecommendInventory.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colPrcie.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colInventory.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colMsg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>
+24 -20
View File
@@ -28,17 +28,19 @@
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("新人券");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("限时限量购");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("满减");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("拼团");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("拼团监控");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("营销中心", new System.Windows.Forms.TreeNode[] {
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("店铺优化");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("新人券");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("限时限量购");
System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("满减");
System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("拼团");
System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("拼团监控");
System.Windows.Forms.TreeNode treeNode7 = new System.Windows.Forms.TreeNode("营销中心", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
treeNode4,
treeNode5});
treeNode5,
treeNode6});
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.tv = new TemuKJD.UserComponent.UcTreeView();
this.panel1 = new System.Windows.Forms.Panel();
@@ -91,20 +93,22 @@
this.tv.Location = new System.Drawing.Point(0, 0);
this.tv.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
this.tv.Name = "tv";
treeNode1.Name = "新人券";
treeNode1.Text = "新人券";
treeNode2.Name = "限时限量购";
treeNode2.Text = "限时限量购";
treeNode3.Name = "满减";
treeNode3.Text = "满减";
treeNode4.Name = "拼团";
treeNode4.Text = "拼团";
treeNode5.Name = "拼团监控";
treeNode5.Text = "拼团监控";
treeNode6.Name = "营销中心";
treeNode6.Text = "营销中心";
treeNode1.Name = "店铺优化";
treeNode1.Text = "店铺优化";
treeNode2.Name = "新人券";
treeNode2.Text = "新人券";
treeNode3.Name = "限时限量购";
treeNode3.Text = "限时限量购";
treeNode4.Name = "满减";
treeNode4.Text = "满减";
treeNode5.Name = "拼团";
treeNode5.Text = "拼团";
treeNode6.Name = "拼团监控";
treeNode6.Text = "拼团监控";
treeNode7.Name = "营销中心";
treeNode7.Text = "营销中心";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode6});
treeNode7});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.tv.Size = new System.Drawing.Size(140, 450);
this.tv.TabIndex = 4;
@@ -18,6 +18,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
public Lazy<FullMinusForm> fullMinusForm = new Lazy<FullMinusForm>();
public Lazy<GroupBuyForm> groupBuyFrom = new Lazy<GroupBuyForm>();
public Lazy<CouponForm> couponForm = new Lazy<CouponForm>();
public Lazy<MarketingActivityForm> marketingActivityForm = new Lazy<MarketingActivityForm>();
public SalesCenterForm()
{
@@ -38,7 +39,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
tv.SelectedNode = tv.Nodes[0].Nodes[0];
tv.ExpandGroup(tv.Nodes[0].Name);
List<string> hideName = new List<string>() { "拼团监控"/*, "清理无流量"*/ };
List<string> hideName = new List<string>() { "拼团监控", "新人券", "限时限量购", "满减", "拼团"/*, "清理无流量"*/ };
foreach (var item in hideName)
{
@@ -111,6 +112,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
{
switch (e.Node.Name)
{
case "店铺优化":
SetForm(marketingActivityForm.Value);
break;
case "新人券":
SetForm(couponForm.Value);
break;
@@ -83,7 +83,8 @@ namespace TemuKJD.KJDForms.ShopForms
this.btnOk.Text = "更新";
this.TitleText = "编辑店铺 - " + shopLoginInfo.ShopAccount;
this.txtBuyAccount.Text = shopLoginInfo.BuyAccount;
this.txtChatAccount.Text = shopLoginInfo.ChatAccount;
//this.txtChatAccount.Text = shopLoginInfo.ChatAccount;
this.txtChatAccount.Text = shopLoginInfo.SubUserName;
this.txtUploadAccount.Text = shopLoginInfo.UploadAccount;
this.label7.Visible = true;
this.txtLoginName.Enabled = false;
+2 -1
View File
@@ -69,7 +69,7 @@ namespace TemuKJD.KJDForms.ShopForms
+ "&login_name=" + _shop.LoginName
+ "&login_pass=" + GetHtml.UrlEncodeUtf8(_shop.Password)
+ "&shop_group=" + GetHtml.UrlEncodeUtf8(_shop.GroupName)
+ "&sub_user_name=" + GetHtml.UrlEncodeUtf8(_shop.SubUserName)
+ "&sub_user_name=" + _shop.SubUserName
+ "&notes=" + GetHtml.UrlEncodeUtf8(_shop.Notes);
var result = GetHtml.PostUtf8(url, data);
@@ -656,6 +656,7 @@ namespace TemuKJD.KJDForms.ShopForms
foreach (var sc in campanys)
{
sc.LoginStatus2 = "国际版在线";
sc.LastRefreshDate = DateTime.Now.ToString("yyyyMMdd");
}
}
//if (!string.IsNullOrEmpty(loginResult))
@@ -65,7 +65,7 @@ namespace TemuKJD.KJDForms.ShopForms
if (shop != null)
{
ShopSubAccountList.Clear();
ShopSubAccountList.AddRange(AllSubAccountList.Where(u=>shop.SubUserName==u.sub_user_name));
ShopSubAccountList.AddRange(AllSubAccountList.Where(u=>shop.SubUserName.Contains(u.sub_user_name)));
shop.ShopSubAccountList.Clear();
shop.ShopSubAccountList.AddRange(ShopSubAccountList);
NotShopSubAccountList.AddRange(AllSubAccountList.Where(u => !ShopSubAccountList.Any(bu => bu.id == u.id)));
@@ -94,9 +94,9 @@ namespace TemuKJD.KJDForms.ShopForms
{
if (this.flpShopSubAccount.Controls.Count > 0)
{
BaseMsgForm.ShowInfo("只能有一个子账户!");
s.lblRight_Click(null, null);
return;
//BaseMsgForm.ShowInfo("只能有一个子账户!");
//s.lblRight_Click(null, null);
//return;
}
this.flpNotSubAccount.Controls.Remove(s);
@@ -178,6 +178,7 @@ namespace TemuKJD.KJDForms.ShopForms
}
shop.SubUserName = shop.ShopSubAccountList.FirstOrDefault()?.sub_user_name;
shop.SubUserName = string.Join(",", shop.ShopSubAccountList.Select(s => s.sub_user_name));
var shopLst = AllBase.Helper.GlobalConfig.ShopLoginList.Where(s => s.LoginName == shop.LoginName && s.ShopId!= shop.ShopId);
foreach(var s in shopLst)
{
-1
View File
@@ -247,7 +247,6 @@ namespace TemuKJD
this.pnlMarket.StyleMouseOver.MarginTop = 63;
this.pnlMarket.TabIndex = 3;
this.pnlMarket.Text = "营销中心";
this.pnlMarket.Visible = false;
this.pnlMarket.Click += new System.EventHandler(this.pnlMarket_Click);
//
// pnlCollect