测试数据库服务接口文件, 店铺活动报名功能

This commit is contained in:
wule committed 2025-08-06 19:09:59 +08:00
1 parent 85ed4137d2
commit 7556b63d10
18 files changed
+687 -158

No files matched your search

@@ -75,17 +75,12 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dgvActivity = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheckActivity = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colActivityId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSignUpTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dgvProduct = new TemuKJD.UserComponent.DataGridViewEx();
this.colCheckProduct = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSubmitActivityId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSubmitActivityName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colPic = new System.Windows.Forms.DataGridViewImageColumn();
this.colProdName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSpuId = new System.Windows.Forms.DataGridViewLinkColumn();
@@ -97,6 +92,13 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colInventory = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.colCheckActivity = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colActivityId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSignUpTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDiscount = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colActivityMsg = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -249,6 +251,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
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
//
@@ -691,6 +694,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.dgvActivity.AllowUserToDeleteRows = false;
dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
this.dgvActivity.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
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)))));
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
@@ -719,56 +723,6 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.dgvActivity.TabIndex = 189;
this.dgvActivity.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvActivity_CellContentClick);
//
// colCheckActivity
//
this.colCheckActivity.HeaderText = "选择";
this.colCheckActivity.Name = "colCheckActivity";
this.colCheckActivity.ReadOnly = true;
this.colCheckActivity.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckActivity.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCheckActivity.Width = 30;
//
// colActivityId
//
this.colActivityId.HeaderText = "活动编号";
this.colActivityId.Name = "colActivityId";
this.colActivityId.ReadOnly = true;
this.colActivityId.Visible = false;
//
// colActivityName
//
this.colActivityName.HeaderText = "活动主题";
this.colActivityName.Name = "colActivityName";
this.colActivityName.ReadOnly = true;
this.colActivityName.Width = 280;
//
// colActivityTime
//
this.colActivityTime.HeaderText = "活动时间";
this.colActivityTime.Name = "colActivityTime";
this.colActivityTime.ReadOnly = true;
this.colActivityTime.Width = 320;
//
// colSignUpTime
//
this.colSignUpTime.HeaderText = "报名截止";
this.colSignUpTime.Name = "colSignUpTime";
this.colSignUpTime.ReadOnly = true;
this.colSignUpTime.Width = 110;
//
// colDiscount
//
this.colDiscount.HeaderText = "活动折扣";
this.colDiscount.Name = "colDiscount";
this.colDiscount.ReadOnly = true;
//
// colActivityMsg
//
this.colActivityMsg.HeaderText = "状态";
this.colActivityMsg.Name = "colActivityMsg";
this.colActivityMsg.ReadOnly = true;
this.colActivityMsg.Width = 400;
//
// dgvProduct
//
this.dgvProduct.AllowUserToAddRows = false;
@@ -790,6 +744,8 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colCheckProduct,
this.colSupplierId,
this.colSupplierName,
this.colSubmitActivityId,
this.colSubmitActivityName,
this.colPic,
this.colProdName,
this.colSpuId,
@@ -815,6 +771,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colCheckProduct.ReadOnly = true;
this.colCheckProduct.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckProduct.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colCheckProduct.Visible = false;
this.colCheckProduct.Width = 30;
//
// colSupplierId
@@ -830,6 +787,20 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colSupplierName.ReadOnly = true;
this.colSupplierName.Width = 110;
//
// colSubmitActivityId
//
this.colSubmitActivityId.HeaderText = "报名活动Id";
this.colSubmitActivityId.Name = "colSubmitActivityId";
this.colSubmitActivityId.ReadOnly = true;
this.colSubmitActivityId.Visible = false;
//
// colSubmitActivityName
//
this.colSubmitActivityName.HeaderText = "报名活动名称";
this.colSubmitActivityName.Name = "colSubmitActivityName";
this.colSubmitActivityName.ReadOnly = true;
this.colSubmitActivityName.Width = 150;
//
// colPic
//
this.colPic.HeaderText = "图片";
@@ -853,6 +824,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colSpuId.ReadOnly = true;
this.colSpuId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colSpuId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.colSpuId.Width = 90;
//
// coSkcId
//
@@ -862,7 +834,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.coSkcId.ReadOnly = true;
this.coSkcId.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.coSkcId.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
this.coSkcId.Width = 80;
this.coSkcId.Width = 90;
//
// colExtCode
//
@@ -876,7 +848,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.colRecommendPrice.HeaderText = "推荐价格(折扣)";
this.colRecommendPrice.Name = "colRecommendPrice";
this.colRecommendPrice.ReadOnly = true;
this.colRecommendPrice.Width = 70;
this.colRecommendPrice.Width = 90;
//
// colRecommendInventory
//
@@ -916,6 +888,54 @@ namespace TemuKJD.KJDForms.SalesCenterForms
this.statusBar.Size = new System.Drawing.Size(700, 26);
this.statusBar.TabIndex = 2;
//
// colCheckActivity
//
this.colCheckActivity.FillWeight = 15F;
this.colCheckActivity.HeaderText = "选择";
this.colCheckActivity.Name = "colCheckActivity";
this.colCheckActivity.ReadOnly = true;
this.colCheckActivity.Resizable = System.Windows.Forms.DataGridViewTriState.True;
this.colCheckActivity.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
//
// colActivityId
//
this.colActivityId.HeaderText = "活动编号";
this.colActivityId.Name = "colActivityId";
this.colActivityId.ReadOnly = true;
this.colActivityId.Visible = false;
//
// colActivityName
//
this.colActivityName.HeaderText = "活动主题";
this.colActivityName.Name = "colActivityName";
this.colActivityName.ReadOnly = true;
//
// colActivityTime
//
this.colActivityTime.HeaderText = "活动时间";
this.colActivityTime.Name = "colActivityTime";
this.colActivityTime.ReadOnly = true;
//
// colSignUpTime
//
this.colSignUpTime.FillWeight = 50F;
this.colSignUpTime.HeaderText = "报名截止";
this.colSignUpTime.Name = "colSignUpTime";
this.colSignUpTime.ReadOnly = true;
//
// colDiscount
//
this.colDiscount.FillWeight = 50F;
this.colDiscount.HeaderText = "活动折扣";
this.colDiscount.Name = "colDiscount";
this.colDiscount.ReadOnly = true;
//
// colActivityMsg
//
this.colActivityMsg.HeaderText = "状态";
this.colActivityMsg.Name = "colActivityMsg";
this.colActivityMsg.ReadOnly = true;
//
// MarketingActivityForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -993,27 +1013,7 @@ namespace TemuKJD.KJDForms.SalesCenterForms
private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
private UserComponent.DataGridViewEx dgvProduct;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheckProduct;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName;
private System.Windows.Forms.DataGridViewImageColumn colPic;
private System.Windows.Forms.DataGridViewTextBoxColumn colProdName;
private System.Windows.Forms.DataGridViewLinkColumn colSpuId;
private System.Windows.Forms.DataGridViewLinkColumn coSkcId;
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCode;
private System.Windows.Forms.DataGridViewTextBoxColumn colRecommendPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colRecommendInventory;
private System.Windows.Forms.DataGridViewTextBoxColumn colPrcie;
private System.Windows.Forms.DataGridViewTextBoxColumn colInventory;
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
private UserComponent.DataGridViewEx dgvActivity;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheckActivity;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityId;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityName;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colSignUpTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colDiscount;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityMsg;
private UserComponent.UcCheckBox chkGetDiscount;
private DevComponents.DotNetBar.PanelEx panelEx2;
private UcActivityDiscountCtrl actDiscount85;
@@ -1030,5 +1030,27 @@ namespace TemuKJD.KJDForms.SalesCenterForms
private System.Windows.Forms.Label label2;
private System.Windows.Forms.NumericUpDown numNoSaleDays;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheckProduct;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName;
private System.Windows.Forms.DataGridViewTextBoxColumn colSubmitActivityId;
private System.Windows.Forms.DataGridViewTextBoxColumn colSubmitActivityName;
private System.Windows.Forms.DataGridViewImageColumn colPic;
private System.Windows.Forms.DataGridViewTextBoxColumn colProdName;
private System.Windows.Forms.DataGridViewLinkColumn colSpuId;
private System.Windows.Forms.DataGridViewLinkColumn coSkcId;
private System.Windows.Forms.DataGridViewTextBoxColumn colExtCode;
private System.Windows.Forms.DataGridViewTextBoxColumn colRecommendPrice;
private System.Windows.Forms.DataGridViewTextBoxColumn colRecommendInventory;
private System.Windows.Forms.DataGridViewTextBoxColumn colPrcie;
private System.Windows.Forms.DataGridViewTextBoxColumn colInventory;
private System.Windows.Forms.DataGridViewTextBoxColumn colMsg;
private System.Windows.Forms.DataGridViewCheckBoxColumn colCheckActivity;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityId;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityName;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colSignUpTime;
private System.Windows.Forms.DataGridViewTextBoxColumn colDiscount;
private System.Windows.Forms.DataGridViewTextBoxColumn colActivityMsg;
}
}