diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs index 15eb580..8affbb8 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.Designer.cs @@ -30,44 +30,44 @@ { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(fPurchaseCR)); - 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.NumberCellType numberCellType1 = new FarPoint.Win.Spread.CellType.NumberCellType(); - 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.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 textCellType12 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType4 = new FarPoint.Win.Spread.CellType.NumberCellType(); - 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 textCellType13 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType7 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType14 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType8 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType15 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType16 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType17 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType18 = new FarPoint.Win.Spread.CellType.TextCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType9 = new FarPoint.Win.Spread.CellType.NumberCellType(); - FarPoint.Win.Spread.CellType.TextCellType textCellType19 = new FarPoint.Win.Spread.CellType.TextCellType(); - 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.CheckBoxCellType checkBoxCellType3 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); - FarPoint.Win.Spread.CellType.NumberCellType numberCellType10 = 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.CheckBoxCellType checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType26 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType45 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType46 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType47 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType48 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType49 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType50 = new FarPoint.Win.Spread.CellType.TextCellType(); this.dsPurchase = new FEQ0000.dsPurchase(); this.bs = new System.Windows.Forms.BindingSource(this.components); this.ta = new FEQ0000.dsPurchaseTableAdapters.EETGW_PurchaseCRTableAdapter(); @@ -107,6 +107,8 @@ this.선택목록입고양식ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.엑셀에서가져오기ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.sAP구매신청엑셀작성ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); + this.btMakeItemsData = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton5 = new System.Windows.Forms.ToolStripDropDownButton(); this.선택해제ToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.toolStripButton6 = new System.Windows.Forms.ToolStripButton(); @@ -161,8 +163,6 @@ this.fpSpread1 = new FarPoint.Win.Spread.FpSpread(); this.fpSpread1_Sheet1 = new FarPoint.Win.Spread.SheetView(); this.label2 = new System.Windows.Forms.Label(); - this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator(); - this.btMakeItemsData = new System.Windows.Forms.ToolStripMenuItem(); ((System.ComponentModel.ISupportInitialize)(this.dsPurchase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bs)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bn)).BeginInit(); @@ -276,7 +276,6 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -403,7 +402,6 @@ // tbFind // this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbFind.Name = "tbFind"; this.tbFind.Size = new System.Drawing.Size(100, 26); this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); @@ -516,6 +514,18 @@ this.sAP구매신청엑셀작성ToolStripMenuItem.Text = "SAP 구매 신청 엑셀 작성"; this.sAP구매신청엑셀작성ToolStripMenuItem.Click += new System.EventHandler(this.sAP구매신청엑셀작성ToolStripMenuItem_Click); // + // toolStripMenuItem6 + // + this.toolStripMenuItem6.Name = "toolStripMenuItem6"; + this.toolStripMenuItem6.Size = new System.Drawing.Size(223, 6); + // + // btMakeItemsData + // + this.btMakeItemsData.Name = "btMakeItemsData"; + this.btMakeItemsData.Size = new System.Drawing.Size(226, 22); + this.btMakeItemsData.Text = "구매내역에서 품목정보 생성"; + this.btMakeItemsData.Click += new System.EventHandler(this.구매내역에서품목정보생성ToolStripMenuItem_Click); + // // toolStripButton5 // this.toolStripButton5.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { @@ -742,7 +752,6 @@ // dtSD // this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F); this.dtSD.Name = "dtSD"; this.dtSD.Size = new System.Drawing.Size(75, 37); this.dtSD.Text = "1982-11-23"; @@ -759,7 +768,6 @@ // dtED // this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F); this.dtED.Name = "dtED"; this.dtED.Size = new System.Drawing.Size(75, 37); this.dtED.Text = "1982-11-23"; @@ -816,7 +824,6 @@ // tbRequest // this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbRequest.Name = "tbRequest"; this.tbRequest.Size = new System.Drawing.Size(70, 37); this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -831,7 +838,6 @@ // tbManager // this.tbManager.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbManager.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbManager.Name = "tbManager"; this.tbManager.Size = new System.Drawing.Size(70, 37); this.tbManager.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -845,7 +851,6 @@ // tbAdmin // this.tbAdmin.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbAdmin.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbAdmin.Name = "tbAdmin"; this.tbAdmin.Size = new System.Drawing.Size(70, 37); this.tbAdmin.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -958,6 +963,7 @@ this.fpSpread1.Size = new System.Drawing.Size(1226, 569); this.fpSpread1.StatusBarVisible = true; this.fpSpread1.TabIndex = 7; + this.fpSpread1.EditModeOff += new System.EventHandler(this.fpSpread1_EditModeOff_1); this.fpSpread1.SetViewportLeftColumn(0, 0, 8); // // fpSpread1_Sheet1 @@ -1042,15 +1048,15 @@ this.fpSpread1_Sheet1.ColumnHeader.Cells.Get(1, 29).Value = "비고"; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(0).Height = 29F; this.fpSpread1_Sheet1.ColumnHeader.Rows.Get(1).Height = 35F; - this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType1; + this.fpSpread1_Sheet1.Columns.Get(0).CellType = checkBoxCellType4; this.fpSpread1_Sheet1.Columns.Get(0).DataField = "chk1"; this.fpSpread1_Sheet1.Columns.Get(0).Width = 33F; - this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType2; + this.fpSpread1_Sheet1.Columns.Get(1).CellType = checkBoxCellType5; this.fpSpread1_Sheet1.Columns.Get(1).DataField = "chk2"; this.fpSpread1_Sheet1.Columns.Get(1).Width = 37F; 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 = textCellType26; 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).Tag = "pdate"; @@ -1058,243 +1064,243 @@ this.fpSpread1_Sheet1.Columns.Get(2).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(3).AllowAutoFilter = true; this.fpSpread1_Sheet1.Columns.Get(3).BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); - this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType2; + this.fpSpread1_Sheet1.Columns.Get(3).CellType = textCellType27; this.fpSpread1_Sheet1.Columns.Get(3).DataField = "state"; this.fpSpread1_Sheet1.Columns.Get(3).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Tag = "state"; this.fpSpread1_Sheet1.Columns.Get(3).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(3).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(4).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType3; + this.fpSpread1_Sheet1.Columns.Get(4).CellType = textCellType28; this.fpSpread1_Sheet1.Columns.Get(4).DataField = "place"; this.fpSpread1_Sheet1.Columns.Get(4).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; 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 = textCellType29; this.fpSpread1_Sheet1.Columns.Get(5).DataField = "requestName"; this.fpSpread1_Sheet1.Columns.Get(5).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(5).Tag = "requestName"; this.fpSpread1_Sheet1.Columns.Get(5).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType5; + this.fpSpread1_Sheet1.Columns.Get(6).CellType = textCellType30; this.fpSpread1_Sheet1.Columns.Get(6).DataField = "costcenter"; this.fpSpread1_Sheet1.Columns.Get(6).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(6).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType6; + this.fpSpread1_Sheet1.Columns.Get(7).CellType = textCellType31; this.fpSpread1_Sheet1.Columns.Get(7).DataField = "linecode"; this.fpSpread1_Sheet1.Columns.Get(7).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(7).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType7; + this.fpSpread1_Sheet1.Columns.Get(8).CellType = textCellType32; this.fpSpread1_Sheet1.Columns.Get(8).DataField = "sc"; this.fpSpread1_Sheet1.Columns.Get(8).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Tag = "sc"; this.fpSpread1_Sheet1.Columns.Get(8).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(8).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(9).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType8; + this.fpSpread1_Sheet1.Columns.Get(9).CellType = textCellType33; this.fpSpread1_Sheet1.Columns.Get(9).DataField = "orderno"; this.fpSpread1_Sheet1.Columns.Get(9).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Tag = "crcf"; this.fpSpread1_Sheet1.Columns.Get(9).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(9).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType9; + this.fpSpread1_Sheet1.Columns.Get(10).CellType = textCellType34; this.fpSpread1_Sheet1.Columns.Get(10).DataField = "pumname"; this.fpSpread1_Sheet1.Columns.Get(10).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(10).Label = "품명"; this.fpSpread1_Sheet1.Columns.Get(10).Tag = "pumname"; this.fpSpread1_Sheet1.Columns.Get(10).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(11).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(11).CellType = numberCellType1; + numberCellType11.DecimalPlaces = 0; + numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType11.MaximumValue = 2147483647D; + numberCellType11.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(11).CellType = numberCellType11; this.fpSpread1_Sheet1.Columns.Get(11).DataField = "pumidx"; this.fpSpread1_Sheet1.Columns.Get(11).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(11).Label = "*"; this.fpSpread1_Sheet1.Columns.Get(11).Tag = "pumidx"; this.fpSpread1_Sheet1.Columns.Get(11).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType10; + this.fpSpread1_Sheet1.Columns.Get(12).CellType = textCellType35; this.fpSpread1_Sheet1.Columns.Get(12).DataField = "sid"; this.fpSpread1_Sheet1.Columns.Get(12).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(12).Label = "SID#"; this.fpSpread1_Sheet1.Columns.Get(12).Tag = "sid"; this.fpSpread1_Sheet1.Columns.Get(12).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType11; + this.fpSpread1_Sheet1.Columns.Get(13).CellType = textCellType36; this.fpSpread1_Sheet1.Columns.Get(13).DataField = "pumscale"; this.fpSpread1_Sheet1.Columns.Get(13).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(13).Label = "모델"; this.fpSpread1_Sheet1.Columns.Get(13).Tag = "pumscale"; this.fpSpread1_Sheet1.Columns.Get(13).Width = 51F; - numberCellType2.DecimalPlaces = 0; - numberCellType2.NegativeRed = true; - numberCellType2.NullDisplay = "--"; - numberCellType2.Separator = ","; - numberCellType2.ShowSeparator = true; - numberCellType2.ShrinkToFit = true; - this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType2; + numberCellType12.DecimalPlaces = 0; + numberCellType12.NegativeRed = true; + numberCellType12.NullDisplay = "--"; + numberCellType12.Separator = ","; + numberCellType12.ShowSeparator = true; + numberCellType12.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(14).CellType = numberCellType12; this.fpSpread1_Sheet1.Columns.Get(14).DataField = "pumqtyReq"; this.fpSpread1_Sheet1.Columns.Get(14).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(14).Label = "수량\r\n(요청)"; this.fpSpread1_Sheet1.Columns.Get(14).Tag = "pumqty"; this.fpSpread1_Sheet1.Columns.Get(14).Width = 51F; - numberCellType3.DecimalPlaces = 0; - this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType3; + numberCellType13.DecimalPlaces = 0; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType13; this.fpSpread1_Sheet1.Columns.Get(15).DataField = "pumqty"; this.fpSpread1_Sheet1.Columns.Get(15).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(15).Label = "수량\r\n(구매)\r\n"; this.fpSpread1_Sheet1.Columns.Get(15).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType12; + this.fpSpread1_Sheet1.Columns.Get(16).CellType = textCellType37; this.fpSpread1_Sheet1.Columns.Get(16).DataField = "pumunit"; this.fpSpread1_Sheet1.Columns.Get(16).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(16).Label = "단위"; this.fpSpread1_Sheet1.Columns.Get(16).Tag = "pumunit"; this.fpSpread1_Sheet1.Columns.Get(16).Width = 51F; - numberCellType4.DecimalPlaces = 2; - this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType4; + numberCellType14.DecimalPlaces = 2; + this.fpSpread1_Sheet1.Columns.Get(17).CellType = numberCellType14; this.fpSpread1_Sheet1.Columns.Get(17).DataField = "pumpriceD"; this.fpSpread1_Sheet1.Columns.Get(17).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(17).Label = "단가($)"; this.fpSpread1_Sheet1.Columns.Get(17).Tag = "pumpriceD"; this.fpSpread1_Sheet1.Columns.Get(17).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - 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(18).CellType = numberCellType5; + numberCellType15.DecimalPlaces = 0; + numberCellType15.MaximumValue = 9999999999999.99D; + numberCellType15.MinimumValue = -9999999999999.99D; + numberCellType15.NegativeRed = true; + numberCellType15.NullDisplay = "--"; + numberCellType15.Separator = ","; + numberCellType15.ShowSeparator = true; + numberCellType15.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(18).CellType = numberCellType15; this.fpSpread1_Sheet1.Columns.Get(18).DataField = "pumprice"; this.fpSpread1_Sheet1.Columns.Get(18).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(18).Label = "단가"; this.fpSpread1_Sheet1.Columns.Get(18).Tag = "pumprice"; this.fpSpread1_Sheet1.Columns.Get(18).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(19).CellType = numberCellType6; + numberCellType16.DecimalPlaces = 0; + numberCellType16.MaximumValue = 9999999999999.99D; + numberCellType16.MinimumValue = -9999999999999.99D; + numberCellType16.NegativeRed = true; + numberCellType16.NullDisplay = "--"; + numberCellType16.Separator = ","; + numberCellType16.ShowSeparator = true; + numberCellType16.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(19).CellType = numberCellType16; this.fpSpread1_Sheet1.Columns.Get(19).DataField = "pumamt"; this.fpSpread1_Sheet1.Columns.Get(19).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right; this.fpSpread1_Sheet1.Columns.Get(19).Label = "금액"; this.fpSpread1_Sheet1.Columns.Get(19).Tag = "pumamt"; this.fpSpread1_Sheet1.Columns.Get(19).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(20).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType13; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = textCellType38; this.fpSpread1_Sheet1.Columns.Get(20).DataField = "supply"; this.fpSpread1_Sheet1.Columns.Get(20).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(20).Label = "공급"; this.fpSpread1_Sheet1.Columns.Get(20).Tag = "supply"; this.fpSpread1_Sheet1.Columns.Get(20).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(21).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(21).CellType = numberCellType7; + numberCellType17.DecimalPlaces = 0; + numberCellType17.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType17.MaximumValue = 2147483647D; + numberCellType17.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType17; this.fpSpread1_Sheet1.Columns.Get(21).DataField = "supplyidx"; this.fpSpread1_Sheet1.Columns.Get(21).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(21).Visible = false; this.fpSpread1_Sheet1.Columns.Get(21).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(22).AllowAutoFilter = true; - this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType14; + this.fpSpread1_Sheet1.Columns.Get(22).CellType = textCellType39; this.fpSpread1_Sheet1.Columns.Get(22).DataField = "project"; this.fpSpread1_Sheet1.Columns.Get(22).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(22).Tag = "project"; this.fpSpread1_Sheet1.Columns.Get(22).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(23).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(23).CellType = numberCellType8; + numberCellType18.DecimalPlaces = 0; + numberCellType18.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType18.MaximumValue = 2147483647D; + numberCellType18.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType18; this.fpSpread1_Sheet1.Columns.Get(23).DataField = "projectidx"; this.fpSpread1_Sheet1.Columns.Get(23).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(23).Tag = "projectidx"; this.fpSpread1_Sheet1.Columns.Get(23).Visible = false; this.fpSpread1_Sheet1.Columns.Get(23).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType15; + this.fpSpread1_Sheet1.Columns.Get(24).CellType = textCellType40; this.fpSpread1_Sheet1.Columns.Get(24).DataField = "bigo"; this.fpSpread1_Sheet1.Columns.Get(24).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(24).Tag = "bigo"; this.fpSpread1_Sheet1.Columns.Get(24).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType16; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = textCellType41; this.fpSpread1_Sheet1.Columns.Get(25).DataField = "edate"; this.fpSpread1_Sheet1.Columns.Get(25).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(25).Label = "예정일"; this.fpSpread1_Sheet1.Columns.Get(25).Tag = "edate"; this.fpSpread1_Sheet1.Columns.Get(25).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType17; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = textCellType42; this.fpSpread1_Sheet1.Columns.Get(26).DataField = "receiveName"; this.fpSpread1_Sheet1.Columns.Get(26).Label = "수령인"; this.fpSpread1_Sheet1.Columns.Get(26).Tag = "receiveName"; - this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType18; + this.fpSpread1_Sheet1.Columns.Get(27).CellType = textCellType43; this.fpSpread1_Sheet1.Columns.Get(27).DataField = "indate"; this.fpSpread1_Sheet1.Columns.Get(27).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(27).Label = "입고일"; this.fpSpread1_Sheet1.Columns.Get(27).Tag = "indate"; this.fpSpread1_Sheet1.Columns.Get(27).Width = 51F; - numberCellType9.DecimalPlaces = 0; - numberCellType9.NegativeRed = true; - numberCellType9.ShowSeparator = true; - this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType9; + numberCellType19.DecimalPlaces = 0; + numberCellType19.NegativeRed = true; + numberCellType19.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType19; this.fpSpread1_Sheet1.Columns.Get(28).DataField = "inqty"; 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).Tag = "inqty"; this.fpSpread1_Sheet1.Columns.Get(28).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(28).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType19; + this.fpSpread1_Sheet1.Columns.Get(29).CellType = textCellType44; this.fpSpread1_Sheet1.Columns.Get(29).DataField = "inremark"; this.fpSpread1_Sheet1.Columns.Get(29).Label = "비고"; this.fpSpread1_Sheet1.Columns.Get(29).Tag = "inremark"; - this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType20; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = textCellType45; this.fpSpread1_Sheet1.Columns.Get(30).DataField = "po"; this.fpSpread1_Sheet1.Columns.Get(30).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(30).Tag = "po"; this.fpSpread1_Sheet1.Columns.Get(30).Width = 51F; - this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType21; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType46; this.fpSpread1_Sheet1.Columns.Get(31).DataField = "chkremark"; this.fpSpread1_Sheet1.Columns.Get(31).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Left; this.fpSpread1_Sheet1.Columns.Get(31).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType22; + this.fpSpread1_Sheet1.Columns.Get(32).CellType = textCellType47; this.fpSpread1_Sheet1.Columns.Get(32).DataField = "purchase_manager"; this.fpSpread1_Sheet1.Columns.Get(32).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(32).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType22; + this.fpSpread1_Sheet1.Columns.Get(33).CellType = textCellType47; this.fpSpread1_Sheet1.Columns.Get(33).DataField = "purchase_admin"; this.fpSpread1_Sheet1.Columns.Get(33).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Center; this.fpSpread1_Sheet1.Columns.Get(33).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center; - this.fpSpread1_Sheet1.Columns.Get(34).CellType = checkBoxCellType3; + this.fpSpread1_Sheet1.Columns.Get(34).CellType = checkBoxCellType6; this.fpSpread1_Sheet1.Columns.Get(34).DataField = "isdel"; this.fpSpread1_Sheet1.Columns.Get(34).Tag = "isdel"; this.fpSpread1_Sheet1.Columns.Get(34).Width = 51F; this.fpSpread1_Sheet1.Columns.Get(35).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(35).CellType = numberCellType10; + this.fpSpread1_Sheet1.Columns.Get(35).CellType = numberCellType20; this.fpSpread1_Sheet1.Columns.Get(35).DataField = "idx"; this.fpSpread1_Sheet1.Columns.Get(35).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(35).Tag = "idx"; this.fpSpread1_Sheet1.Columns.Get(35).Visible = false; this.fpSpread1_Sheet1.Columns.Get(36).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType23; + this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType48; this.fpSpread1_Sheet1.Columns.Get(36).DataField = "conf_status"; this.fpSpread1_Sheet1.Columns.Get(36).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(36).Tag = "conf_status"; this.fpSpread1_Sheet1.Columns.Get(36).Visible = false; this.fpSpread1_Sheet1.Columns.Get(37).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType24; + this.fpSpread1_Sheet1.Columns.Get(37).CellType = textCellType49; this.fpSpread1_Sheet1.Columns.Get(37).DataField = "conf_request"; this.fpSpread1_Sheet1.Columns.Get(37).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(37).Tag = "conf_request"; this.fpSpread1_Sheet1.Columns.Get(37).Visible = false; this.fpSpread1_Sheet1.Columns.Get(38).BackColor = System.Drawing.Color.Red; - this.fpSpread1_Sheet1.Columns.Get(38).CellType = textCellType25; + this.fpSpread1_Sheet1.Columns.Get(38).CellType = textCellType50; this.fpSpread1_Sheet1.Columns.Get(38).DataField = "conf_request"; this.fpSpread1_Sheet1.Columns.Get(38).ForeColor = System.Drawing.Color.Red; this.fpSpread1_Sheet1.Columns.Get(38).Tag = "conf_request"; @@ -1319,18 +1325,6 @@ this.label2.Text = "--"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; // - // toolStripMenuItem6 - // - this.toolStripMenuItem6.Name = "toolStripMenuItem6"; - this.toolStripMenuItem6.Size = new System.Drawing.Size(223, 6); - // - // btMakeItemsData - // - this.btMakeItemsData.Name = "btMakeItemsData"; - this.btMakeItemsData.Size = new System.Drawing.Size(226, 22); - this.btMakeItemsData.Text = "구매내역에서 품목정보 생성"; - this.btMakeItemsData.Click += new System.EventHandler(this.구매내역에서품목정보생성ToolStripMenuItem_Click); - // // fPurchaseCR // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F); diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs index 5251027..7eac87c 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.cs @@ -1213,23 +1213,7 @@ namespace FEQ0000 else FCOMMON.Util.MsgE("설명서 파일(manual.pdf)이 없습니다. 개발자 문의 해주세요(chikyun.kim@amkor.co.kr)"); } - private void fpSpread1_EditModeOff(object sender, EventArgs e) - { - if (fpSpread1_Sheet1.Columns["pumqty"].Index == fpSpread1_Sheet1.ActiveColumnIndex) - { - var drv = this.bs.Current as DataRowView; - var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow; - dr.pumamt = dr.pumqty * dr.pumprice; - dr.EndEdit(); - } - else if (fpSpread1_Sheet1.Columns["pumprice"].Index == fpSpread1_Sheet1.ActiveColumnIndex) - { - var drv = this.bs.Current as DataRowView; - var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow; - dr.pumamt = dr.pumqty * dr.pumprice; - dr.EndEdit(); - } - } + private void 입고ToolStripMenuItem_Click(object sender, EventArgs e) { @@ -1472,5 +1456,34 @@ namespace FEQ0000 ta.PurchaseDataToItemsCR(FCOMMON.info.Login.gcode); FCOMMON.Util.MsgI("업데이트 완료"); } + + private void fpSpread1_EditModeOff_1(object sender, EventArgs e) + { + if (fpSpread1_Sheet1.Columns["pumqty"].Index == fpSpread1_Sheet1.ActiveColumnIndex) + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow; + dr.pumamt = dr.pumqty * dr.pumprice; + dr.EndEdit(); + } + else if (fpSpread1_Sheet1.Columns["pumprice"].Index == fpSpread1_Sheet1.ActiveColumnIndex) + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.EETGW_PurchaseCRRow; + dr.pumamt = dr.pumqty * dr.pumprice; + dr.EndEdit(); + } + else if (fpSpread1_Sheet1.Columns["po"].Index == fpSpread1_Sheet1.ActiveColumnIndex) + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.PurchaseRow; + if (dr.state == "PR" && dr.po.isEmpty() == false) + { + dr.state = "PO"; + } + dr.EndEdit(); + } + } + } } diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx index 04cc834..132017e 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR.resx @@ -279,35 +279,6 @@ pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+ brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII= - - - - - R0lGODlhEAAQAIQfAPr8/VVritvj7IqsyElVa+Ps9MvT2rvc/aPQ/KrU/Or0/nmYspzN/LbZ/FJgeXiQ - q0NLXHWPrJnA1sDf/CkxQ9RSXD5FVa/X/H2fudPn8HyjwMPg/WV/nG+Or////////yH/C05FVFNDQVBF - Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsKDBgwQ9KFzIsKHCDBIkDJg4AMOCBQ84cHCg - UAKAjyBDAjDA0cMAABsmHDjQoMGFBAkQCCCg8OQElS0vAKhQAYECmh40AJjw4EGEiQkUKPAJQSEGACtz - wkSAgIGAph4WFDhg9OgAqgysWlDYoUDOl2DDFhjrgYOBAgUEyJ0roIABCgofBNjrwAEBAhAgWLBAoaTD - wwoRKl5cMCAAOw== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m - dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAALnSURBVDhPhZJZT1NBGIa5kt+AXnhvFCEYNEJEsSiI - BhVRCRJLaUsFBQlLMGExpUZWAyKQqCEQjTcaorIJBaGFQhuKEUEUKJQ9obQs3U45PeV1zim0mpB48cxc - zHzPzPfO+ADw4RUo+FfK1fKYCvU6wU6gOCrZWUPFlA9R0aWq8ZDcgepQScsBtmYPboh6MtBvNFPGdauD - MVkdMFm8GM0sFH6tmFHweQGiF9O2EEmL7z+C6BKVwWynmaE5Gpp5JzQLTqjnnFDpt6GYduDLhBUOJ9D6 - 246Cj/MQPp+2n0lr5SSc4HLpoH3Lto2RRQbfFp1kdmKYk2xDqXOga8JGBC6MrDDQLNOQtS8g/FHvO05w - u/L87M2KuB1xXSySa2+gtrMJxc2VCC/yxzlCpOw0IqTBqGqt4lqxUE6sbtgQUagkd3ILPnwda0Pb1GvU - qrM5yd2aS8h+m4j0pngI669CUC9A6+gq2sYtaPmxhU2S0wXpALUn8I0tz2DUk314MyZFmeIBJ+HXRZPi - a5C8TEG/zsq10jNlh5zksGGlcaF40C1gh6gSJZXZkAStToV6TS6edmeBiMGviYN2zgYtCZYNuH/GnYmJ - CCKkfwnCCovok3mHkVgdiZGZIcj6UiFtz0T8Mx6aFJ/wfckJLQl2SE9jkGAw0wh/vCsIyjkoDso5hPTG - BNypi0JC1UVOktmeiJzmFHITHtj1kQUGw+wTE8wkyLB8lUewRCCb/BCU7YfrZTykvUpC/4QcMnkeUt8n - QVh3C1oi0JC/oSYCinYhJFfhbeFs/gC1sklhdInhUE4u42GDBCJSKK6PR1bjfc8ai22bQXBGr1cQmqeg - Fk1ewf+wkhYCU+RewanMXpt+zbaz3+b9IL/SdUzYafEIgu51zxq2HGa9kXLNrtkxa7BDt8uaheZgk7dQ - 5HQH43Lt7Gwe4Xf89AhOpMrTAkRd3YFiuSlA3EV5EHVRxwn+ok43Qo6No4KOHn9BRzIAnz/8M/0zf/tL - eAAAAABJRU5ErkJggg== @@ -352,6 +323,35 @@ mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D TgDQASA1MVpwzwAAAABJRU5ErkJggg== + + + + + R0lGODlhEAAQAIQfAPr8/VVritvj7IqsyElVa+Ps9MvT2rvc/aPQ/KrU/Or0/nmYspzN/LbZ/FJgeXiQ + q0NLXHWPrJnA1sDf/CkxQ9RSXD5FVa/X/H2fudPn8HyjwMPg/WV/nG+Or////////yH/C05FVFNDQVBF + Mi4wAwEBAAAh+QQBAAAfACwAAAAAEAAQAAAIoAA/CBxIsKDBgwQ9KFzIsKHCDBIkDJg4AMOCBQ84cHCg + UAKAjyBDAjDA0cMAABsmHDjQoMGFBAkQCCCg8OQElS0vAKhQAYECmh40AJjw4EGEiQkUKPAJQSEGACtz + wkSAgIGAph4WFDhg9OgAqgysWlDYoUDOl2DDFhjrgYOBAgUEyJ0roIABCgofBNjrwAEBAhAgWLBAoaTD + wwoRKl5cMCAAOw== + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29m + dHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAALnSURBVDhPhZJZT1NBGIa5kt+AXnhvFCEYNEJEsSiI + BhVRCRJLaUsFBQlLMGExpUZWAyKQqCEQjTcaorIJBaGFQhuKEUEUKJQ9obQs3U45PeV1zim0mpB48cxc + zHzPzPfO+ADw4RUo+FfK1fKYCvU6wU6gOCrZWUPFlA9R0aWq8ZDcgepQScsBtmYPboh6MtBvNFPGdauD + MVkdMFm8GM0sFH6tmFHweQGiF9O2EEmL7z+C6BKVwWynmaE5Gpp5JzQLTqjnnFDpt6GYduDLhBUOJ9D6 + 246Cj/MQPp+2n0lr5SSc4HLpoH3Lto2RRQbfFp1kdmKYk2xDqXOga8JGBC6MrDDQLNOQtS8g/FHvO05w + u/L87M2KuB1xXSySa2+gtrMJxc2VCC/yxzlCpOw0IqTBqGqt4lqxUE6sbtgQUagkd3ILPnwda0Pb1GvU + qrM5yd2aS8h+m4j0pngI669CUC9A6+gq2sYtaPmxhU2S0wXpALUn8I0tz2DUk314MyZFmeIBJ+HXRZPi + a5C8TEG/zsq10jNlh5zksGGlcaF40C1gh6gSJZXZkAStToV6TS6edmeBiMGviYN2zgYtCZYNuH/GnYmJ + CCKkfwnCCovok3mHkVgdiZGZIcj6UiFtz0T8Mx6aFJ/wfckJLQl2SE9jkGAw0wh/vCsIyjkoDso5hPTG + BNypi0JC1UVOktmeiJzmFHITHtj1kQUGw+wTE8wkyLB8lUewRCCb/BCU7YfrZTykvUpC/4QcMnkeUt8n + QVh3C1oi0JC/oSYCinYhJFfhbeFs/gC1sklhdInhUE4u42GDBCJSKK6PR1bjfc8ai22bQXBGr1cQmqeg + Fk1ewf+wkhYCU+RewanMXpt+zbaz3+b9IL/SdUzYafEIgu51zxq2HGa9kXLNrtkxa7BDt8uaheZgk7dQ + 5HQH43Lt7Gwe4Xf89AhOpMrTAkRd3YFiuSlA3EV5EHVRxwn+ok43Qo6No4KOHn9BRzIAnz/8M/0zf/tL + eAAAAABJRU5ErkJggg== diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs index 8acd4b8..e8fc9ca 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.Designer.cs @@ -79,6 +79,8 @@ this.chkExp = new System.Windows.Forms.CheckBox(); this.btSaveAdd = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.cmbCurrency = new System.Windows.Forms.ComboBox(); + this.lbcurrentwon = new System.Windows.Forms.Label(); this.tbQtyReal = new System.Windows.Forms.TextBox(); this.btSIDChk = new System.Windows.Forms.Button(); this.tbLineCode = new System.Windows.Forms.TextBox(); @@ -103,8 +105,6 @@ this.dsPurchase = new FEQ0000.dsPurchase(); this.purchaseBindingSource = new System.Windows.Forms.BindingSource(this.components); this.purchaseTableAdapter = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); - this.lbcurrentwon = new System.Windows.Forms.Label(); - this.cmbCurrency = new System.Windows.Forms.ComboBox(); receiveLabel = new System.Windows.Forms.Label(); scLabel = new System.Windows.Forms.Label(); sidLabel = new System.Windows.Forms.Label(); @@ -501,6 +501,7 @@ this.tbPO.Name = "tbPO"; this.tbPO.Size = new System.Drawing.Size(286, 27); this.tbPO.TabIndex = 5; + this.tbPO.Validated += new System.EventHandler(this.tbPO_Validated); // // tbBigo // @@ -690,6 +691,31 @@ this.groupBox1.TabStop = false; this.groupBox1.Text = "필수입력"; // + // cmbCurrency + // + this.cmbCurrency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbCurrency.FormattingEnabled = true; + this.cmbCurrency.Items.AddRange(new object[] { + "USD"}); + this.cmbCurrency.Location = new System.Drawing.Point(229, 207); + this.cmbCurrency.Margin = new System.Windows.Forms.Padding(4); + this.cmbCurrency.Name = "cmbCurrency"; + this.cmbCurrency.Size = new System.Drawing.Size(89, 28); + this.cmbCurrency.TabIndex = 56; + this.cmbCurrency.SelectedIndexChanged += new System.EventHandler(this.cmbCurrency_SelectedIndexChanged); + // + // lbcurrentwon + // + this.lbcurrentwon.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); + this.lbcurrentwon.ForeColor = System.Drawing.Color.Blue; + this.lbcurrentwon.Location = new System.Drawing.Point(322, 207); + this.lbcurrentwon.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); + this.lbcurrentwon.Name = "lbcurrentwon"; + this.lbcurrentwon.Size = new System.Drawing.Size(153, 28); + this.lbcurrentwon.TabIndex = 55; + this.lbcurrentwon.Text = "통화기호를 선택하세요"; + this.lbcurrentwon.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; + // // tbQtyReal // this.tbQtyReal.Location = new System.Drawing.Point(341, 148); @@ -919,31 +945,6 @@ // this.purchaseTableAdapter.ClearBeforeFill = true; // - // lbcurrentwon - // - this.lbcurrentwon.Font = new System.Drawing.Font("맑은 고딕", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(129))); - this.lbcurrentwon.ForeColor = System.Drawing.Color.Blue; - this.lbcurrentwon.Location = new System.Drawing.Point(322, 207); - this.lbcurrentwon.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lbcurrentwon.Name = "lbcurrentwon"; - this.lbcurrentwon.Size = new System.Drawing.Size(153, 28); - this.lbcurrentwon.TabIndex = 55; - this.lbcurrentwon.Text = "통화기호를 선택하세요"; - this.lbcurrentwon.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; - // - // cmbCurrency - // - this.cmbCurrency.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbCurrency.FormattingEnabled = true; - this.cmbCurrency.Items.AddRange(new object[] { - "USD"}); - this.cmbCurrency.Location = new System.Drawing.Point(229, 207); - this.cmbCurrency.Margin = new System.Windows.Forms.Padding(4); - this.cmbCurrency.Name = "cmbCurrency"; - this.cmbCurrency.Size = new System.Drawing.Size(89, 28); - this.cmbCurrency.TabIndex = 56; - this.cmbCurrency.SelectedIndexChanged += new System.EventHandler(this.cmbCurrency_SelectedIndexChanged); - // // fPurchaseCR_Add // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); diff --git a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs index 7908014..724d943 100644 --- a/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs +++ b/SubProject/FEQ0000/PurchaseCR/fPurchaseCR_Add.cs @@ -720,6 +720,13 @@ namespace FEQ0000 // } //} + var potxt = tbPO.Text.Trim(); + if (potxt.Length > 1 && cmbState.Text == "PR") + { + //if (cmbState.Items.Contains("PO")) + cmbState.Text = "PO"; + } + //품목정보에 없는 데이터이므로 자료를 추가한다. if (tbPumIDX.Text == "-1") { @@ -1197,5 +1204,18 @@ namespace FEQ0000 lbcurrentwon.Tag = 0; } } + + private void tbPO_Validated(object sender, EventArgs e) + { + var txt = tbPO.Text.Trim(); + if (txt.Length > 1) + { + if (cmbState.Text == "PR") + { + //if (cmbState.Items.Contains("PO")) + cmbState.Text = "PO"; + } + } + } } } diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs index b69030e..2fe46de 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs +++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.Designer.cs @@ -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 checkBoxCellType4 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType5 = new FarPoint.Win.Spread.CellType.CheckBoxCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType27 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType28 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType29 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType30 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType31 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType32 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType33 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType34 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType35 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType36 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType37 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType38 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType39 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType11 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType40 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType41 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType12 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType13 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType42 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType14 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType43 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType15 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType16 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType44 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType17 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType45 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType18 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType46 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType47 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType48 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType19 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType49 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType50 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType51 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.NumberCellType numberCellType20 = new FarPoint.Win.Spread.CellType.NumberCellType(); + FarPoint.Win.Spread.CellType.TextCellType textCellType52 = new FarPoint.Win.Spread.CellType.TextCellType(); + FarPoint.Win.Spread.CellType.CheckBoxCellType checkBoxCellType6 = 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(); @@ -275,7 +275,6 @@ // this.bindingNavigatorPositionItem.AccessibleName = "위치"; this.bindingNavigatorPositionItem.AutoSize = false; - this.bindingNavigatorPositionItem.Font = new System.Drawing.Font("맑은 고딕", 9F); this.bindingNavigatorPositionItem.Name = "bindingNavigatorPositionItem"; this.bindingNavigatorPositionItem.Size = new System.Drawing.Size(50, 23); this.bindingNavigatorPositionItem.Text = "0"; @@ -402,7 +401,6 @@ // tbFind // this.tbFind.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbFind.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbFind.Name = "tbFind"; this.tbFind.Size = new System.Drawing.Size(100, 31); this.tbFind.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tbFind_KeyDown); @@ -738,7 +736,6 @@ // dtSD // this.dtSD.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dtSD.Font = new System.Drawing.Font("맑은 고딕", 9F); this.dtSD.Name = "dtSD"; this.dtSD.Size = new System.Drawing.Size(75, 37); this.dtSD.Text = "1982-11-23"; @@ -755,7 +752,6 @@ // dtED // this.dtED.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.dtED.Font = new System.Drawing.Font("맑은 고딕", 9F); this.dtED.Name = "dtED"; this.dtED.Size = new System.Drawing.Size(75, 37); this.dtED.Text = "1982-11-23"; @@ -811,7 +807,6 @@ // tbRequest // this.tbRequest.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.tbRequest.Font = new System.Drawing.Font("맑은 고딕", 9F); this.tbRequest.Name = "tbRequest"; this.tbRequest.Size = new System.Drawing.Size(70, 37); this.tbRequest.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; @@ -986,17 +981,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 = checkBoxCellType4; 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 = checkBoxCellType5; 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 = textCellType27; 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 = "구매신청"; @@ -1005,7 +1000,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 = textCellType28; 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입력"; @@ -1013,7 +1008,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 = textCellType29; 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 = "상태"; @@ -1021,39 +1016,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 = textCellType30; 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 = textCellType31; 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 = textCellType32; 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 = textCellType33; 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 = textCellType34; 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 = textCellType35; 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#"; @@ -1061,231 +1056,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 = textCellType36; 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 = textCellType37; 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 = textCellType38; 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 = textCellType39; 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; + numberCellType11.DecimalPlaces = 0; + numberCellType11.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType11.MaximumValue = 2147483647D; + numberCellType11.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(15).CellType = numberCellType11; 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 = textCellType40; 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 = textCellType41; 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 = textCellType41; 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 = textCellType41; 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; + numberCellType12.DecimalPlaces = 0; + numberCellType12.NegativeRed = true; + numberCellType12.NullDisplay = "--"; + numberCellType12.Separator = ","; + numberCellType12.ShowSeparator = true; + numberCellType12.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(20).CellType = numberCellType12; 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; + numberCellType13.DecimalPlaces = 0; + this.fpSpread1_Sheet1.Columns.Get(21).CellType = numberCellType13; 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 = textCellType42; 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; + numberCellType14.DecimalPlaces = 2; + this.fpSpread1_Sheet1.Columns.Get(23).CellType = numberCellType14; 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 = textCellType43; 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; + numberCellType15.DecimalPlaces = 0; + numberCellType15.MaximumValue = 9999999999999.99D; + numberCellType15.MinimumValue = -9999999999999.99D; + numberCellType15.NegativeRed = true; + numberCellType15.NullDisplay = "--"; + numberCellType15.Separator = ","; + numberCellType15.ShowSeparator = true; + numberCellType15.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(25).CellType = numberCellType15; 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; + numberCellType16.DecimalPlaces = 0; + numberCellType16.MaximumValue = 9999999999999.99D; + numberCellType16.MinimumValue = -9999999999999.99D; + numberCellType16.NegativeRed = true; + numberCellType16.NullDisplay = "--"; + numberCellType16.Separator = ","; + numberCellType16.ShowSeparator = true; + numberCellType16.ShrinkToFit = true; + this.fpSpread1_Sheet1.Columns.Get(26).CellType = numberCellType16; 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 = textCellType44; 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; + numberCellType17.DecimalPlaces = 0; + numberCellType17.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType17.MaximumValue = 2147483647D; + numberCellType17.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(28).CellType = numberCellType17; 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 = textCellType45; 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; + numberCellType18.DecimalPlaces = 0; + numberCellType18.LeadingZero = FarPoint.Win.Spread.CellType.LeadingZero.Yes; + numberCellType18.MaximumValue = 2147483647D; + numberCellType18.MinimumValue = -2147483648D; + this.fpSpread1_Sheet1.Columns.Get(30).CellType = numberCellType18; 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; + textCellType46.WordWrap = true; + this.fpSpread1_Sheet1.Columns.Get(31).CellType = textCellType46; 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 = textCellType47; 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 = textCellType48; 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; + numberCellType19.DecimalPlaces = 0; + numberCellType19.NegativeRed = true; + numberCellType19.ShowSeparator = true; + this.fpSpread1_Sheet1.Columns.Get(34).CellType = numberCellType19; 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 = textCellType49; 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; + textCellType50.WordWrap = true; + this.fpSpread1_Sheet1.Columns.Get(36).CellType = textCellType50; 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 = textCellType51; 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 = numberCellType20; 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 = textCellType52; 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 = textCellType52; 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 = textCellType52; 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 = checkBoxCellType6; this.fpSpread1_Sheet1.Columns.Get(42).DataField = "isdel"; this.fpSpread1_Sheet1.Columns.Get(42).Label = "삭제됨"; this.fpSpread1_Sheet1.Columns.Get(42).Tag = "isdel"; diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs index 2271190..37cd0db 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs +++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.cs @@ -1200,6 +1200,16 @@ namespace FEQ0000 dr.pumamt = dr.pumqty * dr.pumprice; dr.EndEdit(); } + else if (fpSpread1_Sheet1.Columns["po"].Index == fpSpread1_Sheet1.ActiveColumnIndex) + { + var drv = this.bs.Current as DataRowView; + var dr = drv.Row as dsPurchase.PurchaseRow; + if(dr.state == "PR" && dr.po.isEmpty()==false) + { + dr.state = "PO"; + } + dr.EndEdit(); + } } private void toolStripButton4_Click_1(object sender, EventArgs e) diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.resx b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.resx index bcf769c..00a4d0a 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.resx +++ b/SubProject/FEQ0000/PurchaseNR/fPurchaseNR.resx @@ -294,6 +294,35 @@ pPXwne/C6mdp8McSRFzeZapS+wjkJRfymh5gT64ekcwWTlD+lz9zOBxaIMAzsgE+rQreDgWeJiTBEx1L fJLTRwnaZpAqNGFnisLBYJ7+IqS9SSApOf15fKLDx82HW1QOL7EXnohoYlemmopJazfvSJFLGSwyPLT+ brxxceG+j2Kl3h27zR5GDDxbI4jQ6H0RFvYPxczhJbhCpsgAAAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX + EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl + 7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR + BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT + Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz + tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV + iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i + DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA + AAAASUVORK5CYII= + + + + + iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 + YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG + YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 + 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw + bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc + VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 + c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 + Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo + mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ + kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D + TgDQASA1MVpwzwAAAABJRU5ErkJggg== @@ -333,35 +362,6 @@ oQIAAAJCCriYcSOGDCgzBAiQYSTGDQM4AjBAEwGCCRRIftypoKcDBwcS5MQIYIBRBQ0aPCBAwIKDoR4A cFiZdKmFAgUOQAWwIKnSpgUkSOgA1UCCqmAlVKgAoWyCBQsSOLhwoAMECBfK2tw7oa9fqBYDL2yIMCAA Ow== - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAG8SURBVDhPjZI5SwNRFIXzY+wsLGysAgqiop2NAXHBBQSX - EGNQEHsbFdMJWphCcCHggmgaUaIhLlHjJDHuqCjqjOKWxBk95l7mjQxRyYEPZh7vfO8Obyz/RVVVCPSl - 7CJKtdNBg6xFotjg3YLn9BXd/kss3Gomkb7VHHECbaLC6NEzCxyrZ/xMa4R10Jsp0TQN7rUmjATaWEAR - BdfqufHcG1JQNrljFtALlWPJJQTkcRbEHxNQUsCG/AnbzBY6g9cMCUongqAD9fqPgEISEsSUBNz7D5CT - Glp9UTj8V8zgSQrFnvXfBXfqId6+HlmwfPGEuUtASos6fHEuEiTJHZpHyFbHEv4UIbhSwxgPORFVVlAz - tY6I/A5JThjjU5HA7CKzUGA1C8aCDozu2nGjHsAT7jIKgmu7yyi/uvogFVX8CFiy0oibD4kF3tMeHjMV - iwOKAvgD2K+sxn1bD0OCvcLyzNuwT+cbsCB6iKcBNz4fFBw3t+Ou1cl89Q9j21piFlDENAQJXhZ96R9i - DqlwBGctHVwkSOLLycsUiAjJZlU9kgeRtEAyxqeiKP8pEKENoiAwri/biJME+rIei+Ub4tJbaW7QZrcA - AAAASUVORK5CYII= - - - - - iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 - YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAIDSURBVDhPpZLrS5NhGMb3j4SWh0oRQVExD4gonkDpg4hG - YKxG6WBogkMZKgPNCEVJFBGdGETEvgwyO9DJE5syZw3PIlPEE9pgBCLZ5XvdMB8Ew8gXbl54nuf63dd9 - 0OGSnwCahxbPRNPAPMw9Xpg6ZmF46kZZ0xSKzJPIrhpDWsVnpBhGkKx3nAX8Pv7z1zg8OoY/cITdn4fw - bf/C0kYAN3Ma/w3gWfZL5kzTKBxjWyK2DftwI9tyMYCZKXbNHaD91bLYJrDXsYbrWfUKwJrPE9M2M1Oc - VzOOpHI7Jr376Hi9ogHqFIANO0/MmmmbmSmm9a8ze+I4MrNWAdjtoJgWcx+PSzg166yZZ8xM8XvXDix9 - c4jIqFYAjoriBV9AhEPv1mH/sonogha0afbZMMZz+yreTGyhpusHwtNNCsA5U1zS4BLxzJIfg299qO32 - Ir7UJtZfftyATqeT+8o2D8JSjQrAJblrncYL7ZJ2+bfaFnC/1S1NjL3diRat7qrO7wLRP3HjWsojBeCo - mDEo5mNjuweFGvjWg2EBhCbpkW78htSHHwRyNdmgAFzPEee2iFkzayy2OLXzT4gr6UdUnlXrullsxxQ+ - kx0g8BTA3aZlButjSTyjODq/WcQcW/B/Je4OQhLvKQDnzN1mp0nnkvAhR8VuMzNrpm1mpjgkoVwB/v8D - TgDQASA1MVpwzwAAAABJRU5ErkJggg== diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs b/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs index 15228c8..b2ce882 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs +++ b/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.Designer.cs @@ -28,6 +28,7 @@ /// private void InitializeComponent() { + this.components = new System.ComponentModel.Container(); System.Windows.Forms.Label processLabel; System.Windows.Forms.Label receiveLabel; System.Windows.Forms.Label scLabel; @@ -112,10 +113,10 @@ this.button4 = new System.Windows.Forms.Button(); this.tbOrderNo = new System.Windows.Forms.TextBox(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); - this.toolTip1 = new System.Windows.Forms.ToolTip(); - this.timer1 = new System.Windows.Forms.Timer(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.timer1 = new System.Windows.Forms.Timer(this.components); this.dsPurchase = new FEQ0000.dsPurchase(); - this.bs = new System.Windows.Forms.BindingSource(); + this.bs = new System.Windows.Forms.BindingSource(this.components); this.ta = new FEQ0000.dsPurchaseTableAdapters.PurchaseTableAdapter(); processLabel = new System.Windows.Forms.Label(); receiveLabel = new System.Windows.Forms.Label(); @@ -564,6 +565,7 @@ this.tbPO.Name = "tbPO"; this.tbPO.Size = new System.Drawing.Size(286, 27); this.tbPO.TabIndex = 13; + this.tbPO.Validated += new System.EventHandler(this.tbPO_Validated); // // tbBigo // diff --git a/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.cs b/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.cs index c6b62e2..0d34535 100644 --- a/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.cs +++ b/SubProject/FEQ0000/PurchaseNR/fPurchase_Add.cs @@ -431,7 +431,7 @@ namespace FEQ0000 Lov_Supply(search, false); break; case "tbbigo": - e.Handled = true; + e.Handled = true; break; default: SendKeys.Send("{TAB}"); @@ -800,6 +800,14 @@ namespace FEQ0000 // } //} + var potxt = tbPO.Text.Trim(); + if (potxt.Length > 1 && cmbState.Text == "PR") + { + //if (cmbState.Items.Contains("PO")) + cmbState.Text = "PO"; + } + + //품목정보에 없는 데이터이므로 자료를 추가한다. if (tbPumIDX.Text == "-1") { @@ -1487,5 +1495,18 @@ namespace FEQ0000 { } + + private void tbPO_Validated(object sender, EventArgs e) + { + var txt = tbPO.Text.Trim(); + if (txt.Length > 1) + { + if (cmbState.Text == "PR") + { + //if (cmbState.Items.Contains("PO")) + cmbState.Text = "PO"; + } + } + } } }