1添加随机上传商品 2优化pdd api授权逻辑

This commit is contained in:
wule committed 2026-04-02 19:48:38 +08:00
1 parent 07b912e9eb
commit c0b7c2d986
34 files changed
+1651 -603

No files matched your search

+131 -216
View File
@@ -54,29 +54,27 @@ namespace TemuKJD.WXForms.TalkForms
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.btnSearch = new DevComponents.DotNetBar.PanelEx();
this.pnlEmpty = new DevComponents.DotNetBar.PanelEx();
this.cmbCat3 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.label17 = new System.Windows.Forms.Label();
this.cmbCat2 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.label14 = new System.Windows.Forms.Label();
this.cmbCat1 = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
this.label2 = new System.Windows.Forms.Label();
this.txtProdName = new System.Windows.Forms.TextBox();
this.txtOrderSn = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.lblWxSafe = new System.Windows.Forms.Label();
this.cmbWxSafe = new System.Windows.Forms.ComboBox();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.pbLoading = new System.Windows.Forms.PictureBox();
this.dgvDbProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.ucSplitPage1 = new TemuKJD.UserControls.UcSplitPage();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.dtpStartTime = new System.Windows.Forms.DateTimePicker();
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
this.txtMobile = new System.Windows.Forms.TextBox();
this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.col_db_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colFromShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colFromShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_product_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOrderSn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMainImg = new System.Windows.Forms.DataGridViewImageColumn();
this.colSkuReplaceImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSkuReplaceImg = new System.Windows.Forms.DataGridViewImageColumn();
this.col_spu_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colProductInfo = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRealPrice = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_skc_id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMainCate = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.col_cat_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -102,8 +100,6 @@ namespace TemuKJD.WXForms.TalkForms
this.col_edit = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_delete = new System.Windows.Forms.DataGridViewLinkColumn();
this.col_select_product = new System.Windows.Forms.DataGridViewLinkColumn();
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();
@@ -201,6 +197,7 @@ namespace TemuKJD.WXForms.TalkForms
this.btnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSelect.TabIndex = 647;
this.btnSelect.Text = "添加选中商品";
this.btnSelect.Visible = false;
this.btnSelect.Click += new System.EventHandler(this.btnSelect_Click);
//
// tableLayoutPanel1
@@ -222,18 +219,16 @@ namespace TemuKJD.WXForms.TalkForms
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel1.Controls.Add(this.txtMobile, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.btnSearch, 8, 0);
this.tableLayoutPanel1.Controls.Add(this.pnlEmpty, 9, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbCat3, 7, 0);
this.tableLayoutPanel1.Controls.Add(this.label17, 6, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbCat2, 5, 0);
this.tableLayoutPanel1.Controls.Add(this.label14, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.cmbCat1, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 2, 0);
this.tableLayoutPanel1.Controls.Add(this.txtProdName, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.txtOrderSn, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.label3, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.lblWxSafe, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.cmbWxSafe, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.dtpEndTime, 7, 0);
this.tableLayoutPanel1.Controls.Add(this.dtpStartTime, 5, 0);
this.tableLayoutPanel1.Controls.Add(this.label14, 6, 0);
this.tableLayoutPanel1.Controls.Add(this.label2, 4, 0);
this.tableLayoutPanel1.Controls.Add(this.label17, 2, 0);
this.tableLayoutPanel1.Location = new System.Drawing.Point(4, 4);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 3;
@@ -250,9 +245,9 @@ namespace TemuKJD.WXForms.TalkForms
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(868, 5);
this.btnSearch.Location = new System.Drawing.Point(851, 5);
this.btnSearch.Name = "btnSearch";
this.btnSearch.Size = new System.Drawing.Size(46, 25);
this.btnSearch.Size = new System.Drawing.Size(65, 25);
this.btnSearch.Style.Alignment = System.Drawing.StringAlignment.Center;
this.btnSearch.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.btnSearch.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
@@ -265,7 +260,7 @@ namespace TemuKJD.WXForms.TalkForms
this.btnSearch.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearch.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
this.btnSearch.TabIndex = 643;
this.btnSearch.Text = "搜索";
this.btnSearch.Text = "搜索订单";
this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click);
//
// pnlEmpty
@@ -274,7 +269,7 @@ namespace TemuKJD.WXForms.TalkForms
this.pnlEmpty.CanvasColor = System.Drawing.SystemColors.Control;
this.pnlEmpty.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
this.pnlEmpty.DisabledBackColor = System.Drawing.Color.Empty;
this.pnlEmpty.Location = new System.Drawing.Point(920, 5);
this.pnlEmpty.Location = new System.Drawing.Point(922, 5);
this.pnlEmpty.Name = "pnlEmpty";
this.pnlEmpty.Size = new System.Drawing.Size(46, 25);
this.pnlEmpty.Style.Alignment = System.Drawing.StringAlignment.Center;
@@ -293,98 +288,47 @@ namespace TemuKJD.WXForms.TalkForms
this.pnlEmpty.Text = "清空";
this.pnlEmpty.Click += new System.EventHandler(this.pnlEmpty_Click);
//
// cmbCat3
//
this.cmbCat3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat3.DefaultText = "全部";
this.cmbCat3.DropDownHeight = 1;
this.cmbCat3.DropDownWidth = 1;
this.cmbCat3.FormattingEnabled = true;
this.cmbCat3.IntegralHeight = false;
this.cmbCat3.Location = new System.Drawing.Point(707, 7);
this.cmbCat3.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat3.Name = "cmbCat3";
this.cmbCat3.Size = new System.Drawing.Size(155, 25);
this.cmbCat3.TabIndex = 811;
this.cmbCat3.Text = "全部";
this.cmbCat3.SelectedIndexChanged += new System.EventHandler(this.cmbCat3_SelectedIndexChanged);
this.cmbCat3.TextChanged += new System.EventHandler(this.cmbCat3_MultiSelectChanged);
//
// label17
//
this.label17.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label17.AutoSize = true;
this.label17.Location = new System.Drawing.Point(656, 9);
this.label17.Location = new System.Drawing.Point(209, 9);
this.label17.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label17.Name = "label17";
this.label17.Size = new System.Drawing.Size(51, 17);
this.label17.Size = new System.Drawing.Size(56, 17);
this.label17.TabIndex = 811;
this.label17.Text = "类目3:";
//
// cmbCat2
//
this.cmbCat2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat2.DefaultText = "全部";
this.cmbCat2.DropDownHeight = 1;
this.cmbCat2.DropDownWidth = 1;
this.cmbCat2.FormattingEnabled = true;
this.cmbCat2.IntegralHeight = false;
this.cmbCat2.Location = new System.Drawing.Point(495, 7);
this.cmbCat2.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat2.Name = "cmbCat2";
this.cmbCat2.Size = new System.Drawing.Size(155, 25);
this.cmbCat2.TabIndex = 804;
this.cmbCat2.Text = "全部";
this.cmbCat2.SelectedIndexChanged += new System.EventHandler(this.cmbCat2_SelectedIndexChanged);
this.cmbCat2.TextChanged += new System.EventHandler(this.cmbCat2_MultiSelectChanged);
this.label17.Text = "手机号:";
//
// label14
//
this.label14.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label14.AutoSize = true;
this.label14.Location = new System.Drawing.Point(444, 9);
this.label14.Location = new System.Drawing.Point(633, 9);
this.label14.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label14.Name = "label14";
this.label14.Size = new System.Drawing.Size(51, 17);
this.label14.Size = new System.Drawing.Size(68, 17);
this.label14.TabIndex = 784;
this.label14.Text = "类目2:";
//
// cmbCat1
//
this.cmbCat1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbCat1.DefaultText = "全部";
this.cmbCat1.DropDownHeight = 1;
this.cmbCat1.DropDownWidth = 1;
this.cmbCat1.FormattingEnabled = true;
this.cmbCat1.IntegralHeight = false;
this.cmbCat1.Location = new System.Drawing.Point(283, 7);
this.cmbCat1.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbCat1.Name = "cmbCat1";
this.cmbCat1.Size = new System.Drawing.Size(155, 25);
this.cmbCat1.TabIndex = 805;
this.cmbCat1.Text = "全部";
this.cmbCat1.SelectedIndexChanged += new System.EventHandler(this.cmbCat1_SelectedIndexChanged);
this.cmbCat1.TextChanged += new System.EventHandler(this.cmbCat1_MultiSelectChanged);
this.label14.Text = "结束时间:";
//
// label2
//
this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(232, 9);
this.label2.Location = new System.Drawing.Point(415, 9);
this.label2.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(51, 17);
this.label2.Size = new System.Drawing.Size(68, 17);
this.label2.TabIndex = 426;
this.label2.Text = "类目1:";
this.label2.Text = "开始时间:";
//
// txtProdName
// txtOrderSn
//
this.txtProdName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtProdName.Location = new System.Drawing.Point(71, 6);
this.txtProdName.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtProdName.Name = "txtProdName";
this.txtProdName.Size = new System.Drawing.Size(155, 23);
this.txtProdName.TabIndex = 427;
this.txtOrderSn.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtOrderSn.Location = new System.Drawing.Point(59, 6);
this.txtOrderSn.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtOrderSn.Name = "txtOrderSn";
this.txtOrderSn.Size = new System.Drawing.Size(144, 23);
this.txtOrderSn.TabIndex = 427;
//
// label3
//
@@ -393,36 +337,9 @@ namespace TemuKJD.WXForms.TalkForms
this.label3.Location = new System.Drawing.Point(3, 9);
this.label3.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(68, 17);
this.label3.Size = new System.Drawing.Size(56, 17);
this.label3.TabIndex = 428;
this.label3.Text = "商品标题:";
//
// lblWxSafe
//
this.lblWxSafe.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.lblWxSafe.AutoSize = true;
this.lblWxSafe.Location = new System.Drawing.Point(3, 44);
this.lblWxSafe.Margin = new System.Windows.Forms.Padding(3, 0, 0, 0);
this.lblWxSafe.Name = "lblWxSafe";
this.lblWxSafe.Size = new System.Drawing.Size(68, 17);
this.lblWxSafe.TabIndex = 651;
this.lblWxSafe.Text = "微信安检:";
//
// cmbWxSafe
//
this.cmbWxSafe.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.cmbWxSafe.FormattingEnabled = true;
this.cmbWxSafe.Items.AddRange(new object[] {
"",
"安全+未校验",
"安全商品",
"未校验"});
this.cmbWxSafe.Location = new System.Drawing.Point(71, 42);
this.cmbWxSafe.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.cmbWxSafe.Name = "cmbWxSafe";
this.cmbWxSafe.Size = new System.Drawing.Size(155, 25);
this.cmbWxSafe.TabIndex = 676;
this.cmbWxSafe.Text = "安全+未校验";
this.label3.Text = "订单号:";
//
// splitContainer2
//
@@ -478,15 +395,13 @@ namespace TemuKJD.WXForms.TalkForms
this.dgvDbProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvDbProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
this.col_db_id,
this.colFromShopId,
this.colFromShopName,
this.col_product_name,
this.colShopId,
this.colShopName,
this.colOrderSn,
this.colImgUrl,
this.colMainImg,
this.colSkuReplaceImgUrl,
this.colSkuReplaceImg,
this.col_spu_id,
this.colProductInfo,
this.colRealPrice,
this.col_skc_id,
this.colMainCate,
this.col_cat_name,
@@ -523,6 +438,56 @@ namespace TemuKJD.WXForms.TalkForms
this.dgvDbProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDbProduct_CellContentClick);
this.dgvDbProduct.Scroll += new System.Windows.Forms.ScrollEventHandler(this.dgvDbProduct_Scroll);
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.IsShowPageSize = true;
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
this.ucSplitPage1.PageSize = 100;
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
this.ucSplitPage1.TabIndex = 6;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1438, 25);
this.statusBar.TabIndex = 5;
//
// dtpStartTime
//
this.dtpStartTime.Anchor = System.Windows.Forms.AnchorStyles.None;
this.dtpStartTime.Location = new System.Drawing.Point(486, 6);
this.dtpStartTime.Name = "dtpStartTime";
this.dtpStartTime.Size = new System.Drawing.Size(141, 23);
this.dtpStartTime.TabIndex = 812;
//
// dtpEndTime
//
this.dtpEndTime.Anchor = System.Windows.Forms.AnchorStyles.None;
this.dtpEndTime.Location = new System.Drawing.Point(704, 6);
this.dtpEndTime.Name = "dtpEndTime";
this.dtpEndTime.Size = new System.Drawing.Size(141, 23);
this.dtpEndTime.TabIndex = 813;
//
// txtMobile
//
this.txtMobile.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
this.txtMobile.Location = new System.Drawing.Point(265, 6);
this.txtMobile.Margin = new System.Windows.Forms.Padding(0, 3, 3, 3);
this.txtMobile.Name = "txtMobile";
this.txtMobile.Size = new System.Drawing.Size(144, 23);
this.txtMobile.TabIndex = 428;
//
// colSelect
//
this.colSelect.FillWeight = 26F;
@@ -532,36 +497,24 @@ namespace TemuKJD.WXForms.TalkForms
this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// col_db_id
// colShopId
//
this.col_db_id.FillWeight = 50F;
this.col_db_id.HeaderText = "数据库Id";
this.col_db_id.Name = "col_db_id";
this.col_db_id.ReadOnly = true;
this.col_db_id.Visible = false;
this.colShopId.HeaderText = "店铺编号";
this.colShopId.Name = "colShopId";
this.colShopId.ReadOnly = true;
this.colShopId.Visible = false;
//
// colFromShopId
// colShopName
//
this.colFromShopId.HeaderText = "来源店铺Id";
this.colFromShopId.Name = "colFromShopId";
this.colFromShopId.ReadOnly = true;
this.colFromShopId.Visible = false;
this.colShopName.HeaderText = "店铺名称";
this.colShopName.Name = "colShopName";
this.colShopName.ReadOnly = true;
//
// colFromShopName
// colOrderSn
//
this.colFromShopName.HeaderText = "来源店铺名称";
this.colFromShopName.Name = "colFromShopName";
this.colFromShopName.ReadOnly = true;
this.colFromShopName.Visible = false;
//
// col_product_name
//
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.col_product_name.DefaultCellStyle = dataGridViewCellStyle3;
this.col_product_name.FillWeight = 140F;
this.col_product_name.HeaderText = "标题";
this.col_product_name.Name = "col_product_name";
this.col_product_name.ReadOnly = true;
this.colOrderSn.HeaderText = "订单号";
this.colOrderSn.Name = "colOrderSn";
this.colOrderSn.ReadOnly = true;
//
// colImgUrl
//
@@ -580,32 +533,23 @@ namespace TemuKJD.WXForms.TalkForms
this.colMainImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colMainImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colSkuReplaceImgUrl
// colProductInfo
//
this.colSkuReplaceImgUrl.HeaderText = "sku替换图路径";
this.colSkuReplaceImgUrl.Name = "colSkuReplaceImgUrl";
this.colSkuReplaceImgUrl.ReadOnly = true;
this.colSkuReplaceImgUrl.Visible = false;
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.colProductInfo.DefaultCellStyle = dataGridViewCellStyle3;
this.colProductInfo.FillWeight = 140F;
this.colProductInfo.HeaderText = "商品信息";
this.colProductInfo.Name = "colProductInfo";
this.colProductInfo.ReadOnly = true;
//
// colSkuReplaceImg
//
this.colSkuReplaceImg.FillWeight = 70F;
this.colSkuReplaceImg.HeaderText = "sku替换图";
this.colSkuReplaceImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
this.colSkuReplaceImg.Name = "colSkuReplaceImg";
this.colSkuReplaceImg.ReadOnly = true;
this.colSkuReplaceImg.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSkuReplaceImg.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSkuReplaceImg.Visible = false;
//
// col_spu_id
// colRealPrice
//
dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.col_spu_id.DefaultCellStyle = dataGridViewCellStyle4;
this.col_spu_id.HeaderText = "商品Id";
this.col_spu_id.Name = "col_spu_id";
this.col_spu_id.ReadOnly = true;
this.col_spu_id.Visible = false;
this.colRealPrice.DefaultCellStyle = dataGridViewCellStyle4;
this.colRealPrice.HeaderText = "实收款/优惠信息";
this.colRealPrice.Name = "colRealPrice";
this.colRealPrice.ReadOnly = true;
this.colRealPrice.Visible = false;
//
// col_skc_id
//
@@ -825,31 +769,6 @@ namespace TemuKJD.WXForms.TalkForms
this.col_select_product.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.col_select_product.Visible = false;
//
// ucSplitPage1
//
this.ucSplitPage1.CurrentPage = 1;
this.ucSplitPage1.Dock = System.Windows.Forms.DockStyle.Right;
this.ucSplitPage1.IsShowPageSize = true;
this.ucSplitPage1.Location = new System.Drawing.Point(985, 0);
this.ucSplitPage1.Margin = new System.Windows.Forms.Padding(0);
this.ucSplitPage1.Name = "ucSplitPage1";
this.ucSplitPage1.Padding = new System.Windows.Forms.Padding(0, 0, 1, 0);
this.ucSplitPage1.PageSize = 100;
this.ucSplitPage1.Size = new System.Drawing.Size(453, 25);
this.ucSplitPage1.TabIndex = 6;
this.ucSplitPage1.TotalPage = 1;
//
// statusBar
//
this.statusBar.BackColor = System.Drawing.Color.White;
this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.statusBar.Location = new System.Drawing.Point(0, 0);
this.statusBar.Margin = new System.Windows.Forms.Padding(0);
this.statusBar.Name = "statusBar";
this.statusBar.Size = new System.Drawing.Size(1438, 25);
this.statusBar.TabIndex = 5;
//
// WxOrderListForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -890,7 +809,7 @@ namespace TemuKJD.WXForms.TalkForms
private UserControls.UcSplitPage ucSplitPage1;
private UserControls.StatusBarUserControl statusBar;
private DevComponents.DotNetBar.PanelEx pnlEmpty;
private System.Windows.Forms.TextBox txtProdName;
private System.Windows.Forms.TextBox txtOrderSn;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.Label label2;
private UserComponent.DataGridViewEx dgvDbProduct;
@@ -898,25 +817,21 @@ namespace TemuKJD.WXForms.TalkForms
private DevComponents.DotNetBar.PanelEx btnSearch;
private DevComponents.DotNetBar.PanelEx btnSelect;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private System.Windows.Forms.Label lblWxSafe;
private System.Windows.Forms.ComboBox cmbWxSafe;
private UserComponent.UcComboBoxMutiSelect cmbCat2;
private System.Windows.Forms.Label label14;
private UserComponent.UcComboBoxMutiSelect cmbCat1;
private DevComponents.DotNetBar.PanelEx btnStopStop;
private System.Windows.Forms.Label label17;
private UserComponent.UcComboBoxMutiSelect cmbCat3;
private System.Windows.Forms.Label lblCurrentShop;
private System.Windows.Forms.DateTimePicker dtpStartTime;
private System.Windows.Forms.DateTimePicker dtpEndTime;
private System.Windows.Forms.TextBox txtMobile;
private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
private System.Windows.Forms.DataGridViewTextBoxColumn col_db_id;
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colFromShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn col_product_name;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
private System.Windows.Forms.DataGridViewTextBoxColumn colOrderSn;
private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
private System.Windows.Forms.DataGridViewImageColumn colMainImg;
private System.Windows.Forms.DataGridViewTextBoxColumn colSkuReplaceImgUrl;
private System.Windows.Forms.DataGridViewImageColumn colSkuReplaceImg;
private System.Windows.Forms.DataGridViewTextBoxColumn col_spu_id;
private System.Windows.Forms.DataGridViewTextBoxColumn colProductInfo;
private System.Windows.Forms.DataGridViewTextBoxColumn colRealPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn col_skc_id;
private System.Windows.Forms.DataGridViewTextBoxColumn colMainCate;
private System.Windows.Forms.DataGridViewTextBoxColumn col_cat_name;
+1 -5
View File
@@ -107,11 +107,7 @@ namespace TemuKJD.WXForms.TalkForms
private void pnlEmpty_Click(object sender, EventArgs e)
{
this.cmbCat1.Text = "全部";
this.cmbCat2.Text = "全部";
this.cmbCat3.Text = "全部";
this.txtProdName.Text = "";
this.cmbWxSafe.Text = "安全+未校验";
this.txtOrderSn.Text = "";
}
private void cmbCat1_SelectedIndexChanged(object sender, EventArgs e)
+5 -11
View File
@@ -120,16 +120,13 @@
<metadata name="colSelect.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_db_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colFromShopId.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colFromShopName.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_product_name.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colOrderSn.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
@@ -138,13 +135,10 @@
<metadata name="colMainImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSkuReplaceImgUrl.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colProductInfo.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="colSkuReplaceImg.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_spu_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<metadata name="colRealPrice.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="col_skc_id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
+1 -15
View File
@@ -94,7 +94,6 @@ namespace TemuKJD.WXForms.TalkForms
this.tabPage2 = new System.Windows.Forms.TabPage();
this.mainPanel = new System.Windows.Forms.Panel();
this.tabPage3 = new System.Windows.Forms.TabPage();
this.panel4 = new System.Windows.Forms.Panel();
this.ColumnShopStatus = new System.Windows.Forms.DataGridViewLinkColumn();
this.ColumnShopID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.ColumnShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -128,7 +127,6 @@ namespace TemuKJD.WXForms.TalkForms
this.splitContainer3.SuspendLayout();
this.pnlTalk.SuspendLayout();
this.tabPage2.SuspendLayout();
this.tabPage3.SuspendLayout();
this.SuspendLayout();
//
// pbLogo
@@ -138,7 +136,7 @@ namespace TemuKJD.WXForms.TalkForms
// lblVersionName
//
this.lblVersionName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.lblVersionName.Location = new System.Drawing.Point(30627, 33);
this.lblVersionName.Location = new System.Drawing.Point(31161, 33);
//
// panel3
//
@@ -1047,7 +1045,6 @@ namespace TemuKJD.WXForms.TalkForms
//
// tabPage3
//
this.tabPage3.Controls.Add(this.panel4);
this.tabPage3.Location = new System.Drawing.Point(2, 35);
this.tabPage3.Name = "tabPage3";
this.tabPage3.Padding = new System.Windows.Forms.Padding(3);
@@ -1056,15 +1053,6 @@ namespace TemuKJD.WXForms.TalkForms
this.tabPage3.Text = "订单管理";
this.tabPage3.UseVisualStyleBackColor = true;
//
// panel4
//
this.panel4.BackColor = System.Drawing.Color.White;
this.panel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.panel4.Location = new System.Drawing.Point(3, 3);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(985, 573);
this.panel4.TabIndex = 0;
//
// ColumnShopStatus
//
this.ColumnShopStatus.HeaderText = "登录状态";
@@ -1180,7 +1168,6 @@ namespace TemuKJD.WXForms.TalkForms
this.pnlTalk.ResumeLayout(false);
this.pnlTalk.PerformLayout();
this.tabPage2.ResumeLayout(false);
this.tabPage3.ResumeLayout(false);
this.ResumeLayout(false);
}
@@ -1257,6 +1244,5 @@ namespace TemuKJD.WXForms.TalkForms
private DevComponents.DotNetBar.Controls.ProgressBarX progressBarX1;
private System.Windows.Forms.Label lblProgress;
private System.Windows.Forms.TabPage tabPage3;
private System.Windows.Forms.Panel panel4;
}
}
+6 -1
View File
@@ -108,6 +108,11 @@ namespace TemuKJD.WXForms.TalkForms
lblProgress.Text = "";
//SetTitle();
#if DEBUG
#else
ucTabControl1.TabPages.Remove(tabPage3);
#endif
// 点击变绿的按钮
LstTagShop = NaiBa.Util.Helper.ConfigHelper.LoadConfig<List<string>>("wx_talk_tag_shop_list");
if (LstTagShop == null)
@@ -334,7 +339,7 @@ namespace TemuKJD.WXForms.TalkForms
WxOrderListForm.TopLevel = false;
WxOrderListForm.FormBorderStyle = FormBorderStyle.None;
WxOrderListForm.Dock = DockStyle.Fill;
panel4.Controls.Add(WxOrderListForm);
tabPage3.Controls.Add(WxOrderListForm);
WxOrderListForm.Show();
//var _1688AddressForm = new GetAddressForm() { AddressType = "1688" };