jit推单功能除统计外完成
This commit is contained in:
1 parent
b05de6797e
commit
bbbc12148b
25 files changed
+3130
-1142
No files matched your search
+9
-5
@@ -38,7 +38,8 @@
|
||||
System.Windows.Forms.TreeNode treeNode8 = new System.Windows.Forms.TreeNode("开通JIT");
|
||||
System.Windows.Forms.TreeNode treeNode9 = new System.Windows.Forms.TreeNode("JIT卡密管理");
|
||||
System.Windows.Forms.TreeNode treeNode10 = new System.Windows.Forms.TreeNode("加入发货台");
|
||||
System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
|
||||
System.Windows.Forms.TreeNode treeNode11 = new System.Windows.Forms.TreeNode("JIT订单扣费");
|
||||
System.Windows.Forms.TreeNode treeNode12 = new System.Windows.Forms.TreeNode("超级权限管理", new System.Windows.Forms.TreeNode[] {
|
||||
treeNode1,
|
||||
treeNode2,
|
||||
treeNode3,
|
||||
@@ -48,7 +49,8 @@
|
||||
treeNode7,
|
||||
treeNode8,
|
||||
treeNode9,
|
||||
treeNode10});
|
||||
treeNode10,
|
||||
treeNode11});
|
||||
this.panel1 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@@ -159,10 +161,12 @@
|
||||
treeNode9.Text = "JIT卡密管理";
|
||||
treeNode10.Name = "加入发货台";
|
||||
treeNode10.Text = "加入发货台";
|
||||
treeNode11.Name = "超级权限管理";
|
||||
treeNode11.Text = "超级权限管理";
|
||||
treeNode11.Name = "JIT订单扣费";
|
||||
treeNode11.Text = "JIT订单扣费";
|
||||
treeNode12.Name = "超级权限管理";
|
||||
treeNode12.Text = "超级权限管理";
|
||||
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
|
||||
treeNode11});
|
||||
treeNode12});
|
||||
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
|
||||
this.tv.Size = new System.Drawing.Size(140, 446);
|
||||
this.tv.TabIndex = 1;
|
||||
|
||||
@@ -14,6 +14,7 @@ using TemuKJD.BaseForms;
|
||||
using TemuKJD.KJDForms.ProductSelectForms;
|
||||
using TemuKJD.KJDForms.ProductThirdSelectForms;
|
||||
using TemuKJD.KJDForms.ProductForms;
|
||||
using TemuKJD.KJDForms.JITForms;
|
||||
|
||||
namespace TemuKJD.KJDForms.AdminForms
|
||||
{
|
||||
@@ -29,6 +30,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
public Lazy<JoinDeliveryForm> joinDeliveryFrom = new Lazy<JoinDeliveryForm>();
|
||||
public Lazy<TemuJitForm> jitForm = new Lazy<TemuJitForm>();
|
||||
public Lazy<AdminCardCodeForm> adminCardCodeFrom = new Lazy<AdminCardCodeForm>();
|
||||
public Lazy<JitPushOrder> jitPushOrder = new Lazy<JitPushOrder>();
|
||||
|
||||
public AdminForm()
|
||||
{
|
||||
@@ -40,7 +42,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
tv.ExpandGroup(tv.Nodes[0].Name);
|
||||
|
||||
List<string> hideName = new List<string>() { "超级用户管理", "超级店铺管理", "选品数据库", "选品加价管理", "认领待上传", "库存上传", "商品核价",
|
||||
"加入发货台", "开通JIT", "JIT卡密管理" };
|
||||
"加入发货台", "开通JIT", "JIT卡密管理", "JIT订单扣费" };
|
||||
|
||||
if (BaseClass.GroupId == 3)
|
||||
{
|
||||
@@ -57,6 +59,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
hideName.Remove("加入发货台");
|
||||
if (MainForm.instance.pnlJit.Visible == true)
|
||||
hideName.Remove("JIT卡密管理");
|
||||
hideName.Remove("JIT订单扣费");
|
||||
hideName.Remove("开通JIT");
|
||||
}
|
||||
if (BaseClass.SaLevel==2)
|
||||
@@ -127,6 +130,10 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
case "JIT卡密管理":
|
||||
SetForm(adminCardCodeFrom.Value);
|
||||
break;
|
||||
case "JIT订单扣费":
|
||||
jitPushOrder.Value.IsClientJit = false;
|
||||
SetForm(jitPushOrder.Value);
|
||||
break;
|
||||
}
|
||||
}));
|
||||
}).Start();
|
||||
|
||||
+76
-62
@@ -30,15 +30,15 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
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();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
|
||||
this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
|
||||
this.btnSearchPrice3 = new DevComponents.DotNetBar.PanelEx();
|
||||
@@ -96,7 +96,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.chkSearchTime = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.pnlRestoreSizeAndNumber = new System.Windows.Forms.Panel();
|
||||
this.numPieces = new System.Windows.Forms.NumericUpDown();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.label17 = new System.Windows.Forms.Label();
|
||||
this.numHeight2 = new System.Windows.Forms.NumericUpDown();
|
||||
this.numHeight1 = new System.Windows.Forms.NumericUpDown();
|
||||
@@ -110,6 +109,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.label19 = new System.Windows.Forms.Label();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label11 = new System.Windows.Forms.Label();
|
||||
this.chkLessThan = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
|
||||
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
|
||||
this.pbShopLoading = new System.Windows.Forms.PictureBox();
|
||||
@@ -496,22 +497,22 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
this.dgvExtCode.AllowUserToAddRows = false;
|
||||
this.dgvExtCode.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
|
||||
this.dgvExtCode.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10;
|
||||
dataGridViewCellStyle19.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
|
||||
this.dgvExtCode.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle19;
|
||||
this.dgvExtCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.dgvExtCode.AutoRowNumber = false;
|
||||
this.dgvExtCode.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvExtCode.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvExtCode.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
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.dgvExtCode.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
|
||||
dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvExtCode.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle20;
|
||||
this.dgvExtCode.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelectExtCode,
|
||||
this.colFilterExtCode,
|
||||
@@ -1045,7 +1046,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
// pnlRestoreSizeAndNumber
|
||||
//
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.numPieces);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.label11);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.label17);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.numHeight2);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.numHeight1);
|
||||
@@ -1059,6 +1059,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.label18);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.label19);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.label20);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.label11);
|
||||
this.pnlRestoreSizeAndNumber.Controls.Add(this.chkLessThan);
|
||||
this.pnlRestoreSizeAndNumber.Location = new System.Drawing.Point(920, 76);
|
||||
this.pnlRestoreSizeAndNumber.Name = "pnlRestoreSizeAndNumber";
|
||||
this.pnlRestoreSizeAndNumber.Size = new System.Drawing.Size(278, 58);
|
||||
@@ -1067,7 +1069,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
// numPieces
|
||||
//
|
||||
this.numPieces.Enabled = false;
|
||||
this.numPieces.Location = new System.Drawing.Point(108, 3);
|
||||
this.numPieces.Location = new System.Drawing.Point(125, 3);
|
||||
this.numPieces.Margin = new System.Windows.Forms.Padding(0, 3, 0, 3);
|
||||
this.numPieces.Maximum = new decimal(new int[] {
|
||||
99999,
|
||||
@@ -1076,7 +1078,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
0});
|
||||
this.numPieces.Name = "numPieces";
|
||||
this.numPieces.ReadOnly = true;
|
||||
this.numPieces.Size = new System.Drawing.Size(41, 23);
|
||||
this.numPieces.Size = new System.Drawing.Size(31, 23);
|
||||
this.numPieces.TabIndex = 1158;
|
||||
this.numPieces.Value = new decimal(new int[] {
|
||||
1,
|
||||
@@ -1084,25 +1086,15 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
0,
|
||||
0});
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(3, 6);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(80, 17);
|
||||
this.label11.TabIndex = 1118;
|
||||
this.label11.Text = "还原参数值:";
|
||||
//
|
||||
// label17
|
||||
//
|
||||
this.label17.AutoSize = true;
|
||||
this.label17.Location = new System.Drawing.Point(80, 6);
|
||||
this.label17.Location = new System.Drawing.Point(109, 6);
|
||||
this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label17.Name = "label17";
|
||||
this.label17.Size = new System.Drawing.Size(32, 17);
|
||||
this.label17.Size = new System.Drawing.Size(20, 17);
|
||||
this.label17.TabIndex = 1159;
|
||||
this.label17.Text = "数量";
|
||||
this.label17.Text = "量";
|
||||
//
|
||||
// numHeight2
|
||||
//
|
||||
@@ -1288,6 +1280,27 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.label20.TabIndex = 684;
|
||||
this.label20.Text = "重";
|
||||
//
|
||||
// label11
|
||||
//
|
||||
this.label11.AutoSize = true;
|
||||
this.label11.Location = new System.Drawing.Point(77, 6);
|
||||
this.label11.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
|
||||
this.label11.Name = "label11";
|
||||
this.label11.Size = new System.Drawing.Size(44, 17);
|
||||
this.label11.TabIndex = 1118;
|
||||
this.label11.Text = "参数:";
|
||||
//
|
||||
// chkLessThan
|
||||
//
|
||||
this.chkLessThan.AutoSize = true;
|
||||
this.chkLessThan.Location = new System.Drawing.Point(7, 4);
|
||||
this.chkLessThan.Name = "chkLessThan";
|
||||
this.chkLessThan.Size = new System.Drawing.Size(75, 21);
|
||||
this.chkLessThan.TabIndex = 1160;
|
||||
this.chkLessThan.Text = "反转符号";
|
||||
this.chkLessThan.UseVisualStyleBackColor = true;
|
||||
this.chkLessThan.CheckedChanged += new System.EventHandler(this.chkLessThan_CheckedChanged);
|
||||
//
|
||||
// splitContainer3
|
||||
//
|
||||
this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
@@ -1348,19 +1361,19 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
this.dgvShop.AllowUserToAddRows = false;
|
||||
this.dgvShop.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle12.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle12;
|
||||
dataGridViewCellStyle21.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle21;
|
||||
this.dgvShop.AutoRowNumber = true;
|
||||
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
|
||||
dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle22;
|
||||
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colSelect,
|
||||
@@ -1579,19 +1592,19 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
this.dgvPriceCheck.AllowUserToAddRows = false;
|
||||
this.dgvPriceCheck.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle14.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvPriceCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle14;
|
||||
dataGridViewCellStyle23.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.dgvPriceCheck.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle23;
|
||||
this.dgvPriceCheck.AutoRowNumber = true;
|
||||
this.dgvPriceCheck.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvPriceCheck.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvPriceCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;
|
||||
dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle24.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle24.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle24.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvPriceCheck.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle24;
|
||||
this.dgvPriceCheck.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvPriceCheck.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -1704,8 +1717,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colProdName
|
||||
//
|
||||
dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProdName.DefaultCellStyle = dataGridViewCellStyle16;
|
||||
dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colProdName.DefaultCellStyle = dataGridViewCellStyle25;
|
||||
this.colProdName.HeaderText = "标题";
|
||||
this.colProdName.Name = "colProdName";
|
||||
this.colProdName.ReadOnly = true;
|
||||
@@ -1713,8 +1726,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colSkuName
|
||||
//
|
||||
dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSkuName.DefaultCellStyle = dataGridViewCellStyle17;
|
||||
dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colSkuName.DefaultCellStyle = dataGridViewCellStyle26;
|
||||
this.colSkuName.HeaderText = "规格名称";
|
||||
this.colSkuName.Name = "colSkuName";
|
||||
this.colSkuName.ReadOnly = true;
|
||||
@@ -1764,8 +1777,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//
|
||||
// colCreatTime
|
||||
//
|
||||
dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCreatTime.DefaultCellStyle = dataGridViewCellStyle18;
|
||||
dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
||||
this.colCreatTime.DefaultCellStyle = dataGridViewCellStyle27;
|
||||
this.colCreatTime.HeaderText = "创建时间";
|
||||
this.colCreatTime.Name = "colCreatTime";
|
||||
this.colCreatTime.ReadOnly = true;
|
||||
@@ -2025,5 +2038,6 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
private System.Windows.Forms.Label label17;
|
||||
private System.Windows.Forms.Panel pnlRestoreSizeAndNumber;
|
||||
private DevComponents.DotNetBar.PanelEx btnSearchPrice3;
|
||||
private UserComponent.UcCheckBox chkLessThan;
|
||||
}
|
||||
}
|
||||
@@ -30,7 +30,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
public bool IsClientJit { get; set; } = false;
|
||||
CheckBox chkSelectAll;
|
||||
PriceCheckConfig priceCheckConfig = null;
|
||||
List<PriceCheckFilterConfig> lstPriceCheckFilterConfig = new List<PriceCheckFilterConfig>();
|
||||
ConcurrentList<PriceCheckFilterConfig> lstPriceCheckFilterConfig = new ConcurrentList<PriceCheckFilterConfig>();
|
||||
public CancellationTokenSource cancellationTokenSource { get; set; } = null;
|
||||
public ConcurrentList<ShopLoginInfo> lstAdminShopInfo { get; set; } = new ConcurrentList<ShopLoginInfo>();
|
||||
public ConcurrentList<TemuForChainProductInfo> lstCheckPriceInfo = new ConcurrentList<TemuForChainProductInfo>();
|
||||
@@ -43,9 +43,9 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
|
||||
private void AdminProductPriceCheckForm_Load(object sender, EventArgs e)
|
||||
{
|
||||
lstPriceCheckFilterConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<PriceCheckFilterConfig>>("price_check_filter_config");
|
||||
lstPriceCheckFilterConfig = NaiBa.Util.Helper.ConfigHelper.LoadConfig<ConcurrentList<PriceCheckFilterConfig>>("price_check_filter_config");
|
||||
if (lstPriceCheckFilterConfig == null)
|
||||
lstPriceCheckFilterConfig = new List<PriceCheckFilterConfig>();
|
||||
lstPriceCheckFilterConfig = new ConcurrentList<PriceCheckFilterConfig>();
|
||||
|
||||
//this.dgvShop.AddSelectorColumn("colSelect");
|
||||
chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false, null, true);
|
||||
@@ -93,6 +93,8 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
this.numWeight2.Value = 200;
|
||||
|
||||
btnSearchPrice3.Visible = false;
|
||||
btnStop.Location = btnSearchPrice3.Location;
|
||||
btnStop.Size = btnSearchPrice3.Size;
|
||||
}
|
||||
|
||||
if (IsClientJit)
|
||||
@@ -127,7 +129,7 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
{
|
||||
var list = lstAdminShopInfo.Where(s => s.LoginStatus2 == "国际版在线").ToList();
|
||||
if (IsClientJit)
|
||||
list = list.Where(s => s.LoginStatus2 == "国际版在线" && s.jit_expire_time >= DateTime.Now.Date).ToList();
|
||||
list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus2 == "国际版在线" && s.jit_expire_time >= DateTime.Now.Date).ToList();
|
||||
foreach (DataGridViewRow row in dgvShop.Rows)
|
||||
{
|
||||
if (list.Any(l => l.ShopId == row.Cells["colShopId"]?.Value?.ToString()))
|
||||
@@ -2171,7 +2173,12 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
//长宽高超50且重量大于1000克认为是有意改大了参数需要还原
|
||||
//if (skc.skuList.Any(s => (s.len >= 45 * 10 || s.width >= 45 * 10 || s.height >= 45 * 10) && s.weight >= 1000 * 1000))
|
||||
// return true;
|
||||
if (skc.skuList.Any(s => (s.len >= numJudgeLen.Value * 10 || s.width >= numJudgeLen.Value * 10 || s.height >= numJudgeLen.Value * 10) && s.weight >= numJudgeWeight.Value * 1000))
|
||||
|
||||
bool isRevers = false;
|
||||
Invoke(new Action(() => { isRevers = chkLessThan.Checked; }));
|
||||
if (!isRevers && skc.skuList.Any(s => (s.len >= numJudgeLen.Value * 10 || s.width >= numJudgeLen.Value * 10 || s.height >= numJudgeLen.Value * 10) && s.weight >= numJudgeWeight.Value * 1000))
|
||||
return true;
|
||||
else if (isRevers && skc.skuList.Any(s => (s.len < numJudgeLen.Value * 10 || s.width < numJudgeLen.Value * 10 || s.height < numJudgeLen.Value * 10) && s.weight < numJudgeWeight.Value * 1000))
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
@@ -2449,6 +2456,22 @@ namespace TemuKJD.KJDForms.AdminForms
|
||||
{
|
||||
chkFilterSize.Checked = !chkFilterSize.Checked;
|
||||
}
|
||||
|
||||
private void chkLessThan_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if(chkLessThan.Checked)
|
||||
{
|
||||
lblJudgeLen.Text = "长<";
|
||||
lblJudgeWeight.Text = "且重<";
|
||||
lblJudgeLen.ForeColor = lblJudgeWeight.ForeColor = Color.Red;
|
||||
}
|
||||
else
|
||||
{
|
||||
lblJudgeLen.Text = "长≥";
|
||||
lblJudgeWeight.Text = "且重≥";
|
||||
lblJudgeLen.ForeColor = lblJudgeWeight.ForeColor = Color.Black;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class PriceCheckConfig
|
||||
|
||||
Reference in new issue
Block a user