Pārlūkot izejas kodu

去除目前无功能按钮

章政 5 gadi atpakaļ
vecāks
revīzija
05e5625162

+ 3 - 0
UAS-出货标签管理(贸易版)/ExportColumns.cs

@@ -35,6 +35,7 @@ namespace UAS_LabelMachine
 
         private void SaveColumns_Click(object sender, EventArgs e)
         {
+            //先删除之前此客户的记录
             dh.ExecuteSql("delete from CS_EXPORTSETTING where es_custcode='" + custcode + "'", "delete");
             StringBuilder sql = new StringBuilder();
             List<string> es_filed = new List<string>();
@@ -45,11 +46,13 @@ namespace UAS_LabelMachine
             List<string> es_detno = new List<string>();
             List<string> es_filed1 = new List<string>();
             List<string> es_istitle = new List<string>();
+            //插入首页固定的抬头
             es_filed.Add("pi_title"); es_caption.Add("客户"); es_enable.Add("-1"); es_prefix.Add("'客户:'"); es_suffix.Add("''"); es_detno.Add("0.1"); es_filed1.Add("pi_title"); es_istitle.Add("-1");
             es_filed.Add("pi_inoutno"); es_caption.Add("出货单号"); es_enable.Add("-1"); es_prefix.Add("'出货单号:'"); es_suffix.Add("''"); es_detno.Add("0.2"); es_filed1.Add("pi_inoutno"); es_istitle.Add("-1");
             es_filed.Add("pr_spec"); es_caption.Add("型号"); es_enable.Add("-1"); es_prefix.Add("'型号:'"); es_suffix.Add("''"); es_detno.Add("0.3"); es_filed1.Add("pr_spec"); es_istitle.Add("-1");
             es_filed.Add("pi_date"); es_caption.Add("销售日期"); es_enable.Add("-1"); es_prefix.Add("'销售日期:'"); es_suffix.Add("'销售部门:市场部'"); es_detno.Add("0.4"); es_filed1.Add("pi_date"); es_istitle.Add("-1");
             es_filed.Add("pd_ordercode"); es_caption.Add("订单编号"); es_enable.Add("-1"); es_prefix.Add("''"); es_suffix.Add("''"); es_detno.Add("0.5"); es_filed1.Add("pd_ordercode"); es_istitle.Add("-1");
+            //插入首页信息
             for (int i = 0; i < FirstPage.Columns.Count; i++)
             {
                 for (int j = 0; j < FirstPage.Columns.Count; j++)

+ 1 - 19
UAS-出货标签管理(贸易版)/UAS_出货标签管理.Designer.cs

@@ -95,11 +95,9 @@
             this.toolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripMenuItem3 = new System.Windows.Forms.ToolStripMenuItem();
-            this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripMenuItem();
             this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripMenuItem();
             this.下载模板ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
-            this.客户合并规则ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.流水调整ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
             this.ImportExcel = new System.Windows.Forms.OpenFileDialog();
             this.pi_class = new System.Windows.Forms.Label();
@@ -775,15 +773,13 @@
             this.toolStripMenuItem1,
             this.toolStripMenuItem2,
             this.toolStripMenuItem3,
-            this.toolStripMenuItem4,
             this.toolStripMenuItem5,
             this.toolStripMenuItem6,
             this.下载模板ToolStripMenuItem,
-            this.客户合并规则ToolStripMenuItem,
             this.流水调整ToolStripMenuItem});
             this.Menu.Name = "Menu";
             this.Menu.RenderMode = System.Windows.Forms.ToolStripRenderMode.System;
-            this.Menu.Size = new System.Drawing.Size(149, 202);
+            this.Menu.Size = new System.Drawing.Size(149, 158);
             this.Menu.ItemClicked += new System.Windows.Forms.ToolStripItemClickedEventHandler(this.Menu_ItemClicked);
             // 
             // toolStripMenuItem1
@@ -804,12 +800,6 @@
             this.toolStripMenuItem3.Size = new System.Drawing.Size(148, 22);
             this.toolStripMenuItem3.Text = "导出数据";
             // 
-            // toolStripMenuItem4
-            // 
-            this.toolStripMenuItem4.Name = "toolStripMenuItem4";
-            this.toolStripMenuItem4.Size = new System.Drawing.Size(148, 22);
-            this.toolStripMenuItem4.Text = "权限设置";
-            // 
             // toolStripMenuItem5
             // 
             this.toolStripMenuItem5.Name = "toolStripMenuItem5";
@@ -828,12 +818,6 @@
             this.下载模板ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
             this.下载模板ToolStripMenuItem.Text = "下载模板";
             // 
-            // 客户合并规则ToolStripMenuItem
-            // 
-            this.客户合并规则ToolStripMenuItem.Name = "客户合并规则ToolStripMenuItem";
-            this.客户合并规则ToolStripMenuItem.Size = new System.Drawing.Size(148, 22);
-            this.客户合并规则ToolStripMenuItem.Text = "客户合并规则";
-            // 
             // 流水调整ToolStripMenuItem
             // 
             this.流水调整ToolStripMenuItem.Name = "流水调整ToolStripMenuItem";
@@ -2200,7 +2184,6 @@
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem1;
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem2;
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem3;
-        private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem4;
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem5;
         private System.Windows.Forms.OpenFileDialog ImportExcel;
         private System.Windows.Forms.ToolStripMenuItem toolStripMenuItem6;
@@ -2211,7 +2194,6 @@
         private System.Windows.Forms.CheckBox cu_print_outdc;
         private System.Windows.Forms.CheckBox cu_print_outlotno;
         private System.Windows.Forms.CheckBox cu_print_outpo;
-        private System.Windows.Forms.ToolStripMenuItem 客户合并规则ToolStripMenuItem;
         private System.Windows.Forms.Button CustBarCode;
         private System.Windows.Forms.ToolStripMenuItem 流水调整ToolStripMenuItem;
         private System.Windows.Forms.Button GetMidBoxCode;