..
This commit is contained in:
328
SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs
generated
328
SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs
generated
@@ -30,45 +30,45 @@
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseNR));
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType1 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType2 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType1 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType2 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType3 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType4 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType5 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType6 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType7 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType8 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType9 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType10 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType11 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType2 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType3 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType5 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType6 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType20 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType21 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType22 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType23 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType24 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType25 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType19 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType20 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType157 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType158 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType159 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType160 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType161 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType162 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType163 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType164 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType165 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType166 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType167 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType168 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType169 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType61 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType170 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType171 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType62 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType63 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType172 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType64 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType173 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType65 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType66 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType174 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType67 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType175 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType68 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType176 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType177 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType178 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType69 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType179 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType180 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType181 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.NumberCellType numberCellType70 = new FarPoint.Win.Spread.CellType.NumberCellType();
|
||||
FarPoint.Win.Spread.CellType.TextCellType textCellType182 = new FarPoint.Win.Spread.CellType.TextCellType();
|
||||
FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType21 = new FarPoint.Win.Spread.CellType.CheckBoxCellType();
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
@@ -102,7 +102,6 @@
|
||||
this.집계표ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.구매승인양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripButton7 = new System.Windows.Forms.ToolStripDropDownButton();
|
||||
this.입고품목메일전송ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.엑셀에서가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.견적서폴더열기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripButton5 = new System.Windows.Forms.ToolStripButton();
|
||||
@@ -154,7 +153,12 @@
|
||||
this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.현재목록메일전송ToolStripMenuItem = 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.선택목록ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.선택목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripMenuItem2 = new System.Windows.Forms.ToolStripSeparator();
|
||||
((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit();
|
||||
@@ -439,38 +443,29 @@
|
||||
// 집계표ToolStripMenuItem
|
||||
//
|
||||
this.집계표ToolStripMenuItem.Name = "집계표ToolStripMenuItem";
|
||||
this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(150, 22);
|
||||
this.집계표ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.집계표ToolStripMenuItem.Text = "집계표";
|
||||
this.집계표ToolStripMenuItem.Click += new System.EventHandler(this.집계표ToolStripMenuItem_Click);
|
||||
//
|
||||
// 구매승인양식ToolStripMenuItem
|
||||
//
|
||||
this.구매승인양식ToolStripMenuItem.Name = "구매승인양식ToolStripMenuItem";
|
||||
this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(150, 22);
|
||||
this.구매승인양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.구매승인양식ToolStripMenuItem.Text = "구매승인 양식";
|
||||
this.구매승인양식ToolStripMenuItem.Click += new System.EventHandler(this.구매승인양식ToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripButton7
|
||||
//
|
||||
this.toolStripButton7.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.입고품목메일전송ToolStripMenuItem,
|
||||
this.메일전송ToolStripMenuItem,
|
||||
this.엑셀에서가져오기ToolStripMenuItem,
|
||||
this.견적서폴더열기ToolStripMenuItem,
|
||||
this.현재목록메일전송ToolStripMenuItem});
|
||||
this.견적서폴더열기ToolStripMenuItem});
|
||||
this.toolStripButton7.Image = ((System.Drawing.Image)(resources.GetObject("toolStripButton7.Image")));
|
||||
this.toolStripButton7.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
this.toolStripButton7.Name = "toolStripButton7";
|
||||
this.toolStripButton7.Size = new System.Drawing.Size(68, 28);
|
||||
this.toolStripButton7.Text = "기능";
|
||||
//
|
||||
// 입고품목메일전송ToolStripMenuItem
|
||||
//
|
||||
this.입고품목메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("입고품목메일전송ToolStripMenuItem.Image")));
|
||||
this.입고품목메일전송ToolStripMenuItem.Name = "입고품목메일전송ToolStripMenuItem";
|
||||
this.입고품목메일전송ToolStripMenuItem.Size = new System.Drawing.Size(190, 30);
|
||||
this.입고품목메일전송ToolStripMenuItem.Text = "입고 품목 메일 전송";
|
||||
this.입고품목메일전송ToolStripMenuItem.Click += new System.EventHandler(this.입고품목메일전송ToolStripMenuItem_Click);
|
||||
//
|
||||
// 엑셀에서가져오기ToolStripMenuItem
|
||||
//
|
||||
this.엑셀에서가져오기ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("엑셀에서가져오기ToolStripMenuItem.Image")));
|
||||
@@ -928,17 +923,17 @@
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 37).Value = "구매담당";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(0, 42).Value = "삭제됨";
|
||||
this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 37F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Label = "요청\r\n검사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(0).Width = 37F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType20;
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Label = "구매\r\n검사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(1).Width = 35F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType1;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).CellType = textCellType157;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).DataField = "pdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Label = "구매신청";
|
||||
@@ -947,7 +942,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(2).Width = 68F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType158;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).DataField = "prdate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Label = "PR입력";
|
||||
@@ -955,7 +950,7 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(3).Width = 76F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType159;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).DataField = "state";
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Label = "상태";
|
||||
@@ -963,39 +958,39 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(4).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType4;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).CellType = textCellType160;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).DataField = "place";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Label = "보관소";
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType161;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).DataField = "process";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Label = "공정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(6).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType162;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).DataField = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Label = "요청";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Tag = "requestName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(7).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType163;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).DataField = "costcenter";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).Label = "Cost Center";
|
||||
this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType164;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).DataField = "linecode";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).Label = "LineCode";
|
||||
this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType165;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).DataField = "sc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Label = "SC#";
|
||||
@@ -1003,231 +998,231 @@
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).CellType = textCellType166;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).DataField = "orderno";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Label = "SCR/CF";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Tag = "crcf";
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType11;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType167;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).DataField = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Label = "수령";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Tag = "receiveName";
|
||||
this.fpSpread1_Sheet1.Columns.Get(12).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).AllowAutoSort = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType12;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType168;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).DataField = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Label = "SID#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Tag = "sid";
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType13;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).CellType = textCellType169;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Label = "품명";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Tag = "pumname";
|
||||
this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType1.DecimalPlaces = 0;
|
||||
numberCellType1.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType1.MaximumValue = 2147483647D;
|
||||
numberCellType1.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType1;
|
||||
numberCellType61.DecimalPlaces = 0;
|
||||
numberCellType61.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType61.MaximumValue = 2147483647D;
|
||||
numberCellType61.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType61;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(15).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType14;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType170;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Label = "규격";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Tag = "pumscale";
|
||||
this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).CellType = textCellType171;
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).DataField = "dept";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Label = "장비\r\n제조사";
|
||||
this.fpSpread1_Sheet1.Columns.Get(17).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).CellType = textCellType171;
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).DataField = "manuproc";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Label = "제조\r\n공정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(18).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType15;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).CellType = textCellType171;
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).DataField = "asset";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Label = "장비\r\n모델";
|
||||
this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F;
|
||||
numberCellType2.DecimalPlaces = 0;
|
||||
numberCellType2.NegativeRed = true;
|
||||
numberCellType2.NullDisplay = "--";
|
||||
numberCellType2.Separator = ",";
|
||||
numberCellType2.ShowSeparator = true;
|
||||
numberCellType2.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType2;
|
||||
numberCellType62.DecimalPlaces = 0;
|
||||
numberCellType62.NegativeRed = true;
|
||||
numberCellType62.NullDisplay = "--";
|
||||
numberCellType62.Separator = ",";
|
||||
numberCellType62.ShowSeparator = true;
|
||||
numberCellType62.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType62;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).DataField = "pumqtyReq";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Label = "수량\r\n(요청)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Tag = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F;
|
||||
numberCellType3.DecimalPlaces = 0;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType3;
|
||||
numberCellType63.DecimalPlaces = 0;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType63;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).DataField = "pumqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Label = "수량\r\n(구매)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(21).Width = 55F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType16;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType172;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).DataField = "pumunit";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Label = "단위";
|
||||
this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F;
|
||||
numberCellType4.DecimalPlaces = 2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType4;
|
||||
numberCellType64.DecimalPlaces = 2;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType64;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).DataField = "pumpriceD";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).Label = "단가\r\n(해외)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(23).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType17;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType173;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).DataField = "currency";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Label = "통화";
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(24).Width = 33F;
|
||||
numberCellType5.DecimalPlaces = 0;
|
||||
numberCellType5.MaximumValue = 9999999999999.99D;
|
||||
numberCellType5.MinimumValue = -9999999999999.99D;
|
||||
numberCellType5.NegativeRed = true;
|
||||
numberCellType5.NullDisplay = "--";
|
||||
numberCellType5.Separator = ",";
|
||||
numberCellType5.ShowSeparator = true;
|
||||
numberCellType5.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType5;
|
||||
numberCellType65.DecimalPlaces = 0;
|
||||
numberCellType65.MaximumValue = 9999999999999.99D;
|
||||
numberCellType65.MinimumValue = -9999999999999.99D;
|
||||
numberCellType65.NegativeRed = true;
|
||||
numberCellType65.NullDisplay = "--";
|
||||
numberCellType65.Separator = ",";
|
||||
numberCellType65.ShowSeparator = true;
|
||||
numberCellType65.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType65;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).DataField = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Label = "단가";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Tag = "pumprice";
|
||||
this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F;
|
||||
numberCellType6.DecimalPlaces = 0;
|
||||
numberCellType6.MaximumValue = 9999999999999.99D;
|
||||
numberCellType6.MinimumValue = -9999999999999.99D;
|
||||
numberCellType6.NegativeRed = true;
|
||||
numberCellType6.NullDisplay = "--";
|
||||
numberCellType6.Separator = ",";
|
||||
numberCellType6.ShowSeparator = true;
|
||||
numberCellType6.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType6;
|
||||
numberCellType66.DecimalPlaces = 0;
|
||||
numberCellType66.MaximumValue = 9999999999999.99D;
|
||||
numberCellType66.MinimumValue = -9999999999999.99D;
|
||||
numberCellType66.NegativeRed = true;
|
||||
numberCellType66.NullDisplay = "--";
|
||||
numberCellType66.Separator = ",";
|
||||
numberCellType66.ShowSeparator = true;
|
||||
numberCellType66.ShrinkToFit = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType66;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).DataField = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Label = "합계금액";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Tag = "pumamt";
|
||||
this.fpSpread1_Sheet1.Columns.Get(26).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType18;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType174;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).DataField = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Label = "공급업체";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Tag = "supply";
|
||||
this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType7.DecimalPlaces = 0;
|
||||
numberCellType7.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType7.MaximumValue = 2147483647D;
|
||||
numberCellType7.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType7;
|
||||
numberCellType67.DecimalPlaces = 0;
|
||||
numberCellType67.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType67.MaximumValue = 2147483647D;
|
||||
numberCellType67.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType67;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).DataField = "supplyidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType19;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType175;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).DataField = "project";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Label = "프로젝트";
|
||||
this.fpSpread1_Sheet1.Columns.Get(29).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
|
||||
numberCellType8.DecimalPlaces = 0;
|
||||
numberCellType8.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType8.MaximumValue = 2147483647D;
|
||||
numberCellType8.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType8;
|
||||
numberCellType68.DecimalPlaces = 0;
|
||||
numberCellType68.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes;
|
||||
numberCellType68.MaximumValue = 2147483647D;
|
||||
numberCellType68.MinimumValue = -2147483648D;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType68;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).DataField = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Label = "*";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Tag = "projectidx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F;
|
||||
textCellType20.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType20;
|
||||
textCellType176.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType176;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).DataField = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Label = "비고(구매사유)\r\n(요청자)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Tag = "bigo";
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(31).Width = 96F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType21;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType177;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).DataField = "edate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Label = "입고예정";
|
||||
this.fpSpread1_Sheet1.Columns.Get(32).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType22;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType178;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).DataField = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).Label = "입고일";
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).Tag = "indate";
|
||||
this.fpSpread1_Sheet1.Columns.Get(33).Width = 51F;
|
||||
numberCellType9.DecimalPlaces = 0;
|
||||
numberCellType9.NegativeRed = true;
|
||||
numberCellType9.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType9;
|
||||
numberCellType69.DecimalPlaces = 0;
|
||||
numberCellType69.NegativeRed = true;
|
||||
numberCellType69.ShowSeparator = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType69;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).DataField = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Label = "입고수량";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Tag = "inqty";
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType23;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).CellType = textCellType179;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).DataField = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).Label = "PO#";
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).Tag = "po";
|
||||
this.fpSpread1_Sheet1.Columns.Get(35).Width = 51F;
|
||||
textCellType24.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType24;
|
||||
textCellType180.WordWrap = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType180;
|
||||
this.fpSpread1_Sheet1.Columns.Get(36).DataField = "chkremark";
|
||||
this.fpSpread1_Sheet1.Columns.Get(36).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left;
|
||||
this.fpSpread1_Sheet1.Columns.Get(36).Label = "비고\r\n(담당자)";
|
||||
this.fpSpread1_Sheet1.Columns.Get(36).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).AllowAutoFilter = true;
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType25;
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType181;
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).DataField = "purchase_manager";
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).Label = "구매담당";
|
||||
this.fpSpread1_Sheet1.Columns.Get(37).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).CellType = numberCellType10;
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).CellType = numberCellType70;
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).DataField = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).Tag = "idx";
|
||||
this.fpSpread1_Sheet1.Columns.Get(38).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).CellType = textCellType26;
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).CellType = textCellType182;
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).DataField = "conf_status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).Tag = "conf_status";
|
||||
this.fpSpread1_Sheet1.Columns.Get(39).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).CellType = textCellType26;
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).CellType = textCellType182;
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).DataField = "conf_request";
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).Tag = "conf_request";
|
||||
this.fpSpread1_Sheet1.Columns.Get(40).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).BackColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).CellType = textCellType26;
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).CellType = textCellType182;
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).DataField = "conf_reponse";
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).ForeColor = System.Drawing.Color.Red;
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).Tag = "conf_reponse";
|
||||
this.fpSpread1_Sheet1.Columns.Get(41).Visible = false;
|
||||
this.fpSpread1_Sheet1.Columns.Get(42).CellType = checkBoxCellType3;
|
||||
this.fpSpread1_Sheet1.Columns.Get(42).CellType = checkBoxCellType21;
|
||||
this.fpSpread1_Sheet1.Columns.Get(42).DataField = "isdel";
|
||||
this.fpSpread1_Sheet1.Columns.Get(42).Label = "삭제됨";
|
||||
this.fpSpread1_Sheet1.Columns.Get(42).Tag = "isdel";
|
||||
@@ -1265,12 +1260,51 @@
|
||||
this.label2.Text = "--";
|
||||
this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// 현재목록메일전송ToolStripMenuItem
|
||||
// 메일전송ToolStripMenuItem
|
||||
//
|
||||
this.현재목록메일전송ToolStripMenuItem.Name = "현재목록메일전송ToolStripMenuItem";
|
||||
this.현재목록메일전송ToolStripMenuItem.Size = new System.Drawing.Size(190, 30);
|
||||
this.현재목록메일전송ToolStripMenuItem.Text = "현재목록 메일 전송";
|
||||
this.현재목록메일전송ToolStripMenuItem.Click += new System.EventHandler(this.현재목록메일전송ToolStripMenuItem_Click);
|
||||
this.메일전송ToolStripMenuItem.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.현재목록ToolStripMenuItem,
|
||||
this.선택목록ToolStripMenuItem,
|
||||
this.toolStripMenuItem2,
|
||||
this.현재목록입고양식ToolStripMenuItem,
|
||||
this.선택목록입고양식ToolStripMenuItem});
|
||||
this.메일전송ToolStripMenuItem.Image = ((System.Drawing.Image)(resources.GetObject("메일전송ToolStripMenuItem.Image")));
|
||||
this.메일전송ToolStripMenuItem.Name = "메일전송ToolStripMenuItem";
|
||||
this.메일전송ToolStripMenuItem.Size = new System.Drawing.Size(188, 30);
|
||||
this.메일전송ToolStripMenuItem.Text = "메일 전송";
|
||||
//
|
||||
// 현재목록ToolStripMenuItem
|
||||
//
|
||||
this.현재목록ToolStripMenuItem.Name = "현재목록ToolStripMenuItem";
|
||||
this.현재목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.현재목록ToolStripMenuItem.Text = "현재목록";
|
||||
this.현재목록ToolStripMenuItem.Click += new System.EventHandler(this.현재목록ToolStripMenuItem_Click);
|
||||
//
|
||||
// 현재목록입고양식ToolStripMenuItem
|
||||
//
|
||||
this.현재목록입고양식ToolStripMenuItem.Name = "현재목록입고양식ToolStripMenuItem";
|
||||
this.현재목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.현재목록입고양식ToolStripMenuItem.Text = "현재목록(입고양식)";
|
||||
this.현재목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.현재목록입고양식ToolStripMenuItem_Click);
|
||||
//
|
||||
// 선택목록ToolStripMenuItem
|
||||
//
|
||||
this.선택목록ToolStripMenuItem.Name = "선택목록ToolStripMenuItem";
|
||||
this.선택목록ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.선택목록ToolStripMenuItem.Text = "선택목록";
|
||||
this.선택목록ToolStripMenuItem.Click += new System.EventHandler(this.선택목록ToolStripMenuItem_Click);
|
||||
//
|
||||
// 선택목록입고양식ToolStripMenuItem
|
||||
//
|
||||
this.선택목록입고양식ToolStripMenuItem.Name = "선택목록입고양식ToolStripMenuItem";
|
||||
this.선택목록입고양식ToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
|
||||
this.선택목록입고양식ToolStripMenuItem.Text = "선택목록(입고양식)";
|
||||
this.선택목록입고양식ToolStripMenuItem.Click += new System.EventHandler(this.선택목록입고양식ToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripMenuItem2
|
||||
//
|
||||
this.toolStripMenuItem2.Name = "toolStripMenuItem2";
|
||||
this.toolStripMenuItem2.Size = new System.Drawing.Size(177, 6);
|
||||
//
|
||||
// fPurchaseNR
|
||||
//
|
||||
@@ -1373,7 +1407,6 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 구매승인양식ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton6;
|
||||
private System.Windows.Forms.ToolStripDropDownButton toolStripButton7;
|
||||
private System.Windows.Forms.ToolStripMenuItem 입고품목메일전송ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 엑셀에서가져오기ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 견적서폴더열기ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton3;
|
||||
@@ -1388,6 +1421,11 @@
|
||||
private System.Windows.Forms.ToolStripMenuItem 사용자내보내기ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripButton toolStripButton8;
|
||||
private FarPoint.Win.Spread.SheetView fpSpread1_Sheet1;
|
||||
private System.Windows.Forms.ToolStripMenuItem 현재목록메일전송ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 메일전송ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 현재목록ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택목록ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem2;
|
||||
private System.Windows.Forms.ToolStripMenuItem 현재목록입고양식ToolStripMenuItem;
|
||||
private System.Windows.Forms.ToolStripMenuItem 선택목록입고양식ToolStripMenuItem;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -303,6 +303,7 @@ namespace FEQ0000
|
||||
|
||||
FormattingData();
|
||||
}
|
||||
|
||||
void FormattingData()
|
||||
{
|
||||
//삭제컬럼인덱스
|
||||
@@ -417,9 +418,8 @@ namespace FEQ0000
|
||||
{
|
||||
FCOMMON.Util.MsgE("저장 실패\n" + ex.Message);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
void showSummary()
|
||||
{
|
||||
decimal sum = 0;
|
||||
@@ -451,7 +451,6 @@ namespace FEQ0000
|
||||
saveData(true);
|
||||
}
|
||||
|
||||
|
||||
private void lbEnd_Click(object sender, EventArgs e)
|
||||
{
|
||||
//end date
|
||||
@@ -648,10 +647,6 @@ namespace FEQ0000
|
||||
return retval;
|
||||
}
|
||||
|
||||
private void copyDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btFind_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -733,15 +728,6 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
private void autoToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
FCOMMON.Util.FPColSizeAuto(this.fpSpread1);
|
||||
//this.fpSpread1.ActiveSheet.DataAutoSizeColumns = true;
|
||||
|
||||
//for (int i = 0; i < this.fpSpread1.ActiveSheet.Rows.Count; i++)
|
||||
// this.fpSpread1.ActiveSheet.SetRowHeight(i, 25);
|
||||
//dv1.AutoResizeColumns();
|
||||
}
|
||||
|
||||
private void resetToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -767,56 +753,7 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
|
||||
void dv1_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
|
||||
{
|
||||
//if (e.ColumnIndex < 0 || e.RowIndex < 0) return;
|
||||
//var state = this.dv1.Rows[e.RowIndex].Cells["dvc_state"].Value.ToString();
|
||||
//switch (state)
|
||||
//{
|
||||
// case "00": //입력대기(미확인)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// break;
|
||||
// case "01": //파트장 승인 기다림
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkBlue;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "03": //PO (협력업체 전달)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.DarkMagenta;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// break;
|
||||
// case "04": //자재 수령
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Green;
|
||||
// break;
|
||||
// case "05": //canceld (취소)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.LightGray;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Red;
|
||||
// break;
|
||||
// case "06": //cancel (취소됨)
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.HotPink;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
// case "08": //문의
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.Green;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.White;
|
||||
// break;
|
||||
// default:
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.BackColor = Color.White;
|
||||
// this.dv1.Rows[e.RowIndex].Cells[e.ColumnIndex].Style.ForeColor = Color.Black;
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
|
||||
private void updateSCToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var dlg = FCOMMON.Util.MsgQ("#SC가 없는 자료에 한하여 일괄 기록을 실행 합니다.");
|
||||
if (dlg == System.Windows.Forms.DialogResult.Yes)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void exportDataToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
SaveFileDialog sd = new SaveFileDialog();
|
||||
@@ -871,11 +808,6 @@ namespace FEQ0000
|
||||
}
|
||||
|
||||
|
||||
private void copyToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void func_copy()
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
@@ -1027,11 +959,6 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
@@ -1054,16 +981,6 @@ namespace FEQ0000
|
||||
else this.label2.Visible = false;
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
if (src.Length > len) return src.Substring(0, len) + "...";
|
||||
else return src;
|
||||
}
|
||||
|
||||
List<string> ChangeMailAddress(List<string> userid)
|
||||
{
|
||||
@@ -1092,11 +1009,7 @@ namespace FEQ0000
|
||||
return retval;
|
||||
}
|
||||
|
||||
private void toolStripButton5_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void 구매승인양식ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -1155,189 +1068,6 @@ namespace FEQ0000
|
||||
f.Show();
|
||||
}
|
||||
|
||||
private void 입고품목메일전송ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
var db = new DataClasses1DataContext();
|
||||
var dr = db.MailForm.Where(t => t.cate == "PC").FirstOrDefault();
|
||||
|
||||
//현재표시데이터중에 수신자목록을 가져온다
|
||||
var drows = (dsPurchase.PurchaseRow[])(this.dsPurchase.Purchase.Select(this.bs.Filter, this.bs.Sort));
|
||||
var grp_req = drows.Where(t => t.request.isEmpty() == false).GroupBy(t => t.request).Select(t => t.FirstOrDefault().request).ToList();
|
||||
var grp_rec = drows.Where(t => t.receive.isEmpty() == false).GroupBy(t => t.receive).Select(t => t.FirstOrDefault().receive).ToList();
|
||||
|
||||
var f = new Purchase.fMailForm("PC");
|
||||
if (f.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
var form_subject = f.tbSubject.Text.Trim();
|
||||
var form_body = f.htmlEditor1.Html;
|
||||
var form_to = f.tbTo.Text.Trim();
|
||||
var form_cc = f.tbCC.Text.Trim();
|
||||
var form_bcc = f.tbBcc.Text.Trim();
|
||||
|
||||
List<string> tolist = new List<string>(); //최종받는사람
|
||||
List<string> cclist = new List<string>();
|
||||
List<string> bcclist = new List<string>();
|
||||
|
||||
//받는사람
|
||||
if (form_to.Contains("{요청}") == true) tolist.AddRange(grp_req);
|
||||
if (form_to.Contains("{수령}") == true) tolist.AddRange(grp_rec);
|
||||
form_to = form_to.Replace("{요청}", "");
|
||||
form_to = form_to.Replace("{수령}", "");
|
||||
tolist.AddRange(form_to.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries));
|
||||
tolist = ChangeMailAddress(tolist);
|
||||
|
||||
//참조
|
||||
if (form_cc.Contains("{요청}") == true) cclist.AddRange(grp_req);
|
||||
if (form_cc.Contains("{수령}") == true) cclist.AddRange(grp_rec);
|
||||
form_cc = form_cc.Replace("{요청}", "");
|
||||
form_cc = form_cc.Replace("{수령}", "");
|
||||
cclist.AddRange(form_cc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries));
|
||||
cclist = ChangeMailAddress(cclist);
|
||||
|
||||
//숨은참조
|
||||
if (form_bcc.Contains("{요청}") == true) bcclist.AddRange(grp_req);
|
||||
if (form_bcc.Contains("{수령}") == true) bcclist.AddRange(grp_rec);
|
||||
form_bcc = form_bcc.Replace("{요청}", "");
|
||||
form_bcc = form_bcc.Replace("{수령}", "");
|
||||
bcclist.AddRange(form_bcc.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries));
|
||||
bcclist = ChangeMailAddress(bcclist);
|
||||
|
||||
var datestr = DateTime.Now.ToShortDateString();
|
||||
if (dtSD.Text == dtED.Text) datestr = dtSD.Text;
|
||||
else datestr = dtSD.Text + "~" + dtED.Text;
|
||||
form_subject = form_subject.Replace("{DATE}", datestr);
|
||||
|
||||
try
|
||||
{
|
||||
Outlook.Application outlookApplication = new Outlook.Application();
|
||||
var newMail = outlookApplication.CreateItem(OlItemType.olMailItem) as Outlook.MailItem;
|
||||
newMail.Display();
|
||||
newMail.Subject = form_subject; // this.tbSubject.Text.Trim(); // dr.title;
|
||||
newMail.To = string.Join(";", tolist.ToArray());
|
||||
newMail.CC = string.Join(";", cclist.ToArray());
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
if (f.chkAttach.Checked)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
|
||||
///save file
|
||||
fpSpread1.SaveExcel(fi.FullName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
}
|
||||
if (f.chkList.Checked)
|
||||
{
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<thead>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>CR/CF</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>");
|
||||
sb.AppendLine("</thead>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index;
|
||||
var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
|
||||
var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index;
|
||||
|
||||
var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
|
||||
var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
|
||||
var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
|
||||
var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index;
|
||||
var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
|
||||
var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
|
||||
var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
|
||||
var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
|
||||
var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
|
||||
|
||||
|
||||
for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++)
|
||||
{
|
||||
var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value;
|
||||
var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value;
|
||||
|
||||
var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
|
||||
var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
|
||||
var s신청 = String.Empty;
|
||||
var s요청 = String.Empty;
|
||||
var sCRCF = String.Empty;
|
||||
var s수령 = String.Empty;
|
||||
var sSID = String.Empty;
|
||||
var s품명 = String.Empty;
|
||||
var s규격 = String.Empty;
|
||||
var s수량 = "0";
|
||||
var s단가 = "0";
|
||||
var s금액 = "0";
|
||||
var s입고 = String.Empty;
|
||||
var s공급 = String.Empty;
|
||||
var s비고 = String.Empty;
|
||||
|
||||
if (v신청 != null) s신청 = v신청.ToString();
|
||||
if (v요청 != null) s요청 = v요청.ToString();
|
||||
if (vCRCF != null) sCRCF = vCRCF.ToString();
|
||||
if (v수령 != null) s수령 = v수령.ToString();
|
||||
if (vSID != null) sSID = vSID.ToString();
|
||||
if (v품명 != null) s품명 = v품명.ToString();
|
||||
if (v규격 != null) s규격 = v규격.ToString();
|
||||
if (v수량 != null) s수량 = v수량.ToString();
|
||||
if (v단가 != null) s단가 = v단가.ToString();
|
||||
if (v금액 != null) s금액 = v금액.ToString();
|
||||
if (v공급 != null) s공급 = v공급.ToString();
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
form_body += sb.ToString();
|
||||
}
|
||||
|
||||
//newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
form_body = form_body.Replace("{DATE}", datestr);
|
||||
newMail.HTMLBody = form_body + newMail.HTMLBody; //
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
util.MsgE("전송실패\n\n" + ex.Message + "\n\n" +
|
||||
"아웃룩의 설정이 정상인지 확인하세요");
|
||||
}
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click_1(object sender, EventArgs e)
|
||||
{
|
||||
@@ -1349,6 +1079,71 @@ namespace FEQ0000
|
||||
else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)");
|
||||
}
|
||||
|
||||
List<dsPurchase.PurchaseRow> GetDatarows(bool all = false)
|
||||
{
|
||||
List<dsPurchase.PurchaseRow> rows = new List<dsPurchase.PurchaseRow>();
|
||||
|
||||
if (all)
|
||||
{
|
||||
var drows = (dsPurchase.PurchaseRow[])(this.dsPurchase.Purchase.Select(this.bs.Filter, this.bs.Sort)); ;
|
||||
foreach (var dr in drows)
|
||||
rows.Add(dr);
|
||||
}
|
||||
else
|
||||
{
|
||||
//선택된 자료의 데이터를 추출한다.
|
||||
var selected = this.fpSpread1_Sheet1.GetSelections(); //선택된 개체확인
|
||||
List<int> rowidxs = new List<int>();
|
||||
var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
|
||||
var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
|
||||
var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
|
||||
foreach (var item in selected)
|
||||
{
|
||||
for (int i = item.Row; i < item.Row + item.RowCount; i++)
|
||||
{
|
||||
if (rowidxs.Contains(i) == false)
|
||||
{
|
||||
if (fpSpread1_Sheet1.IsRowBound(i))
|
||||
{
|
||||
var confsta = fpSpread1.ActiveSheet.GetValue(i, idxconf.Index);
|
||||
var state = fpSpread1.ActiveSheet.GetValue(i, idxstatus.Index);
|
||||
//if (state != null && state.ToString() != "---")
|
||||
//{
|
||||
// FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신규 요청데이터가 아닙니다");
|
||||
//}
|
||||
//else if (confsta != null && confsta.ToString() != "0")
|
||||
//{
|
||||
// FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신청이 완료된 자료 입니다");
|
||||
//}
|
||||
// else
|
||||
rowidxs.Add(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//수집된데이터를 보내야한다.
|
||||
|
||||
var idx = 0;
|
||||
foreach (var i in rowidxs)
|
||||
{
|
||||
var rowidx = (int)fpSpread1.ActiveSheet.GetValue(i, idxcol.Index);
|
||||
var row = this.dsPurchase.Purchase.Where(t => t.idx == rowidx).First();
|
||||
rows.Add(row);
|
||||
}
|
||||
if (rows.Any() == false)
|
||||
{
|
||||
if (this.bs.Count > 0)
|
||||
{
|
||||
var drv = this.bs.Current as DataRowView;
|
||||
rows.Add(drv.Row as dsPurchase.PurchaseRow);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return rows;
|
||||
|
||||
}
|
||||
private void fpSpread1_EditModeOff(object sender, EventArgs e)
|
||||
{
|
||||
if (fpSpread1_Sheet1.Columns["pumqty"].Index == fpSpread1_Sheet1.ActiveColumnIndex)
|
||||
@@ -1512,51 +1307,11 @@ namespace FEQ0000
|
||||
|
||||
private void toolStripButton8_Click(object sender, EventArgs e)
|
||||
{
|
||||
//승인요청
|
||||
|
||||
|
||||
//선택된 자료의 데이터를 추출한다.
|
||||
var selected = this.fpSpread1_Sheet1.GetSelections(); //선택된 개체확인
|
||||
List<int> rowidxs = new List<int>();
|
||||
var idxcol = this.fpSpread1_Sheet1.Columns["idx"];
|
||||
var idxconf = this.fpSpread1_Sheet1.Columns["conf_status"];
|
||||
var idxstatus = this.fpSpread1_Sheet1.Columns["state"];
|
||||
foreach (var item in selected)
|
||||
{
|
||||
for (int i = item.Row; i < item.Row + item.RowCount; i++)
|
||||
{
|
||||
if (rowidxs.Contains(i) == false)
|
||||
{
|
||||
if (fpSpread1_Sheet1.IsRowBound(i))
|
||||
{
|
||||
var confsta = fpSpread1.ActiveSheet.GetValue(i, idxconf.Index);
|
||||
var state = fpSpread1.ActiveSheet.GetValue(i, idxstatus.Index);
|
||||
if (state != null && state.ToString() != "---")
|
||||
{
|
||||
FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신규 요청데이터가 아닙니다");
|
||||
}
|
||||
//else if (confsta != null && confsta.ToString() != "0")
|
||||
//{
|
||||
// FCOMMON.Util.MsgE($"{i}번 줄의 데이터는 신청이 완료된 자료 입니다");
|
||||
//}
|
||||
else rowidxs.Add(i);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//수집된데이터를 보내야한다.
|
||||
List<dsPurchase.PurchaseRow> rows = new List<dsPurchase.PurchaseRow>();
|
||||
var idx = 0;
|
||||
foreach (var i in rowidxs)
|
||||
{
|
||||
var rowidx = (int)fpSpread1.ActiveSheet.GetValue(i, idxcol.Index);
|
||||
var row = this.dsPurchase.Purchase.Where(t => t.idx == rowidx).First();
|
||||
rows.Add(row);
|
||||
}
|
||||
var rows = GetDatarows();
|
||||
|
||||
//이자료를 승인요청창에 보낸다.
|
||||
if(rows.Any()==false)
|
||||
if (rows.Any() == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("대상 데이터가 없습니다.");
|
||||
return;
|
||||
@@ -1567,26 +1322,46 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
private void 현재목록메일전송ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
private void 현재목록ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
var cate = "PO";
|
||||
MailSendNoForm(true);
|
||||
}
|
||||
|
||||
var db = new DataClasses1DataContext();
|
||||
var dr = db.MailForm.Where(t => t.cate == cate).FirstOrDefault();
|
||||
private void 현재목록입고양식ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MailSendNoForm(true, "PC");
|
||||
}
|
||||
void MailSendNoForm(bool alldata, string cate = "")
|
||||
{
|
||||
var form_subject = "";
|
||||
var form_body = "";
|
||||
var form_to = "";
|
||||
var form_cc = "{요청}";
|
||||
var form_bcc = "";//f.tbBcc.Text.Trim();
|
||||
bool attachfile = true;
|
||||
bool attachlist = true;
|
||||
|
||||
if (cate.isEmpty() == false)
|
||||
{
|
||||
var db = new DataClasses1DataContext();
|
||||
var dr = db.MailForm.Where(t => t.cate == cate).FirstOrDefault();
|
||||
var f = new Purchase.fMailForm(cate);
|
||||
if (f.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
form_subject = f.tbSubject.Text.Trim();
|
||||
form_body = f.htmlEditor1.Html;
|
||||
form_to = f.tbTo.Text.Trim();
|
||||
form_cc = f.tbCC.Text.Trim();
|
||||
form_bcc = f.tbBcc.Text.Trim();
|
||||
attachfile = f.chkAttach.Checked;
|
||||
attachlist = f.chkList.Checked;
|
||||
}
|
||||
|
||||
//현재표시데이터중에 수신자목록을 가져온다
|
||||
var drows = (dsPurchase.EETGW_PurchaseEBRow[])(this.dsPurchase.EETGW_PurchaseEB.Select(this.bs.Filter, this.bs.Sort));
|
||||
var drows = this.GetDatarows(alldata);
|
||||
var grp_req = drows.Where(t => t.request.isEmpty() == false).GroupBy(t => t.request).Select(t => t.FirstOrDefault().request).ToList();
|
||||
var grp_rec = drows.Where(t => t.receive.isEmpty() == false).GroupBy(t => t.receive).Select(t => t.FirstOrDefault().receive).ToList();
|
||||
|
||||
var f = new Purchase.fMailForm(cate);
|
||||
if (f.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
var form_subject = f.tbSubject.Text.Trim();
|
||||
var form_body = f.htmlEditor1.Html;
|
||||
var form_to = f.tbTo.Text.Trim();
|
||||
var form_cc = f.tbCC.Text.Trim();
|
||||
var form_bcc = f.tbBcc.Text.Trim();
|
||||
|
||||
List<string> tolist = new List<string>(); //최종받는사람
|
||||
List<string> cclist = new List<string>();
|
||||
@@ -1630,117 +1405,23 @@ namespace FEQ0000
|
||||
newMail.To = string.Join(";", tolist.ToArray());
|
||||
newMail.CC = string.Join(";", cclist.ToArray());
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
if (f.chkAttach.Checked)
|
||||
string fn = "";
|
||||
if (attachfile)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\PurchaseListEB_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\PurchaseNRI_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
|
||||
///save file
|
||||
fpSpread1.SaveExcel(fi.FullName,
|
||||
FarPoint.Excel.ExcelSaveFlags.SaveAsViewed
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveAsFiltered
|
||||
| FarPoint.Excel.ExcelSaveFlags.NoFormulas
|
||||
| FarPoint.Excel.ExcelSaveFlags.SaveCustomColumnHeaders);
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
fn = fi.FullName;
|
||||
}
|
||||
if (f.chkList.Checked)
|
||||
|
||||
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(drows, fn);
|
||||
if (attachlist)
|
||||
{
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<thead>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>신청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>요청</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>CR/CF</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수령</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>SID</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>품명</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>규격</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>수량</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>단가</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>금액</td>");
|
||||
sb.AppendLine("<td style='text-align:center;background-color: aqua;'>공급</td>");
|
||||
sb.AppendLine("</thead>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
var col_신청 = fpSpread1_Sheet1.Columns["pdate"].Index;
|
||||
var col_요청 = fpSpread1_Sheet1.Columns["requestName"].Index;
|
||||
var col_CRLF = fpSpread1_Sheet1.Columns["crcf"].Index;
|
||||
|
||||
var col_수령 = fpSpread1_Sheet1.Columns["receiveName"].Index;
|
||||
var col_SID = fpSpread1_Sheet1.Columns["sid"].Index;
|
||||
var col_품명 = fpSpread1_Sheet1.Columns["pumname"].Index;
|
||||
var col_규격 = fpSpread1_Sheet1.Columns["pumscale"].Index;
|
||||
var col_수량 = fpSpread1_Sheet1.Columns["pumqty"].Index;
|
||||
var col_단가 = fpSpread1_Sheet1.Columns["pumprice"].Index;
|
||||
var col_금액 = fpSpread1_Sheet1.Columns["pumamt"].Index;
|
||||
var col_공급 = fpSpread1_Sheet1.Columns["supply"].Index;
|
||||
var col_비고 = fpSpread1_Sheet1.Columns["bigo"].Index;
|
||||
|
||||
|
||||
for (int i = 0; i < this.fpSpread1_Sheet1.RowCount; i++)
|
||||
{
|
||||
var v신청 = fpSpread1_Sheet1.Cells[i, col_신청].Value;
|
||||
var v요청 = fpSpread1_Sheet1.Cells[i, col_요청].Value;
|
||||
var vCRCF = fpSpread1_Sheet1.Cells[i, col_CRLF].Value;
|
||||
|
||||
var v수령 = fpSpread1_Sheet1.Cells[i, col_수령].Value;
|
||||
var vSID = fpSpread1_Sheet1.Cells[i, col_SID].Value;
|
||||
var v품명 = fpSpread1_Sheet1.Cells[i, col_품명].Value;
|
||||
var v규격 = fpSpread1_Sheet1.Cells[i, col_규격].Value;
|
||||
var v수량 = fpSpread1_Sheet1.Cells[i, col_수량].Value;
|
||||
var v단가 = fpSpread1_Sheet1.Cells[i, col_단가].Value;
|
||||
var v금액 = fpSpread1_Sheet1.Cells[i, col_금액].Value;
|
||||
var v공급 = fpSpread1_Sheet1.Cells[i, col_공급].Value;
|
||||
var v비고 = fpSpread1_Sheet1.Cells[i, col_비고].Value;
|
||||
|
||||
var s신청 = String.Empty;
|
||||
var s요청 = String.Empty;
|
||||
var sCRCF = String.Empty;
|
||||
var s수령 = String.Empty;
|
||||
var sSID = String.Empty;
|
||||
var s품명 = String.Empty;
|
||||
var s규격 = String.Empty;
|
||||
var s수량 = "0";
|
||||
var s단가 = "0";
|
||||
var s금액 = "0";
|
||||
var s입고 = String.Empty;
|
||||
var s공급 = String.Empty;
|
||||
var s비고 = String.Empty;
|
||||
|
||||
if (v신청 != null) s신청 = v신청.ToString();
|
||||
if (v요청 != null) s요청 = v요청.ToString();
|
||||
if (vCRCF != null) sCRCF = vCRCF.ToString();
|
||||
if (v수령 != null) s수령 = v수령.ToString();
|
||||
if (vSID != null) sSID = vSID.ToString();
|
||||
if (v품명 != null) s품명 = v품명.ToString();
|
||||
if (v규격 != null) s규격 = v규격.ToString();
|
||||
if (v수량 != null) s수량 = v수량.ToString();
|
||||
if (v단가 != null) s단가 = v단가.ToString();
|
||||
if (v금액 != null) s금액 = v금액.ToString();
|
||||
if (v공급 != null) s공급 = v공급.ToString();
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s신청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s요청) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sCRCF) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s수령) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(sSID) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s품명) + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s규격) + "</td>");
|
||||
sb.AppendLine("<td style='text-align:center'>" + int.Parse(s수량).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s단가).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td style='text-align:right'>" + int.Parse(s금액).ToString("N0") + "</td>");
|
||||
sb.AppendLine("<td>" + getmaxstr(s공급) + "</td>");
|
||||
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
form_body += sb.ToString();
|
||||
form_body += "<br />" + tabledata;
|
||||
}
|
||||
|
||||
if (fn.isEmpty() == false)
|
||||
newMail.Attachments.Add(fn);
|
||||
|
||||
//newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
form_body = form_body.Replace("{DATE}", datestr);
|
||||
newMail.HTMLBody = form_body + newMail.HTMLBody; //
|
||||
@@ -1751,5 +1432,15 @@ namespace FEQ0000
|
||||
"아웃룩의 설정이 정상인지 확인하세요");
|
||||
}
|
||||
}
|
||||
|
||||
private void 선택목록ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MailSendNoForm(false);
|
||||
}
|
||||
|
||||
private void 선택목록입고양식ToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
MailSendNoForm(false, "PC");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -296,7 +296,7 @@
|
||||
brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII=
|
||||
</value>
|
||||
</data>
|
||||
<data name="입고품목메일전송ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<data name="메일전송ToolStripMenuItem.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
R0lGODlhEAAQAIQfAPr8/VVritvj7IqsyElVa+Ps9MvT2rvc/aPQ/KrU/Or0/nmYspzN/LbZ/FJgeXiQ
|
||||
q0NLXHWPrJnA1sDf/CkxQ9RSXD5FVa/X/H2fudPn8HyjwMPg/WV/nG+Or////////yH/C05FVFNDQVBF
|
||||
|
||||
@@ -40,6 +40,7 @@ namespace FEQ0000
|
||||
|
||||
this.bs.DataSource = rows;
|
||||
this.dataGridView1.DataError += (s1, e1) => { };
|
||||
this.dataGridView1.EditMode = DataGridViewEditMode.EditOnKeystroke;
|
||||
}
|
||||
|
||||
private void FPurchase_FormClosing(object sender, FormClosingEventArgs e)
|
||||
@@ -312,11 +313,6 @@ namespace FEQ0000
|
||||
|
||||
}
|
||||
|
||||
private void toolStripButton3_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void bs_CurrentChanged(object sender, EventArgs e)
|
||||
{
|
||||
var dr = bs.Current as dsPurchase.PurchaseRow;
|
||||
@@ -326,10 +322,6 @@ namespace FEQ0000
|
||||
//else richTextBox2.Text = dr.bigo;
|
||||
}
|
||||
|
||||
private void toolStripButton4_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
string getmaxstr(string src, int len = 30)
|
||||
{
|
||||
@@ -441,77 +433,25 @@ namespace FEQ0000
|
||||
newMail.To = string.Join(";", tolist.ToArray());
|
||||
newMail.CC = string.Join(";", cclist.ToArray());
|
||||
newMail.BCC = string.Join(";", bcclist.ToArray());
|
||||
string fn = "";
|
||||
if (f.chkAttach.Checked)
|
||||
{
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\Purchase_confirm_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
var fi = new System.IO.FileInfo(FCOMMON.Util.CurrentPath + "\\Export\\PurchaseNR_confirmeb_" + DateTime.Now.ToString("yyyyMMddHHmmssfff") + ".xls");
|
||||
if (fi.Directory.Exists == false) fi.Directory.Create();
|
||||
fn = fi.FullName;
|
||||
//FCOMMON.Util.savetoexcel(this.dataGridView1, fi.FullName);
|
||||
|
||||
FCOMMON.Util.savetoexcel(this.dataGridView1, fi.FullName);
|
||||
|
||||
|
||||
newMail.Attachments.Add(fi.FullName);
|
||||
//newMail.Attachments.Add(fi.FullName);
|
||||
}
|
||||
if (f.chkList.Checked)
|
||||
{
|
||||
var rows = this.rows;
|
||||
var tabledata = UTIL_EQ0000.MakeDataTableToHTML(rows, fn);
|
||||
|
||||
//목록을 본문에 추가한다
|
||||
System.Text.StringBuilder sb = new StringBuilder();
|
||||
|
||||
sb.AppendLine("<table border='1' cellspacing='0' cellpadding='1'>");
|
||||
sb.AppendLine("<thead>");
|
||||
|
||||
foreach (DataGridViewColumn col in this.dataGridView1.Columns)
|
||||
{
|
||||
if (col.DataPropertyName.ToLower() == "pumqty") continue;
|
||||
sb.AppendLine($"<td style='text-align:center;background-color: aqua;'>{col.HeaderText}</td>");
|
||||
}
|
||||
sb.AppendLine("</thead>");
|
||||
sb.AppendLine("<tbody>");
|
||||
|
||||
for (int i = 0; i < this.dataGridView1.RowCount; i++)
|
||||
{
|
||||
|
||||
sb.AppendLine("<tr>");
|
||||
|
||||
foreach (DataGridViewColumn col in this.dataGridView1.Columns)
|
||||
{
|
||||
if (col.DataPropertyName.ToLower() == "pumqty") continue;
|
||||
var v = dataGridView1.Rows[i].Cells[col.Index].Value;
|
||||
string value = "";
|
||||
if (v != null) value = v.ToString();
|
||||
|
||||
if (col.ValueType == typeof(int))
|
||||
{
|
||||
var ivalue = (int)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N0}</td>");
|
||||
}
|
||||
else if (col.ValueType == typeof(decimal))
|
||||
{
|
||||
var ivalue = (decimal)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N0}</td>");
|
||||
}
|
||||
else if (col.ValueType == typeof(float))
|
||||
{
|
||||
var ivalue = (float)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N1}</td>");
|
||||
}
|
||||
else if (col.ValueType == typeof(double))
|
||||
{
|
||||
var ivalue = (double)v;
|
||||
sb.AppendLine($"<td style='text-align:center'>{ivalue:N1}</td>");
|
||||
}
|
||||
else sb.AppendLine($"<td>{getmaxstr(value)}</td>");
|
||||
}
|
||||
sb.AppendLine("</tr>");
|
||||
}
|
||||
sb.AppendLine("</tbody>");
|
||||
sb.AppendLine("</table>");
|
||||
sb.AppendLine($"항목:{this.bs.Count}건,합계금액:{lbSum.Text}");
|
||||
form_body = form_body.Replace("{body}", sb.ToString());
|
||||
}
|
||||
|
||||
//newMail.BodyFormat = OlBodyFormat.olFormatHTML;
|
||||
if (fn.isEmpty() == false)
|
||||
newMail.Attachments.Add(fn);
|
||||
|
||||
form_body = form_body.Replace("{body}", tabledata);
|
||||
newMail.HTMLBody = form_body + newMail.HTMLBody; //
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -63,6 +63,9 @@ namespace FEQ0000.Purchase
|
||||
this.tbPrjName = new System.Windows.Forms.TextBox();
|
||||
this.tbIdx = new System.Windows.Forms.TextBox();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.tbSCRCF = new System.Windows.Forms.TextBox();
|
||||
this.tbSC = new System.Windows.Forms.TextBox();
|
||||
this.tbSID = new System.Windows.Forms.TextBox();
|
||||
this.tbRemarkO = new System.Windows.Forms.TextBox();
|
||||
this.tbAmt = new System.Windows.Forms.TextBox();
|
||||
this.tbPriceO = new System.Windows.Forms.TextBox();
|
||||
@@ -82,9 +85,6 @@ namespace FEQ0000.Purchase
|
||||
this.dtInDate = new System.Windows.Forms.DateTimePicker();
|
||||
this.btOK = new System.Windows.Forms.Button();
|
||||
this.arLabel3 = new System.Windows.Forms.Label();
|
||||
this.tbSID = new System.Windows.Forms.TextBox();
|
||||
this.tbSCRCF = new System.Windows.Forms.TextBox();
|
||||
this.tbSC = new System.Windows.Forms.TextBox();
|
||||
label17 = new System.Windows.Forms.Label();
|
||||
label12 = new System.Windows.Forms.Label();
|
||||
label11 = new System.Windows.Forms.Label();
|
||||
@@ -276,6 +276,45 @@ namespace FEQ0000.Purchase
|
||||
label1.TabIndex = 98;
|
||||
label1.Text = "수량/단가/금액";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
label10.AutoSize = true;
|
||||
label10.Location = new System.Drawing.Point(40, 171);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new System.Drawing.Size(58, 12);
|
||||
label10.TabIndex = 109;
|
||||
label10.Text = "SCR/CF#";
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.AutoSize = true;
|
||||
label15.Location = new System.Drawing.Point(76, 152);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new System.Drawing.Size(22, 12);
|
||||
label15.TabIndex = 110;
|
||||
label15.Text = "SC";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
label14.AutoSize = true;
|
||||
label14.Font = new System.Drawing.Font("맑은 고딕", 15F);
|
||||
label14.Location = new System.Drawing.Point(67, 303);
|
||||
label14.Name = "label14";
|
||||
label14.Size = new System.Drawing.Size(38, 28);
|
||||
label14.TabIndex = 115;
|
||||
label14.Text = "PO";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
label7.AutoSize = true;
|
||||
label7.Font = new System.Drawing.Font("맑은 고딕", 15F);
|
||||
label7.Location = new System.Drawing.Point(53, 221);
|
||||
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new System.Drawing.Size(52, 28);
|
||||
label7.TabIndex = 116;
|
||||
label7.Text = "비고";
|
||||
//
|
||||
// panel1
|
||||
//
|
||||
this.panel1.BackColor = System.Drawing.Color.Gainsboro;
|
||||
@@ -303,7 +342,7 @@ namespace FEQ0000.Purchase
|
||||
this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.panel1.Name = "panel1";
|
||||
this.panel1.Size = new System.Drawing.Size(582, 171);
|
||||
this.panel1.Size = new System.Drawing.Size(985, 171);
|
||||
this.panel1.TabIndex = 87;
|
||||
//
|
||||
// tbPrjStatus
|
||||
@@ -388,7 +427,7 @@ namespace FEQ0000.Purchase
|
||||
this.arLabel2.ForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel2.Location = new System.Drawing.Point(0, 0);
|
||||
this.arLabel2.Name = "arLabel2";
|
||||
this.arLabel2.Size = new System.Drawing.Size(582, 23);
|
||||
this.arLabel2.Size = new System.Drawing.Size(985, 23);
|
||||
this.arLabel2.TabIndex = 86;
|
||||
this.arLabel2.Text = "프로젝트";
|
||||
this.arLabel2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -435,9 +474,40 @@ namespace FEQ0000.Purchase
|
||||
this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.panel2.Location = new System.Drawing.Point(0, 171);
|
||||
this.panel2.Name = "panel2";
|
||||
this.panel2.Size = new System.Drawing.Size(582, 192);
|
||||
this.panel2.Size = new System.Drawing.Size(985, 192);
|
||||
this.panel2.TabIndex = 88;
|
||||
//
|
||||
// tbSCRCF
|
||||
//
|
||||
this.tbSCRCF.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbSCRCF.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbSCRCF.Location = new System.Drawing.Point(338, 147);
|
||||
this.tbSCRCF.Name = "tbSCRCF";
|
||||
this.tbSCRCF.ReadOnly = true;
|
||||
this.tbSCRCF.Size = new System.Drawing.Size(232, 38);
|
||||
this.tbSCRCF.TabIndex = 112;
|
||||
//
|
||||
// tbSC
|
||||
//
|
||||
this.tbSC.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbSC.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbSC.Location = new System.Drawing.Point(104, 147);
|
||||
this.tbSC.Name = "tbSC";
|
||||
this.tbSC.ReadOnly = true;
|
||||
this.tbSC.Size = new System.Drawing.Size(232, 38);
|
||||
this.tbSC.TabIndex = 111;
|
||||
//
|
||||
// tbSID
|
||||
//
|
||||
this.tbSID.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbSID.Location = new System.Drawing.Point(433, 53);
|
||||
this.tbSID.Name = "tbSID";
|
||||
this.tbSID.ReadOnly = true;
|
||||
this.tbSID.Size = new System.Drawing.Size(137, 30);
|
||||
this.tbSID.TabIndex = 108;
|
||||
this.tbSID.Text = "000000000";
|
||||
this.tbSID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbRemarkO
|
||||
//
|
||||
this.tbRemarkO.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
@@ -507,7 +577,7 @@ namespace FEQ0000.Purchase
|
||||
this.arLabel1.ForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel1.Location = new System.Drawing.Point(0, 0);
|
||||
this.arLabel1.Name = "arLabel1";
|
||||
this.arLabel1.Size = new System.Drawing.Size(582, 23);
|
||||
this.arLabel1.Size = new System.Drawing.Size(985, 23);
|
||||
this.arLabel1.TabIndex = 86;
|
||||
this.arLabel1.Text = "품목정보";
|
||||
this.arLabel1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
@@ -560,7 +630,7 @@ namespace FEQ0000.Purchase
|
||||
this.panel3.Location = new System.Drawing.Point(0, 363);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Padding = new System.Windows.Forms.Padding(0, 0, 10, 10);
|
||||
this.panel3.Size = new System.Drawing.Size(582, 351);
|
||||
this.panel3.Size = new System.Drawing.Size(985, 351);
|
||||
this.panel3.TabIndex = 89;
|
||||
//
|
||||
// tbInPrice
|
||||
@@ -637,7 +707,7 @@ namespace FEQ0000.Purchase
|
||||
//
|
||||
this.btOK.Dock = System.Windows.Forms.DockStyle.Right;
|
||||
this.btOK.Font = new System.Drawing.Font("맑은 고딕", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.btOK.Location = new System.Drawing.Point(433, 23);
|
||||
this.btOK.Location = new System.Drawing.Point(836, 23);
|
||||
this.btOK.Name = "btOK";
|
||||
this.btOK.Size = new System.Drawing.Size(139, 318);
|
||||
this.btOK.TabIndex = 102;
|
||||
@@ -654,81 +724,11 @@ namespace FEQ0000.Purchase
|
||||
this.arLabel3.ForeColor = System.Drawing.Color.Black;
|
||||
this.arLabel3.Location = new System.Drawing.Point(0, 0);
|
||||
this.arLabel3.Name = "arLabel3";
|
||||
this.arLabel3.Size = new System.Drawing.Size(572, 23);
|
||||
this.arLabel3.Size = new System.Drawing.Size(975, 23);
|
||||
this.arLabel3.TabIndex = 86;
|
||||
this.arLabel3.Text = "입고정보";
|
||||
this.arLabel3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// tbSID
|
||||
//
|
||||
this.tbSID.Font = new System.Drawing.Font("Microsoft Sans Serif", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbSID.Location = new System.Drawing.Point(433, 53);
|
||||
this.tbSID.Name = "tbSID";
|
||||
this.tbSID.ReadOnly = true;
|
||||
this.tbSID.Size = new System.Drawing.Size(137, 30);
|
||||
this.tbSID.TabIndex = 108;
|
||||
this.tbSID.Text = "000000000";
|
||||
this.tbSID.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
//
|
||||
// tbSCRCF
|
||||
//
|
||||
this.tbSCRCF.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbSCRCF.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbSCRCF.Location = new System.Drawing.Point(338, 147);
|
||||
this.tbSCRCF.Name = "tbSCRCF";
|
||||
this.tbSCRCF.ReadOnly = true;
|
||||
this.tbSCRCF.Size = new System.Drawing.Size(232, 38);
|
||||
this.tbSCRCF.TabIndex = 112;
|
||||
//
|
||||
// tbSC
|
||||
//
|
||||
this.tbSC.Font = new System.Drawing.Font("굴림", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
this.tbSC.ImeMode = System.Windows.Forms.ImeMode.Hangul;
|
||||
this.tbSC.Location = new System.Drawing.Point(104, 147);
|
||||
this.tbSC.Name = "tbSC";
|
||||
this.tbSC.ReadOnly = true;
|
||||
this.tbSC.Size = new System.Drawing.Size(232, 38);
|
||||
this.tbSC.TabIndex = 111;
|
||||
//
|
||||
// label10
|
||||
//
|
||||
label10.AutoSize = true;
|
||||
label10.Location = new System.Drawing.Point(40, 171);
|
||||
label10.Name = "label10";
|
||||
label10.Size = new System.Drawing.Size(58, 12);
|
||||
label10.TabIndex = 109;
|
||||
label10.Text = "SCR/CF#";
|
||||
//
|
||||
// label15
|
||||
//
|
||||
label15.AutoSize = true;
|
||||
label15.Location = new System.Drawing.Point(76, 152);
|
||||
label15.Name = "label15";
|
||||
label15.Size = new System.Drawing.Size(22, 12);
|
||||
label15.TabIndex = 110;
|
||||
label15.Text = "SC";
|
||||
//
|
||||
// label14
|
||||
//
|
||||
label14.AutoSize = true;
|
||||
label14.Font = new System.Drawing.Font("맑은 고딕", 15F);
|
||||
label14.Location = new System.Drawing.Point(67, 303);
|
||||
label14.Name = "label14";
|
||||
label14.Size = new System.Drawing.Size(38, 28);
|
||||
label14.TabIndex = 115;
|
||||
label14.Text = "PO";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
label7.AutoSize = true;
|
||||
label7.Font = new System.Drawing.Font("맑은 고딕", 15F);
|
||||
label7.Location = new System.Drawing.Point(53, 221);
|
||||
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label7.Name = "label7";
|
||||
label7.Size = new System.Drawing.Size(52, 28);
|
||||
label7.TabIndex = 116;
|
||||
label7.Text = "비고";
|
||||
//
|
||||
// fPurchaseNR_Ipgo
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
|
||||
|
||||
@@ -14,13 +14,14 @@ namespace FEQ0000.Purchase
|
||||
{
|
||||
int idx = -1;
|
||||
string po = string.Empty;
|
||||
public fPurchaseNR_Ipgo(int purchaseIdx,string po_)
|
||||
public fPurchaseNR_Ipgo(int purchaseIdx, string po_)
|
||||
{
|
||||
InitializeComponent();
|
||||
this.po = po_;
|
||||
this.idx = purchaseIdx;
|
||||
this.KeyPreview = true;
|
||||
this.KeyDown += (s1, e1) => {
|
||||
this.KeyDown += (s1, e1) =>
|
||||
{
|
||||
if (e1.KeyCode == Keys.Escape) this.Close();
|
||||
};
|
||||
}
|
||||
@@ -122,16 +123,24 @@ namespace FEQ0000.Purchase
|
||||
cmbReceive.Focus();
|
||||
return;
|
||||
}
|
||||
var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter ();
|
||||
var ta = new dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
var dr = ta.GetByIdx(this.idx).First();
|
||||
if (chkInDate.Checked == false)
|
||||
{
|
||||
if (dr.IsindateNull() == false)
|
||||
{
|
||||
if (dr.indate.isEmpty() == false)
|
||||
{
|
||||
if (FCOMMON.Util.MsgQ("입고정보를 삭제할까요? 상태는 [PR]로 전환됩니다.") != DialogResult.Yes) return;
|
||||
}
|
||||
}
|
||||
|
||||
dr.indate = string.Empty;
|
||||
dr.receive = string.Empty;
|
||||
// dr.receiveName = string.Empty;
|
||||
dr.inqty = 0;
|
||||
dr.inremark = string.Empty;
|
||||
if (prestatus == "Received") dr.state = "---";
|
||||
if (prestatus == "Received") dr.state = "PO";
|
||||
else dr.state = prestatus;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -180,16 +180,4 @@
|
||||
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label10.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label15.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label14.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
<metadata name="label7.GenerateMember" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
|
||||
<value>False</value>
|
||||
</metadata>
|
||||
</root>
|
||||
@@ -77,7 +77,6 @@
|
||||
this.cmbState = new System.Windows.Forms.ComboBox();
|
||||
this.cmbRequest = new System.Windows.Forms.ComboBox();
|
||||
this.cmbReceive = new System.Windows.Forms.ComboBox();
|
||||
this.tbPumIDX = new System.Windows.Forms.TextBox();
|
||||
this.dtInDate = new System.Windows.Forms.DateTimePicker();
|
||||
this.chkInDate = new System.Windows.Forms.CheckBox();
|
||||
this.dtExpDate = new System.Windows.Forms.DateTimePicker();
|
||||
@@ -118,6 +117,7 @@
|
||||
this.dsPurchase = new FEQ0000.dsPurchase();
|
||||
this.bs = new System.Windows.Forms.BindingSource(this.components);
|
||||
this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter();
|
||||
this.tbPumIDX = new System.Windows.Forms.Button();
|
||||
processLabel = new System.Windows.Forms.Label();
|
||||
receiveLabel = new System.Windows.Forms.Label();
|
||||
scLabel = new System.Windows.Forms.Label();
|
||||
@@ -216,7 +216,7 @@
|
||||
// pumpriceLabel
|
||||
//
|
||||
pumpriceLabel.AutoSize = true;
|
||||
pumpriceLabel.Location = new System.Drawing.Point(7, 176);
|
||||
pumpriceLabel.Location = new System.Drawing.Point(7, 175);
|
||||
pumpriceLabel.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
pumpriceLabel.Name = "pumpriceLabel";
|
||||
pumpriceLabel.Size = new System.Drawing.Size(79, 20);
|
||||
@@ -330,7 +330,7 @@
|
||||
//
|
||||
label7.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
label7.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129)));
|
||||
label7.Location = new System.Drawing.Point(11, 661);
|
||||
label7.Location = new System.Drawing.Point(11, 640);
|
||||
label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
label7.Name = "label7";
|
||||
label7.Padding = new System.Windows.Forms.Padding(5);
|
||||
@@ -434,7 +434,7 @@
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.Location = new System.Drawing.Point(277, 177);
|
||||
this.label18.Location = new System.Drawing.Point(277, 175);
|
||||
this.label18.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(198, 20);
|
||||
@@ -602,7 +602,7 @@
|
||||
//
|
||||
// btSave
|
||||
//
|
||||
this.btSave.Location = new System.Drawing.Point(11, 770);
|
||||
this.btSave.Location = new System.Drawing.Point(11, 749);
|
||||
this.btSave.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.btSave.Name = "btSave";
|
||||
this.btSave.Size = new System.Drawing.Size(490, 43);
|
||||
@@ -650,18 +650,6 @@
|
||||
this.cmbReceive.Size = new System.Drawing.Size(286, 28);
|
||||
this.cmbReceive.TabIndex = 5;
|
||||
//
|
||||
// tbPumIDX
|
||||
//
|
||||
this.tbPumIDX.Location = new System.Drawing.Point(410, 79);
|
||||
this.tbPumIDX.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.tbPumIDX.Name = "tbPumIDX";
|
||||
this.tbPumIDX.ReadOnly = true;
|
||||
this.tbPumIDX.Size = new System.Drawing.Size(64, 27);
|
||||
this.tbPumIDX.TabIndex = 8;
|
||||
this.tbPumIDX.TabStop = false;
|
||||
this.tbPumIDX.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||
this.toolTip1.SetToolTip(this.tbPumIDX, "Database ID");
|
||||
//
|
||||
// dtInDate
|
||||
//
|
||||
this.dtInDate.Location = new System.Drawing.Point(112, 297);
|
||||
@@ -708,7 +696,7 @@
|
||||
//
|
||||
// btSaveAdd
|
||||
//
|
||||
this.btSaveAdd.Location = new System.Drawing.Point(511, 770);
|
||||
this.btSaveAdd.Location = new System.Drawing.Point(511, 749);
|
||||
this.btSaveAdd.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.btSaveAdd.Name = "btSaveAdd";
|
||||
this.btSaveAdd.Size = new System.Drawing.Size(410, 43);
|
||||
@@ -719,6 +707,7 @@
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.tbPumIDX);
|
||||
this.groupBox1.Controls.Add(this.tbStorage);
|
||||
this.groupBox1.Controls.Add(this.label18);
|
||||
this.groupBox1.Controls.Add(this.cmbRemark);
|
||||
@@ -745,7 +734,6 @@
|
||||
this.groupBox1.Controls.Add(deptLabel);
|
||||
this.groupBox1.Controls.Add(this.tbSupplyIndex);
|
||||
this.groupBox1.Controls.Add(pumamtLabel);
|
||||
this.groupBox1.Controls.Add(this.tbPumIDX);
|
||||
this.groupBox1.Controls.Add(this.cmbState);
|
||||
this.groupBox1.Controls.Add(this.tbSID);
|
||||
this.groupBox1.Controls.Add(this.tbQtyReq);
|
||||
@@ -766,7 +754,7 @@
|
||||
this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox1.Name = "groupBox1";
|
||||
this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox1.Size = new System.Drawing.Size(490, 651);
|
||||
this.groupBox1.Size = new System.Drawing.Size(490, 628);
|
||||
this.groupBox1.TabIndex = 0;
|
||||
this.groupBox1.TabStop = false;
|
||||
this.groupBox1.Text = "필수입력";
|
||||
@@ -859,9 +847,9 @@
|
||||
// btSIDChk
|
||||
//
|
||||
this.btSIDChk.BackColor = System.Drawing.Color.Gray;
|
||||
this.btSIDChk.Location = new System.Drawing.Point(279, 264);
|
||||
this.btSIDChk.Location = new System.Drawing.Point(274, 264);
|
||||
this.btSIDChk.Name = "btSIDChk";
|
||||
this.btSIDChk.Size = new System.Drawing.Size(196, 34);
|
||||
this.btSIDChk.Size = new System.Drawing.Size(201, 34);
|
||||
this.btSIDChk.TabIndex = 27;
|
||||
this.btSIDChk.Text = "SID 검사(SPR/NR)";
|
||||
this.btSIDChk.UseVisualStyleBackColor = false;
|
||||
@@ -951,7 +939,7 @@
|
||||
this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox2.Name = "groupBox2";
|
||||
this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
|
||||
this.groupBox2.Size = new System.Drawing.Size(409, 650);
|
||||
this.groupBox2.Size = new System.Drawing.Size(409, 627);
|
||||
this.groupBox2.TabIndex = 0;
|
||||
this.groupBox2.TabStop = false;
|
||||
this.groupBox2.Text = "추가정보";
|
||||
@@ -1064,7 +1052,7 @@
|
||||
//
|
||||
// button7
|
||||
//
|
||||
this.button7.Location = new System.Drawing.Point(4, 615);
|
||||
this.button7.Location = new System.Drawing.Point(14, 590);
|
||||
this.button7.Name = "button7";
|
||||
this.button7.Size = new System.Drawing.Size(93, 27);
|
||||
this.button7.TabIndex = 29;
|
||||
@@ -1083,7 +1071,7 @@
|
||||
//
|
||||
// button6
|
||||
//
|
||||
this.button6.Location = new System.Drawing.Point(4, 583);
|
||||
this.button6.Location = new System.Drawing.Point(14, 558);
|
||||
this.button6.Name = "button6";
|
||||
this.button6.Size = new System.Drawing.Size(93, 27);
|
||||
this.button6.TabIndex = 28;
|
||||
@@ -1093,7 +1081,7 @@
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Location = new System.Drawing.Point(4, 551);
|
||||
this.button5.Location = new System.Drawing.Point(14, 526);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(93, 27);
|
||||
this.button5.TabIndex = 27;
|
||||
@@ -1103,7 +1091,7 @@
|
||||
//
|
||||
// button4
|
||||
//
|
||||
this.button4.Location = new System.Drawing.Point(4, 519);
|
||||
this.button4.Location = new System.Drawing.Point(14, 494);
|
||||
this.button4.Name = "button4";
|
||||
this.button4.Size = new System.Drawing.Size(93, 27);
|
||||
this.button4.TabIndex = 26;
|
||||
@@ -1125,7 +1113,7 @@
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackColor = System.Drawing.Color.Gray;
|
||||
this.pictureBox1.Location = new System.Drawing.Point(104, 519);
|
||||
this.pictureBox1.Location = new System.Drawing.Point(114, 494);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(286, 123);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
|
||||
@@ -1152,11 +1140,20 @@
|
||||
//
|
||||
this.ta.ClearBeforeFill = true;
|
||||
//
|
||||
// tbPumIDX
|
||||
//
|
||||
this.tbPumIDX.Location = new System.Drawing.Point(410, 79);
|
||||
this.tbPumIDX.Name = "tbPumIDX";
|
||||
this.tbPumIDX.Size = new System.Drawing.Size(65, 27);
|
||||
this.tbPumIDX.TabIndex = 53;
|
||||
this.tbPumIDX.UseVisualStyleBackColor = true;
|
||||
this.tbPumIDX.Click += new System.EventHandler(this.tbPumIDX_Click);
|
||||
//
|
||||
// fPurchase_Add
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(929, 821);
|
||||
this.ClientSize = new System.Drawing.Size(929, 796);
|
||||
this.Controls.Add(this.groupBox2);
|
||||
this.Controls.Add(this.groupBox1);
|
||||
this.Controls.Add(this.btSaveAdd);
|
||||
@@ -1203,7 +1200,6 @@
|
||||
private System.Windows.Forms.ComboBox cmbState;
|
||||
private System.Windows.Forms.ComboBox cmbRequest;
|
||||
private System.Windows.Forms.ComboBox cmbReceive;
|
||||
private System.Windows.Forms.TextBox tbPumIDX;
|
||||
private System.Windows.Forms.DateTimePicker dtInDate;
|
||||
private System.Windows.Forms.CheckBox chkInDate;
|
||||
private System.Windows.Forms.DateTimePicker dtExpDate;
|
||||
@@ -1245,5 +1241,6 @@
|
||||
private System.Windows.Forms.Label label18;
|
||||
private System.Windows.Forms.DateTimePicker dtPrdate;
|
||||
private System.Windows.Forms.CheckBox chkprdate;
|
||||
private System.Windows.Forms.Button tbPumIDX;
|
||||
}
|
||||
}
|
||||
@@ -1380,5 +1380,29 @@ namespace FEQ0000
|
||||
btEQModel.BackColor = bgcolor;
|
||||
btManuProc.BackColor = bgcolor;
|
||||
}
|
||||
|
||||
private void tbPumIDX_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (int.TryParse(tbPumIDX.Text, out int pumidx) == false)
|
||||
{
|
||||
FCOMMON.Util.MsgE("품번호가 정확하지 않습니다\n품목을 다시 선택하세요");
|
||||
return;
|
||||
}
|
||||
if(pumidx < 0)
|
||||
{
|
||||
FCOMMON.Util.MsgE("품번호가 정확하지 않습니다\n품목을 다시 선택하세요");
|
||||
return;
|
||||
}
|
||||
var f = new FCM0000.Item.fItemEdit(pumidx);
|
||||
if (f.ShowDialog() != DialogResult.OK) return;
|
||||
|
||||
tbPumName.Text = f.tbName.Text;
|
||||
tbPumModel.Text = f.tbModel.Text;
|
||||
tbPumPrice.Text = f.tbPrice.Text;
|
||||
tbPumPriceD.Text = f.tbPriceD.Text;
|
||||
tbSupply.Text = f.tbSupply.Text;
|
||||
tbSupplyIndex.Text = f.tbSupplyIdx.Text;
|
||||
tbSID.Text = f.tbSid.Text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user