1 核价查询功能优化 2 添加上传商品次数修改功能 3优化备货功能
This commit is contained in:
1 parent
c45254656b
commit
fc017993df
22 files changed
+1661
-869
No files matched your search
@@ -27,8 +27,8 @@ namespace AllBase
|
||||
/// <summary>
|
||||
/// 版本ID
|
||||
/// </summary>
|
||||
public static int VersionCount = 579;
|
||||
//public static int VersionCount = 579;
|
||||
public static int VersionCount = 581;
|
||||
//public static int VersionCount = 581;
|
||||
|
||||
/// <summary>
|
||||
/// 版本号
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
using KJD_Web.Model;
|
||||
using KJD_Web.Model.ShopModel;
|
||||
using KJD_Web.Utils;
|
||||
using MySqlX.XDevAPI;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Security;
|
||||
@@ -368,6 +370,48 @@ namespace KJD_Web.BLL
|
||||
return "{\"code\":19999,\"msg\":\"未知错误\"}";
|
||||
}
|
||||
|
||||
|
||||
|
||||
public string UpdateAddProdRemaining(string inputData)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(inputData))
|
||||
{
|
||||
var time = RegexUtils.GetStringQuery(ref inputData, "time").ParseToInt();
|
||||
string time1 = RegexUtils.GetStringQuery(ref inputData, "code");
|
||||
if (time1 != EncrypUtil.Encryption(time))
|
||||
return "{\"code\":50000,\"msg\":\"校验失败\"}";
|
||||
|
||||
var user_name = RegexUtils.GetStringQuery(ref inputData, "user_name");
|
||||
var password = RegexUtils.GetStringQuery(ref inputData, "password");
|
||||
var remainCount = RegexUtils.GetStringQuery(ref inputData, "remain_count");
|
||||
var shop_ids = RegexUtils.GetStringQuery(ref inputData, "shop_ids")?.Replace("'", "");
|
||||
if (!string.IsNullOrWhiteSpace(shop_ids))
|
||||
{
|
||||
List<string> shopIdLst = shop_ids.Split(',').ToList();
|
||||
shop_ids = "'" + string.Join("','", shopIdLst) + "'";
|
||||
}
|
||||
|
||||
string conn = System.Configuration.ConfigurationManager.ConnectionStrings["ConnKJD"].ConnectionString;
|
||||
MysqlUtils mySql = new MysqlUtils(conn);
|
||||
string sql = "";
|
||||
sql += "update kjd.shop_add_prod_count set add_product_remaining=" + remainCount +
|
||||
" where 1=1 and shop_id in (" + shop_ids + ");";
|
||||
|
||||
var rst = mySql.ExecuteNonQuery(sql);
|
||||
var msg = mySql.Message;
|
||||
mySql.Close();
|
||||
|
||||
if (rst)
|
||||
return "{\"code\":200,\"msg\":\"success\"}";
|
||||
else
|
||||
return "{\"code\":50000,\"msg\":\"" + msg + "\"}";
|
||||
}
|
||||
else
|
||||
{
|
||||
return "{\"code\":19999,\"msg\":\"输入为空\"}";
|
||||
}
|
||||
}
|
||||
|
||||
//获取一个手机登录号码下的所有店铺(以便有则更新,无则新增)
|
||||
public string GetOneLoginNameShop(string inputData)
|
||||
{
|
||||
|
||||
@@ -144,6 +144,17 @@ namespace KJD_Web
|
||||
Context.Response.End();
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public void update_add_prod_remaining()
|
||||
{
|
||||
string jsontext = GetRequestJsonString();
|
||||
|
||||
var result = jsontext;
|
||||
result = new ShopManage().UpdateAddProdRemaining(jsontext);
|
||||
|
||||
Context.Response.Write(result);
|
||||
Context.Response.End();
|
||||
}
|
||||
|
||||
[WebMethod]
|
||||
public void admin_mdy_shop()
|
||||
|
||||
@@ -245,7 +245,7 @@ namespace TemuKJD.Extension
|
||||
/// <param name="colNameCollection">单元格名称</param>
|
||||
/// <param name="headerText">合并后的表头显示文字</param>
|
||||
/// <param name="isEnableResizing">是否允许调整大小</param>
|
||||
public static void MergeColumnHeader(this DataGridView dgv, List<string> colNameCollection, string headerText, bool isMultiLevelHeader = false)
|
||||
public static void AddMergeColumnHeader(this DataGridView dgv, List<string> colNameCollection, string headerText, bool isMultiLevelHeader = false)
|
||||
{
|
||||
int nHeight = 0;
|
||||
int nLeft = 0;
|
||||
@@ -261,7 +261,8 @@ namespace TemuKJD.Extension
|
||||
{
|
||||
foreach(var columnName in colNameCollection)
|
||||
{
|
||||
dgv.InvalidateCell(dgv.Columns[columnName].HeaderCell); // 标记单元格为需要重绘
|
||||
if (dgv.Columns.Contains(columnName))
|
||||
dgv.InvalidateCell(dgv.Columns[columnName].HeaderCell); // 标记单元格为需要重绘
|
||||
}
|
||||
dgv.Update();
|
||||
}
|
||||
@@ -284,7 +285,8 @@ namespace TemuKJD.Extension
|
||||
{
|
||||
foreach (var columnName in colNameCollection)
|
||||
{
|
||||
dgv.InvalidateCell(dgv.Columns[columnName].HeaderCell); // 标记单元格为需要重绘
|
||||
if (dgv.Columns.Contains(columnName))
|
||||
dgv.InvalidateCell(dgv.Columns[columnName].HeaderCell); // 标记单元格为需要重绘
|
||||
}
|
||||
dgv.Update();
|
||||
}
|
||||
@@ -411,5 +413,123 @@ namespace TemuKJD.Extension
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public static void AddMergeColumn(this DataGridView dgv, List<string> colNameCollection, Color? VerGridColor = null, Color? VerGridSelectColor = null)
|
||||
{
|
||||
int nHeight = 0;
|
||||
int nLeft = 0;
|
||||
int nTop = 0;
|
||||
int nWidth = 0;
|
||||
|
||||
//合并列中某一列的列宽变化时,强制重绘表头
|
||||
dgv.ColumnWidthChanged += (s, e) =>
|
||||
{
|
||||
if (colNameCollection.Contains(e.Column.Name))
|
||||
{
|
||||
foreach (var columnName in colNameCollection)
|
||||
{
|
||||
if (dgv.Columns.Contains(columnName))
|
||||
dgv.InvalidateCell(dgv.Columns[columnName].HeaderCell); // 标记单元格为需要重绘
|
||||
}
|
||||
dgv.Update();
|
||||
}
|
||||
};
|
||||
dgv.Scroll += (s, e) =>
|
||||
{
|
||||
if (e.ScrollOrientation == ScrollOrientation.HorizontalScroll)
|
||||
{
|
||||
bool tag = false;
|
||||
foreach (var columnName in colNameCollection)
|
||||
{
|
||||
var bounds = dgv.Columns[columnName].HeaderCell.ContentBounds;
|
||||
if (bounds.Left < 10 || bounds.Right > dgv.Width - 10)
|
||||
{
|
||||
tag = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (tag == true)
|
||||
{
|
||||
foreach (var columnName in colNameCollection)
|
||||
{
|
||||
if (dgv.Columns.Contains(columnName))
|
||||
dgv.InvalidateCell(dgv.Columns[columnName].HeaderCell); // 标记单元格为需要重绘
|
||||
}
|
||||
dgv.Update();
|
||||
}
|
||||
}
|
||||
};
|
||||
//处理重绘事件
|
||||
dgv.CellPainting += (s, e) =>
|
||||
{
|
||||
if (e.RowIndex >=0 && e.ColumnIndex >= 0) // 重绘单元格
|
||||
{
|
||||
string name = dgv.Columns[e.ColumnIndex].Name;
|
||||
if (colNameCollection.Contains(name))
|
||||
{
|
||||
e.PaintBackground(e.CellBounds, true); // false不绘制单元格背景
|
||||
e.PaintContent(e.CellBounds); // 绘制单元格内容,此处要绘制内容
|
||||
|
||||
Brush brush;
|
||||
Pen pen;
|
||||
if (colNameCollection.IndexOf(name) == 0)
|
||||
{
|
||||
nTop = e.CellBounds.Top;
|
||||
nLeft = e.CellBounds.Left;
|
||||
nWidth = e.CellBounds.Width;
|
||||
nHeight = e.CellBounds.Height;
|
||||
foreach (string str2 in colNameCollection)
|
||||
{
|
||||
if (!str2.Equals(name))
|
||||
{
|
||||
nWidth += dgv.Columns[str2].Width;
|
||||
}
|
||||
}
|
||||
}
|
||||
//填充背景(覆盖原来的分隔线)
|
||||
//Rectangle rtTmp = new Rectangle(nLeft, nTop, nWidth, nHeight);
|
||||
//using (brush = new SolidBrush(/*e.CellStyle.BackColor*/dgv.BackgroundColor))
|
||||
//{
|
||||
// var rtBounds = e.CellBounds;
|
||||
// rtBounds.Height -= 1;
|
||||
// e.Graphics.FillRectangle(brush, rtBounds);
|
||||
//}
|
||||
if (colNameCollection.IndexOf(name) < colNameCollection.Count - 1)
|
||||
{
|
||||
var penColor = VerGridColor;
|
||||
// 分隔线
|
||||
if (penColor == null)
|
||||
{
|
||||
//VerGridColor = Color.FromArgb(229, 229, 229);
|
||||
penColor = e.RowIndex % 2 == 0 ? dgv.DefaultCellStyle.BackColor : dgv.AlternatingRowsDefaultCellStyle.BackColor;
|
||||
}
|
||||
var penSelectColor = VerGridSelectColor;
|
||||
if (penSelectColor == null)
|
||||
//VerGridColorSelect = Color.FromArgb(129, 129, 129);
|
||||
penSelectColor = dgv.DefaultCellStyle.SelectionBackColor;
|
||||
if ((dgv.Rows[e.RowIndex].Cells[e.ColumnIndex]).Selected)
|
||||
{
|
||||
using (pen = new Pen(penSelectColor.Value))
|
||||
{
|
||||
var rtBounds = e.CellBounds;
|
||||
e.Graphics.DrawLine(pen, rtBounds.Right - 1, rtBounds.Top, rtBounds.Right - 1, rtBounds.Bottom - 2);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
using (pen = new Pen(penColor.Value))
|
||||
{
|
||||
var rtBounds = e.CellBounds;
|
||||
e.Graphics.DrawLine(pen, rtBounds.Right - 1, rtBounds.Top, rtBounds.Right - 1, rtBounds.Bottom - 2);
|
||||
}
|
||||
}
|
||||
}
|
||||
//e.set_Handled(true);
|
||||
e.Handled = true; // 告知系统不再处理表头单元格绘制事件
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Generated
+119
-20
@@ -28,41 +28,116 @@
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InitForm));
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.progressBarX1 = new DevComponents.DotNetBar.Controls.ProgressBarX();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.btnOK = new DevComponents.DotNetBar.PanelEx();
|
||||
this.chkRemember = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.rbTemu = new System.Windows.Forms.RadioButton();
|
||||
this.rbPdd = new System.Windows.Forms.RadioButton();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.pbShopLoading = new System.Windows.Forms.PictureBox();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.progressBarX1 = new DevComponents.DotNetBar.Controls.ProgressBarX();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.panel2.Controls.Add(this.progressBarX1);
|
||||
this.panel2.Controls.Add(this.pbShopLoading);
|
||||
this.panel2.Controls.Add(this.label1);
|
||||
this.panel2.Controls.Add(this.panel4);
|
||||
this.panel2.Controls.Add(this.panel3);
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.panel2.Location = new System.Drawing.Point(1, 33);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(234, 151);
|
||||
this.panel2.Size = new System.Drawing.Size(265, 190);
|
||||
this.panel2.TabIndex = 39;
|
||||
//
|
||||
// progressBarX1
|
||||
// panel4
|
||||
//
|
||||
this.progressBarX1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.panel4.Controls.Add(this.btnOK);
|
||||
this.panel4.Controls.Add(this.chkRemember);
|
||||
this.panel4.Controls.Add(this.rbTemu);
|
||||
this.panel4.Controls.Add(this.rbPdd);
|
||||
this.panel4.Location = new System.Drawing.Point(4, 132);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(256, 52);
|
||||
this.panel4.TabIndex = 40;
|
||||
this.panel4.Visible = false;
|
||||
//
|
||||
// btnOK
|
||||
//
|
||||
this.btnOK.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnOK.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnOK.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnOK.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnOK.Location = new System.Drawing.Point(30, 24);
|
||||
this.btnOK.Name = "btnOK";
|
||||
this.btnOK.Size = new System.Drawing.Size(199, 23);
|
||||
this.btnOK.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnOK.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnOK.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnOK.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnOK.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnOK.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnOK.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnOK.Style.GradientAngle = 90;
|
||||
this.btnOK.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnOK.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnOK.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnOK.TabIndex = 753;
|
||||
this.btnOK.Text = "确 定";
|
||||
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
||||
//
|
||||
this.progressBarX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.progressBarX1.Location = new System.Drawing.Point(32, 119);
|
||||
this.progressBarX1.Name = "progressBarX1";
|
||||
this.progressBarX1.Size = new System.Drawing.Size(168, 15);
|
||||
this.progressBarX1.TabIndex = 38;
|
||||
this.progressBarX1.TabStop = false;
|
||||
this.progressBarX1.Text = "progressBarX1";
|
||||
// chkRemember
|
||||
//
|
||||
this.chkRemember.AutoSize = true;
|
||||
this.chkRemember.Location = new System.Drawing.Point(163, 0);
|
||||
this.chkRemember.Name = "chkRemember";
|
||||
this.chkRemember.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkRemember.TabIndex = 28;
|
||||
this.chkRemember.Text = "自动选择";
|
||||
this.chkRemember.UseVisualStyleBackColor = true;
|
||||
this.chkRemember.CheckedChanged += new System.EventHandler(this.chkRemember_CheckedChanged);
|
||||
//
|
||||
// rbTemu
|
||||
//
|
||||
this.rbTemu.AutoSize = true;
|
||||
this.rbTemu.Checked = true;
|
||||
this.rbTemu.ForeColor = System.Drawing.SystemColors.InfoText;
|
||||
this.rbTemu.Location = new System.Drawing.Point(31, 0);
|
||||
this.rbTemu.Name = "rbTemu";
|
||||
this.rbTemu.Size = new System.Drawing.Size(58, 21);
|
||||
this.rbTemu.TabIndex = 26;
|
||||
this.rbTemu.TabStop = true;
|
||||
this.rbTemu.Text = "Temu";
|
||||
this.rbTemu.UseVisualStyleBackColor = true;
|
||||
this.rbTemu.CheckedChanged += new System.EventHandler(this.rbTemu_CheckedChanged);
|
||||
//
|
||||
// rbPdd
|
||||
//
|
||||
this.rbPdd.AutoSize = true;
|
||||
this.rbPdd.ForeColor = System.Drawing.SystemColors.InfoText;
|
||||
this.rbPdd.Location = new System.Drawing.Point(95, 0);
|
||||
this.rbPdd.Name = "rbPdd";
|
||||
this.rbPdd.Size = new System.Drawing.Size(62, 21);
|
||||
this.rbPdd.TabIndex = 27;
|
||||
this.rbPdd.Text = "拼多多";
|
||||
this.rbPdd.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.pbShopLoading);
|
||||
this.panel3.Controls.Add(this.label1);
|
||||
this.panel3.Controls.Add(this.progressBarX1);
|
||||
this.panel3.Location = new System.Drawing.Point(4, 27);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(257, 125);
|
||||
this.panel3.TabIndex = 39;
|
||||
//
|
||||
// pbShopLoading
|
||||
//
|
||||
@@ -70,7 +145,7 @@
|
||||
this.pbShopLoading.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(247)))), ((int)(((byte)(247)))), ((int)(((byte)(247)))));
|
||||
this.pbShopLoading.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbShopLoading.Location = new System.Drawing.Point(84, 49);
|
||||
this.pbShopLoading.Location = new System.Drawing.Point(96, 35);
|
||||
this.pbShopLoading.Name = "pbShopLoading";
|
||||
this.pbShopLoading.Size = new System.Drawing.Size(64, 64);
|
||||
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
@@ -81,18 +156,33 @@
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.label1.Location = new System.Drawing.Point(42, 18);
|
||||
this.label1.Location = new System.Drawing.Point(54, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(150, 21);
|
||||
this.label1.TabIndex = 0;
|
||||
this.label1.Text = "初始化中,请稍候...";
|
||||
//
|
||||
// progressBarX1
|
||||
//
|
||||
this.progressBarX1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
//
|
||||
//
|
||||
//
|
||||
this.progressBarX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
|
||||
this.progressBarX1.Location = new System.Drawing.Point(29, 105);
|
||||
this.progressBarX1.Name = "progressBarX1";
|
||||
this.progressBarX1.Size = new System.Drawing.Size(199, 15);
|
||||
this.progressBarX1.TabIndex = 38;
|
||||
this.progressBarX1.TabStop = false;
|
||||
this.progressBarX1.Text = "progressBarX1";
|
||||
//
|
||||
// InitForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
this.ClientSize = new System.Drawing.Size(236, 185);
|
||||
this.ClientSize = new System.Drawing.Size(267, 224);
|
||||
this.Controls.Add(this.panel2);
|
||||
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "InitForm";
|
||||
this.ShowIcon = false;
|
||||
@@ -101,7 +191,10 @@
|
||||
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.InitForm_FormClosed);
|
||||
this.Controls.SetChildIndex(this.panel2, 0);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel2.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel4.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbShopLoading)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -113,5 +206,11 @@
|
||||
private System.Windows.Forms.PictureBox pbShopLoading;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevComponents.DotNetBar.Controls.ProgressBarX progressBarX1;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private UserComponent.UcCheckBox chkRemember;
|
||||
private System.Windows.Forms.RadioButton rbPdd;
|
||||
private System.Windows.Forms.RadioButton rbTemu;
|
||||
private DevComponents.DotNetBar.PanelEx btnOK;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
}
|
||||
}
|
||||
+64
-15
@@ -10,11 +10,14 @@ using System.Text;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using AllBase.Helper;
|
||||
using NaiBa.Util.Helper;
|
||||
|
||||
namespace TemuKJD
|
||||
{
|
||||
public partial class InitForm : LRBaseForm
|
||||
{
|
||||
InitFormSettings initFormSettings = new InitFormSettings();
|
||||
public InitForm()
|
||||
{
|
||||
InitializeComponent();
|
||||
@@ -24,6 +27,17 @@ namespace TemuKJD
|
||||
|
||||
private void InitForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
#if DEBUG
|
||||
this.panel3.Location = new Point(4, 4);
|
||||
this.panel4.Visible=true;
|
||||
#endif
|
||||
initFormSettings = ConfigHelper.LoadConfig<InitFormSettings>("initFormSettings");
|
||||
if (initFormSettings == null)
|
||||
initFormSettings = new InitFormSettings();
|
||||
this.chkRemember.Checked = initFormSettings.Remember;
|
||||
this.rbTemu.Checked = initFormSettings.LoginType.ToLower() == "temu";
|
||||
this.rbPdd.Checked = initFormSettings.LoginType.ToLower() != "temu";
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
while (!Work.Initialization.IsCheckFilesFinish || !Program.IsInit || this.progressBarX1.Value < 50)
|
||||
@@ -38,31 +52,66 @@ namespace TemuKJD
|
||||
if (this.progressBarX1.Value >= 50)
|
||||
Thread.Sleep(300);
|
||||
}
|
||||
if (initFormSettings.Remember)
|
||||
Thread.Sleep(500);
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!Work.Initialization.IsCheckFilesSuccesss)
|
||||
{
|
||||
BaseMsgForm.ShowError("文件初始化失败,请检查是否有程序占用并使用管理员权限运行本程序!");
|
||||
Process.GetCurrentProcess().Kill();
|
||||
}
|
||||
|
||||
this.Hide();
|
||||
new MainForm().ShowDialog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError(ex.Message);
|
||||
Process.GetCurrentProcess().Kill();
|
||||
if(initFormSettings.Remember)
|
||||
{
|
||||
OpenNewMainForm();
|
||||
}
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
void OpenNewMainForm()
|
||||
{
|
||||
try
|
||||
{
|
||||
if (!Work.Initialization.IsCheckFilesSuccesss)
|
||||
{
|
||||
BaseMsgForm.ShowError("文件初始化失败,请检查是否有程序占用并使用管理员权限运行本程序!");
|
||||
Process.GetCurrentProcess().Kill();
|
||||
}
|
||||
this.Hide();
|
||||
new MainForm(initFormSettings.LoginType).ShowDialog();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
BaseMsgForm.ShowError(ex.Message);
|
||||
Process.GetCurrentProcess().Kill();
|
||||
}
|
||||
}
|
||||
|
||||
private void InitForm_FormClosed(object sender, FormClosedEventArgs e)
|
||||
{
|
||||
Process.GetCurrentProcess().Kill();
|
||||
}
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
OpenNewMainForm();
|
||||
}
|
||||
|
||||
private void chkRemember_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
initFormSettings.Remember = chkRemember.Checked;
|
||||
ConfigHelper.SaveConfig("initFormSettings", initFormSettings);
|
||||
}
|
||||
|
||||
private void rbTemu_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (rbTemu.Checked)
|
||||
initFormSettings.LoginType = "Temu";
|
||||
else
|
||||
initFormSettings.LoginType = "Pdd";
|
||||
ConfigHelper.SaveConfig("initFormSettings", initFormSettings);
|
||||
}
|
||||
}
|
||||
|
||||
class InitFormSettings
|
||||
{
|
||||
public string LoginType { get; set; } = "Temu";
|
||||
public bool Remember { get; set; } = true;
|
||||
}
|
||||
}
|
||||
@@ -942,6 +942,9 @@
|
||||
<Name>Work</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="PDDForms\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
<PropertyGroup>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
+314
-265
@@ -38,17 +38,10 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbShopLoading = new System.Windows.Forms.PictureBox();
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.btnClose = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnResetExtCode = new DevComponents.DotNetBar.PanelEx();
|
||||
this.txtExtCode = new System.Windows.Forms.TextBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.numJudgeWeight = new System.Windows.Forms.NumericUpDown();
|
||||
this.numJudgeLen = new System.Windows.Forms.NumericUpDown();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
@@ -97,6 +90,9 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbShopLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -107,9 +103,13 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.pnlSpecDetail = new System.Windows.Forms.Panel();
|
||||
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||
this.btnClose = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.dgvPriceCheck = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colProdIndex = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colOrderId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -132,25 +132,13 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.colCancel = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colCancelWithTitleWrong = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
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();
|
||||
this.splitContainer1.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.pbShopLoading)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
|
||||
this.splitContainer4.Panel1.SuspendLayout();
|
||||
this.splitContainer4.Panel2.SuspendLayout();
|
||||
this.splitContainer4.SuspendLayout();
|
||||
this.ucGroupBoxEx1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numJudgeWeight)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numJudgeLen)).BeginInit();
|
||||
@@ -164,8 +152,23 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
((System.ComponentModel.ISupportInitialize)(this.numLen1)).BeginInit();
|
||||
this.pnlDetailOperate1.SuspendLayout();
|
||||
this.pnlDetailOperate2.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.pbShopLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
|
||||
this.pnlSpecDetail.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvPriceCheck)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
|
||||
this.splitContainer4.Panel1.SuspendLayout();
|
||||
this.splitContainer4.Panel2.SuspendLayout();
|
||||
this.splitContainer4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// splitContainer1
|
||||
@@ -188,194 +191,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.splitContainer1.SplitterDistance = 130;
|
||||
this.splitContainer1.TabIndex = 11;
|
||||
//
|
||||
// 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(1350, 477);
|
||||
this.splitContainer3.SplitterDistance = 447;
|
||||
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.pbShopLoading);
|
||||
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.panel1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.dgvPriceCheck);
|
||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1350, 447);
|
||||
this.splitContainer2.SplitterDistance = 280;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// pbShopLoading
|
||||
//
|
||||
this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbShopLoading.Location = new System.Drawing.Point(115, 198);
|
||||
this.pbShopLoading.Name = "pbShopLoading";
|
||||
this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbShopLoading.TabIndex = 676;
|
||||
this.pbShopLoading.TabStop = false;
|
||||
this.pbShopLoading.Visible = false;
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.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.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.panel1.Controls.Add(this.textBox1);
|
||||
this.panel1.Controls.Add(this.btnClose);
|
||||
this.panel1.Location = new System.Drawing.Point(113, 58);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(837, 134);
|
||||
this.panel1.TabIndex = 682;
|
||||
this.panel1.Visible = false;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.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.textBox1.Location = new System.Drawing.Point(28, 17);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textBox1.Size = new System.Drawing.Size(778, 75);
|
||||
this.textBox1.TabIndex = 690;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnClose.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnClose.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnClose.Location = new System.Drawing.Point(748, 98);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnClose.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClose.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnClose.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnClose.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnClose.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClose.Style.GradientAngle = 90;
|
||||
this.btnClose.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClose.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.TabIndex = 435;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(492, 198);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLoading.TabIndex = 675;
|
||||
this.pbLoading.TabStop = false;
|
||||
this.pbLoading.Visible = false;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
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(801, 383);
|
||||
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 = "停止当前操作";
|
||||
this.panelEx1.Visible = false;
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | 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(692, 383);
|
||||
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;
|
||||
//
|
||||
// splitContainer4
|
||||
//
|
||||
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer4.Name = "splitContainer4";
|
||||
//
|
||||
// splitContainer4.Panel1
|
||||
//
|
||||
this.splitContainer4.Panel1.Controls.Add(this.ucSplitPage1);
|
||||
//
|
||||
// splitContainer4.Panel2
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1350, 26);
|
||||
this.splitContainer4.SplitterDistance = 282;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// ucGroupBoxEx1
|
||||
//
|
||||
this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -383,6 +198,9 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
|
||||
this.ucGroupBoxEx1.Controls.Add(this.btnResetExtCode);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.txtExtCode);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label12);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.numJudgeWeight);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.numJudgeLen);
|
||||
this.ucGroupBoxEx1.Controls.Add(this.label8);
|
||||
@@ -430,6 +248,46 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.ucGroupBoxEx1.TabStop = false;
|
||||
this.ucGroupBoxEx1.Text = "参数设置";
|
||||
//
|
||||
// btnResetExtCode
|
||||
//
|
||||
this.btnResetExtCode.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnResetExtCode.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnResetExtCode.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnResetExtCode.Location = new System.Drawing.Point(631, 42);
|
||||
this.btnResetExtCode.Name = "btnResetExtCode";
|
||||
this.btnResetExtCode.Size = new System.Drawing.Size(66, 23);
|
||||
this.btnResetExtCode.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnResetExtCode.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnResetExtCode.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.btnResetExtCode.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.btnResetExtCode.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnResetExtCode.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.btnResetExtCode.Style.GradientAngle = 90;
|
||||
this.btnResetExtCode.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnResetExtCode.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnResetExtCode.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnResetExtCode.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnResetExtCode.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnResetExtCode.TabIndex = 958;
|
||||
this.btnResetExtCode.Text = "重置";
|
||||
this.btnResetExtCode.Click += new System.EventHandler(this.btnResetExtCode_Click);
|
||||
//
|
||||
// txtExtCode
|
||||
//
|
||||
this.txtExtCode.Location = new System.Drawing.Point(446, 42);
|
||||
this.txtExtCode.Name = "txtExtCode";
|
||||
this.txtExtCode.Size = new System.Drawing.Size(182, 23);
|
||||
this.txtExtCode.TabIndex = 953;
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.AutoSize = true;
|
||||
this.label12.Location = new System.Drawing.Point(412, 45);
|
||||
this.label12.Name = "label12";
|
||||
this.label12.Size = new System.Drawing.Size(44, 17);
|
||||
this.label12.TabIndex = 954;
|
||||
this.label12.Text = "货号:";
|
||||
//
|
||||
// numJudgeWeight
|
||||
//
|
||||
this.numJudgeWeight.Location = new System.Drawing.Point(808, 98);
|
||||
@@ -595,7 +453,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.chkSearchTime.AutoSize = true;
|
||||
this.chkSearchTime.Checked = true;
|
||||
this.chkSearchTime.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.chkSearchTime.Location = new System.Drawing.Point(407, 62);
|
||||
this.chkSearchTime.Location = new System.Drawing.Point(407, 74);
|
||||
this.chkSearchTime.Name = "chkSearchTime";
|
||||
this.chkSearchTime.Size = new System.Drawing.Size(15, 14);
|
||||
this.chkSearchTime.TabIndex = 827;
|
||||
@@ -603,7 +461,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// dtpEndTime
|
||||
//
|
||||
this.dtpEndTime.Location = new System.Drawing.Point(561, 58);
|
||||
this.dtpEndTime.Location = new System.Drawing.Point(561, 70);
|
||||
this.dtpEndTime.Name = "dtpEndTime";
|
||||
this.dtpEndTime.Size = new System.Drawing.Size(136, 23);
|
||||
this.dtpEndTime.TabIndex = 826;
|
||||
@@ -628,7 +486,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// dtpStartTime
|
||||
//
|
||||
this.dtpStartTime.Location = new System.Drawing.Point(423, 58);
|
||||
this.dtpStartTime.Location = new System.Drawing.Point(423, 70);
|
||||
this.dtpStartTime.Name = "dtpStartTime";
|
||||
this.dtpStartTime.Size = new System.Drawing.Size(136, 23);
|
||||
this.dtpStartTime.TabIndex = 825;
|
||||
@@ -666,7 +524,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnStop.Location = new System.Drawing.Point(631, 88);
|
||||
this.btnStop.Location = new System.Drawing.Point(631, 98);
|
||||
this.btnStop.Name = "btnStop";
|
||||
this.btnStop.Size = new System.Drawing.Size(66, 23);
|
||||
this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -709,7 +567,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.btnSearchPrice2.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearchPrice2.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearchPrice2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearchPrice2.Location = new System.Drawing.Point(516, 88);
|
||||
this.btnSearchPrice2.Location = new System.Drawing.Point(516, 98);
|
||||
this.btnSearchPrice2.Name = "btnSearchPrice2";
|
||||
this.btnSearchPrice2.Size = new System.Drawing.Size(112, 23);
|
||||
this.btnSearchPrice2.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -763,7 +621,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// txtSkcId
|
||||
//
|
||||
this.txtSkcId.Location = new System.Drawing.Point(446, 27);
|
||||
this.txtSkcId.Location = new System.Drawing.Point(446, 14);
|
||||
this.txtSkcId.Name = "txtSkcId";
|
||||
this.txtSkcId.Size = new System.Drawing.Size(251, 23);
|
||||
this.txtSkcId.TabIndex = 733;
|
||||
@@ -808,7 +666,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.btnSearchPrice.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearchPrice.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearchPrice.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearchPrice.Location = new System.Drawing.Point(407, 88);
|
||||
this.btnSearchPrice.Location = new System.Drawing.Point(407, 98);
|
||||
this.btnSearchPrice.Name = "btnSearchPrice";
|
||||
this.btnSearchPrice.Size = new System.Drawing.Size(106, 23);
|
||||
this.btnSearchPrice.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
@@ -910,7 +768,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(404, 30);
|
||||
this.label7.Location = new System.Drawing.Point(404, 17);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(52, 17);
|
||||
this.label7.TabIndex = 734;
|
||||
@@ -1123,6 +981,62 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.label11.TabIndex = 932;
|
||||
this.label11.Text = "需要还原并标红";
|
||||
//
|
||||
// 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(1350, 477);
|
||||
this.splitContainer3.SplitterDistance = 447;
|
||||
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.pbShopLoading);
|
||||
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.pnlSpecDetail);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.panelEx1);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.btnClear);
|
||||
this.splitContainer2.Panel2.Controls.Add(this.dgvPriceCheck);
|
||||
this.splitContainer2.Panel2.Padding = new System.Windows.Forms.Padding(0, 0, 4, 0);
|
||||
this.splitContainer2.Size = new System.Drawing.Size(1350, 447);
|
||||
this.splitContainer2.SplitterDistance = 280;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// pbShopLoading
|
||||
//
|
||||
this.pbShopLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbShopLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbShopLoading.Location = new System.Drawing.Point(115, 198);
|
||||
this.pbShopLoading.Name = "pbShopLoading";
|
||||
this.pbShopLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbShopLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbShopLoading.TabIndex = 676;
|
||||
this.pbShopLoading.TabStop = false;
|
||||
this.pbShopLoading.Visible = false;
|
||||
//
|
||||
// dgvShop
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
@@ -1231,6 +1145,120 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.colMessage.Name = "colMessage";
|
||||
this.colMessage.ReadOnly = true;
|
||||
//
|
||||
// pnlSpecDetail
|
||||
//
|
||||
this.pnlSpecDetail.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.pnlSpecDetail.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pnlSpecDetail.Controls.Add(this.textBox1);
|
||||
this.pnlSpecDetail.Controls.Add(this.btnClose);
|
||||
this.pnlSpecDetail.Location = new System.Drawing.Point(113, 58);
|
||||
this.pnlSpecDetail.Name = "pnlSpecDetail";
|
||||
this.pnlSpecDetail.Size = new System.Drawing.Size(837, 134);
|
||||
this.pnlSpecDetail.TabIndex = 682;
|
||||
this.pnlSpecDetail.Visible = false;
|
||||
//
|
||||
// textBox1
|
||||
//
|
||||
this.textBox1.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.textBox1.Location = new System.Drawing.Point(28, 17);
|
||||
this.textBox1.Multiline = true;
|
||||
this.textBox1.Name = "textBox1";
|
||||
this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
||||
this.textBox1.Size = new System.Drawing.Size(778, 75);
|
||||
this.textBox1.TabIndex = 690;
|
||||
//
|
||||
// btnClose
|
||||
//
|
||||
this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnClose.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnClose.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnClose.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnClose.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnClose.Location = new System.Drawing.Point(748, 98);
|
||||
this.btnClose.Name = "btnClose";
|
||||
this.btnClose.Size = new System.Drawing.Size(58, 23);
|
||||
this.btnClose.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClose.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnClose.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnClose.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnClose.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnClose.Style.GradientAngle = 90;
|
||||
this.btnClose.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnClose.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnClose.TabIndex = 435;
|
||||
this.btnClose.Text = "关闭";
|
||||
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
|
||||
//
|
||||
// pbLoading
|
||||
//
|
||||
this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
|
||||
this.pbLoading.Location = new System.Drawing.Point(492, 198);
|
||||
this.pbLoading.Name = "pbLoading";
|
||||
this.pbLoading.Size = new System.Drawing.Size(50, 50);
|
||||
this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pbLoading.TabIndex = 675;
|
||||
this.pbLoading.TabStop = false;
|
||||
this.pbLoading.Visible = false;
|
||||
//
|
||||
// panelEx1
|
||||
//
|
||||
this.panelEx1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
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(801, 383);
|
||||
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 = "停止当前操作";
|
||||
this.panelEx1.Visible = false;
|
||||
//
|
||||
// btnClear
|
||||
//
|
||||
this.btnClear.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | 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(692, 383);
|
||||
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;
|
||||
//
|
||||
// dgvPriceCheck
|
||||
//
|
||||
this.dgvPriceCheck.AllowUserToAddRows = false;
|
||||
@@ -1287,31 +1315,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.dgvPriceCheck.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvPriceCheck_Scroll);
|
||||
this.dgvPriceCheck.MouseUp += new System.Windows.Forms.MouseEventHandler(this.dgvPriceCheck_MouseUp);
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.ucSplitPage1.IsShowPageSize = false;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(0, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.PageSize = 50;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(282, 26);
|
||||
this.ucSplitPage1.TabIndex = 5;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
|
||||
//
|
||||
// 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(1064, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// colCheck
|
||||
//
|
||||
this.colCheck.HeaderText = "选择";
|
||||
@@ -1486,6 +1489,49 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.colMsg.ReadOnly = true;
|
||||
this.colMsg.Width = 160;
|
||||
//
|
||||
// splitContainer4
|
||||
//
|
||||
this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
|
||||
this.splitContainer4.Location = new System.Drawing.Point(0, 0);
|
||||
this.splitContainer4.Name = "splitContainer4";
|
||||
//
|
||||
// splitContainer4.Panel1
|
||||
//
|
||||
this.splitContainer4.Panel1.Controls.Add(this.ucSplitPage1);
|
||||
//
|
||||
// splitContainer4.Panel2
|
||||
//
|
||||
this.splitContainer4.Panel2.Controls.Add(this.statusBar);
|
||||
this.splitContainer4.Size = new System.Drawing.Size(1350, 26);
|
||||
this.splitContainer4.SplitterDistance = 282;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// ucSplitPage1
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Left;
|
||||
this.ucSplitPage1.IsShowPageSize = false;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(0, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.PageSize = 50;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(282, 26);
|
||||
this.ucSplitPage1.TabIndex = 5;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
this.ucSplitPage1.PageChange += new System.Action<object>(this.ucSplitPage1_PageChange);
|
||||
//
|
||||
// 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(1064, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// AdminProductPriceCheckForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -1503,22 +1549,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.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.pbShopLoading)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
this.splitContainer4.Panel1.ResumeLayout(false);
|
||||
this.splitContainer4.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
|
||||
this.splitContainer4.ResumeLayout(false);
|
||||
this.ucGroupBoxEx1.ResumeLayout(false);
|
||||
this.ucGroupBoxEx1.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numJudgeWeight)).EndInit();
|
||||
@@ -1534,8 +1564,24 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.pnlDetailOperate1.ResumeLayout(false);
|
||||
this.pnlDetailOperate1.PerformLayout();
|
||||
this.pnlDetailOperate2.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.pbShopLoading)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
|
||||
this.pnlSpecDetail.ResumeLayout(false);
|
||||
this.pnlSpecDetail.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvPriceCheck)).EndInit();
|
||||
this.splitContainer4.Panel1.ResumeLayout(false);
|
||||
this.splitContainer4.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
|
||||
this.splitContainer4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
@@ -1612,7 +1658,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.NumericUpDown numJudgeLen;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Panel panel1;
|
||||
private System.Windows.Forms.Panel pnlSpecDetail;
|
||||
private DevComponents.DotNetBar.PanelEx btnClose;
|
||||
private System.Windows.Forms.TextBox textBox1;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
|
||||
@@ -1637,5 +1683,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colCancel;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colCancelWithTitleWrong;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
|
||||
private System.Windows.Forms.TextBox txtExtCode;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private DevComponents.DotNetBar.PanelEx btnResetExtCode;
|
||||
}
|
||||
}
|
||||
@@ -37,7 +37,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
{
|
||||
this.dgvShop.AddSelectorColumn("colSelect");
|
||||
this.dgvPriceCheck.AddSelectorColumn("colCheck");
|
||||
this.dgvPriceCheck.MergeColumnHeader(new List<string>() { "colOk", "colCancel" }, "同意/拒绝报价");
|
||||
this.dgvPriceCheck.AddMergeColumnHeader(new List<string>() { "colOk", "colCancel" }, "同意/拒绝报价");
|
||||
|
||||
this.dtpEndTime.Value = DateTime.Now.Date.AddDays(1).AddMilliseconds(-1);
|
||||
this.dtpStartTime.Value = DateTime.Now.Date.AddDays(-7);
|
||||
@@ -279,7 +279,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
var PriceInfo = lstCheckPriceInfo.FirstOrDefault(p => p.productId.ParseToString() == prodId);
|
||||
if (PriceInfo != null)
|
||||
{
|
||||
this.panel1.Visible = true;
|
||||
this.pnlSpecDetail.Visible = true;
|
||||
|
||||
string skuName = "";
|
||||
var prodSkuList = PriceInfo.skcList.FirstOrDefault().skuList;
|
||||
@@ -776,6 +776,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
string url = "https://agentseller.temu.com/api/kiana/mms/robin/searchForChainSupplier";
|
||||
string body = "";
|
||||
body = "{\"pageSize\":100,\"pageNum\":" + page + ",";
|
||||
if (!string.IsNullOrEmpty(txtExtCode.Text.Trim()))
|
||||
body += "\"skcExtCodeKeyword\":\"" + txtExtCode.Text.Trim() + "\",";
|
||||
if (startTime != 0 && endTime != 0) // 查询创建时间
|
||||
body += "\"timeType\":1,\"timeBegin\":" + startTime + ",\"timeEnd\":" + endTime + ",";
|
||||
if (type == "待卖家确认")
|
||||
@@ -1738,7 +1740,12 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
|
||||
private void btnClose_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.panel1.Visible = false;
|
||||
this.pnlSpecDetail.Visible = false;
|
||||
}
|
||||
|
||||
private void btnResetExtCode_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.txtExtCode.Text = this.txtSkcId.Text = "";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+189
-20
@@ -29,8 +29,11 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
@@ -53,12 +56,21 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.pnlAddProdRemaining = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.pnlCancel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.numAddRemaining = new System.Windows.Forms.NumericUpDown();
|
||||
this.btnRemainOK = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblAddProdRemaining = new System.Windows.Forms.Label();
|
||||
this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colShopAccount = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.conNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colMinus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colProductRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colPlus = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colCookie = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSubUser = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -83,6 +95,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.chkAutoDrag = new System.Windows.Forms.CheckBox();
|
||||
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
|
||||
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
|
||||
this.lblShopId = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
@@ -95,6 +108,9 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.splitContainer2.Panel2.SuspendLayout();
|
||||
this.splitContainer2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
|
||||
this.pnlAddProdRemaining.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddRemaining)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
@@ -360,6 +376,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
this.splitContainer2.Panel1.BackColor = System.Drawing.Color.White;
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pbLoading);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.pnlAddProdRemaining);
|
||||
this.splitContainer2.Panel1.Controls.Add(this.dgvShop);
|
||||
this.splitContainer2.Panel1.Padding = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
//
|
||||
@@ -383,23 +400,116 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.pbLoading.TabIndex = 6;
|
||||
this.pbLoading.TabStop = false;
|
||||
//
|
||||
// pnlAddProdRemaining
|
||||
//
|
||||
this.pnlAddProdRemaining.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.pnlAddProdRemaining.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.pnlAddProdRemaining.Controls.Add(this.lblShopId);
|
||||
this.pnlAddProdRemaining.Controls.Add(this.panel2);
|
||||
this.pnlAddProdRemaining.Controls.Add(this.lblAddProdRemaining);
|
||||
this.pnlAddProdRemaining.Location = new System.Drawing.Point(399, 70);
|
||||
this.pnlAddProdRemaining.Name = "pnlAddProdRemaining";
|
||||
this.pnlAddProdRemaining.Size = new System.Drawing.Size(474, 146);
|
||||
this.pnlAddProdRemaining.TabIndex = 7;
|
||||
this.pnlAddProdRemaining.Visible = false;
|
||||
//
|
||||
// panel2
|
||||
//
|
||||
this.panel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
|
||||
this.panel2.Controls.Add(this.pnlCancel);
|
||||
this.panel2.Controls.Add(this.numAddRemaining);
|
||||
this.panel2.Controls.Add(this.btnRemainOK);
|
||||
this.panel2.Location = new System.Drawing.Point(23, 80);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(424, 29);
|
||||
this.panel2.TabIndex = 454;
|
||||
//
|
||||
// pnlCancel
|
||||
//
|
||||
this.pnlCancel.CanvasColor = System.Drawing.SystemColors.Control;
|
||||
this.pnlCancel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.pnlCancel.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.pnlCancel.Location = new System.Drawing.Point(273, 2);
|
||||
this.pnlCancel.Name = "pnlCancel";
|
||||
this.pnlCancel.Size = new System.Drawing.Size(56, 24);
|
||||
this.pnlCancel.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlCancel.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlCancel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
|
||||
this.pnlCancel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
|
||||
this.pnlCancel.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlCancel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
|
||||
this.pnlCancel.Style.GradientAngle = 90;
|
||||
this.pnlCancel.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlCancel.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.pnlCancel.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlCancel.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.pnlCancel.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.pnlCancel.TabIndex = 458;
|
||||
this.pnlCancel.Text = "取消";
|
||||
this.pnlCancel.Click += new System.EventHandler(this.pnlCancel_Click);
|
||||
//
|
||||
// numAddRemaining
|
||||
//
|
||||
this.numAddRemaining.Location = new System.Drawing.Point(93, 3);
|
||||
this.numAddRemaining.Maximum = new decimal(new int[] {
|
||||
10000,
|
||||
0,
|
||||
0,
|
||||
0});
|
||||
this.numAddRemaining.Name = "numAddRemaining";
|
||||
this.numAddRemaining.Size = new System.Drawing.Size(120, 23);
|
||||
this.numAddRemaining.TabIndex = 1;
|
||||
//
|
||||
// btnRemainOK
|
||||
//
|
||||
this.btnRemainOK.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnRemainOK.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnRemainOK.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnRemainOK.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnRemainOK.Location = new System.Drawing.Point(215, 2);
|
||||
this.btnRemainOK.Name = "btnRemainOK";
|
||||
this.btnRemainOK.Size = new System.Drawing.Size(56, 24);
|
||||
this.btnRemainOK.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRemainOK.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnRemainOK.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnRemainOK.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnRemainOK.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnRemainOK.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnRemainOK.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnRemainOK.Style.GradientAngle = 90;
|
||||
this.btnRemainOK.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnRemainOK.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnRemainOK.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnRemainOK.TabIndex = 453;
|
||||
this.btnRemainOK.Text = "确定";
|
||||
this.btnRemainOK.Click += new System.EventHandler(this.btnRemainOK_Click);
|
||||
//
|
||||
// lblAddProdRemaining
|
||||
//
|
||||
this.lblAddProdRemaining.Location = new System.Drawing.Point(23, 36);
|
||||
this.lblAddProdRemaining.Name = "lblAddProdRemaining";
|
||||
this.lblAddProdRemaining.Size = new System.Drawing.Size(424, 17);
|
||||
this.lblAddProdRemaining.TabIndex = 0;
|
||||
this.lblAddProdRemaining.Text = "shopInfo";
|
||||
this.lblAddProdRemaining.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// dgvShop
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dgvShop.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
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;
|
||||
dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -407,6 +517,9 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.colShopId,
|
||||
this.colShopAccount,
|
||||
this.conNotes,
|
||||
this.colMinus,
|
||||
this.colProductRemaining,
|
||||
this.colPlus,
|
||||
this.colCookie,
|
||||
this.colUser,
|
||||
this.colSubUser,
|
||||
@@ -433,9 +546,11 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.dgvShop.Name = "dgvShop";
|
||||
this.dgvShop.ReadOnly = true;
|
||||
this.dgvShop.RowTemplate.Height = 23;
|
||||
this.dgvShop.ShowCellErrors = false;
|
||||
this.dgvShop.Size = new System.Drawing.Size(1265, 531);
|
||||
this.dgvShop.TabIndex = 5;
|
||||
this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
|
||||
this.dgvShop.CellMouseDown += new System.Windows.Forms.DataGridViewCellMouseEventHandler(this.dgvShop_CellMouseDown);
|
||||
//
|
||||
// colSelect
|
||||
//
|
||||
@@ -448,14 +563,14 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colLoginName
|
||||
//
|
||||
this.colLoginName.FillWeight = 69.42599F;
|
||||
this.colLoginName.FillWeight = 70F;
|
||||
this.colLoginName.HeaderText = "店铺登录号码";
|
||||
this.colLoginName.Name = "colLoginName";
|
||||
this.colLoginName.ReadOnly = true;
|
||||
//
|
||||
// colShopId
|
||||
//
|
||||
this.colShopId.FillWeight = 69.42599F;
|
||||
this.colShopId.FillWeight = 70F;
|
||||
this.colShopId.HeaderText = "店铺Id";
|
||||
this.colShopId.Name = "colShopId";
|
||||
this.colShopId.ReadOnly = true;
|
||||
@@ -472,6 +587,34 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.conNotes.Name = "conNotes";
|
||||
this.conNotes.ReadOnly = true;
|
||||
//
|
||||
// colMinus
|
||||
//
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colMinus.DefaultCellStyle = dataGridViewCellStyle8;
|
||||
this.colMinus.FillWeight = 15F;
|
||||
this.colMinus.HeaderText = "-";
|
||||
this.colMinus.Name = "colMinus";
|
||||
this.colMinus.ReadOnly = true;
|
||||
this.colMinus.Visible = false;
|
||||
//
|
||||
// colProductRemaining
|
||||
//
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colProductRemaining.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
this.colProductRemaining.FillWeight = 30F;
|
||||
this.colProductRemaining.HeaderText = "选品限额";
|
||||
this.colProductRemaining.Name = "colProductRemaining";
|
||||
this.colProductRemaining.ReadOnly = true;
|
||||
//
|
||||
// colPlus
|
||||
//
|
||||
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colPlus.DefaultCellStyle = dataGridViewCellStyle10;
|
||||
this.colPlus.FillWeight = 15F;
|
||||
this.colPlus.HeaderText = "+";
|
||||
this.colPlus.Name = "colPlus";
|
||||
this.colPlus.ReadOnly = true;
|
||||
//
|
||||
// colCookie
|
||||
//
|
||||
this.colCookie.HeaderText = "店铺Cookie";
|
||||
@@ -495,7 +638,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colGroupName
|
||||
//
|
||||
this.colGroupName.FillWeight = 69.42599F;
|
||||
this.colGroupName.FillWeight = 70F;
|
||||
this.colGroupName.HeaderText = "店铺分组";
|
||||
this.colGroupName.Name = "colGroupName";
|
||||
this.colGroupName.ReadOnly = true;
|
||||
@@ -503,7 +646,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colUploadAccount
|
||||
//
|
||||
this.colUploadAccount.FillWeight = 69.42599F;
|
||||
this.colUploadAccount.FillWeight = 70F;
|
||||
this.colUploadAccount.HeaderText = "上货账户";
|
||||
this.colUploadAccount.Name = "colUploadAccount";
|
||||
this.colUploadAccount.ReadOnly = true;
|
||||
@@ -511,7 +654,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colBuyAccount
|
||||
//
|
||||
this.colBuyAccount.FillWeight = 69.42599F;
|
||||
this.colBuyAccount.FillWeight = 70F;
|
||||
this.colBuyAccount.HeaderText = "采购账户";
|
||||
this.colBuyAccount.Name = "colBuyAccount";
|
||||
this.colBuyAccount.ReadOnly = true;
|
||||
@@ -519,7 +662,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colChatAccount
|
||||
//
|
||||
this.colChatAccount.FillWeight = 69.42599F;
|
||||
this.colChatAccount.FillWeight = 70F;
|
||||
this.colChatAccount.HeaderText = "客服账户";
|
||||
this.colChatAccount.Name = "colChatAccount";
|
||||
this.colChatAccount.ReadOnly = true;
|
||||
@@ -579,7 +722,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colApiAuth
|
||||
//
|
||||
this.colApiAuth.FillWeight = 69.42599F;
|
||||
this.colApiAuth.FillWeight = 70F;
|
||||
this.colApiAuth.HeaderText = "上货授权";
|
||||
this.colApiAuth.Name = "colApiAuth";
|
||||
this.colApiAuth.ReadOnly = true;
|
||||
@@ -589,7 +732,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colBuyApiAuth
|
||||
//
|
||||
this.colBuyApiAuth.FillWeight = 69.42599F;
|
||||
this.colBuyApiAuth.FillWeight = 70F;
|
||||
this.colBuyApiAuth.HeaderText = "拍单授权";
|
||||
this.colBuyApiAuth.Name = "colBuyApiAuth";
|
||||
this.colBuyApiAuth.ReadOnly = true;
|
||||
@@ -667,9 +810,11 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
this.ucSplitPage1.CurrentPage = 1;
|
||||
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.ucSplitPage1.IsShowPageSize = false;
|
||||
this.ucSplitPage1.Location = new System.Drawing.Point(911, 0);
|
||||
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.ucSplitPage1.Name = "ucSplitPage1";
|
||||
this.ucSplitPage1.PageSize = 50;
|
||||
this.ucSplitPage1.Size = new System.Drawing.Size(362, 25);
|
||||
this.ucSplitPage1.TabIndex = 4;
|
||||
this.ucSplitPage1.TotalPage = 1;
|
||||
@@ -685,6 +830,16 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.statusBar.Size = new System.Drawing.Size(1273, 25);
|
||||
this.statusBar.TabIndex = 1;
|
||||
//
|
||||
// lblShopId
|
||||
//
|
||||
this.lblShopId.AutoSize = true;
|
||||
this.lblShopId.Location = new System.Drawing.Point(20, 19);
|
||||
this.lblShopId.Name = "lblShopId";
|
||||
this.lblShopId.Size = new System.Drawing.Size(50, 17);
|
||||
this.lblShopId.TabIndex = 455;
|
||||
this.lblShopId.Text = "ShopId";
|
||||
this.lblShopId.Visible = false;
|
||||
//
|
||||
// AdminShopListForm
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -710,6 +865,10 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
|
||||
this.splitContainer2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
|
||||
this.pnlAddProdRemaining.ResumeLayout(false);
|
||||
this.pnlAddProdRemaining.PerformLayout();
|
||||
this.panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numAddRemaining)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
@@ -748,6 +907,9 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colShopAccount;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn conNotes;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMinus;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colProductRemaining;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colPlus;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colCookie;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colUser;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSubUser;
|
||||
@@ -769,5 +931,12 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSubSa;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colEdit;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colDelete;
|
||||
private System.Windows.Forms.Panel pnlAddProdRemaining;
|
||||
private System.Windows.Forms.Label lblAddProdRemaining;
|
||||
private System.Windows.Forms.NumericUpDown numAddRemaining;
|
||||
private System.Windows.Forms.Panel panel2;
|
||||
private DevComponents.DotNetBar.PanelEx btnRemainOK;
|
||||
private DevComponents.DotNetBar.PanelEx pnlCancel;
|
||||
private System.Windows.Forms.Label lblShopId;
|
||||
}
|
||||
}
|
||||
@@ -45,6 +45,12 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.ucSplitPage1.PageChange += UcSplitPage1_PageChange;
|
||||
|
||||
this.dgvShop.AddSelectorColumn("colSelect");
|
||||
this.dgvShop.AddMergeColumnHeader(new List<string>() { /*"colMinus",*/ "colProductRemaining", "colPlus" }, "选品限额");
|
||||
this.dgvShop.AddMergeColumn(new List<string>() { /*"colMinus",*/ "colProductRemaining", "colPlus" });
|
||||
this.dgvShop.Columns["colMinus"].HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dgvShop.Columns["colPlus"].HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
this.dgvShop.Columns["colPlus"].HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter;
|
||||
|
||||
|
||||
if (BaseClass.SaLevel != 1)
|
||||
{
|
||||
@@ -106,6 +112,10 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
shop.ShopId,
|
||||
shop.ShopAccount,
|
||||
shop.Notes,
|
||||
"-",
|
||||
shop.AddProductRemaining,
|
||||
"+",
|
||||
//"±",
|
||||
shop.Cookies,
|
||||
shop.UserName,
|
||||
shop.SubUserName,
|
||||
@@ -301,9 +311,19 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
}
|
||||
IsOperate = false;
|
||||
break;
|
||||
default:
|
||||
|
||||
case "+":
|
||||
case "±":
|
||||
this.lblAddProdRemaining.Text = shop.ShopAccount + " " + shop.ShopId + " 调整选品限额";
|
||||
this.lblShopId.Text = shop.ShopId;
|
||||
this.numAddRemaining.Value = shop.AddProductRemaining;
|
||||
this.pnlAddProdRemaining.Visible = true;
|
||||
break;
|
||||
case "":
|
||||
dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value = !(bool)dgvShop.Rows[e.RowIndex].Cells["colSelect"].Value;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1082,5 +1102,50 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
p.OperateSubSaName = subSaName.ParseToString();
|
||||
}
|
||||
}
|
||||
|
||||
private void dgvShop_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
|
||||
{
|
||||
}
|
||||
|
||||
private void btnRemainOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
var url = BaseClass.BuildObjString("shop/update_add_prod_remaining");
|
||||
var data = UserLogin.GetSignaturex() +
|
||||
"&remain_count=" + numAddRemaining.Text.Trim() +
|
||||
"&shop_ids=" + lblShopId.Text.Trim();
|
||||
var html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (string.IsNullOrEmpty(html) || !html.Contains("\"code\":200"))
|
||||
html = GetHtml.PostUtf8(url, data);
|
||||
if (html.Contains("\"code\":200"))
|
||||
{
|
||||
foreach (DataGridViewRow row in this.dgvShop.Rows)
|
||||
{
|
||||
if (row.Cells["colShopId"].Value.ParseToString() == lblShopId.Text.Trim())
|
||||
{
|
||||
row.Cells["colProductRemaining"].Value = numAddRemaining.Text.Trim();
|
||||
}
|
||||
}
|
||||
foreach(var shop in lstAdminShopInfo)
|
||||
{
|
||||
if (shop.ShopId == lblShopId.Text.Trim())
|
||||
shop.AddProductRemaining = numAddRemaining.Text.Trim().ParseToInt();
|
||||
}
|
||||
this.pnlAddProdRemaining.Visible = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
var msg = BaseRegex.GetStringJson(ref html, "msg");
|
||||
if (string.IsNullOrEmpty(msg))
|
||||
msg = "选品限额修改失败!";
|
||||
BaseMsgForm.ShowError(msg);
|
||||
}
|
||||
}
|
||||
|
||||
private void pnlCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.pnlAddProdRemaining.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -132,6 +132,15 @@
|
||||
<metadata name="conNotes.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colMinus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colProductRemaining.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colPlus.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colCookie.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
+118
-53
@@ -30,12 +30,16 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle 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();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.rbTodaySaleCount = new System.Windows.Forms.RadioButton();
|
||||
this.rbSevenDaysAvgSaleCount = new System.Windows.Forms.RadioButton();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.txtMinQualityScore = new System.Windows.Forms.TextBox();
|
||||
this.chkMinQualityScore = new System.Windows.Forms.CheckBox();
|
||||
this.ucCheckBox1 = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -45,12 +49,12 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.label15 = new System.Windows.Forms.Label();
|
||||
this.chkIfLessMakeZero = new System.Windows.Forms.CheckBox();
|
||||
this.txtScale2 = new System.Windows.Forms.TextBox();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.label102 = new System.Windows.Forms.Label();
|
||||
this.txtScale1 = new System.Windows.Forms.TextBox();
|
||||
this.panelEx3 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnListWarehouse = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnStartStockUp = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label101 = new System.Windows.Forms.Label();
|
||||
this.label16 = new System.Windows.Forms.Label();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
@@ -136,6 +140,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colFromFake = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colInCartNumber7d = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colTodaySaleVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colLastSevenDaysSaleVolume = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colSalesInventoryNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colWaitReceiveNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
this.colQualityScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -150,6 +155,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.SuspendLayout();
|
||||
this.ucGroupBoxEx4.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.flowLayoutPanel1.SuspendLayout();
|
||||
this.ucGroupBoxEx3.SuspendLayout();
|
||||
this.ucGroupBoxEx2.SuspendLayout();
|
||||
@@ -206,21 +212,22 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
| 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.panel4);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtMinQualityScore);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.chkMinQualityScore);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.ucCheckBox1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.flowLayoutPanel1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtScale2);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label14);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label102);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.txtScale1);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.panelEx3);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnListWarehouse);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.btnStartStockUp);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label10);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label101);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label16);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label17);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label18);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.label19);
|
||||
this.ucGroupBoxEx4.Controls.Add(this.ucCheckBox1);
|
||||
this.ucGroupBoxEx4.Location = new System.Drawing.Point(417, 2);
|
||||
this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
|
||||
this.ucGroupBoxEx4.Size = new System.Drawing.Size(949, 120);
|
||||
@@ -228,6 +235,48 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.ucGroupBoxEx4.TabStop = false;
|
||||
this.ucGroupBoxEx4.Text = "创建备货单";
|
||||
//
|
||||
// panel4
|
||||
//
|
||||
this.panel4.Controls.Add(this.rbTodaySaleCount);
|
||||
this.panel4.Controls.Add(this.rbSevenDaysAvgSaleCount);
|
||||
this.panel4.Controls.Add(this.label20);
|
||||
this.panel4.Location = new System.Drawing.Point(521, 27);
|
||||
this.panel4.Name = "panel4";
|
||||
this.panel4.Size = new System.Drawing.Size(237, 23);
|
||||
this.panel4.TabIndex = 734;
|
||||
//
|
||||
// rbTodaySaleCount
|
||||
//
|
||||
this.rbTodaySaleCount.AutoSize = true;
|
||||
this.rbTodaySaleCount.Checked = true;
|
||||
this.rbTodaySaleCount.Location = new System.Drawing.Point(68, 1);
|
||||
this.rbTodaySaleCount.Name = "rbTodaySaleCount";
|
||||
this.rbTodaySaleCount.Size = new System.Drawing.Size(74, 21);
|
||||
this.rbTodaySaleCount.TabIndex = 466;
|
||||
this.rbTodaySaleCount.TabStop = true;
|
||||
this.rbTodaySaleCount.Text = "今日销量";
|
||||
this.rbTodaySaleCount.UseVisualStyleBackColor = true;
|
||||
this.rbTodaySaleCount.CheckedChanged += new System.EventHandler(this.rbTodaySaleCount_CheckedChanged);
|
||||
//
|
||||
// rbSevenDaysAvgSaleCount
|
||||
//
|
||||
this.rbSevenDaysAvgSaleCount.AutoSize = true;
|
||||
this.rbSevenDaysAvgSaleCount.Location = new System.Drawing.Point(142, 1);
|
||||
this.rbSevenDaysAvgSaleCount.Name = "rbSevenDaysAvgSaleCount";
|
||||
this.rbSevenDaysAvgSaleCount.Size = new System.Drawing.Size(98, 21);
|
||||
this.rbSevenDaysAvgSaleCount.TabIndex = 467;
|
||||
this.rbSevenDaysAvgSaleCount.Text = "七日平均销量";
|
||||
this.rbSevenDaysAvgSaleCount.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label20
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(5, 3);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(68, 17);
|
||||
this.label20.TabIndex = 680;
|
||||
this.label20.Text = "比较对象:";
|
||||
//
|
||||
// txtMinQualityScore
|
||||
//
|
||||
this.txtMinQualityScore.Location = new System.Drawing.Point(785, 85);
|
||||
@@ -260,7 +309,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
this.ucCheckBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.ucCheckBox1.AutoSize = true;
|
||||
this.ucCheckBox1.Location = new System.Drawing.Point(757, 34);
|
||||
this.ucCheckBox1.Location = new System.Drawing.Point(849, 58);
|
||||
this.ucCheckBox1.Name = "ucCheckBox1";
|
||||
this.ucCheckBox1.Size = new System.Drawing.Size(87, 21);
|
||||
this.ucCheckBox1.TabIndex = 713;
|
||||
@@ -335,7 +384,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
// txtScale2
|
||||
//
|
||||
this.txtScale2.Location = new System.Drawing.Point(388, 54);
|
||||
this.txtScale2.Location = new System.Drawing.Point(452, 55);
|
||||
this.txtScale2.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtScale2.Name = "txtScale2";
|
||||
this.txtScale2.Size = new System.Drawing.Size(25, 23);
|
||||
@@ -343,18 +392,18 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.txtScale2.Text = "8";
|
||||
this.txtScale2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// label14
|
||||
// label102
|
||||
//
|
||||
this.label14.AutoSize = true;
|
||||
this.label14.Location = new System.Drawing.Point(242, 58);
|
||||
this.label14.Name = "label14";
|
||||
this.label14.Size = new System.Drawing.Size(148, 17);
|
||||
this.label14.TabIndex = 679;
|
||||
this.label14.Text = "近7日加购大于今日销量 ×";
|
||||
this.label102.Location = new System.Drawing.Point(171, 58);
|
||||
this.label102.Name = "label102";
|
||||
this.label102.Size = new System.Drawing.Size(283, 17);
|
||||
this.label102.TabIndex = 679;
|
||||
this.label102.Text = "近7日加购大于今日销量,今日销量 ×";
|
||||
this.label102.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// txtScale1
|
||||
//
|
||||
this.txtScale1.Location = new System.Drawing.Point(388, 26);
|
||||
this.txtScale1.Location = new System.Drawing.Point(452, 27);
|
||||
this.txtScale1.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.txtScale1.Name = "txtScale1";
|
||||
this.txtScale1.Size = new System.Drawing.Size(25, 23);
|
||||
@@ -436,19 +485,19 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.btnStartStockUp.Text = "开始备货";
|
||||
this.btnStartStockUp.Click += new System.EventHandler(this.btnStartStockUp_Click);
|
||||
//
|
||||
// label10
|
||||
// label101
|
||||
//
|
||||
this.label10.AutoSize = true;
|
||||
this.label10.Location = new System.Drawing.Point(182, 30);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(208, 17);
|
||||
this.label10.TabIndex = 678;
|
||||
this.label10.Text = "备货数量:近7日加购小于今日销量 ×";
|
||||
this.label101.Location = new System.Drawing.Point(171, 30);
|
||||
this.label101.Name = "label101";
|
||||
this.label101.Size = new System.Drawing.Size(283, 17);
|
||||
this.label101.TabIndex = 678;
|
||||
this.label101.Text = "备货数量:近7日加购小于今日销量,今日销量 ×";
|
||||
this.label101.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
||||
//
|
||||
// label16
|
||||
//
|
||||
this.label16.AutoSize = true;
|
||||
this.label16.Location = new System.Drawing.Point(425, 30);
|
||||
this.label16.Location = new System.Drawing.Point(475, 30);
|
||||
this.label16.Name = "label16";
|
||||
this.label16.Size = new System.Drawing.Size(44, 17);
|
||||
this.label16.TabIndex = 693;
|
||||
@@ -457,7 +506,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(425, 58);
|
||||
this.label17.Location = new System.Drawing.Point(475, 58);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(44, 17);
|
||||
this.label17.TabIndex = 694;
|
||||
@@ -764,18 +813,18 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle5;
|
||||
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)))));
|
||||
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.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
|
||||
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,
|
||||
@@ -1360,18 +1409,18 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
//
|
||||
this.dgvStock.AllowUserToAddRows = false;
|
||||
this.dgvStock.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvStock.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
|
||||
this.dgvStock.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvStock.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvStock.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
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.dgvStock.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvStock.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvStock.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colUpId,
|
||||
@@ -1390,6 +1439,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colFromFake,
|
||||
this.colInCartNumber7d,
|
||||
this.colTodaySaleVolume,
|
||||
this.colLastSevenDaysSaleVolume,
|
||||
this.colSalesInventoryNum,
|
||||
this.colWaitReceiveNum,
|
||||
this.colQualityScore,
|
||||
@@ -1531,6 +1581,14 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.colTodaySaleVolume.Visible = false;
|
||||
this.colTodaySaleVolume.Width = 70;
|
||||
//
|
||||
// colLastSevenDaysSaleVolume
|
||||
//
|
||||
this.colLastSevenDaysSaleVolume.HeaderText = "七日销量";
|
||||
this.colLastSevenDaysSaleVolume.Name = "colLastSevenDaysSaleVolume";
|
||||
this.colLastSevenDaysSaleVolume.ReadOnly = true;
|
||||
this.colLastSevenDaysSaleVolume.Visible = false;
|
||||
this.colLastSevenDaysSaleVolume.Width = 70;
|
||||
//
|
||||
// colSalesInventoryNum
|
||||
//
|
||||
this.colSalesInventoryNum.HeaderText = "仓库可用库存";
|
||||
@@ -1666,6 +1724,8 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
this.splitContainer1.ResumeLayout(false);
|
||||
this.ucGroupBoxEx4.ResumeLayout(false);
|
||||
this.ucGroupBoxEx4.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.panel4.PerformLayout();
|
||||
this.flowLayoutPanel1.ResumeLayout(false);
|
||||
this.flowLayoutPanel1.PerformLayout();
|
||||
this.ucGroupBoxEx3.ResumeLayout(false);
|
||||
@@ -1771,10 +1831,10 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private DevComponents.DotNetBar.PanelEx btnStartStockUp;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx3;
|
||||
private DevComponents.DotNetBar.PanelEx btnListWarehouse;
|
||||
private System.Windows.Forms.Label label10;
|
||||
private System.Windows.Forms.Label label101;
|
||||
private System.Windows.Forms.TextBox txtScale1;
|
||||
private System.Windows.Forms.TextBox txtScale2;
|
||||
private System.Windows.Forms.Label label14;
|
||||
private System.Windows.Forms.Label label102;
|
||||
private DevComponents.DotNetBar.PanelEx panelEx1;
|
||||
private System.Windows.Forms.TextBox txtMinBound;
|
||||
private System.Windows.Forms.Label label15;
|
||||
@@ -1793,6 +1853,13 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colLoginStatus;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
|
||||
private System.Windows.Forms.TextBox txtMinQualityScore;
|
||||
private System.Windows.Forms.CheckBox chkMinQualityScore;
|
||||
private System.Windows.Forms.Label label19;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.RadioButton rbTodaySaleCount;
|
||||
private System.Windows.Forms.RadioButton rbSevenDaysAvgSaleCount;
|
||||
private System.Windows.Forms.DataGridViewLinkColumn colUpId;
|
||||
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
|
||||
@@ -1809,13 +1876,11 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colFromFake;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colInCartNumber7d;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colTodaySaleVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colLastSevenDaysSaleVolume;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colSalesInventoryNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colWaitReceiveNum;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colQualityScore;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colNeedStockUp;
|
||||
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
|
||||
private System.Windows.Forms.TextBox txtMinQualityScore;
|
||||
private System.Windows.Forms.CheckBox chkMinQualityScore;
|
||||
private System.Windows.Forms.Label label19;
|
||||
}
|
||||
}
|
||||
@@ -164,7 +164,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
{
|
||||
col.Visible = true;
|
||||
}
|
||||
if (col.Name == "colTodaySaleVolume" || col.Name == "colInCartNumber7d" || col.Name == "colSalesInventoryNum"
|
||||
if (col.Name == "colTodaySaleVolume" || col.Name == "colLastSevenDaysSaleVolume" || col.Name == "colInCartNumber7d" || col.Name == "colSalesInventoryNum"
|
||||
|| col.Name == "colWaitReceiveNum" || col.Name == "colNeedStockUp" || col.Name == "colQualityScore")
|
||||
{
|
||||
col.Visible = false;
|
||||
@@ -749,7 +749,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
{
|
||||
col.Visible = false;
|
||||
}
|
||||
if (col.Name == "colTodaySaleVolume" || col.Name == "colInCartNumber7d" || col.Name == "colSalesInventoryNum"
|
||||
if (col.Name == "colTodaySaleVolume" || col.Name == "colLastSevenDaysSaleVolume" || col.Name == "colInCartNumber7d" || col.Name == "colSalesInventoryNum"
|
||||
|| col.Name == "colWaitReceiveNum" || col.Name == "colNeedStockUp" || col.Name == "colQualityScore")
|
||||
{
|
||||
col.Visible = true;
|
||||
@@ -866,13 +866,32 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
// 拟申请备货数量=今日销量×系数-仓内可用库存-已发货库存
|
||||
// 实际备货数量=平台实际允许数量和拟申请备货数量取小(申请备货时计算)
|
||||
int scale = scale1;
|
||||
if (sku.inCartNumber7d.ParseToInt() > sku.todaySaleVolume.ParseToInt())
|
||||
{
|
||||
scale = scale2;
|
||||
if (rbTodaySaleCount.Checked)
|
||||
{
|
||||
if (sku.inCartNumber7d.ParseToInt() > sku.todaySaleVolume.ParseToInt())
|
||||
{
|
||||
scale = scale2;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (sku.inCartNumber7d.ParseToInt() > sku.lastSevenDaysSaleVolume.ParseToInt() / 7.0m)
|
||||
{
|
||||
scale = scale2;
|
||||
}
|
||||
}
|
||||
if (rbTodaySaleCount.Checked)
|
||||
{
|
||||
sku.wantStockUpBound = sku.todaySaleVolume.ParseToInt() * scale
|
||||
- sku.inventoryNumInfo.warehouseInventoryNum.ParseToInt()
|
||||
- sku.inventoryNumInfo.waitReceiveNum.ParseToInt();
|
||||
}
|
||||
else
|
||||
{
|
||||
sku.wantStockUpBound = (sku.lastSevenDaysSaleVolume.ParseToInt() / 7.0 * scale
|
||||
- sku.inventoryNumInfo.warehouseInventoryNum.ParseToInt()
|
||||
- sku.inventoryNumInfo.waitReceiveNum.ParseToInt()).ParseToInt();
|
||||
}
|
||||
sku.wantStockUpBound = sku.todaySaleVolume.ParseToInt() * scale
|
||||
- sku.inventoryNumInfo.warehouseInventoryNum.ParseToInt()
|
||||
- sku.inventoryNumInfo.waitReceiveNum.ParseToInt();
|
||||
Invoke(new Action(() =>
|
||||
{
|
||||
if (sku.wantStockUpBound > 0 && sku.wantStockUpBound < this.txtMinBound.Text.ParseToInt())
|
||||
@@ -949,6 +968,7 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
"",
|
||||
sInfo.skuQuantityTotalInfo.inCartNumber7d,
|
||||
sInfo.skuQuantityTotalInfo.todaySaleVolume,
|
||||
sInfo.skuQuantityTotalInfo.lastSevenDaysSaleVolume,
|
||||
sInfo.skuQuantityTotalInfo.inventoryNumInfo.warehouseInventoryNum,
|
||||
sInfo.skuQuantityTotalInfo.inventoryNumInfo.waitReceiveNum,
|
||||
sInfo.goodsAfsScore == null ? "-" : (Math.Round(sInfo.goodsAfsScore.Value * 10) / 10).ToString(),
|
||||
@@ -1262,5 +1282,19 @@ namespace TemuKJD.KJDForms.ProductForms
|
||||
{
|
||||
ShowDgvImg();
|
||||
}
|
||||
|
||||
private void rbTodaySaleCount_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if(rbTodaySaleCount.Checked)
|
||||
{
|
||||
label101.Text = "备货数量:近7日加购小于今日销量,今日销量 ×";
|
||||
label102.Text = "近7日加购大于今日销量,今日销量 ×";
|
||||
}
|
||||
else
|
||||
{
|
||||
label101.Text = "备货数量:近7日加购小于7日平均销量,7日平均 ×";
|
||||
label102.Text = "近7日加购大于7日平均销量,7日平均 ×";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -183,6 +183,9 @@
|
||||
<metadata name="colTodaySaleVolume.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colLastSevenDaysSaleVolume.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
<metadata name="colSalesInventoryNum.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>True</value>
|
||||
</metadata>
|
||||
|
||||
+115
-83
@@ -39,8 +39,11 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DbProductSelectListManageForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.btnSetSubSa = new DevComponents.DotNetBar.PanelEx();
|
||||
this.numUnitNum2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.btnReFission = new DevComponents.DotNetBar.PanelEx();
|
||||
this.numUnitNum1 = new System.Windows.Forms.NumericUpDown();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.numWeight2 = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -67,8 +70,8 @@
|
||||
this.numSeconds = new System.Windows.Forms.NumericUpDown();
|
||||
this.chkCustomPic = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnReFission = new TemuKJD.UserControls.ButtonEx();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.cmbNotes = new System.Windows.Forms.ComboBox();
|
||||
@@ -102,14 +105,11 @@
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.chkOriginalPriceMarkUp = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSearch = new TemuKJD.UserControls.ButtonEx();
|
||||
this.cmbUserNotes = new System.Windows.Forms.ComboBox();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.chkShowDel = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkNoSubSa = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkUploadProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnSetSubSa = new TemuKJD.UserControls.ButtonEx();
|
||||
this.btnAdd = new TemuKJD.UserControls.ButtonEx();
|
||||
this.chkAddPrice = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
@@ -181,8 +181,11 @@
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label21);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label20);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numWeight2);
|
||||
@@ -209,10 +212,7 @@
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numSeconds);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkCustomPic);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.chkAddPrice);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
@@ -222,6 +222,31 @@
|
||||
this.splitContainer1.SplitterDistance = 100;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAdd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAdd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAdd.Location = new System.Drawing.Point(1464, 8);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAdd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnAdd.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnAdd.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnAdd.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnAdd.Style.GradientAngle = 90;
|
||||
this.btnAdd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAdd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.TabIndex = 470;
|
||||
this.btnAdd.Text = "一键上传";
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
@@ -232,6 +257,31 @@
|
||||
this.label21.TabIndex = 588;
|
||||
this.label21.Text = "数量";
|
||||
//
|
||||
// btnSetSubSa
|
||||
//
|
||||
this.btnSetSubSa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSetSubSa.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSetSubSa.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetSubSa.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 8);
|
||||
this.btnSetSubSa.Name = "btnSetSubSa";
|
||||
this.btnSetSubSa.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnSetSubSa.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetSubSa.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSetSubSa.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSetSubSa.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSetSubSa.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSetSubSa.Style.GradientAngle = 90;
|
||||
this.btnSetSubSa.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetSubSa.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.TabIndex = 469;
|
||||
this.btnSetSubSa.Text = "分配二级超管";
|
||||
this.btnSetSubSa.Click += new System.EventHandler(this.btnSetSubSa_Click);
|
||||
//
|
||||
// numUnitNum2
|
||||
//
|
||||
this.numUnitNum2.Location = new System.Drawing.Point(696, 72);
|
||||
@@ -250,6 +300,31 @@
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// btnReFission
|
||||
//
|
||||
this.btnReFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnReFission.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnReFission.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnReFission.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnReFission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnReFission.Location = new System.Drawing.Point(1280, 8);
|
||||
this.btnReFission.Name = "btnReFission";
|
||||
this.btnReFission.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnReFission.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnReFission.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnReFission.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnReFission.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnReFission.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnReFission.Style.GradientAngle = 90;
|
||||
this.btnReFission.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnReFission.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.TabIndex = 468;
|
||||
this.btnReFission.Text = "批量重组标题";
|
||||
this.btnReFission.Click += new System.EventHandler(this.btnReFission_Click);
|
||||
//
|
||||
// numUnitNum1
|
||||
//
|
||||
this.numUnitNum1.Location = new System.Drawing.Point(653, 72);
|
||||
@@ -676,23 +751,6 @@
|
||||
this.btnDel.Visible = false;
|
||||
this.btnDel.Click += new System.EventHandler(this.btnDel_Click);
|
||||
//
|
||||
// btnReFission
|
||||
//
|
||||
this.btnReFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnReFission.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnReFission.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnReFission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnReFission.ForeColor = System.Drawing.Color.White;
|
||||
this.btnReFission.Location = new System.Drawing.Point(1280, 8);
|
||||
this.btnReFission.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnReFission.Name = "btnReFission";
|
||||
this.btnReFission.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnReFission.TabIndex = 469;
|
||||
this.btnReFission.Text = "批量重组标题";
|
||||
this.btnReFission.UseVisualStyleBackColor = false;
|
||||
this.btnReFission.Click += new System.EventHandler(this.btnReFission_Click);
|
||||
//
|
||||
// tableLayoutPanel1
|
||||
//
|
||||
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
||||
@@ -722,6 +780,7 @@
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 22, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label13, 16, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label6, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbNotes, 17, 0);
|
||||
@@ -742,7 +801,6 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtProdName, 11, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 22, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 22, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbUserNotes, 19, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label12, 18, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkShowDel, 23, 1);
|
||||
@@ -757,6 +815,31 @@
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1268, 66);
|
||||
this.tableLayoutPanel1.TabIndex = 190;
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(1112, 6);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(56, 24);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearch.Style.GradientAngle = 90;
|
||||
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 467;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// label13
|
||||
//
|
||||
this.label13.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -789,7 +872,7 @@
|
||||
"核价成功",
|
||||
"核价成功(重复)",
|
||||
"重复"});
|
||||
this.cmbNotes.Location = new System.Drawing.Point(917, 8);
|
||||
this.cmbNotes.Location = new System.Drawing.Point(917, 5);
|
||||
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbNotes.Name = "cmbNotes";
|
||||
this.cmbNotes.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -814,7 +897,7 @@
|
||||
"已上传",
|
||||
"草稿箱",
|
||||
"全部"});
|
||||
this.cmbStatus.Location = new System.Drawing.Point(814, 8);
|
||||
this.cmbStatus.Location = new System.Drawing.Point(814, 5);
|
||||
this.cmbStatus.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbStatus.Name = "cmbStatus";
|
||||
this.cmbStatus.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -1160,23 +1243,6 @@
|
||||
this.pnlEmpty.Text = "清空条件";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.ForeColor = System.Drawing.Color.White;
|
||||
this.btnSearch.Location = new System.Drawing.Point(1113, 6);
|
||||
this.btnSearch.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(56, 24);
|
||||
this.btnSearch.TabIndex = 424;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.UseVisualStyleBackColor = false;
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// cmbUserNotes
|
||||
//
|
||||
this.cmbUserNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1185,7 +1251,7 @@
|
||||
"全部",
|
||||
"重上",
|
||||
"已买"});
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 8);
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 5);
|
||||
this.cmbUserNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbUserNotes.Name = "cmbUserNotes";
|
||||
this.cmbUserNotes.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -1242,40 +1308,6 @@
|
||||
this.chkUploadProd.Text = "上传到未发布";
|
||||
this.chkUploadProd.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnSetSubSa
|
||||
//
|
||||
this.btnSetSubSa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSetSubSa.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetSubSa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSetSubSa.ForeColor = System.Drawing.Color.White;
|
||||
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 8);
|
||||
this.btnSetSubSa.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnSetSubSa.Name = "btnSetSubSa";
|
||||
this.btnSetSubSa.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnSetSubSa.TabIndex = 463;
|
||||
this.btnSetSubSa.Text = "分配二级超管";
|
||||
this.btnSetSubSa.UseVisualStyleBackColor = false;
|
||||
this.btnSetSubSa.Click += new System.EventHandler(this.btnSetSubSa_Click);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAdd.ForeColor = System.Drawing.Color.White;
|
||||
this.btnAdd.Location = new System.Drawing.Point(1464, 8);
|
||||
this.btnAdd.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnAdd.TabIndex = 444;
|
||||
this.btnAdd.Text = "一键上传";
|
||||
this.btnAdd.UseVisualStyleBackColor = false;
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// chkAddPrice
|
||||
//
|
||||
this.chkAddPrice.AutoSize = true;
|
||||
@@ -1659,13 +1691,11 @@
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private UserControls.ButtonEx btnAdd;
|
||||
private System.Windows.Forms.TextBox txtSPU;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TextBox txtSKC;
|
||||
private System.Windows.Forms.Label label1;
|
||||
private DevComponents.DotNetBar.PanelEx pnlEmpty;
|
||||
private UserControls.ButtonEx btnSearch;
|
||||
private System.Windows.Forms.TextBox txtExtCode;
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox txtProdName;
|
||||
@@ -1682,12 +1712,10 @@
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.ComboBox cmbStatus;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private UserControls.ButtonEx btnSetSubSa;
|
||||
private UserComponent.UcCheckBox chkNoSubSa;
|
||||
private UserComponent.DataGridViewEx dgvSelectProduct;
|
||||
private UserComponent.UcCheckBox chkShowDel;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
private UserControls.ButtonEx btnReFission;
|
||||
private UserComponent.UcCheckBox chkUploadProd;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.Label label9;
|
||||
@@ -1762,5 +1790,9 @@
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.NumericUpDown numWeight2;
|
||||
private System.Windows.Forms.NumericUpDown numWeight1;
|
||||
private DevComponents.DotNetBar.PanelEx btnAdd;
|
||||
private DevComponents.DotNetBar.PanelEx btnSetSubSa;
|
||||
private DevComponents.DotNetBar.PanelEx btnReFission;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearch;
|
||||
}
|
||||
}
|
||||
+115
-84
@@ -39,6 +39,9 @@
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProductThirdSelectListManageForm));
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.btnAdd = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSetSubSa = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnReFission = new DevComponents.DotNetBar.PanelEx();
|
||||
this.label21 = new System.Windows.Forms.Label();
|
||||
this.numUnitNum2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numUnitNum1 = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -65,6 +68,7 @@
|
||||
this.btnDel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pbFissionSetting = new System.Windows.Forms.PictureBox();
|
||||
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
|
||||
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
|
||||
this.cmbUserNotes = new System.Windows.Forms.ComboBox();
|
||||
this.cmbNotes = new System.Windows.Forms.ComboBox();
|
||||
this.label13 = new System.Windows.Forms.Label();
|
||||
@@ -98,14 +102,10 @@
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.txtProdName = new System.Windows.Forms.TextBox();
|
||||
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnSearch = new TemuKJD.UserControls.ButtonEx();
|
||||
this.label12 = new System.Windows.Forms.Label();
|
||||
this.chkNoSubSa = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkShowDel = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkUploadProd = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.btnReFission = new TemuKJD.UserControls.ButtonEx();
|
||||
this.btnSetSubSa = new TemuKJD.UserControls.ButtonEx();
|
||||
this.btnAdd = new TemuKJD.UserControls.ButtonEx();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbLoading = new System.Windows.Forms.PictureBox();
|
||||
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
|
||||
@@ -176,6 +176,9 @@
|
||||
//
|
||||
// splitContainer1.Panel1
|
||||
//
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.label21);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum2);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.numUnitNum1);
|
||||
@@ -202,9 +205,6 @@
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnDel);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.pbFissionSetting);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.tableLayoutPanel1);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnReFission);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnSetSubSa);
|
||||
this.splitContainer1.Panel1.Controls.Add(this.btnAdd);
|
||||
//
|
||||
// splitContainer1.Panel2
|
||||
//
|
||||
@@ -213,6 +213,81 @@
|
||||
this.splitContainer1.SplitterDistance = 100;
|
||||
this.splitContainer1.TabIndex = 2;
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAdd.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAdd.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAdd.Location = new System.Drawing.Point(1464, 8);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnAdd.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAdd.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnAdd.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnAdd.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnAdd.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnAdd.Style.GradientAngle = 90;
|
||||
this.btnAdd.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnAdd.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.TabIndex = 457;
|
||||
this.btnAdd.Text = "一键上传";
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// btnSetSubSa
|
||||
//
|
||||
this.btnSetSubSa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSetSubSa.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSetSubSa.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetSubSa.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 8);
|
||||
this.btnSetSubSa.Name = "btnSetSubSa";
|
||||
this.btnSetSubSa.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnSetSubSa.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetSubSa.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSetSubSa.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSetSubSa.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSetSubSa.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSetSubSa.Style.GradientAngle = 90;
|
||||
this.btnSetSubSa.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSetSubSa.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.TabIndex = 453;
|
||||
this.btnSetSubSa.Text = "分配二级超管";
|
||||
this.btnSetSubSa.Click += new System.EventHandler(this.btnSetSubSa_Click);
|
||||
//
|
||||
// btnReFission
|
||||
//
|
||||
this.btnReFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnReFission.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnReFission.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnReFission.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnReFission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnReFission.Location = new System.Drawing.Point(1280, 8);
|
||||
this.btnReFission.Name = "btnReFission";
|
||||
this.btnReFission.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnReFission.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnReFission.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnReFission.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnReFission.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnReFission.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnReFission.Style.GradientAngle = 90;
|
||||
this.btnReFission.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnReFission.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.TabIndex = 449;
|
||||
this.btnReFission.Text = "批量重组标题";
|
||||
this.btnReFission.Click += new System.EventHandler(this.btnReFission_Click);
|
||||
//
|
||||
// label21
|
||||
//
|
||||
this.label21.AutoSize = true;
|
||||
@@ -642,6 +717,7 @@
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
|
||||
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 20, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbUserNotes, 19, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.cmbNotes, 17, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label13, 16, 0);
|
||||
@@ -663,7 +739,6 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.label4, 12, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.txtProdName, 11, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 20, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 20, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.label12, 18, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkNoSubSa, 21, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.chkShowDel, 21, 1);
|
||||
@@ -676,6 +751,31 @@
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1268, 66);
|
||||
this.tableLayoutPanel1.TabIndex = 469;
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.None;
|
||||
this.btnSearch.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.DisabledBackColor = System.Drawing.Color.Empty;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.Location = new System.Drawing.Point(1112, 6);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(56, 24);
|
||||
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
|
||||
this.btnSearch.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
|
||||
this.btnSearch.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
|
||||
this.btnSearch.Style.ForeColor.Color = System.Drawing.Color.White;
|
||||
this.btnSearch.Style.GradientAngle = 90;
|
||||
this.btnSearch.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
|
||||
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.TabIndex = 449;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// cmbUserNotes
|
||||
//
|
||||
this.cmbUserNotes.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -684,7 +784,7 @@
|
||||
"全部",
|
||||
"重上",
|
||||
"已买"});
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 8);
|
||||
this.cmbUserNotes.Location = new System.Drawing.Point(1044, 5);
|
||||
this.cmbUserNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbUserNotes.Name = "cmbUserNotes";
|
||||
this.cmbUserNotes.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -701,7 +801,7 @@
|
||||
"核价成功",
|
||||
"核价成功(重复)",
|
||||
"重复"});
|
||||
this.cmbNotes.Location = new System.Drawing.Point(917, 8);
|
||||
this.cmbNotes.Location = new System.Drawing.Point(917, 5);
|
||||
this.cmbNotes.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbNotes.Name = "cmbNotes";
|
||||
this.cmbNotes.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -728,7 +828,7 @@
|
||||
"已上传",
|
||||
"草稿箱",
|
||||
"全部"});
|
||||
this.cmbStatus.Location = new System.Drawing.Point(814, 8);
|
||||
this.cmbStatus.Location = new System.Drawing.Point(814, 5);
|
||||
this.cmbStatus.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.cmbStatus.Name = "cmbStatus";
|
||||
this.cmbStatus.Size = new System.Drawing.Size(65, 25);
|
||||
@@ -1077,23 +1177,6 @@
|
||||
this.pnlEmpty.Text = "清空条件";
|
||||
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
|
||||
//
|
||||
// btnSearch
|
||||
//
|
||||
this.btnSearch.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
||||
this.btnSearch.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSearch.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSearch.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSearch.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSearch.ForeColor = System.Drawing.Color.White;
|
||||
this.btnSearch.Location = new System.Drawing.Point(1113, 6);
|
||||
this.btnSearch.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
|
||||
this.btnSearch.Name = "btnSearch";
|
||||
this.btnSearch.Size = new System.Drawing.Size(56, 24);
|
||||
this.btnSearch.TabIndex = 424;
|
||||
this.btnSearch.Text = "搜索";
|
||||
this.btnSearch.UseVisualStyleBackColor = false;
|
||||
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
|
||||
//
|
||||
// label12
|
||||
//
|
||||
this.label12.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1144,58 +1227,6 @@
|
||||
this.chkUploadProd.Text = "上传到未发布";
|
||||
this.chkUploadProd.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// btnReFission
|
||||
//
|
||||
this.btnReFission.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnReFission.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnReFission.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnReFission.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnReFission.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnReFission.ForeColor = System.Drawing.Color.White;
|
||||
this.btnReFission.Location = new System.Drawing.Point(1280, 8);
|
||||
this.btnReFission.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnReFission.Name = "btnReFission";
|
||||
this.btnReFission.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnReFission.TabIndex = 472;
|
||||
this.btnReFission.Text = "批量重组标题";
|
||||
this.btnReFission.UseVisualStyleBackColor = false;
|
||||
this.btnReFission.Visible = false;
|
||||
this.btnReFission.Click += new System.EventHandler(this.btnReFission_Click);
|
||||
//
|
||||
// btnSetSubSa
|
||||
//
|
||||
this.btnSetSubSa.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnSetSubSa.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnSetSubSa.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnSetSubSa.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnSetSubSa.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnSetSubSa.ForeColor = System.Drawing.Color.White;
|
||||
this.btnSetSubSa.Location = new System.Drawing.Point(1372, 8);
|
||||
this.btnSetSubSa.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnSetSubSa.Name = "btnSetSubSa";
|
||||
this.btnSetSubSa.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnSetSubSa.TabIndex = 463;
|
||||
this.btnSetSubSa.Text = "分配二级超管";
|
||||
this.btnSetSubSa.UseVisualStyleBackColor = false;
|
||||
this.btnSetSubSa.Click += new System.EventHandler(this.btnSetSubSa_Click);
|
||||
//
|
||||
// btnAdd
|
||||
//
|
||||
this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.btnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
this.btnAdd.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.btnAdd.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
||||
this.btnAdd.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
this.btnAdd.ForeColor = System.Drawing.Color.White;
|
||||
this.btnAdd.Location = new System.Drawing.Point(1464, 8);
|
||||
this.btnAdd.Margin = new System.Windows.Forms.Padding(2);
|
||||
this.btnAdd.Name = "btnAdd";
|
||||
this.btnAdd.Size = new System.Drawing.Size(90, 26);
|
||||
this.btnAdd.TabIndex = 444;
|
||||
this.btnAdd.Text = "一键上传";
|
||||
this.btnAdd.UseVisualStyleBackColor = false;
|
||||
this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click);
|
||||
//
|
||||
// splitContainer2
|
||||
//
|
||||
this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -1571,12 +1602,10 @@
|
||||
#endregion
|
||||
|
||||
private System.Windows.Forms.SplitContainer splitContainer1;
|
||||
private UserControls.ButtonEx btnAdd;
|
||||
private System.Windows.Forms.SplitContainer splitContainer2;
|
||||
private System.Windows.Forms.PictureBox pbLoading;
|
||||
private UserControls.UcSplitPage ucSplitPage1;
|
||||
private UserControls.StatusBarUserControl statusBar;
|
||||
private UserControls.ButtonEx btnSetSubSa;
|
||||
private UserComponent.DataGridViewEx dgvSelectProduct;
|
||||
private UserComponent.UcCheckBox chkShowDel;
|
||||
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
|
||||
@@ -1587,7 +1616,6 @@
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.TextBox txtShopName;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private UserControls.ButtonEx btnSearch;
|
||||
private System.Windows.Forms.TextBox txtSKC;
|
||||
private System.Windows.Forms.TextBox txtSPU;
|
||||
private System.Windows.Forms.Label label1;
|
||||
@@ -1598,7 +1626,6 @@
|
||||
private System.Windows.Forms.Label label4;
|
||||
private System.Windows.Forms.TextBox txtProdName;
|
||||
private UserComponent.UcCheckBox chkNoSubSa;
|
||||
private UserControls.ButtonEx btnReFission;
|
||||
private System.Windows.Forms.PictureBox pbFissionSetting;
|
||||
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
|
||||
private System.Windows.Forms.Label label9;
|
||||
@@ -1669,5 +1696,9 @@
|
||||
private System.Windows.Forms.NumericUpDown numAddPriceTimes;
|
||||
private UserComponent.UcCheckBox chkChangeSizeAndNumber;
|
||||
private UserComponent.UcCheckBox chkAddPrice;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearch;
|
||||
private DevComponents.DotNetBar.PanelEx btnReFission;
|
||||
private DevComponents.DotNetBar.PanelEx btnAdd;
|
||||
private DevComponents.DotNetBar.PanelEx btnSetSubSa;
|
||||
}
|
||||
}
|
||||
+307
-307
@@ -30,22 +30,16 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer5 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
|
||||
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.actDiscount80 = new TemuKJD.KJDForms.SalesCenterForms.UcActivityDiscountCtrl();
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
@@ -73,7 +67,18 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.chkGetDiscount = new TemuKJD.UserComponent.UcCheckBox(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.colShopNotes = 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.colCheckActivity = new System.Windows.Forms.DataGridViewCheckBoxColumn();
|
||||
this.colActivityType = new System.Windows.Forms.DataGridViewTextBoxColumn();
|
||||
@@ -100,35 +105,14 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
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.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.colShopNotes = 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.panelEx1 = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnClear = new DevComponents.DotNetBar.PanelEx();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
|
||||
this.splitContainer1.Panel1.SuspendLayout();
|
||||
this.splitContainer1.Panel2.SuspendLayout();
|
||||
this.splitContainer1.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.splitContainer5)).BeginInit();
|
||||
this.splitContainer5.Panel1.SuspendLayout();
|
||||
this.splitContainer5.Panel2.SuspendLayout();
|
||||
this.splitContainer5.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
|
||||
this.splitContainer4.Panel1.SuspendLayout();
|
||||
this.splitContainer4.Panel2.SuspendLayout();
|
||||
this.splitContainer4.SuspendLayout();
|
||||
this.ucGroupBoxEx3.SuspendLayout();
|
||||
this.actDiscount80.SuspendLayout();
|
||||
this.actDiscount85.SuspendLayout();
|
||||
@@ -138,9 +122,25 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
((System.ComponentModel.ISupportInitialize)(this.numOnSaleDays)).BeginInit();
|
||||
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
|
||||
@@ -164,132 +164,6 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.splitContainer1.SplitterDistance = 120;
|
||||
this.splitContainer1.TabIndex = 11;
|
||||
//
|
||||
// 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(1424, 405);
|
||||
this.splitContainer3.SplitterDistance = 375;
|
||||
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(1424, 375);
|
||||
this.splitContainer2.SplitterDistance = 280;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// 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(1136, 375);
|
||||
this.splitContainer5.SplitterDistance = 128;
|
||||
this.splitContainer5.TabIndex = 0;
|
||||
//
|
||||
// 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(1424, 26);
|
||||
this.splitContainer4.SplitterDistance = 1146;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// 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 = "停止当前操作";
|
||||
this.panelEx1.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// 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;
|
||||
//
|
||||
// ucGroupBoxEx3
|
||||
//
|
||||
this.ucGroupBoxEx3.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
@@ -324,7 +198,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.actDiscount80.IsDefaultInventory = false;
|
||||
this.actDiscount80.Location = new System.Drawing.Point(15, 82);
|
||||
this.actDiscount80.Name = "actDiscount80";
|
||||
this.actDiscount80.Size = new System.Drawing.Size(249, 21);
|
||||
this.actDiscount80.Size = new System.Drawing.Size(318, 21);
|
||||
this.actDiscount80.TabIndex = 715;
|
||||
//
|
||||
// object_6dcc57fe_428d_475c_90c2_d99d71a7014f
|
||||
@@ -333,9 +207,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Location = new System.Drawing.Point(198, 2);
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Name = "object_6dcc57fe_428d_475c_90c2_d99d71a7014f";
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Size = new System.Drawing.Size(48, 16);
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Size = new System.Drawing.Size(120, 16);
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.TabIndex = 706;
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Text = "默认";
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.Text = "平台推荐最低库存";
|
||||
this.object_6dcc57fe_428d_475c_90c2_d99d71a7014f.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ucCheckBox2
|
||||
@@ -367,9 +241,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.actDiscount85.Discount = 85;
|
||||
this.actDiscount85.Inventory = 10;
|
||||
this.actDiscount85.IsDefaultInventory = false;
|
||||
this.actDiscount85.Location = new System.Drawing.Point(288, 82);
|
||||
this.actDiscount85.Location = new System.Drawing.Point(351, 82);
|
||||
this.actDiscount85.Name = "actDiscount85";
|
||||
this.actDiscount85.Size = new System.Drawing.Size(249, 21);
|
||||
this.actDiscount85.Size = new System.Drawing.Size(321, 21);
|
||||
this.actDiscount85.TabIndex = 711;
|
||||
//
|
||||
// object_5db00808_c6be_4ffa_a702_9b91e2208933
|
||||
@@ -377,9 +251,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.AutoSize = true;
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.Location = new System.Drawing.Point(198, 2);
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.Name = "object_5db00808_c6be_4ffa_a702_9b91e2208933";
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.Size = new System.Drawing.Size(48, 16);
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.Size = new System.Drawing.Size(120, 16);
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.TabIndex = 706;
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.Text = "默认";
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.Text = "平台推荐最低库存";
|
||||
this.object_5db00808_c6be_4ffa_a702_9b91e2208933.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// ucCheckBox1
|
||||
@@ -400,9 +274,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.actDiscount70.Discount = 70;
|
||||
this.actDiscount70.Inventory = 10;
|
||||
this.actDiscount70.IsDefaultInventory = false;
|
||||
this.actDiscount70.Location = new System.Drawing.Point(288, 54);
|
||||
this.actDiscount70.Location = new System.Drawing.Point(351, 54);
|
||||
this.actDiscount70.Name = "actDiscount70";
|
||||
this.actDiscount70.Size = new System.Drawing.Size(249, 21);
|
||||
this.actDiscount70.Size = new System.Drawing.Size(321, 21);
|
||||
this.actDiscount70.TabIndex = 710;
|
||||
//
|
||||
// chkDiscount6
|
||||
@@ -410,9 +284,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.chkDiscount6.AutoSize = true;
|
||||
this.chkDiscount6.Location = new System.Drawing.Point(198, 2);
|
||||
this.chkDiscount6.Name = "chkDiscount6";
|
||||
this.chkDiscount6.Size = new System.Drawing.Size(48, 16);
|
||||
this.chkDiscount6.Size = new System.Drawing.Size(120, 16);
|
||||
this.chkDiscount6.TabIndex = 706;
|
||||
this.chkDiscount6.Text = "默认";
|
||||
this.chkDiscount6.Text = "平台推荐最低库存";
|
||||
this.chkDiscount6.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// actDiscount60
|
||||
@@ -424,7 +298,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.actDiscount60.IsDefaultInventory = false;
|
||||
this.actDiscount60.Location = new System.Drawing.Point(15, 54);
|
||||
this.actDiscount60.Name = "actDiscount60";
|
||||
this.actDiscount60.Size = new System.Drawing.Size(246, 21);
|
||||
this.actDiscount60.Size = new System.Drawing.Size(318, 21);
|
||||
this.actDiscount60.TabIndex = 709;
|
||||
//
|
||||
// panelEx2
|
||||
@@ -649,22 +523,61 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
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(1424, 405);
|
||||
this.splitContainer3.SplitterDistance = 375;
|
||||
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(1424, 375);
|
||||
this.splitContainer2.SplitterDistance = 280;
|
||||
this.splitContainer2.TabIndex = 0;
|
||||
//
|
||||
// dgvShop
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
|
||||
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;
|
||||
dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -675,14 +588,14 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.colLoginStatus,
|
||||
this.colCanUse,
|
||||
this.colMessage});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle12.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.DefaultCellStyle = dataGridViewCellStyle12;
|
||||
this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvShop.Location = new System.Drawing.Point(4, 0);
|
||||
this.dgvShop.Name = "dgvShop";
|
||||
@@ -694,23 +607,105 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
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 = 70;
|
||||
//
|
||||
// colShopNotes
|
||||
//
|
||||
this.colShopNotes.HeaderText = "分组";
|
||||
this.colShopNotes.Name = "colShopNotes";
|
||||
this.colShopNotes.ReadOnly = true;
|
||||
this.colShopNotes.Width = 70;
|
||||
//
|
||||
// colLoginStatus
|
||||
//
|
||||
this.colLoginStatus.HeaderText = "状态";
|
||||
this.colLoginStatus.Name = "colLoginStatus";
|
||||
this.colLoginStatus.ReadOnly = true;
|
||||
this.colLoginStatus.Width = 38;
|
||||
//
|
||||
// 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.Visible = false;
|
||||
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(1136, 375);
|
||||
this.splitContainer5.SplitterDistance = 128;
|
||||
this.splitContainer5.TabIndex = 0;
|
||||
//
|
||||
// dgvActivity
|
||||
//
|
||||
this.dgvActivity.AllowUserToAddRows = false;
|
||||
this.dgvActivity.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvActivity.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvActivity.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13;
|
||||
this.dgvActivity.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvActivity.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvActivity.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvActivity.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvActivity.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
|
||||
this.dgvActivity.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvActivity.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheckActivity,
|
||||
@@ -722,14 +717,14 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.colSignUpTime,
|
||||
this.colDiscount,
|
||||
this.colActivityMsg});
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvActivity.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle15.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvActivity.DefaultCellStyle = dataGridViewCellStyle15;
|
||||
this.dgvActivity.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvActivity.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgvActivity.Name = "dgvActivity";
|
||||
@@ -806,18 +801,18 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
//
|
||||
this.dgvProduct.AllowUserToAddRows = false;
|
||||
this.dgvProduct.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle7.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle7;
|
||||
dataGridViewCellStyle16.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16;
|
||||
this.dgvProduct.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle8;
|
||||
dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17;
|
||||
this.dgvProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheckProduct,
|
||||
@@ -835,14 +830,14 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.colPrcie,
|
||||
this.colInventory,
|
||||
this.colMsg});
|
||||
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle9.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvProduct.DefaultCellStyle = dataGridViewCellStyle9;
|
||||
dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle18.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvProduct.DefaultCellStyle = dataGridViewCellStyle18;
|
||||
this.dgvProduct.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvProduct.Location = new System.Drawing.Point(0, 0);
|
||||
this.dgvProduct.Name = "dgvProduct";
|
||||
@@ -964,6 +959,25 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
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(1424, 26);
|
||||
this.splitContainer4.SplitterDistance = 1146;
|
||||
this.splitContainer4.TabIndex = 3;
|
||||
//
|
||||
// statusBar
|
||||
//
|
||||
this.statusBar.BackColor = System.Drawing.Color.White;
|
||||
@@ -975,69 +989,55 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.statusBar.Size = new System.Drawing.Size(1146, 26);
|
||||
this.statusBar.TabIndex = 2;
|
||||
//
|
||||
// colSelect
|
||||
// panelEx1
|
||||
//
|
||||
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;
|
||||
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 = "停止当前操作";
|
||||
this.panelEx1.Click += new System.EventHandler(this.btnStop_Click);
|
||||
//
|
||||
// colShopLoginName
|
||||
// btnClear
|
||||
//
|
||||
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 = 70;
|
||||
//
|
||||
// colShopNotes
|
||||
//
|
||||
this.colShopNotes.HeaderText = "分组";
|
||||
this.colShopNotes.Name = "colShopNotes";
|
||||
this.colShopNotes.ReadOnly = true;
|
||||
this.colShopNotes.Width = 70;
|
||||
//
|
||||
// colLoginStatus
|
||||
//
|
||||
this.colLoginStatus.HeaderText = "状态";
|
||||
this.colLoginStatus.Name = "colLoginStatus";
|
||||
this.colLoginStatus.ReadOnly = true;
|
||||
this.colLoginStatus.Width = 38;
|
||||
//
|
||||
// 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.Visible = false;
|
||||
this.colCanUse.Width = 28;
|
||||
//
|
||||
// colMessage
|
||||
//
|
||||
this.colMessage.HeaderText = "消息";
|
||||
this.colMessage.Name = "colMessage";
|
||||
this.colMessage.ReadOnly = true;
|
||||
this.colMessage.Width = 120;
|
||||
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;
|
||||
//
|
||||
// MarketingActivityForm
|
||||
//
|
||||
@@ -1053,22 +1053,6 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.splitContainer1.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
|
||||
this.splitContainer1.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);
|
||||
this.splitContainer5.Panel1.ResumeLayout(false);
|
||||
this.splitContainer5.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
|
||||
this.splitContainer5.ResumeLayout(false);
|
||||
this.splitContainer4.Panel1.ResumeLayout(false);
|
||||
this.splitContainer4.Panel2.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
|
||||
this.splitContainer4.ResumeLayout(false);
|
||||
this.ucGroupBoxEx3.ResumeLayout(false);
|
||||
this.ucGroupBoxEx3.PerformLayout();
|
||||
this.actDiscount80.ResumeLayout(false);
|
||||
@@ -1084,9 +1068,25 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.ucGroupBoxEx1.ResumeLayout(false);
|
||||
this.ucGroupBoxEx2.ResumeLayout(false);
|
||||
this.ucGroupBoxEx2.PerformLayout();
|
||||
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);
|
||||
|
||||
}
|
||||
|
||||
@@ -61,9 +61,9 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.chkDefaultInventory.Location = new System.Drawing.Point(198, 2);
|
||||
this.chkDefaultInventory.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.chkDefaultInventory.Name = "chkDefaultInventory";
|
||||
this.chkDefaultInventory.Size = new System.Drawing.Size(48, 16);
|
||||
this.chkDefaultInventory.Size = new System.Drawing.Size(120, 16);
|
||||
this.chkDefaultInventory.TabIndex = 706;
|
||||
this.chkDefaultInventory.Text = "默认";
|
||||
this.chkDefaultInventory.Text = "平台推荐最低库存";
|
||||
this.chkDefaultInventory.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label1
|
||||
@@ -85,7 +85,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
|
||||
this.Controls.Add(this.chkDefaultInventory);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Name = "UcActivityDiscountCtrl";
|
||||
this.Size = new System.Drawing.Size(246, 21);
|
||||
this.Size = new System.Drawing.Size(318, 21);
|
||||
((System.ComponentModel.ISupportInitialize)(this.numInventory)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
+3
-1
@@ -47,6 +47,7 @@ namespace TemuKJD
|
||||
public static string sCurrentModule = string.Empty;
|
||||
public static MainForm instance;
|
||||
|
||||
public string LoginType;
|
||||
private Point mouseOffset;//记录鼠标指针的坐标
|
||||
private bool isMouseDown;//记录鼠标左键是否按下
|
||||
public delegate void delegateShow(Form nf);
|
||||
@@ -135,10 +136,11 @@ namespace TemuKJD
|
||||
//SetFormRoundRectRgn(this, 7);
|
||||
}
|
||||
|
||||
public MainForm()
|
||||
public MainForm(string loginType = "Temu")
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
LoginType = loginType;
|
||||
instance = this;
|
||||
this.MaximumSize = new Size(Screen.PrimaryScreen.WorkingArea.Width, Screen.PrimaryScreen.WorkingArea.Height);
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 23 KiB |
Reference in new issue
Block a user